reviewdog/Run trivy with reviewdog

🐶 Run trivy with reviewdog on pull requests to enforce security best practices

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenGITHUB_TOKENyes${{ github.token }}
working_directoryDirectory to run the action on, from the repo root. Default is . ( root of the repository) no.
levelReport level for reviewdog [info,warning,error]noerror
tool_nameThe name for the report as it will show up in GitHub's interface. Default is trivy. notrivy
reporterReporter of reviewdog command [github-pr-check,github-pr-review]. Default is github-pr-check. nogithub-pr-check
filter_modeFiltering for the reviewdog command [added,diff_context,file,nofilter]. Default is added. noadded
fail_levelIf set to `none`, always use exit code 0 for reviewdog. Otherwise, exit code 1 for reviewdog if it finds at least 1 issue with severity greater than or equal to the given level. Possible values: [none,any,info,warning,error] Default is `none`. nonone
fail_on_error**Deprecated**. This option is no longer recommended for use and will be removed in future versions. Exit code for reviewdog when errors are found [true,false] Default is `false`. nofalse
flagsAdditional reviewdog flagsno""
trivy_commandTrivy command [aws,config,filesystem,image,kubernetes,rootfs,sbom,vm] yes
trivy_targetTrivy target to scan yes
trivy_versionThe version of trivy to install. Default is latest. nolatest
trivy_flagsList of arguments to send to trivy For the output to be parsable by reviewdog --format=checkstyle is enforced Default is blank. no""
namedescription
trivy-return-codetrivy command return code
reviewdog-return-codereviewdog command return code