feat(aws): add entropy & allowlist (#1582)

This commit is contained in:
Richard Gomez authored and GitHub committed 2024-10-19 19:47:45 -05:00
1 parent 93acc6e82a
commit 9152eaa57a
3 files changed
+28 -2

No files matched your search

+7
View File
@@ -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"