TMAegis
mongodb 관련 규칙 더 보기

TMA-MONGODB-3.2

Ensure that role-based access control is enabled and configured appropriately

보통레벨 1수동 검토mongodb

설명

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.

점검 방법

감사 방식: 수동 검토

이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.

Connect with mongosh as the user administrator and list users and roles (db.getUsers(), db.getRoles({showPrivileges: true}) in each database). Verify every user is assigned only the roles it needs and that privileges are granted through roles rather than individually.

조치 방법

조치 방식: 가이드 또는 인프라 패치

1. Establish roles for MongoDB. 2. Assign the appropriate privileges to each role. 3. Assign the appropriate users to each role. 4. Remove any individual privileges assigned to users that are now addressed by the roles. 5. See the reference below for more Information.

속성

운영 체제
모두
태그
mongodbprivileges
참고 자료
CIS MongoDB 8 Benchmark v2.0.0 - 3.2 Ensure that role-based access control is enabled and configured appropriately