From eaa99a77c44c4ce47f98bd01e846c90badae5bd4 Mon Sep 17 00:00:00 2001 From: Luke Young Date: Sat, 31 Jan 2026 13:30:17 -0800 Subject: [PATCH] Update regex pattern for AWS Access Key ID Refactor regex pattern for AWS Access Key ID rule. Signed-off-by: Luke Young --- data/rules/aws.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/rules/aws.yml b/data/rules/aws.yml index 6015285..71218f2 100644 --- a/data/rules/aws.yml +++ b/data/rules/aws.yml @@ -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] \ No newline at end of file + status: [200]