Ignoring misconfigurations for specific K8s resources #8471
Unanswered
fgreinacher
asked this question in
Q&A
Replies: 1 comment 5 replies
-
hi @fgreinacher - it's not possible to do that with the trivy config file but you could write a custom check to accomplish this. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
Let's assume I have two misconfigurations
AVD-KSV-0108
for the Kubernetes servicesfoo
andbar
in the namespacebaz
.I can create a
.trivyignore.yaml
like this to ignore both misconfigurations:But often I don't want to ignore all misconfigurations, but rather select the resource(s) for which a misconfiguration is ignored, similar to
paths
for other targets:Is this currently possible?
Target
Kubernetes
Scanner
Misconfiguration
Output Format
None
Mode
Standalone
Operating System
No response
Version
No response
Beta Was this translation helpful? Give feedback.
All reactions