SV-98965r1_rule
V-88315
SRG-APP-000499-DB-000330
VROM-PG-000530
CAT II
10
At the command prompt, execute the following commands:
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "ALTER SYSTEM SET log_statement TO 'all';"
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "SELECT pg_reload_conf();"
At the command prompt, execute the following command:
# grep '^\s*log_statement\b' /storage/db/vcops/vpostgres/data/postgresql.conf
If "log_statement" is not set to "all", this is a finding.
V-88315
False
VROM-PG-000530
At the command prompt, execute the following command:
# grep '^\s*log_statement\b' /storage/db/vcops/vpostgres/data/postgresql.conf
If "log_statement" is not set to "all", this is a finding.
M
3445