Commit aefd2db
committed
feat(devshell): add gitleaks for secret scanning
Add gitleaks package to devshell and configure pre-commit hook to scan
staged changes for hardcoded secrets. This provides defense-in-depth
against accidental secret commits using open-source tooling without
external API dependencies.
- Add gitleaks to secrets management packages
- Configure gitleaks pre-commit hook via git-hooks.nix
- Hook runs on staged files with --redact flag to protect secret values1 parent f7acee5 commit aefd2db
2 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
| |||
0 commit comments