SV-100001r1_rule
V-89351
SRG-APP-000109-DB-000321
VRAU-PG-000085
CAT III
10
At the command prompt, execute the following commands:
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "ALTER SYSTEM SET log_truncate_on_rotation TO 'on';"
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "SELECT pg_reload_conf();"
At the command prompt, execute the following command:
# grep '^\s*log_truncate_on_rotation\b' /storage/db/pgdata/postgresql.conf
If "log_truncate_on_rotation" is not set to "on", this is a finding.
V-89351
False
VRAU-PG-000085
At the command prompt, execute the following command:
# grep '^\s*log_truncate_on_rotation\b' /storage/db/pgdata/postgresql.conf
If "log_truncate_on_rotation" is not set to "on", this is a finding.
M
3443