TMAegisBeta
Thêm quy tắc cho postgres

PostgreSQL

TMA-POSTGRES-3.1.13

Ensure the program name for PostgreSQL syslog messages is correct

ThấpCấp 1Xem xét thủ côngpostgres

Mô tả

The syslog_ident setting specifies the program name used to identify PostgreSQL messages in syslog logs. An example of a possible program name is postgres.

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.

If logging to syslog, run SHOW syslog_ident; (default postgres) and confirm the program name matches your logging policy so messages from this cluster can be identified.

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 syslog_ident = 'proddb'; (example) then SELECT pg_reload_conf();

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
postgresdatabaseloggingsyslogmanual
Tham chiếu
CIS PostgreSQL 18 Benchmark v1.0.0 - 3.1.13 Ensure the program name for PostgreSQL syslog messages is correct