Commit ba3f936
fix(security): suppress orch fixture via stopword, not SHA fingerprint (aws-samples#537) (aws-samples#538)
gitleaks regressed on main: aws-samples#530 baselined the orch_abc_SUB-1 test-fixture
false positive with a commit-SHA fingerprint in .gitleaksignore, and a later
history rewrite (dep-bump merges) changed that commit's SHA (f98f47a -> 73bfe08),
so the fingerprint no longer matched and the finding resurfaced — failing
security:secrets on main and blocking any PR (including aws-samples#532).
Replace the SHA-keyed fingerprint with a SHA-independent stopword allowlist in
.gitleaks.toml, matching the existing fixture-allowlist pattern
(wat-opaque-123, test-signing-secret-abc123). Survives history rewrites.
Verified: `mise run security:secrets` -> "no leaks found" (exit 0).
Fixes aws-samples#537
Co-authored-by: Mandeep Singh <mandeep408@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>1 parent 05f727b commit ba3f936
2 files changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
22 | 31 | | |
23 | 32 | | |
24 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments