TMAegisBeta
Weitere Regeln für postgres

PostgreSQL

TMA-POSTGRES-3.1.10

Ensure the correct syslog facility is selected

NiedrigStufe 1Manuelle Prüfungpostgres

Beschreibung

The syslog_facility setting specifies the syslog "facility" to be used when logging to syslog is enabled. You can choose from any of the 'local' facilities: ; LOCAL0 ; LOCAL1 ; LOCAL2 ; LOCAL3 ; LOCAL4 ; LOCAL5 ; LOCAL6 ; LOCAL7 Your organization's logging policy should dictate which facility to use based on the syslog daemon in use.

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_facility; (default local0) and confirm it is the facility your syslog policy assigns to PostgreSQL (LOCAL0-LOCAL7).

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

ALTER SYSTEM SET syslog_facility = 'LOCAL1'; (example) then SELECT pg_reload_conf();

Eigenschaften

Betriebssysteme
Beliebig
Tags
postgresdatabaseloggingsyslogmanual
Referenz
CIS PostgreSQL 18 Benchmark v1.0.0 - 3.1.10 Ensure the correct syslog facility is selected