TMA-POSTGRES-7.2
Ensure logging of replication commands is configured
低レベル 1手動レビューpostgres
説明
Enabling the log_replication_commands setting causes each attempted replication from the server to be logged.
チェック方法
監査方法: 手動レビュー
この推奨事項は自動ではチェックできません。--include-manual を指定すると、スキャン結果にこの手順付きで一覧表示されます。
Run SHOW log_replication_commands; If replication is used and the value is off, replication commands are not logged and this is a fail.
修正方法
修正方法: ガイダンスまたは IaC パッチ
ALTER SYSTEM SET log_replication_commands = 'on'; SELECT pg_reload_conf();
プロパティ
- オペレーティングシステム
- すべて
- タグ
- postgresdatabasereplicationloggingmanual
- 参照
- CIS PostgreSQL 18 Benchmark v1.0.0 - 7.2 Ensure logging of replication commands is configured