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