Add stdin support for convert subcommand to support dockerized workflows #8662
robberwick
started this conversation in
Ideas
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
The
convertsubcommand of Trivy doesn't support reading from stdin, which creates significant difficulties when using the dockerized Trivy image in CI/CD pipelines. The lack of stdin support prevents chaining commands in containerized environments.Impact
When using the Trivy Docker image, the container is ephemeral, making it difficult to work with scan results. For example:
This forces users to either:
Expected behavior
The convert subcommand should accept input from stdin when:
This would enable workflows like:
Target
Container Image
Scanner
Vulnerability
Beta Was this translation helpful? Give feedback.
All reactions