SV-98939r1_rule
V-88289
SRG-APP-000375-DB-000323
VROM-PG-000385
CAT II
10
At the command prompt, execute the following commands:
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "ALTER SYSTEM SET log_line_prefix TO '%m %d %u %r %p %l %c';"
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "SELECT pg_reload_conf();"
At the command prompt, execute the following command:
# grep '^\s*log_line_prefix\b' /storage/db/vcops/vpostgres/data/postgresql.conf
If "log_line_prefix" is not set to "%m %d %u %r %p %l %c", this is a finding.
V-88289
False
VROM-PG-000385
At the command prompt, execute the following command:
# grep '^\s*log_line_prefix\b' /storage/db/vcops/vpostgres/data/postgresql.conf
If "log_line_prefix" is not set to "%m %d %u %r %p %l %c", this is a finding.
M
3445