I write here to report my latest dirty hack. Story—
While enforcing our HTTP server configuration at work, we are slowly implementing CSP policies and one of them allow Web browsers to report violations to a given endpoint.
At this moment, we are only at the reporting step of the implementation because the first time we attempted to roll this header out, it ended up breaking our staging env.
So, it's recommended to set the
This header takes the
report-uri directive which allows the browser to push the violation findings to a given endpoint.
For this example:> Continue Reading