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

DEVDOCS-5797 [new]: Scripts feature, add nonce attribute and handlebar #260

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

bc-andreadao
Copy link
Collaborator

@bc-andreadao bc-andreadao commented May 9, 2024

DEVDOCS-5797

What changed?

  • Add nonce attribute and handlebar for inline scripts (PCI compliance)

Release notes draft

Examples:

  • The newly-released [X feature] is now available to use. Now, you’ll be able to [perform Y action].

@bc-andreadao bc-andreadao marked this pull request as ready for review June 4, 2024 22:04
[Subresource integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) is a security feature browsers use to verify that attackers have not manipulated external hosted resources, including scripts.
To ensure the integrity of your scripts, BigCommerce implements the [Subresource Integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) feature for _external_ scripts and [Content Security Policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) standards for _inline_ scripts.

You can [opt into these security features]() in the control panel in storefront settings.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Need a link to the KB article

@slsriehl slsriehl changed the title DEVDOCS-5797 [new]: Scripts API, add nonce attribute and handlebar DEVDOCS-5797 [new]: Scripts feature, add nonce attribute and handlebar Jun 4, 2024

[Subresource integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) is a security feature browsers use to verify that attackers have not manipulated external hosted resources, including scripts.
To ensure the integrity of your scripts, BigCommerce implements the [Subresource Integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) feature for _external_ scripts and [Content Security Policy (CSP)](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) standards for _inline_ scripts.

Choose a reason for hiding this comment

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

⚠️ [remark-lint] reported by reviewdog 🐶
Hard to read sentence (confidence: 5/7) retext-readability retext-readability

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.

1 participant