Skip to content

docs(security): accurately document CI secret scanning - #778

Merged
vladimirrott merged 3 commits into
lacs-project:mainfrom
jdotc1:docs/security-ci-secret-scan-653
Nov 11, 2026
Merged

vladimirrott merged 3 commits into
lacs-project:mainfrom
jdotc1:docs/security-ci-secret-scan-653

Conversation

@jdotc1

@jdotc1 jdotc1 commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Document the tracked-file secret scan already performed by CI in SECURITY.md.
  • Align the CWE-798 assurance-case entry with docs-and-hygiene and its existing scanner test.

Closes #653.

Validation

  • bash tests/release/no-secrets.test.sh — passed.
  • Documentation only; secret-scanning behavior unchanged.

Commits include DCO sign-off.

@jdotc1
jdotc1 requested a review from vladimirrott as a code owner November 11, 2026 07:33

@vladimirrott vladimirrott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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.

@vladimirrott
vladimirrott merged commit fc29f69 into lacs-project:main Nov 11, 2026
18 of 19 checks passed
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.

SECURITY.md and the assurance case say CI never runs check_no_secrets.sh, but it does

2 participants