Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 7d0c231

Browse files
authored
Merge pull request #276 from stacklok/add-regex-for-aws-secret-key
Add regex for detecting AWS secret access key
2 parents 0dd40aa + 613bc89 commit 7d0c231

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

signatures.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
- Amazon:
33
- Access Key: (?:A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA|ABIA|ACCA)[A-Z0-9]{16}
4+
- Secret Access Key: (?<![A-Za-z0-9\/+])[A-Za-z0-9\/+=]{40}(?![A-Za-z0-9\/+=])
45
# - Cognito User Pool ID: (?i)us-[a-z]{2,}-[a-z]{4,}-\d{1,}
56
- RDS Password: (?i)(rds\-master\-password|db\-password)
67
- SNS Confirmation URL: (?i)https:\/\/sns\.[a-z0-9-]+\.amazonaws\.com\/?Action=ConfirmSubscription&Token=[a-zA-Z0-9-=_]+

0 commit comments

Comments
 (0)