Replies: 1 comment
-
Hello @ripperi8u Created #5646 for this task. Regards, Dmitriy |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
the content in a line like: aws_sec_key "KEYKEYKEYKEYKEYKEYKEYKEYKEYKEYKEYKEYKEYK"
it should be match with 'aws-secret-access-key',but it cannot match
Desired Behavior
the content in a line like: aws_sec_key "KEYKEYKEYKEYKEYKEYKEYKEYKEYKEYKEYKEYKEYK"
it should be match with 'aws-secret-access-key',but it cannot match
Actual Behavior
It shoud be match with regex.I go through the file "pkg/fanal/secret/builtin-rules.go", found the Reusable regex patterns connect, change its value to
\s*(:|=>|=)*\s*
maybe work for this caseReproduction Steps
Target
Filesystem
Scanner
Secret
Output Format
None
Mode
None
Debug Output
Operating System
MacOS
Version
Checklist
trivy image --reset
Beta Was this translation helpful? Give feedback.
All reactions