SV-98891r1_rule
V-88241
SRG-APP-000109-DB-000321
VROM-PG-000095
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/vcops/vpostgres/data/postgresql.conf
If log_truncate_on_rotation is not set to "on", this is a finding.
V-88241
False
VROM-PG-000095
At the command prompt, execute the following command:
# grep '^\s*log_truncate_on_rotation\b' /storage/db/vcops/vpostgres/data/postgresql.conf
If log_truncate_on_rotation is not set to "on", this is a finding.
M
3445