feat: add Amazon Bedrock API key detection (#1935)

Co-authored-by: Darran Boyd <drboyd@example.com>
This commit is contained in:
Darran BoydandDarran Boyd authored and GitHub committed 2025-09-25 07:35:30 -05:00
1 parent 228396b37b
commit 87d96295d6
3 files changed
+76

No files matched your search

+14
View File
@@ -208,6 +208,20 @@ regexes = [
'''.+EXAMPLE$''',
]
[[rules]]
id = "aws-amazon-bedrock-api-key-long-lived"
description = "Identified a pattern that may indicate long-lived Amazon Bedrock API keys, risking unauthorized Amazon Bedrock usage"
regex = '''\b(ABSK[A-Za-z0-9+/]{109,269}={0,2})(?:[\x60'"\s;]|\\[nr]|$)'''
entropy = 3
keywords = ["absk"]
[[rules]]
id = "aws-amazon-bedrock-api-key-short-lived"
description = "Identified a pattern that may indicate short-lived Amazon Bedrock API keys, risking unauthorized Amazon Bedrock usage"
regex = '''bedrock-api-key-YmVkcm9jay5hbWF6b25hd3MuY29t'''
entropy = 3
keywords = ["bedrock-api-key-"]
[[rules]]
id = "azure-ad-client-secret"
description = "Azure AD Client Secret"