Skip to content

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

An XCCDF Rule

Description

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.

ID
SV-259182r961443_rule
Version
VCPG-80-000075
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

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