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

chore: add integrity attribute to external links #2236

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

thecristen
Copy link
Collaborator

@thecristen thecristen commented Nov 25, 2024

Summary of changes

Asana Ticket: Resolve BitSight audit issues > Integrity Attribute | Web Application Security & Resolve BitSight audit issues > Integrity Attribute | Web Application Security

Uses Phoenix.VerifiedRoutes.static_integrity/2 to add the integrity attribute to <script> and <link> tags.

@thecristen thecristen added the dev-blue Deploy to dev-blue label Nov 25, 2024
@thecristen thecristen changed the title Bitsight integrity attribute chore: add integrity attribute to external links Nov 25, 2024
@thecristen thecristen marked this pull request as ready for review November 25, 2024 15:51
@thecristen thecristen requested a review from a team as a code owner November 25, 2024 15:51
@thecristen thecristen requested review from joshlarson and removed request for a team November 25, 2024 15:51
Copy link
Contributor

@joshlarson joshlarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty straightforward to me!

@thecristen thecristen merged commit 978b574 into cbj/root-heex Nov 26, 2024
55 of 56 checks passed
@thecristen thecristen deleted the bitsight-integrity-attirbute branch November 26, 2024 21:21
thecristen added a commit that referenced this pull request Nov 27, 2024
* chore: convert root template to .heex

* add a script

* chore: add integrity attribute to external links (#2236)

* chore: avoid conflict by not importing static_integrity from the router helpers

* feat: add integrity attribute to external script and style sources
@github-actions github-actions bot removed the dev-blue Deploy to dev-blue label Dec 27, 2024
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.

2 participants