getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
38.32k stars 4.11k forks source link

Custom tags for Content Security Policy violation reports #73817

Open mortargrind opened 1 month ago

mortargrind commented 1 month ago

Problem Statement

Other vendors like DataDog lets us define custom attributes as query params in the CSP report URIs.

This lets app specific additional data (other than environment and release version) to be specified in the reports so we can have more info in the report itself AND use this info on the dashboarding side for grouping and filtering on top of alerting.

Solution Brainstorm

I guess encoded query params as data is sufficient? See: https://docs.datadoghq.com/integrations/content_security_policy_logs/

Product Area

Issues

┆Issue is synchronized with this Jira Improvement by Unito

getsantry[bot] commented 1 month ago

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] commented 1 month ago

Routing to @getsentry/product-owners-issues for triage ⏲️

snigdhas commented 1 month ago

Adding this to our backlog to consider for Q4