Sentry’s Security Header endpoint accepts Reporting API payloads, but Relay currently classifies only legacy CSP reports and Reporting API reports with type: "csp-violation". Reports with type: "integrity-violation" are rejected as unsupported.
This prevents projects expanding Subresource Integrity coverage from ingesting, grouping, and surfacing policy violations in Sentry.
via ADV.
--
View Junior Session [Sentry]
Sentry’s Security Header endpoint accepts Reporting API payloads, but Relay currently classifies only legacy CSP reports and Reporting API reports with
type: "csp-violation". Reports withtype: "integrity-violation"are rejected as unsupported.Integrity-PolicyandIntegrity-Policy-Report-Onlyproduceintegrity-violationreports containingdocumentURL,blockedURL,destination, andreportOnly: https://developer.mozilla.org/en-US/docs/Web/API/IntegrityViolationReportCspandUnsupportedreport types: https://github.com/getsentry/relay/blob/master/relay-event-schema/src/protocol/security_report.rsThis prevents projects expanding Subresource Integrity coverage from ingesting, grouping, and surfacing policy violations in Sentry.
via ADV.
--
View Junior Session [Sentry]