Info

The CSP only reports and doesn't enforce

The short version

Switch to Content-Security-Policy once the reports are clean.

What it means

Your site sends Content-Security-Policy-Report-Only. Browsers check pages against it and report what they would block, but they block nothing.

Why it matters

This is information. Report-only is the right way to start a CSP, but it gives no protection on its own. Sites often leave it in report-only for good because nobody comes back to switch it.

How to fix it

  1. Look at the reports or the browser console for violations.
  2. Add the sources your site really needs, or fix the pages that break the policy.
  3. When a few days pass without unexpected reports, send the same policy as Content-Security-Policy.
  4. You can keep a stricter report-only policy alongside the enforced one to test the next step.

Check it worked

Run the HTTP and security headers check again. The CSP row should say enforced, and the finding should be gone unless you also keep a report-only policy for testing.