TMAegis
Weitere Regeln für postgres

TMA-POSTGRES-7.2

Ensure logging of replication commands is configured

NiedrigStufe 1Manuelle Prüfungpostgres

Beschreibung

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

So wird geprüft

Prüfmethode: Manuelle Prüfung

Diese Empfehlung kann nicht automatisch geprüft werden. Ein Scan führt sie mit diesen Anweisungen auf, wenn Sie --include-manual übergeben.

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

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

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

Eigenschaften

Betriebssysteme
Beliebig
Tags
postgresdatabasereplicationloggingmanual
Referenz
CIS PostgreSQL 18 Benchmark v1.0.0 - 7.2 Ensure logging of replication commands is configured