SV-96559r1_rule
V-81845
SRG-APP-000033-DB-000084
MD3X-00-000020
CAT II
10
Use createRole(), updateRole(), dropRole(), grantRole() statements to add and remove permissions on server-level securables, bringing them into line with the documented requirements.
MongoDB commands for role management can be found here:
https://docs.mongodb.com/v3.4/reference/method/js-role-management/
Review the system documentation to determine the required levels of protection for DBMS server securables by type of login. Review the permissions actually in place on the server. If the actual permissions do not match the documented requirements, this is a finding.
MongoDB commands to view roles in a particular database:
db.getRoles(
{
rolesInfo: 1,
showPrivileges:true,
showBuiltinRoles: true
}
)
V-81845
False
MD3X-00-000020
Review the system documentation to determine the required levels of protection for DBMS server securables by type of login. Review the permissions actually in place on the server. If the actual permissions do not match the documented requirements, this is a finding.
MongoDB commands to view roles in a particular database:
db.getRoles(
{
rolesInfo: 1,
showPrivileges:true,
showBuiltinRoles: true
}
)
M
3265