TMA-POSTGRES-7.2
Ensure logging of replication commands is configured
RendahLevel 1Tinjauan manualpostgres
Deskripsi
Enabling the log_replication_commands setting causes each attempted replication from the server to be logged.
Cara pemeriksaan
Metode audit: Tinjauan manual
Rekomendasi ini tidak dapat diperiksa secara otomatis. Pemindaian akan menampilkannya beserta petunjuk ini saat Anda memberikan opsi --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.
Cara perbaikan
Metode perbaikan: Panduan atau patch infrastruktur
ALTER SYSTEM SET log_replication_commands = 'on'; SELECT pg_reload_conf();
Properti
- Sistem operasi
- Apa saja
- Tag
- postgresdatabasereplicationloggingmanual
- Referensi
- CIS PostgreSQL 18 Benchmark v1.0.0 - 7.2 Ensure logging of replication commands is configured