Role-based access control (RBAC) is a method of regulating access to resources based on the roles of individual users within an enterprise. A user is granted one or more roles that determine the user's access to database resources and operations. Outside of role assignments, the user has no access to the system. MongoDB can use RBAC to govern access to MongoDB systems. MongoDB does not enable authorization by default. Rationale: When properly implemented, RBAC enables users to carry out a wide range of authorized tasks by dynamically regulating their actions according to flexible functions. This allows an organization to control employees' access to all database tables through RBAC. NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.
Solution
Establish roles for MongoDB. Assign the appropriate privileges to each role. Assign the appropriate users to each role. Remove any individual privileges assigned to users that are now addressed by the roles. See the reference below for more Information.