Skip to content

Add 'report-uri' directive to Content-Security-Policy - #3112

Open
sethmlarson wants to merge 1 commit into
python:mainfrom
sethmlarson:sentry-csp-report-only
Open

Add 'report-uri' directive to Content-Security-Policy#3112
sethmlarson wants to merge 1 commit into
python:mainfrom
sethmlarson:sentry-csp-report-only

Conversation

@sethmlarson

Copy link
Copy Markdown
Contributor

Part of #3041, adds the report-uri directive to the Content-Security-Policy-Report-Only header. This will allow us to set a reporting URL via Sentry and see whether any policies are being violated today before we start enforcement.

We don't use report-to and Reporting-Endpoints because django-csp doesn't seem to support this as easily? Another thing to do when we move to Django 6.

@sethmlarson
sethmlarson force-pushed the sentry-csp-report-only branch from 367966d to eec1a92 Compare September 10, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant