Repository navigation
docs(security): accurately document CI secret scanning - #778
Conversation
Signed-off-by: Jeff <[email protected]>
Signed-off-by: Jeff <[email protected]>
vladimirrott
left a comment
There was a problem hiding this comment.
Thanks @jdotc1. You fixed both places #653 named and kept the pre-commit hook sentence the issue said to keep. Neither document links #653 any more, and the CWE-798 row now names the job that runs the scan. I'm approving this at f9b6b8e.
What I checked at that head:
$ grep -n "no-secrets" .github/workflows/ci.yml
135: run: bash tests/release/no-secrets.test.sh
Line 135 sits in the docs-and-hygiene job, and section 3 of that test passes every path from git ls-files to scripts/check_no_secrets.sh, so the new sentence describes what CI does.
$ git grep -n '653' f9b6b8e6 -- SECURITY.md docs/assurance-case.md # rc=1, no output
$ bash tests/release/no-secrets.test.sh
ok: catches real-shaped credentials, ignores this repo's fixtures
ok: the whole tracked tree scans clean, and findings never echo the secret
$ bash tests/release/assurance-case.test.sh
assurance-case: 49 cited paths exist, 26 of them with a symbol each defines
$ bash scripts/check_public_claims.sh
All 50 figure markers match their sources.
Public claims are internally consistent.
$ markdownlint-cli2 SECURITY.md docs/assurance-case.md # v0.24.0, CI's pin
Summary: 0 issues in 0 files
A docs change adds no guard to mutate, so the merge gate proves the narrower thing: that the claim screen reads SECURITY.md at your head. It planted a retired sentence beside yours and watched the screen go red:
$ maintainer-merge verify 778 f9b6b8e6... docs 's/CI also runs that script over every tracked file through/Every layer is independent. CI also runs that script over every tracked file through/' docs
docs suite: evidence of 3 executed unit(s), passing unmutated
applying the mutation and re-running
receipt recorded for #778 at f9b6b8e6 (observed: clean pass, mutated fail)
observed_failure: Invalid public claim: layers are sequential gates on one request path, not independent walls
Nothing blocks this. Your checks are waiting on me: this is your first pull request here, so GitHub holds the workflow runs until I approve them. That part is mine to do, and I'll merge once they're green.
I'm reviewing #779 next, in this same pass.
Summary
SECURITY.md.docs-and-hygieneand its existing scanner test.Closes #653.
Validation
bash tests/release/no-secrets.test.sh— passed.Commits include DCO sign-off.