SV-256639r888408_rule
V-256639
SRG-APP-000357-WSR-000150
VCPF-70-000029
CAT II
10
Navigate to and open:
/etc/vmware-perfcharts/log4j.properties
Ensure the appender.rolling entries are configured as follows:
appender.rolling.type = RollingFile
appender.rolling.name = FileLog
appender.rolling.fileName = /var/log/vmware/perfcharts/stats.log
appender.rolling.filePattern = /var/log/vmware/perfcharts/stats-%i.log
appender.rolling.policies.type = Policies
appender.rolling.policies.size.type = SizeBasedTriggeringPolicy
appender.rolling.policies.size.size = 5MB
appender.rolling.strategy.type = DefaultRolloverStrategy
appender.rolling.strategy.max = 10
appender.rolling.layout.type = PatternLayout
appender.rolling.layout.pattern = %d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX} [%t %-5p %c] %m%n
appender.rolling.level = info
Note: This fix is currently only applicable to 7.0 U2+ and is different in older versions.
At the command prompt, run the following command:
# rpm -V VMware-perfcharts|grep log4j|grep "^..5......"
If the command returns any output, this is a finding.
V-256639
False
VCPF-70-000029
At the command prompt, run the following command:
# rpm -V VMware-perfcharts|grep log4j|grep "^..5......"
If the command returns any output, this is a finding.
M
5522