STIGUI
V-259169CAT II — Medium severitySV-259169r1210428_rule

The vCenter PostgreSQL service must generate audit records.

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

Discussion

Under some circumstances, it may be useful to monitor who/what is reading privilege/permission/role information. Therefore, it must be possible to configure auditing to do this. Database management systems (DBMS) typically make such information available through views or functions.

This requirement addresses explicit requests for privilege/permission/role membership information. It does not refer to the implicit retrieval of privileges/permissions/role memberships that PostgreSQL continually performs to determine if any and every action on the database is permitted.

Satisfies: SRG-APP-000091-DB-000066, SRG-APP-000091-DB-000325, SRG-APP-000492-DB-000332, SRG-APP-000492-DB-000333, SRG-APP-000495-DB-000326, SRG-APP-000495-DB-000327, SRG-APP-000495-DB-000328, SRG-APP-000495-DB-000329, SRG-APP-000496-DB-000334, SRG-APP-000496-DB-000335, SRG-APP-000499-DB-000330, SRG-APP-000499-DB-000331, SRG-APP-000501-DB-000336, SRG-APP-000501-DB-000337, SRG-APP-000504-DB-000354, SRG-APP-000504-DB-000355, SRG-APP-000507-DB-000356, SRG-APP-000507-DB-000357

Check

At the command prompt, run the following commands:

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

If the "pgaudit.log" setting is not configured to "all, -misc, -read", 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

Note: If this has already been run previously, it does not need to be run again.

Navigate to and edit the /storage/db/vpostgres/stig.conf file.

Add or update the following settings:

pgaudit.log = 'all, -misc, -read' pgaudit.log_catalog = off pgaudit.log_parameter = off pgaudit.log_relation = off pgaudit.log_statement = off

Remove the following settings:

pgaudit.log_level = log

Restart the PostgreSQL service by running the following command:

# vmon-cli --restart vmware-vpostgres

Identifiers

Group ID
V-259169
Group title
SRG-APP-000091-DB-000066
Rule ID
SV-259169r1210428_rule
Check ID
C-62909r1067576_chk
Fix ID
F-62818r1210427_fix