TMA-POSTGRES-7.2
Ensure logging of replication commands is configured
ThấpCấp 1Xem xét thủ côngpostgres
Mô tả
Enabling the log_replication_commands setting causes each attempted replication from the server to be logged.
Cách kiểm tra
Phương pháp kiểm tra: Xem xét thủ công
Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --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.
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
ALTER SYSTEM SET log_replication_commands = 'on'; SELECT pg_reload_conf();
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- postgresdatabasereplicationloggingmanual
- Tham chiếu
- CIS PostgreSQL 18 Benchmark v1.0.0 - 7.2 Ensure logging of replication commands is configured