TMA-POSTGRES-7.2
Ensure logging of replication commands is configured
BajaNivel 1Revisión manualpostgres
Descripción
Enabling the log_replication_commands setting causes each attempted replication from the server to be logged.
Cómo se verifica
Método de auditoría: Revisión manual
Esta recomendación no se puede verificar automáticamente. Un escaneo la lista con estas instrucciones cuando se pasa --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.
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
ALTER SYSTEM SET log_replication_commands = 'on'; SELECT pg_reload_conf();
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- postgresdatabasereplicationloggingmanual
- Referencia
- CIS PostgreSQL 18 Benchmark v1.0.0 - 7.2 Ensure logging of replication commands is configured