ESX Agent Manager must generate log records for system startup and shutdown.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-256678 | VCEM-70-000006 | SV-256678r888590_rule | CCI-000169 | medium |
| Description | ||||
| Logging must be started as soon as possible when a service starts and as late as possible 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. | ||||
| STIG | Date | |||
| VMware vSphere 7.0 vCenter Appliance EAM Security Technical Implementation Guide | 2023-06-15 | |||
Details
Check Text (C-256678r888590_chk)
At the command prompt, run the following command:
# grep StreamRedirectFile /etc/vmware/vmware-vmon/svcCfgfiles/eam.json
Expected output:
"StreamRedirectFile" : "%VMWARE_LOG_DIR%/vmware/eam/jvm.log",
If no log file is specified for the "StreamRedirectFile" setting, this is a finding.
Fix Text (F-60296r888589_fix)
Navigate to and open:
/etc/vmware/vmware-vmon/svcCfgfiles/eam.json
Below the last line of the "PreStartCommandArg" block, add the following line:
"StreamRedirectFile" : "%VMWARE_LOG_DIR%/vmware/eam/jvm.log",
Restart the appliance for changes to take effect.