Skip to content

Commit 2840cf1

Browse files
committed
chore: add gitleaks config to allowlist testdata fixtures
Allowlist testdata/*.tf.tmpl paths in gitleaks config. These files contain dummy private keys for acceptance tests, not real secrets.
1 parent 4e67b24 commit 2840cf1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.gitleaks.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[extend]
2+
# Use the default gitleaks config as base
3+
useDefault = true
4+
5+
[allowlist]
6+
paths = [
7+
'''testdata/.*\.tf\.tmpl$''',
8+
]

0 commit comments

Comments
 (0)