how to ignore a false positive secret detection in configmap #6158
pfrydids
started this conversation in
False Detection
Replies: 1 comment 2 replies
-
@pfrydids have you tried using .trivyignore |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
IDs
avd-ksv-0109
Description
trivy k8s --ignore-unfixed --scanners vuln,misconfig,rbac ConfigMap/my-config-map -n mynamespace
results in
Notice the the password text is part of a comment.
I can accept that it is hard to avoid this type of detection but is there a way to ignore a configmap or a particular detection?
The list of scanners provided didn't include secrets so I was hoping it would not attempt secret scanning.
Reproduction Steps
Target
Kubernetes
Scanner
Secret
Target OS
No response
Debug Output
Version
Checklist
-f json
that shows data sources and confirmed that the security advisory in data sources was correctBeta Was this translation helpful? Give feedback.
All reactions