Skip to content

ci: add secret-scan (gitleaks) — compliance hardening - #4

Merged
arybach merged 3 commits into
mainfrom
chore/secret-scan-ci
Aug 27, 2026
Merged

ci: add secret-scan (gitleaks) — compliance hardening#4
arybach merged 3 commits into
mainfrom
chore/secret-scan-ci

Conversation

@arybach

@arybach arybach commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Adds a secret-scan CI (gitleaks binary, --redact) that flags committed secrets on PRs, weekly, and on demand — no secret value is ever printed.

This is the plan-independent fix for the compliance audit finding SCM-SECRETSCAN-001: it gives this repo secret detection for free, without GitHub Advanced Security (a paid add-on on private repos). The gitleaks binary is used deliberately — the gitleaks Action requires a paid license for orgs; the binary does not.

If the check fails on first run, a real secret is committed — rotate it and purge it from history.

Part of the estate-wide hardening pass (see the hardening report).

🤖 Generated with Claude Code

arybach and others added 3 commits August 26, 2026 14:08
…tives

Redacts hardcoded secrets from the current tree (replaced with a placeholder; NOT rotated),
allowlists confirmed false positives in .gitleaks.toml (docs, tests, templates, SealedSecrets,
SCAP content, public client config), and inventories remaining historical occurrences in
.gitleaksignore (pending rotation + history purge). No history rewrite.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…tives

Redacts hardcoded secrets from the current tree (replaced with a placeholder; NOT rotated),
allowlists confirmed false positives in .gitleaks.toml (docs, tests, templates, SealedSecrets,
SCAP content, public client config), and inventories remaining historical occurrences in
.gitleaksignore (pending rotation + history purge). No history rewrite.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@arybach
arybach merged commit 9c6b30f into main Aug 27, 2026
1 check 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.

1 participant