Repository navigation
docs: add downstream SECURITY.md template and document accepted Scorecard findings - #574
Merged
Merged
Conversation
…card findings Add assets/workspace/SECURITY.md so generated and smoke-test repos ship a security policy (clears Scorecard SecurityPolicyID on the next release re-sync), documenting Fuzzing/CII as accepted won't-fix posture. Document smoke-test-only accepted findings (branch-protection, code-review, pinned download-then-run) in the assets/smoke-test/ overlay, accepted because the deploy-validation repo runs fully unattended. Refs: #568
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.
Description
Closes the downstream-only OpenSSF Scorecard gaps for
vig-os/devcontainer-smoke-testthat are not covered by #562/#563.Adds a
SECURITY.mdpolicy to the workspace template so generated repos (and the smoke-test repo) ship a security policy, and documents the findings that are deliberately accepted as won't-fix. Branch-protection and code-review are accepted (not enforced) for the smoke-test repo because it is a fully unattended deploy-validation target — requiring human review would stall the automatedchore/deploy-<tag>auto-merge.Type of Change
feat-- New featurefix-- Bug fixdocs-- Documentation onlychore-- Maintenance task (deps, config, etc.)refactor-- Code restructuring (no behavior change)test-- Adding or updating testsci-- CI/CD pipeline changesbuild-- Build system or dependency changesrevert-- Reverts a previous commitstyle-- Code style (formatting, whitespace)Modifiers
!) -- This change breaks backward compatibilityChanges Made
assets/workspace/SECURITY.md(new): template security policy with{{GITHUB_REPOSITORY}}placeholder for the private-reporting advisory URL. Includes an accepted-findings section forFuzzingIDandCIIBestPracticesID. Auto-included in the build-time placeholder manifest (Containerfile) so substitution happens at init time; propagates to downstream repos on the next release re-sync, clearing ScorecardSecurityPolicyID.assets/smoke-test/README.md: new "Accepted Scorecard findings" section documenting the smoke-test-only acceptances (branch-protection, code-review, pinneddownload-then-run) and the rationale (unattended deploy-validation repo).CHANGELOG.md(+ syncedassets/workspace/.devcontainer/CHANGELOG.md): Security entry under## Unreleased.Changelog Entry
Security
assets/workspace/SECURITY.mdso generated and smoke-test repos ship a security policy (clears ScorecardSecurityPolicyIDon the next release re-sync)FuzzingIDandCIIBestPracticesIDas accepted won't-fix posture in the template policydownload-then-run) in theassets/smoke-test/overlay, accepted because the deploy-validation repo runs fully unattendedTesting
just test)Manual Testing Details
pymarkdownpassed on all edited markdown via the repo hook (uv run pre-commit run pymarkdown --files ...); full pre-commit suite passed on commit.SECURITY.mdis picked up by the build-time placeholder manifest grep inContainerfile({{GITHUB_REPOSITORY}}pattern).vig-os/devcontainer-smoke-test, dismissed the accepted Scorecard alerts as won't-fix with security(workspace): close downstream Scorecard gaps not covered by #562/#563 (SECURITY.md template, dispatch pinning, repo protections) #568 rationale and verified they no longer appear in the open alert list:BranchProtectionID,CodeReviewID,PinnedDependenciesID,FuzzingID,CIIBestPracticesID.Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
Out-of-band actions on
vig-os/devcontainer-smoke-test(cannot be done from this repo):SecurityPolicyIDwill clear automatically once thisSECURITY.mdpropagates on the next release re-sync.release-extension.yml(aPRESERVE_FILESentry, so it does not re-sync) needs the top-levelpermissions: contents: readblock added directly in the smoke-test repo (refs security(ci): resolve repo-owned workflow findings (Scorecard DangerousWorkflow + stale CodeQL permissions + posture) #562 A4) — handled separately by a signed commit there.This deviates from the issue's original "configure rulesets requiring review" criterion: enforcing review on the smoke-test would break its unattended deployment, so those findings are accepted/dismissed instead.
Refs: #568