Skip to content

ref(security-headers): Remove obsolete HPKP and Expect-CT/Staple UI - #119638

Merged
mrduncan merged 2 commits into
masterfrom
mrduncan/remove-obsolete-security-header-ui
Jul 15, 2026
Merged

ref(security-headers): Remove obsolete HPKP and Expect-CT/Staple UI#119638
mrduncan merged 2 commits into
masterfrom
mrduncan/remove-obsolete-security-header-ui

Conversation

@mrduncan

@mrduncan mrduncan commented Jul 14, 2026

Copy link
Copy Markdown
Member

HPKP, Expect-CT, and Expect-Staple are dead in all shipping browsers (HPKP removed from Chrome 72 / Firefox 72; Expect-CT removed from Chromium 107; Expect-Staple never shipped broadly), so their report types can no longer be produced. Remove the frontend support for them: the per-project settings pages and routes, the event-type enums, and the issue/shared/trace rendering branches. CSP and NEL remain untouched.

The Generic report component was used exclusively by these three dead types (CSP has its own dedicated renderer), so it is deleted as dead code along with its spec.

This is the frontend-only portion; the backend interface/eventtype/ grouping removal and the relay classification change are separate follow-up PRs.

For reference, screenshots before Screenshot 2026-07-14 at 3 42 04 PM Screenshot 2026-07-14 at 3 41 37 PM Screenshot 2026-07-14 at 3 41 51 PM

HPKP, Expect-CT, and Expect-Staple are dead in all shipping browsers
(HPKP removed from Chrome 72 / Firefox 72; Expect-CT removed from
Chromium 107; Expect-Staple never shipped broadly), so their report
types can no longer be produced. Remove the frontend support for them:
the per-project settings pages and routes, the event-type enums, and
the issue/shared/trace rendering branches. CSP and NEL remain untouched.

The Generic report component was used exclusively by these three dead
types (CSP has its own dedicated renderer), so it is deleted as dead
code along with its spec.

This is the frontend-only portion; the backend interface/eventtype/
grouping removal and the relay classification change are separate
follow-up PRs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 14, 2026
The PreviewFeature banner was only rendered by the HPKP and Expect-CT
settings pages, which were deleted in the previous commit. With no
remaining consumers, knip flags it as an unused file, so remove it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@mrduncan
mrduncan merged commit adcb5c6 into master Jul 15, 2026
79 checks passed
@mrduncan
mrduncan deleted the mrduncan/remove-obsolete-security-header-ui branch July 15, 2026 14:58
mrduncan added a commit that referenced this pull request Jul 31, 2026
…ts (#119685)

Relay is dropping ingest support for Expect-CT, HPKP, and Expect-Staple
security reports in getsentry/relay#6230 — these report types are dead
in all shipping browsers (HPKP removed from Chrome 72 / Firefox 72;
Expect-CT removed from Chromium 107; Expect-Staple never shipped
broadly) and can no longer be produced.

This unblocks removing support from Relay, which uses these integration
tests.

Refs getsentry/relay#6230
Refs #119638

Co-authored-by: Claude <noreply@anthropic.com>
mrduncan added a commit to getsentry/relay that referenced this pull request Aug 4, 2026
Follow-up to 9fbaceb, which stopped accepting these reports at ingest but
deliberately kept the protocol surface for a coordinated removal. This does that
removal: the EventType variants, the hpkp / expectct / expectstaple fields on the
Event schema, and the now-unreachable interface types and their raw parsers.

Ingestion behavior is unchanged -- reports are already rejected at the endpoint
with an `invalid` outcome. What changes is that an event which an older upstream
Relay already classified as one of these types is now forwarded as a `default`
event, so it counts against the error quota rather than the security quota.

getsentry/sentry#121028 removed the Sentry-side tests that exercised these types
through Relay's normalizer, so this no longer breaks Sentry CI. Removing the dead
Sentry source (eventtypes, interfaces, grouping strategies) is a follow-up that
must land after Sentry bumps its sentry-relay dependency.

Refs getsentry/sentry#119638
Refs getsentry/sentry#121028
Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants