PostgreSQL
TMA-POSTGRES-3.1.13
Ensure the program name for PostgreSQL syslog messages is correct
НизкийУровень 1Ручная проверкаpostgres
Описание
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.
Как проверяется
Метод проверки: Ручная проверка
Эту рекомендацию нельзя проверить автоматически. Сканирование выводит её вместе с этими инструкциями при указании флага --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.
Как исправляется
Метод исправления: Рекомендация или патч инфраструктуры
ALTER SYSTEM SET syslog_ident = 'proddb'; (example) then SELECT pg_reload_conf();
Свойства
- Операционные системы
- Любая
- Теги
- postgresdatabaseloggingsyslogmanual
- Источник
- CIS PostgreSQL 18 Benchmark v1.0.0 - 3.1.13 Ensure the program name for PostgreSQL syslog messages is correct