TMAegisBeta
更多 postgres 規則

PostgreSQL

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.

修補方式

修補方法: 操作指南或基礎設施修補檔

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