TMAegisBeta
Weitere Regeln für postgres

PostgreSQL

TMA-POSTGRES-3.1.13

Ensure the program name for PostgreSQL syslog messages is correct

NiedrigStufe 1Manuelle Prüfungpostgres

Beschreibung

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.

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.

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.

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

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

Eigenschaften

Betriebssysteme
Beliebig
Tags
postgresdatabaseloggingsyslogmanual
Referenz
CIS PostgreSQL 18 Benchmark v1.0.0 - 3.1.13 Ensure the program name for PostgreSQL syslog messages is correct