TMA-POSTGRES-7.2
Ensure logging of replication commands is configured
FaibleNiveau 1Revue manuellepostgres
Description
Enabling the log_replication_commands setting causes each attempted replication from the server to be logged.
Méthode de vérification
Méthode d'audit: Revue manuelle
Cette recommandation ne peut pas être vérifiée automatiquement. Une analyse la liste avec ces instructions lorsque vous passez --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.
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
ALTER SYSTEM SET log_replication_commands = 'on'; SELECT pg_reload_conf();
Propriétés
- Systèmes d'exploitation
- Tous
- Étiquettes
- postgresdatabasereplicationloggingmanual
- Référence
- CIS PostgreSQL 18 Benchmark v1.0.0 - 7.2 Ensure logging of replication commands is configured