Skip to content
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

Closed
miketaylr opened this issue Feb 3, 2017 · 3 comments
Closed

Add CSP report endpoint #1329

miketaylr opened this issue Feb 3, 2017 · 3 comments
Assignees

Comments

@miketaylr
Copy link
Member

A place that accepts a CSP report and logs the input to disk. Blocks #763

@miketaylr miketaylr self-assigned this Feb 3, 2017
@denschub
Copy link
Member

denschub commented Feb 7, 2017

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.)

@miketaylr
Copy link
Member Author

Thank you @denschub!

@miketaylr
Copy link
Member Author

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!

miketaylr pushed a commit that referenced this issue Feb 27, 2017
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).
miketaylr pushed a commit that referenced this issue Feb 28, 2017
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).
miketaylr pushed a commit that referenced this issue Feb 28, 2017
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).
miketaylr pushed a commit that referenced this issue Feb 28, 2017
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).
@karlcow karlcow closed this as completed in f5a9ec6 Mar 2, 2017
jeanhl pushed a commit to jeanhl/webcompat.com that referenced this issue Mar 10, 2017
jeanhl pushed a commit to jeanhl/webcompat.com that referenced this issue Mar 10, 2017
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).
jeanhl pushed a commit to jeanhl/webcompat.com that referenced this issue Mar 10, 2017
jeanhl pushed a commit to jeanhl/webcompat.com that referenced this issue Mar 10, 2017
jeanhl pushed a commit to jeanhl/webcompat.com that referenced this issue Mar 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants