mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
more examples
This commit is contained in:
1 parent
275232f8c8
commit
6e1c41b536
6 files changed
+32
-21
No files matched your search
@@ -0,0 +1,10 @@
|
||||
# This is a simple gitleaks config that contains one rule which checks for AWS keys and a file check that will trigger
|
||||
# a leak if a .pem file is found
|
||||
|
||||
[[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"]
|
||||
|
||||
[Global]
|
||||
file = '''(.*)?pem$'''
|
||||
Reference in new issue
Block a user