TMAegis
postgres 관련 규칙 더 보기

PostgreSQL

TMA-POSTGRES-7.5

Ensure streaming replication parameters are configured correctly

보통레벨 1수동 검토postgres

설명

Streaming replication from a PRIMARY host transmits DDL, DML, passwords, and other potentially sensitive activities and data. These connections should be protected with Secure Sockets Layer (SSL).

점검 방법

감사 방식: 수동 검토

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

Confirm a dedicated non-superuser replication role exists (SELECT rolname FROM pg_roles WHERE rolreplication;) and, from the standby, that psql 'host=<primary> dbname=postgres user=replication_user sslmode=require' -c 'select 1;' succeeds; check primary_conninfo on the standby uses sslmode=require or stronger.

조치 방법

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

On the standby set primary_conninfo = 'host=<primary> user=replication_user sslmode=verify-full ...' (and primary_slot_name), create standby.signal, and allow only hostssl replication entries on the primary.

속성

운영 체제
모두
태그
postgresdatabasereplicationtlsmanual
참고 자료
CIS PostgreSQL 18 Benchmark v1.0.0 - 7.5 Ensure streaming replication parameters are configured correctly