This package adds an endpoint to the Flow framework to log content security policy (CSP) violations. It simply logs every request that is sent to the endpoint in the defined format.
To use this endpoint, extend your Content-Security-Policy
header to contain report-uri /csp-violation-report/
.
Felix Gradinaru, CodeQ Web Factory
This package is distributed under the MIT license.