SV-100065r1_rule
V-89415
SRG-APP-000496-DB-000335
VRAU-PG-000380
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/pgdata/postgresql.conf
If "log_statement" is not all, this is a finding.
V-89415
False
VRAU-PG-000380
At the command prompt, execute the following command:
# grep '^\s*log_statement\b' /storage/db/pgdata/postgresql.conf
If "log_statement" is not all, this is a finding.
M
3443