mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 12:14:22 +01:00
fix whitelist commits, added test (#390)
This commit is contained in:
1 parent
e0f6399d5c
commit
bdc688dd53
4 files changed
+59
-4
No files matched your search
@@ -0,0 +1,13 @@
|
||||
[[rules]]
|
||||
description = "AWS Manager ID"
|
||||
regex = '''(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}'''
|
||||
tags = ["key", "AWS"]
|
||||
|
||||
|
||||
[whitelist]
|
||||
commits = [
|
||||
"b10b3e2cb320a8c211fda94c4567299d37de7776",
|
||||
"17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
||||
"996865bb912f3bc45898a370a13aadb315014b55"
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user