TMAegis
postgres のその他のルール

PostgreSQL

TMA-POSTGRES-3.1.10

Ensure the correct syslog facility is selected

低レベル 1手動レビューpostgres

説明

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.

チェック方法

監査方法: 手動レビュー

この推奨事項は自動ではチェックできません。--include-manual を指定すると、スキャン結果にこの手順付きで一覧表示されます。

If logging to syslog, run SHOW syslog_facility; (default local0) and confirm it is the facility your syslog policy assigns to PostgreSQL (LOCAL0-LOCAL7).

修正方法

修正方法: ガイダンスまたは IaC パッチ

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

プロパティ

オペレーティングシステム
すべて
タグ
postgresdatabaseloggingsyslogmanual
参照
CIS PostgreSQL 18 Benchmark v1.0.0 - 3.1.10 Ensure the correct syslog facility is selected