TMAegis
postgres için daha fazla kural

TMA-POSTGRES-7.2

Ensure logging of replication commands is configured

DüşükDüzey 1Manuel incelemepostgres

Açıklama

Enabling the log_replication_commands setting causes each attempted replication from the server to be logged.

Nasıl denetlenir

Denetim yöntemi: Manuel inceleme

Bu öneri otomatik olarak denetlenemez. --include-manual parametresini verdiğinizde tarama bunu bu talimatlarla birlikte listeler.

Run SHOW log_replication_commands; If replication is used and the value is off, replication commands are not logged and this is a fail.

Nasıl düzeltilir

Düzeltme yöntemi: Kılavuz veya altyapı yaması

ALTER SYSTEM SET log_replication_commands = 'on'; SELECT pg_reload_conf();

Özellikler

İşletim sistemleri
Herhangi biri
Etiketler
postgresdatabasereplicationloggingmanual
Referans
CIS PostgreSQL 18 Benchmark v1.0.0 - 7.2 Ensure logging of replication commands is configured