SV-213541r615939_rule
V-213541
SRG-APP-000358-AS-000064
JBOS-AS-000505
CAT II
10
Log on to the OS of the JBoss server with OS permissions that allow access to JBoss.
Using the relevant OS commands and syntax, cd to the “<JBOSS_HOME>/bin/” folder.
Run the “jboss-cli” script.
Connect to the server and authenticate.
To add a syslog handler:
Standalone configuration: "/subsystem=logging/syslog-handler=<HANDLER_NAME:add>"
Domain configuration: "/profile=default/subsystem=logging/syslog-handler=<HANDLER_NAME:add>"
To configure a syslog handler:
Standalone configuration. "/subsystem=logging/syslog-handler=<HANDLER_NAME:write-attribute(name=ATTRIBUTE_NAME, value=ATTRIBUTE_VALUE)" Domain configuration. "/profile=default/subsystem=logging/syslog-handler=<HANDLER_NAME:write-attribute(name=ATTRIBUTE_NAME, value=ATTRIBUTE_VALUE)"
*reference the RedHat web-site for the list of syslog handler attributes and corresponding values. Sample attributes include but are not limited to: port, enabled, app-name, level, server-address, hostname, etcetera.
Log on to the OS of the JBoss server with OS permissions that allow access to JBoss.
Using the relevant OS commands and syntax, cd to the <JBOSS_HOME>/bin/ folder.
Run the jboss-cli script.
Connect to the server and authenticate.
Run the command:
Standalone configuration:
"ls /subsystem=logging/syslog-handler="
Domain configuration:
"ls /profile=<specify>/subsystem=logging/syslog-handler="
Where <specify> = the selected application server profile of; default,full, full-ha or ha.
If no values are returned, this is a finding.
V-213541
False
JBOS-AS-000505
Log on to the OS of the JBoss server with OS permissions that allow access to JBoss.
Using the relevant OS commands and syntax, cd to the <JBOSS_HOME>/bin/ folder.
Run the jboss-cli script.
Connect to the server and authenticate.
Run the command:
Standalone configuration:
"ls /subsystem=logging/syslog-handler="
Domain configuration:
"ls /profile=<specify>/subsystem=logging/syslog-handler="
Where <specify> = the selected application server profile of; default,full, full-ha or ha.
If no values are returned, this is a finding.
M
3987