mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 05:04:22 +01:00
feat(aws): add entropy & allowlist (#1582)
This commit is contained in:
1 parent
93acc6e82a
commit
9152eaa57a
3 files changed
+28
-2
No files matched your search
@@ -147,12 +147,19 @@ keywords = [
|
||||
id = "aws-access-token"
|
||||
description = "Identified a pattern that may indicate AWS credentials, risking unauthorized cloud resource access and data breaches on AWS platforms."
|
||||
regex = '''(?:A3T[A-Z0-9]|AKIA|ASIA|ABIA|ACCA)[A-Z0-9]{16}'''
|
||||
entropy = 3
|
||||
keywords = [
|
||||
"a3t",
|
||||
"akia",
|
||||
"asia",
|
||||
"abia",
|
||||
"acca",
|
||||
]
|
||||
# NOTE: Gitleaks >= v8.21.0 should use [[rules.allowlists] instead.
|
||||
[rules.allowlist]
|
||||
regexes = [
|
||||
'''.+EXAMPLE$''',
|
||||
]
|
||||
|
||||
[[rules]]
|
||||
id = "azure-ad-client-secret"
|
||||
|
||||
Reference in new issue
Block a user