Skip to content

A simple PHP CSP reporter script that saves violations to disk

License

Notifications You must be signed in to change notification settings

fisnik-x/csp-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSP Reporter

A simple PHP CSP reporter script that saves violations to disk.

Usage

Put the csp-reporter.php on your web server, or in your local directory were you have your website PHP files, and specify csp-reporter.php in your CSP report-uri directive (ref. 7.13).

Note: CSPv3 is still in its draft, therefore, CSPv2 will continue to work and there will most likely be backward compatibility.

Output "csp-violations.log"

About

A simple PHP CSP reporter script that saves violations to disk

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages