Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promote CSP frame-ancestors directive #15768

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Conversation

robhudson
Copy link
Member

One-line summary

The frame-ancestors: 'none' directive prevents the site from being embedded in any <iframe>, <object>, or <embed> elements, mitigating clickjacking attacks.

This directive has been running in report-only mode, generating reports without enforcing the policy. The reports show no valid embedding attempts, confirming that the directive will protect the website without breaking any legitimate use cases.

Issue / Bugzilla link

#11943

Testing

@robhudson robhudson requested a review from a team as a code owner December 17, 2024 20:08
Copy link

codecov bot commented Dec 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.07%. Comparing base (041814f) to head (28a43f6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #15768   +/-   ##
=======================================
  Coverage   79.07%   79.07%           
=======================================
  Files         160      160           
  Lines        8359     8359           
=======================================
  Hits         6610     6610           
  Misses       1749     1749           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@robhudson robhudson force-pushed the frame-ancestors-enforced branch from 27f2a00 to 065e0f3 Compare December 19, 2024 22:39
@robhudson robhudson force-pushed the frame-ancestors-enforced branch from 065e0f3 to 28a43f6 Compare December 19, 2024 22:46
@robhudson robhudson merged commit 692d76a into main Dec 19, 2024
5 checks passed
@robhudson robhudson deleted the frame-ancestors-enforced branch December 19, 2024 22:55
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.

3 participants