Skip to content

Commit 07cfabf

Browse files
chore: Adjust secret detection ruleset
1 parent 2b298a8 commit 07cfabf

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[extend]
2+
# Extends default packaged ruleset, NOTE: do not change the path.
3+
path = "/gitleaks.toml"
4+
5+
[allowlist]
6+
description = "Ignore .git/config"
7+
paths = [
8+
".git/config"
9+
]
10+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[secrets]
2+
[[secrets.passthrough]]
3+
type = "file"
4+
target = "gitleaks.toml"
5+
value = ".gitlab/extended-gitleaks-config.toml"

0 commit comments

Comments
 (0)