getsentry / sentry-javascript

Official Sentry SDKs for JavaScript
https://sentry.io
MIT License
7.97k stars 1.57k forks source link

Support securitypolicyviolation events for augmenting additional sentry metadata #587

Closed mattrobenolt closed 7 years ago

mattrobenolt commented 8 years ago

If using CSP, it'd be nice to leverage this to also augment with the same configured information from raven.js. We could them hook in release information, etc.

benvinegar commented 7 years ago

I think the JavaScript events associated with CSP were killed from the spec. I couldn't find any mention of this in the latest spec, and Google has turned up empty.

Re-open if you find something indicating otherwise.

shekyan commented 5 years ago

WUT? https://w3c.github.io/webappsec-csp/#violation-events

kamilogorek commented 5 years ago

Content Security Policy Level 3 W3C Working Draft, 15 October 2018

benvinegar commented on 23 Mar 2017

A lot of things can happen in 17 months.

shekyan commented 5 years ago

It's there since version 2 (15 December 2016 ) . But doesn't matter, let's have it, please, @benvinegar

Tuuuukka commented 2 years ago

Old issue but relevant in my opinion. Are there any plans in supporting SecurityPolicyViolationEvent?