mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 21:24:21 +01:00
chore(config): fix inconsistent generated values (#1200)
This commit is contained in:
1 parent
7804d652c0
commit
06db3b91d7
2 files changed
+2
-2
No files matched your search
@@ -14,7 +14,7 @@ title = "gitleaks config"
|
|||||||
description = "global allow lists"
|
description = "global allow lists"
|
||||||
paths = [
|
paths = [
|
||||||
'''gitleaks.toml''',
|
'''gitleaks.toml''',
|
||||||
'''(.*?)(jpg|gif|doc|docx|zip|xls|pdf|bin|svg|socket)$''',
|
'''(.*?)(jpg|gif|doc|docx|zip|xls|pdf|bin|svg|socket|vsidx|v2|suo|wsuo|.dll|pdb|exe)$''',
|
||||||
'''(go.mod|go.sum)$''',
|
'''(go.mod|go.sum)$''',
|
||||||
'''gradle.lockfile''',
|
'''gradle.lockfile''',
|
||||||
'''node_modules''',
|
'''node_modules''',
|
||||||
|
|||||||
@@ -2377,7 +2377,7 @@ id = "openai-api-key"
|
|||||||
regex = '''(?i)\b(sk-[a-zA-Z0-9]{20}T3BlbkFJ[a-zA-Z0-9]{20})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
|
regex = '''(?i)\b(sk-[a-zA-Z0-9]{20}T3BlbkFJ[a-zA-Z0-9]{20})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
|
||||||
secretGroup = 1
|
secretGroup = 1
|
||||||
keywords = [
|
keywords = [
|
||||||
"sk-","t3blbkfj",
|
"t3blbkfj",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
|
|||||||
Reference in new issue
Block a user