SV-259082r961167_rule
V-259082
SRG-APP-000266-AS-000169
VCPF-80-000067
CAT II
10
Navigate to and open:
/usr/lib/vmware-perfcharts/tc-instance/conf/server.xml
Locate the following Host block:
<Host ...>
...
</Host>
Inside this block, add or update the following on a new line:
<Valve className="org.apache.catalina.valves.ErrorReportValve" showServerInfo="false" showReport="false"/>
Restart the service with the following command:
# vmon-cli --restart perfcharts
At the command prompt, run the following command:
# xmllint --xpath '/Server/Service/Engine/Host/Valve[@className="org.apache.catalina.valves.ErrorReportValve"]' /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml
Example result:
<Valve className="org.apache.catalina.valves.ErrorReportValve" showServerInfo="false" showReport="false"/>
If the "ErrorReportValve" element is not defined or "showServerInfo" is not set to "false", this is a finding.
V-259082
False
VCPF-80-000067
At the command prompt, run the following command:
# xmllint --xpath '/Server/Service/Engine/Host/Valve[@className="org.apache.catalina.valves.ErrorReportValve"]' /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml
Example result:
<Valve className="org.apache.catalina.valves.ErrorReportValve" showServerInfo="false" showReport="false"/>
If the "ErrorReportValve" element is not defined or "showServerInfo" is not set to "false", this is a finding.
M
5566