VCPF-67-000006 - Performance Charts must generate log records for system startup and shutdown.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Logging must be started as soon as possible when a service starts and when a service is stopped. Many forms of suspicious actions can be detected by analyzing logs for unexpected service starts and stops. Also, by starting to log immediately after a service starts, it becomes more difficult for suspicious activity to go unlogged.

On the VCSA, the 'vmware-vmon' service starts up the Java virtual machines (JVMs) for various vCenter processes, including Performance Charts, and the individual 'json' config files control the early JVM logging. Ensuring these 'json' files are configured correctly enables early Java 'stdout' and 'stderr' logging.

Satisfies: SRG-APP-000089-WSR-000047, SRG-APP-000092-WSR-000055

Solution

Navigate to and open /etc/vmware/vmware-vmon/svcCfgfiles/perfcharts.json.

Below the last line of the 'PreStartCommandArg' block, add the following line:

'StreamRedirectFile' : '%VMWARE_LOG_DIR%/vmware/perfcharts/vmware-perfcharts-runtime.log',

Restart the appliance for changes to take effect.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000163, CCI|CCI-000169, CCI|CCI-001464, Rule-ID|SV-239407r674944_rule, STIG-ID|VCPF-67-000006, Vuln-ID|V-239407

Plugin: Unix

Control ID: d3627f3427700c4d5d4e6f7a547ce9a0739600807cc144e442d4f44a28b11305