-
Notifications
You must be signed in to change notification settings - Fork 193
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
Add CSP report endpoint #1329
Comments
If you don't want to build this into the application, I've written a small daemon to collect CSP violation reports and dump them into a SQLite database for a project a while ago. Just pushed the sources to denschub/csp_violation_reports_collector, feel free to ping me if you need help! (Or, FWIW, feel free to not use it at all.) |
Thank you @denschub! |
I think I'm gonna do the quick and dirty write-to-a-logfile thing in the current app, mostly because it's simpler than figuring out how to host node apps. 🙈 I think medium-term @denschub's solution is nicer though! |
This allows xhr, fonts, images, scripts, css from webcompat.com (or localhost). It also allows script from google-analytics.com. Let's leave it on for a week or so and see what we need to tweak before enabling the policy (and where to file bugs to improve security).
This allows xhr, fonts, images, scripts, css from webcompat.com (or localhost). It also allows script from google-analytics.com. Let's leave it on for a week or so and see what we need to tweak before enabling the policy (and where to file bugs to improve security).
This allows xhr, fonts, images, scripts, css from webcompat.com (or localhost). It also allows script from google-analytics.com. Let's leave it on for a week or so and see what we need to tweak before enabling the policy (and where to file bugs to improve security).
This allows xhr, fonts, images, scripts, css from webcompat.com (or localhost). It also allows script from google-analytics.com. Let's leave it on for a week or so and see what we need to tweak before enabling the policy (and where to file bugs to improve security).
This allows xhr, fonts, images, scripts, css from webcompat.com (or localhost). It also allows script from google-analytics.com. Let's leave it on for a week or so and see what we need to tweak before enabling the policy (and where to file bugs to improve security).
A place that accepts a CSP report and logs the input to disk. Blocks #763
The text was updated successfully, but these errors were encountered: