VCPG-70-000020 - VMware Postgres must use Coordinated Universal Time (UTC) for log timestamps.

Information

If time stamps are not consistently applied and there is no common time reference, it is difficult to perform forensic analysis. Time stamps generated by VMware Postgres must include date and time expressed in UTC, a modern continuation of Greenwich Mean Time (GMT).

Solution

At the command prompt, run the following commands:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -c 'ALTER SYSTEM SET log_timezone TO 'Etc/UTC';'

# /opt/vmware/vpostgres/current/bin/psql -U postgres -c 'SELECT pg_reload_conf();'

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_7-0_Y23M07_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-8b., CAT|II, CCI|CCI-001890, Rule-ID|SV-256610r887616_rule, STIG-ID|VCPG-70-000020, Vuln-ID|V-256610

Plugin: Unix

Control ID: f867e21054a3e62b13f591ea4aa0874359d6d28dfb768371a2926381d3b06bff