SV-259083r1210410_rule
V-259083
SRG-APP-000295-AS-000263
VCPF-80-000070
CAT II
10
Navigate to and open:
/usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml
Navigate to the <session-config> node and configure the <session-timeout> as follows:
<session-config>
<session-timeout>6</session-timeout>
<cookie-config>
<http-only>true</http-only>
<secure>true</secure>
</cookie-config>
</session-config>
Restart the service with the following command:
# vmon-cli --restart perfcharts
At the command prompt, run the following command:
# xmllint --format /usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/session-config/session-timeout' -
Example result:
<session-timeout>30</session-timeout>
If the value of "session-timeout" is not "30" or less, or is missing, this is a finding.
V-259083
False
VCPF-80-000070
At the command prompt, run the following command:
# xmllint --format /usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/session-config/session-timeout' -
Example result:
<session-timeout>30</session-timeout>
If the value of "session-timeout" is not "30" or less, or is missing, this is a finding.
M
5566