-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: REST API
-
None
-
0
-
1
Currently when the REST API call fails in Bamboo, below information is seen
1. Detailed exception logged in responses, showing stack trace.
2. Apache version disclosed.
To hide the Apache version details, we can add a valve in server.xml file, refer Hide details from Tomcat error page
<Valve className="org.apache.catalina.valves.ErrorReportValve" showReport="false" showServerInfo="false" />
Currently there is no way to hide the stack trace, this might be required for some customer from their security end point, refer below
The feature request is raised to handle errors for each http request separately and print the stack trace only when a flag is added