#How to view CSP reports

3 messages · Page 1 of 1 (latest)

quaint fulcrum
#

I have successfully sent a CSP report from localhost to the sentry's endpoint. How can I view it on [my-company].sentry.io?
I've already ensured it's not filtered out

merry belfryBOT
#

Hi @quaint fulcrum. I'm happy to dig into this for you! I'll check my internal sources for answers to your question! :wave:

#

To view CSP (Content Security Policy) reports in Sentry, you should use the filters logger:csp or event.type:csp on your Discover or Issues pages. This will allow you to see only the events generated from CSP reports. The reports should appear in your Sentry project and be filterable using these criteria. If you do not see any CSP events, double-check your filters and ensure the reports are being sent to the correct project and endpoint.

For more details, see the official guidance: How do I check CSP reports in Sentry?

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: