Utilize Section’s powerful logging feature to quickly track down which part of a website or application is violating Content Security Policy directives.
Step 1 - Setup CSP Report module
Follow the instructions from this page for more details
Step 2 - Search Section logs for violations
Log into your Section portal and click
HTTP Logsfrom the left nav-bar.
*in the search box with the following querie
_type:openresty-access-log AND uri_path:"/.well-known/csp_reporting"
- Then add the field
Referreras a column.
- The referrer column will show you which part(s) of the web site or application is violating Content Security Policy directives. If there are a lot of violations, you can simply use Kibana’s powerful Visualize feature to find the top offenders, we recommend using a Data Table and splitting the table by the top 5