forked from mirrors/kingfisher
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:
parent
e1306ea55f
commit
eaa99a77c4
1 changed files with 2 additions and 2 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue