TMAegis
Više pravila za postgres

PostgreSQL

TMA-POSTGRES-3.1.13

Ensure the program name for PostgreSQL syslog messages is correct

NiskaNivo 1Ručni pregledpostgres

Opis

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.

Kako se proverava

Metod provere: Ručni pregled

Ova preporuka se ne može proveriti automatski. Skeniranje je navodi sa ovim uputstvima kada prosledite --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.

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

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

Svojstva

Operativni sistemi
Bilo koji
Oznake
postgresdatabaseloggingsyslogmanual
Referenca
CIS PostgreSQL 18 Benchmark v1.0.0 - 3.1.13 Ensure the program name for PostgreSQL syslog messages is correct