The vCenter PostgreSQL service must produce logs containing sufficient information to establish what type of events occurred.
DISA Rule
SV-259171r960891_rule
Vulnerability Number
V-259171
Group Title
SRG-APP-000095-DB-000039
Rule Version
VCPG-80-000010
Severity
CAT II
CCI(s)
- CCI-000130 - Ensure that audit records containing information that establishes what type of event occurred.
- CCI-000131 - Ensure that audit records containing information that establishes when the event occurred.
- CCI-000132 - Ensure that audit records containing information that establishes where the event occurred.
- CCI-000133 - Ensure that audit records containing information that establishes the source of the event.
- CCI-000134 - Ensure that audit records containing information that establishes the outcome of the event.
- CCI-000135 - Generate audit records containing the organization-defined additional information that is to be included in the audit records.
- CCI-001487 - Ensure that audit records containing information that establishes the identity of any individuals, subjects, or objects/entities associated with the event.
- CCI-001889 - Record time stamps for audit records that meet organization-defined granularity of time measurement.
Weight
10
Fix Recommendation
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
Check Contents
At the command prompt, run the following command:
# /opt/vmware/vpostgres/current/bin/psql -U postgres -A -t -c "SHOW log_line_prefix;"
Expected result:
%m %c %x %d %u %r %p %l
If the output does not include each option in the expected result, this is a finding.
Vulnerability Number
V-259171
Documentable
False
Rule Version
VCPG-80-000010
Severity Override Guidance
At the command prompt, run the following command:
# /opt/vmware/vpostgres/current/bin/psql -U postgres -A -t -c "SHOW log_line_prefix;"
Expected result:
%m %c %x %d %u %r %p %l
If the output does not include each option in the expected result, this is a finding.
Check Content Reference
M
Target Key
5570