chore(config): fix inconsistent generated values (#1200)

This commit is contained in:
Richard Gomez authored and GitHub committed 2023-06-16 11:27:53 -05:00
1 parent 7804d652c0
commit 06db3b91d7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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''',
+1 -1
View File
@@ -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]]