Administration: Configure reporting
PREREQUISITES: To activate reporting, perform the following:
- Make sure the Diagnostics module turned on.
For more information, see Overview: Performance Diagnostics module.
- Make sure the Http Headers profiler is running.
To do this, navigate to Administration » Diagnostics » Profilers.
NOTE: The following headers are preconfigured for reporting, you can change the reporting URI, or you can leave the default value.
The default report URI used by the diagnostics HTTP headers profiler is /Sitefinity/Frontend/Diagnostics/HttpHeadersReport
Following is a list of headers that support reporting:
- Content-Security-Policy-Report-Only
If you do not want to control the resources used, but only get a report, perform the following:
- Disable Content-Security-Policy header.
- Enable Content-Security-Policy-Report-Only header.
- Configure the response URI of the header in the Http header value field.
- Save your changes.
- Public-Key-Pins-Report-Only
Perform the following:
- Disable Public-Key-Pins header.
- Enable Public-Key-Pins-Report-Only header.
- Configure the response URI of the header in the Http header value field.
- Save your changes.
- X-XSS-Protection
Perform the following:
- Enable the X-XSS-Protection header.
- Configure the response URI of the header in the Http header value field.
NOTE: Value 1, entered in the field before the response URI, means the all attacks will be blocked and reported to the configured URI.
View reports
After you have configured one or more headers to report activity, you can view the reports.
Perform the following:
- In Sitefinity CMS backend, navigate to Administration » Diagnostics.
- In the left pane, click HTTP headers warnings.
A list of warnings appears.
- To check the details, click View details link of the respective warning.