Update regex pattern for AWS Access Key ID

Refactor regex pattern for AWS Access Key ID rule.

Signed-off-by: Luke Young <bored-engineer@users.noreply.github.com>
This commit is contained in:
Luke Young 2026-01-31 13:30:17 -08:00 committed by GitHub
commit eaa99a77c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,7 @@ rules:
- name: AWS Access Key ID
id: kingfisher.aws.1
pattern: |
(?xi)
(?x)
\b
(
(?:A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)
@ -128,4 +128,4 @@ rules:
Authorization: "Bearer {{ TOKEN }}"
response_matcher:
- type: StatusMatch
status: [200]
status: [200]