chore(security): add OpenSSF Scorecard workflow - #974
Open
nirmal-joishi-a0 wants to merge 1 commit into
Open
nirmal-joishi-a0 wants to merge 1 commit into
nirmal-joishi-a0 wants to merge 1 commit into
Conversation
Author
|
@auth0/project-dx-sdks-engineer-codeowner please review the files in the PR. This automated security-hardening workflow is untested in this repo — before merging, confirm it triggers and passes (and is not silently ignoring failures); do not merge on a green result alone. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✏️ Changes
This pull request adds a security hardening workflow. No functional changes are introduced.
OpenSSF Scorecard
This PR adds
.github/workflows/scorecard.yml. It callsossf/scorecard-actiondirectly (SHA-pinned to v2.4.3) — no composite action wrapper, no cross-org dependency. Results are uploaded to the Code Scanning dashboard viagithub/codeql-action/upload-sarif.Placeholders to fill in before merging
publish_results: falsetrueto publish results to the public Scorecard API and enable the badge — also requires uncommentingid-token: writein the job permissions. Leave asfalseto keep results private (theid-token: writeline can remain commented out).🛑 Declining this workflow
This is an organization-enforced security-hardening workflow, so closing this PR is not enough — the tool treats a plain close as a discard and opens a fresh replacement PR on its next run.
To permanently decline this category, a maintainer must close this PR and add one of these labels to it:
remediation: not-requiredremediation: not-applicableApplying a label requires write, triage, or admin access, so the label is a trusted maintainer signal. Once a closed PR carries one of these labels, the tool respects the decline and will not reopen a replacement.
🔮 Type of Change
🔗 References
This change applies a standard automated security-scanning workflow as part of routine repository hardening.
📖 Documentation
No user-facing changes have been introduced.
🎯 Testing
🚀 Deployment
🔥 Rollback
Reverting this PR removes the added workflow file — no further action required.