Paste CSP violation report JSON and group violations by directive, blocked URI and document URL.
This parser is for reviewing Content Security Policy violation reports exported from logs or a reporting endpoint. Paste classic csp-report JSON or Report-To style bodies to summarize the noise.
What it groups
The output counts reports by effective directive, blocked URI and document URL, then lists the first violations with source file and line number when present.
Scope
The parser helps triage reports. It does not determine whether adding a source to a CSP is safe.