STIGUI
V-259181CAT II — Medium severitySV-259181r1015953_rule

The vCenter PostgreSQL service must have log collection enabled.

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

Discussion

Without the ability to centrally manage the content captured in the audit records, identification, troubleshooting, and correlation of suspicious behavior would be difficult and could lead to a delayed or incomplete analysis of an ongoing attack.

The content captured in audit records must be managed from a central location (necessitating automation). Centralized management of audit records and logs provides for efficiency in maintenance and management of records, as well as the backup and archiving of those records.

Satisfies: SRG-APP-000356-DB-000314, SRG-APP-000381-DB-000361

Check

At the command prompt, run the following command:

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

Expected result:

on

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-259181
Group title
SRG-APP-000356-DB-000314
Rule ID
SV-259181r1015953_rule
Check ID
C-62921r935445_chk
Fix ID
F-62830r935446_fix