CentralCSP
Policies

Browser security policies and how each one reports

How each configurable browser policy works, what it protects against, and how it reports through the Reporting API.

Last update:

A policy is a set of rules the browser enforces, configured through a response header. Each policy can point its reports at an endpoint, so you see what it would block before you enforce it. These pages explain what each policy protects against, how to configure it, and how to wire its reporting. Content Security Policy is the deepest sub-tree.

Policies in this section

How a policy reports

Every policy points at an endpoint declared in a header, but each names it a little differently:

  • CSP uses the report-to directive (and the deprecated report-uri).
  • COOP, COEP, Permissions-Policy, and Connection-Allowlist use a report-to= parameter on the header.
  • Integrity-Policy uses the endpoints=() directive.
  • NEL is the exception: it names a group in the legacy Report-To header, not Reporting-Endpoints.

Whichever a policy uses, the name has to match one declared on the same response, and the browser then emits the matching report type.

See also

On this page