STIGUI
V-259182CAT II — Medium severitySV-259182r961443_rule

The vCenter PostgreSQL service must use Coordinated Universal Time (UTC) for log timestamps.

Rule version VCPG-80-000075 · STIG v2 · 2026-08-26

Discussion

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 PostgreSQL must include date and time. Time is commonly expressed in UTC, a modern continuation of Greenwich Mean Time (GMT), or local time with an offset from UTC.

Check

At the command prompt, run the following command:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -A -t -c "SHOW log_timezone;"

Expected result:

UTC

If the output does not match the expected result, this is a finding.

Fix

A script is included with vCenter to generate a PostgreSQL STIG configuration.

At the command prompt, run the following commands:

# chmod +x /opt/vmware/vpostgres/current/bin/vmw_vpg_config/vmw_vpg_config.py
# /opt/vmware/vpostgres/current/bin/vmw_vpg_config/vmw_vpg_config.py --action stig_enable --pg-data-dir /storage/db/vpostgres
# chmod -x /opt/vmware/vpostgres/current/bin/vmw_vpg_config/vmw_vpg_config.py

Restart the PostgreSQL service by running the following command:

# vmon-cli --restart vmware-vpostgres

Identifiers

Group ID
V-259182
Group title
SRG-APP-000374-DB-000322
Rule ID
SV-259182r961443_rule
Check ID
C-62922r935448_chk
Fix ID
F-62831r935449_fix