3.4 Ensure that each role for each MongoDB database is needed and grants only the necessary privileges

Information

Reviewing all roles periodically and eliminating unneeded roles as well as unneeded privileges from necessary roles 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 roles may no longer be needed, and some roles may grant privileges that are no longer needed.

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

Solution

To revoke specified privileges from the user-defined role on the database where the command is run. The revokePrivilegesFromRole command has the following syntax:

See Also

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

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-2(3), CSCv7|14.6

Plugin: MongoDB

Control ID: 51e299b6829d02b47853c129fa4c2e88c70789e700ea086b2ee6f59544ad4fce