Home

Awesome

trivy-config-action

GitHub Actions for trivy config command

image

--

image

Run trivy config and notify the result with reviewdog and github-comment.

This GitHub Actions does not install trivy and reviewdog, so you have to install them in advance. It allows to install tools outside this action. aqua is useful to install them.

Requirements

Usage

- uses: suzuki-shunsuke/trivy-config-action@main
  with:
    github_token: ${{github.token}}
    working_directory: foo
    github_comment: 'true'
    config_path: 'bar/trivy.yaml

Inputs

Required Inputs

Nothing.

Optional Inputs

namedefault valuedescription
github_tokengithub.tokenGitHub Access Token
working_directory"" (current directory)Woring Directory
github_commentfalseWhether a comment is posted with github-comment
config_pathtrivy.yamlPath to trivy config file

Outputs

Nothing.

LICENSE

MIT