TMAegis베타
postgres 관련 규칙 더 보기

PostgreSQL

TMA-POSTGRES-4.9

Make use of predefined roles

보통레벨 1수동 검토postgres

설명

PostgreSQL provides a set of predefined roles that provide access to certain commonly needed privileged capabilities and information. Administrators can GRANT these roles to users and/or other roles in their environment, providing those users with access to the specified capabilities and information.

점검 방법

감사 방식: 수동 검토

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

Run SELECT rolname FROM pg_roles WHERE rolsuper IS TRUE; and, for each superuser other than the bootstrap account, decide whether predefined roles (pg_read_all_data, pg_write_all_data, pg_monitor, pg_signal_backend, pg_checkpoint, pg_maintain, ...) would suffice. Unneeded superusers are a fail.

조치 방법

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

GRANT the suitable predefined role(s) to the account, then ALTER ROLE <role> NOSUPERUSER;

속성

운영 체제
모두
태그
postgresdatabaseauthorizationsuperusermanual
참고 자료
CIS PostgreSQL 18 Benchmark v1.0.0 - 4.9 Make use of predefined roles