-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support browser reports submitted via Reporting API #5471
Comments
Yessss. I'll keep an eye on this for now. |
This is now implemented in Chrome (behind a flag): https://developers.google.com/web/updates/2018/09/reportingapi For |
Hi! Is this feature something you are working on implementing? |
@kaplun There is a pull request open to support the |
You mean the Sentry's PR is not having a complete implementation or browsers do not have yet a complete implementation? Because it looks like they do have it: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-to#Browser_compatibility (edit: corrected URL) |
My mistake, I was conflating the feature-policy reports with the To my knowledge there aren't any open pull requests to add support for |
Related: #10202 |
I can't figure out how to make CSP reporting work with |
@dzagorovsky don't think we support this yet but keeping the issue open as a feature request. |
Please support this. |
Any updates on this yet? Browsers are now soon moving to 'reporting-endpoints' too. |
No updates. There aren't any current plans to add support for reporting endpoints. |
We thought that CSP reporting is supported. I am sincerely sorry . It seems issue is caused by not fully undersanding how HTTP header and meta tag CSP policy compliment each other. |
@drekinov CSP reporting is supported (I'm successfully using it for instance). This issue is about supporting the new reporting format, defined via the
|
Any news or updates on this? |
Hi, I followed the Sentry official documentation to report the CSP violation to Sentry. It works well when using the |
Routing to @getsentry/product-owners-settings-security-privacy for triage ⏲️ |
Instead of supporting a different reporting method for every different browser feature (CSP, HPKP, Expect-CT, etc.), a Reporting API is being developed to allow batching all these reports together and submitting to an endpoint.
Chrome just announced that they are implementing this.
From my understanding, CSP (and other reports) will be deprecating their old reporting method and swapping to this new reporting method. As normal CSP reports are already supported by Sentry, just need to add support for this new API to keep up once Chrome and other browsers start supporting (and sending) them.
cc @ScottHelme
The text was updated successfully, but these errors were encountered: