mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
Update regex for AWS secret key
This commit is contained in:
1 parent
5afe59d2fa
commit
714c0bef1e
2 files changed
+2
-3
No files matched your search
@@ -8,7 +8,7 @@ title = "gitleaks config"
|
||||
|
||||
[[rules]]
|
||||
description = "AWS Secret Key"
|
||||
regex = '''(?i)aws(.{0,20})?(?-i)['\"][0-9a-zA-Z\/+]{40}['\"]'''
|
||||
regex = '''(?i)aws(.{0,20})?=.[\'\"0-9a-zA-Z\/+]{40}'''
|
||||
tags = ["key", "AWS"]
|
||||
|
||||
[[rules]]
|
||||
|
||||
Reference in new issue
Block a user