feat(config): define multiple global allowlists (#1777)

This commit is contained in:
Richard Gomez authored and GitHub committed 2025-04-29 08:49:04 -05:00
1 parent 7fb21a4e61
commit 4451b455f3
60 files changed
+1214 -843

No files matched your search

+2 -2
View File
@@ -1,10 +1,10 @@
title = "gitleaks config"
[[rules]]
description = "Generic API Key"
id = "generic-api-key"
description = "Generic API Key"
regex = '''(?i)(?:key|api|token|secret|client|passwd|password|auth|access)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([0-9a-z\-_.=]{10,150})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
entropy = 3.5
keywords = [
"key","api","token","secret","client","passwd","password","auth","access",
]
]