Rule ID
SV-259164r961395_rule
Version
V2R1
CCIs
CCI-001851
Writing events to a centralized management audit system offers many benefits to the enterprise over having dispersed logs. Centralized management of audit records and logs provides for efficiency in maintenance and management of records, enterprise analysis of events, and backup and archiving of event records enterprise-wide. The web server and related components are required to be capable of writing logs to centralized audit log servers.
By default, there is a vmware-services-envoy.conf rsyslog configuration file that includes the service logs when syslog is configured on vCenter, but it must be verified.
At the command prompt, run the following command:
# cat /etc/vmware-syslog/vmware-services-envoy.conf
Expected result:
#envoy service log
input(type="imfile"
File="/var/log/vmware/envoy/envoy.log"
Tag="envoy-main"
Severity="info"
Facility="local0")
#envoy access log
input(type="imfile"
File="/var/log/vmware/envoy/envoy-access.log"
Tag="envoy-access"
Severity="info"
Facility="local0")
#envoy init stdout
input(type="imfile"
File="/var/log/vmware/envoy/envoy_init.log.stdout"
Tag="envoy-stdout"
Severity="info"
Facility="local0")
#envoy init stderr
input(type="imfile"
File="/var/log/vmware/envoy/envoy_init.log.stderr"
Tag="envoy-stderr"
Severity="info"
Facility="local0")
If the output does not match the expected result, this is a finding.Navigate to and open:
/etc/vmware-syslog/vmware-services-envoy.conf
Create the file if it does not exist.
Set the contents of the file as follows:
#envoy service log
input(type="imfile"
File="/var/log/vmware/envoy/envoy.log"
Tag="envoy-main"
Severity="info"
Facility="local0")
#envoy access log
input(type="imfile"
File="/var/log/vmware/envoy/envoy-access.log"
Tag="envoy-access"
Severity="info"
Facility="local0")
#envoy init stdout
input(type="imfile"
File="/var/log/vmware/envoy/envoy_init.log.stdout"
Tag="envoy-stdout"
Severity="info"
Facility="local0")
#envoy init stderr
input(type="imfile"
File="/var/log/vmware/envoy/envoy_init.log.stderr"
Tag="envoy-stderr"
Severity="info"
Facility="local0")