3.5 Review User-Defined Roles

Information

Reviewing all roles periodically and removing all users from those roles who do not need to belong to them helps minimize the privileges that each user has.
Rationale:
Although role-based access control (RBAC) has many advantages for regulating access to resources, over time some users may be assigned to roles that are no longer necessary, such as a user changing jobs within the organization. Users who have excessive privileges pose unnecessary risk to the organization.

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

To remove a user from one or more roles on the current database, use the following command:
use <dbName>
db.revokeRolesFromUser( "<username>", [ <roles> ])

See Also

https://workbench.cisecurity.org/files/1705

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6(5), CSCv6|16.1

Plugin: MongoDB

Control ID: ab81b5a010fa6f20f3be1f73f5825d4b1940bbc7121e86eee133fc75fc3bcbd9