mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 12:14:22 +01:00
Files at commit allow list bug (#485)
* fix allowlist bug * Adding new repo for testing allowlisting * Adding missing allowlist checks for commits and files/paths
This commit is contained in:
1 parent
86cfe0848b
commit
2d58f1f94e
4 files changed
+48
No files matched your search
@@ -0,0 +1,9 @@
|
||||
[[rules]]
|
||||
description = "AWS Access Key"
|
||||
regex = '''(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}'''
|
||||
tags = ["key", "AWS"]
|
||||
|
||||
[allowlist]
|
||||
description = "Allowlisted files"
|
||||
paths = ['''.py''']
|
||||
files = ['''.md$''']
|
||||
Reference in new issue
Block a user