Skip to content

Commit 958e1f1

Browse files
authored
fix(secret): AWS Secret Access Key must include only secrets with aws text. (aquasecurity#5901)
1 parent 56c4e24 commit 958e1f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/fanal/secret/builtin-rules.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const (
7878
startSecret = `(^|\s+)`
7979
endSecret = `(\s+|$)`
8080

81-
aws = `(aws)?_?`
81+
aws = `aws_?`
8282
)
8383

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

0 commit comments

Comments
 (0)