CSP and security headers / Set up CSP reporting
Set up CSP reporting
CSP reporting is optional browser security evidence. It is separate from external uptime checks and from the browser beacon. A missing CSP report does not prove that a page is safe or working.
- Open All Sites → your site → Setup and locate the CSP reporting instructions.
- Copy the site's generated report URI and report-only header. Identify who manages response headers: your host, CDN, application, or WordPress plugin.
- Begin with Content-Security-Policy-Report-Only while you review legitimate resources and important visitor journeys. Do not replace an existing policy without reviewing it.
- Visit representative pages and inspect reports in the site's CSP view. Verify the response header and report destination if nothing arrives.
- Only switch to enforcement after reviewing the policy and testing the site's important functions.
Enforcement can block scripts, forms, embeds, and other resources. A generic default-src 'self' example is not a ready-to-deploy policy for every site.
For WordPress, follow the plugin guide and choose one policy owner. If you cannot manage response headers, review Managed CSP on csp-heal and its limitations.