TMA-POSTGRES-7.2
Ensure logging of replication commands is configured
BaixaNível 1Revisão manualpostgres
Descrição
Enabling the log_replication_commands setting causes each attempted replication from the server to be logged.
Como é verificado
Método de auditoria: Revisão manual
Esta recomendação não pode ser verificada automaticamente. Uma varredura a lista com estas instruções quando você passa --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.
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
ALTER SYSTEM SET log_replication_commands = 'on'; SELECT pg_reload_conf();
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- postgresdatabasereplicationloggingmanual
- Referência
- CIS PostgreSQL 18 Benchmark v1.0.0 - 7.2 Ensure logging of replication commands is configured