mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 20:54:22 +01:00
feat(config): define multiple global allowlists (#1777)
This commit is contained in:
1 parent
7fb21a4e61
commit
4451b455f3
60 files changed
+1214
-843
No files matched your search
+7
@@ -0,0 +1,7 @@
|
||||
title = "gitleaks config"
|
||||
|
||||
[[rules]]
|
||||
description = "Discord API key"
|
||||
regex = '''(?i)(discord[a-z0-9_ .\-,]{0,25})(=|>|:=|\|\|:|<=|=>|:).{0,5}['\"]([a-h0-9]{64})['\"]'''
|
||||
secretGroup = 5
|
||||
entropy = 3.5
|
||||
Reference in new issue
Block a user