Skip to content

Commit

Permalink
fix(secret): AWS Secret Access Key must include only secrets with `…
Browse files Browse the repository at this point in the history
…aws` text. (#5901)
  • Loading branch information
DmitriyLewen authored Jan 9, 2024
1 parent 56c4e24 commit 958e1f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/fanal/secret/builtin-rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const (
startSecret = `(^|\s+)`
endSecret = `(\s+|$)`

aws = `(aws)?_?`
aws = `aws_?`
)

// This function is exported for trivy-plugin-aqua purposes only
Expand Down

0 comments on commit 958e1f1

Please sign in to comment.