Rule ID
SV-258997r960963_rule
Version
V2R2
CCIs
Tomcat provides documentation and other directories in the default installation that do not serve a production use. These files must be deleted.
At the command prompt, run the following command: # ls -l /var/opt/apache-tomcat/webapps/docs If the "docs" folder exists or contains any content, this is a finding.
At the command prompt, run the following command: # rm -rf /var/opt/apache-tomcat/webapps/docs