Replies: 1 comment 1 reply
-
While I agree with what you have said, the file detection logic today is purposely designed to very simple and performant, as Trivy has to scan a variety of inputs. Having said that we do have an open issue for improving file detection #4182 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
We are using dockerfile-plus and include statements to organise our dockerfiles. This leads to trivy just ignoring them. Simple example:
While I get that it's probably not easy to support custom syntax, maybe it would be possible to at least ignore the unknown syntax and still analyse the rest?
What did you expect to happen?
trivy analyses the the dockerfile
What happened instead?
trivy ignored the dockerfile (
Detected config files: 0
)Output of run with
-debug
:Output of
trivy -v
:Beta Was this translation helpful? Give feedback.
All reactions