The requirement was not met on Jasper server.
STIG Rule: V-222975 - ErrorReportValve showServerInfo must be set to false
Rule Title: ErrorReportValve showServerInfo must be set to false.
Release : 21.2, 22.2
Component : Jaspersoft for CA Spectrum
Raised Defect DE540346 for this to be added in a future release.
Manually update the server.xml file and add the ErrorReportValve
1. Change directory to the CABI tomcat conf folder
cd /opt/CA/SharedComponents/CABI/apache-tomcat/conf/server.xml
2. Add the following just under the other AccessLogValve entry:
<Valve className="org.apache.catalina.valves.ErrorReportValve" showReport="false" showServerInfo="false"></Valve>
It should look something like this
3. Stop tomcat
cd /opt/CA/SharedComponents/CABI/
./stopServers.sh tomcat
4. Start tomcat
cd /opt/CA/SharedComponents/CABI/
./startServers.sh tomcat
V-222975 - ErrorReportValve showServerInfo must be set to false
https://stigviewer.com/stig/apache_tomcat_application_sever_9/2020-12-11/finding/V-222975
Verification: Access an invalid page on the CABI tomcat and verify that the 404 error does not report the tomcat version