-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support convert command #259
Comments
With the recent rewrite of the action, - uses: aquasecurity/[email protected]
env:
# The 'format' input below does not set the env var because 'table' is the default, but
# the env is still set to 'json' from the previous action step, so we need to override it.
TRIVY_FORMAT: table
with:
scan-type: convert
scan-ref: results.json
format: table
output: table.txt |
Isn't this another bug that you've discovered? The |
Yup. Looks like it's already been reported as #438. |
Feature Request
Support the
convert
command available intrivy
CLI.Use Case
I have a workflow that does a repo scan and outputs JSON to a file for analysis. I also want to get the results in table format to post as a PR comment. Using the
trivy
CLI, this can be done with theconvert
command.convert
does not appear to be officially supported byaquasecurity/trivy-action
; however, I can make it work with the current version using the following options:It would be nice to have argument names that make sense for
convert
.The text was updated successfully, but these errors were encountered: