TMAegis
Više pravila za postgres

TMA-POSTGRES-7.2

Ensure logging of replication commands is configured

NiskaNivo 1Ručni pregledpostgres

Opis

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

Kako se proverava

Metod provere: Ručni pregled

Ova preporuka se ne može proveriti automatski. Skeniranje je navodi sa ovim uputstvima kada prosledite --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.

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

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

Svojstva

Operativni sistemi
Bilo koji
Oznake
postgresdatabasereplicationloggingmanual
Referenca
CIS PostgreSQL 18 Benchmark v1.0.0 - 7.2 Ensure logging of replication commands is configured