Replies: 3 comments
-
|
@behara you can disable these rules for your cases. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
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



Uh oh!
There was an error while loading. Please reload this page.
-
False Positive In Secret Scanning
When we scan an image with trivy we see false positives in secret scanning detection
What did you expect to happen?
When i use docker file
FROM alpine:3.16.3
COPY vendor.0dccb716b100d1dd.js.map /
This image shouldn't have false positives.
BTW attached zip file of vendor.0dccb716b100d1dd.js.map vendorFile.zip. Or else you can scan image automation.azurecr.io/secret:fp from docker hub.
What happened instead?
3 secrets got detected but all are false positives
trivy/pkg/fanal/secret/builtin-rules.go
Line 771 in 4b36e97
trivy/pkg/fanal/secret/builtin-rules.go
Line 762 in 4b36e97
trivy/pkg/fanal/secret/builtin-rules.go
Line 420 in 4b36e97
Also the match content is huge
Output of run with
-debug:Output of
trivy -v:Beta Was this translation helpful? Give feedback.
All reactions