SV-213498r615939_rule
V-213498
SRG-APP-000033-AS-000024
JBOS-AS-000035
CAT I
10
Run the following command.
<JBOSS_HOME>/bin/jboss-cli.sh -c -> connect -> cd /core-service=management/access-authorization :write-attribute(name=provider, value=rbac)
Restart JBoss.
Map users to roles by running the following command. Upper-case words are variables.
role-mapping=ROLENAME/include=ALIAS:add(name-USERNAME, type=USER ROLE)
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 following command:
For standalone servers:
"ls /core-service=management/access=authorization/"
For managed domain installations:
"ls /host=master/core-service=management/access=authorization/"
If the "provider" attribute is not set to "rbac", this is a finding.
V-213498
False
JBOS-AS-000035
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 following command:
For standalone servers:
"ls /core-service=management/access=authorization/"
For managed domain installations:
"ls /host=master/core-service=management/access=authorization/"
If the "provider" attribute is not set to "rbac", this is a finding.
M
3987