TMAegis
postgres için daha fazla kural

PostgreSQL

TMA-POSTGRES-3.1.13

Ensure the program name for PostgreSQL syslog messages is correct

DüşükDüzey 1Manuel incelemepostgres

Açıklama

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.

Nasıl denetlenir

Denetim yöntemi: Manuel inceleme

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

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.

Nasıl düzeltilir

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

ALTER SYSTEM SET syslog_ident = 'proddb'; (example) then SELECT pg_reload_conf();

Özellikler

İşletim sistemleri
Herhangi biri
Etiketler
postgresdatabaseloggingsyslogmanual
Referans
CIS PostgreSQL 18 Benchmark v1.0.0 - 3.1.13 Ensure the program name for PostgreSQL syslog messages is correct