Add infra artifact secret-scan guardrail

This commit is contained in:
Doris
2026-05-22 21:13:16 +00:00
parent c2c71cfe57
commit 0b528cbb5f
4 changed files with 134 additions and 0 deletions

View File

@@ -29,3 +29,8 @@ See:
2. Inspect them for secret-bearing fields.
3. Commit only a markdown summary or an explicitly redacted artifact.
4. Prefer human-readable summaries over raw appliance dumps.
5. Enable the repo guardrail in each clone:
```bash
git config core.hooksPath .githooks
chmod +x .githooks/pre-commit scripts/scan-secret-bearing-artifacts.sh
```