Awesome
trivy-config-action
GitHub Actions for trivy config command
--
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
- trivy
- reviewdog
- (Optional) github-comment
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
name | default value | description |
---|---|---|
github_token | github.token | GitHub Access Token |
working_directory | "" (current directory) | Woring Directory |
github_comment | false | Whether a comment is posted with github-comment |
config_path | trivy.yaml | Path to trivy config file |
Outputs
Nothing.