SV-239426r675001_rule
V-239426
SRG-APP-000266-WSR-000160
VCPF-67-000025
CAT II
10
Navigate to and open /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml.
Navigate to all <debug> nodes that are not set to "0".
Set the <param-value> to "0" in all <param-name>debug</param-name> nodes.
Note: The debug setting should look like the following:
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
At the command prompt, execute the following command:
# xmllint --format /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml | sed '2 s/xmlns=".*"//g' | xmllint --xpath '//param-name[text()="debug"]/parent::init-param' -
Expected result:
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
If the output of the command does not match the expected result, this is a finding.
If no lines are returned, this is NOT a finding.
V-239426
False
VCPF-67-000025
At the command prompt, execute the following command:
# xmllint --format /usr/lib/vmware-perfcharts/tc-instance/conf/web.xml | sed '2 s/xmlns=".*"//g' | xmllint --xpath '//param-name[text()="debug"]/parent::init-param' -
Expected result:
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
If the output of the command does not match the expected result, this is a finding.
If no lines are returned, this is NOT a finding.
M
5329