Skip to content

Commit

Permalink
feat: pin Trivy version
Browse files Browse the repository at this point in the history
Signed-off-by: knqyf263 <[email protected]>
  • Loading branch information
knqyf263 committed Oct 5, 2024
1 parent 383d9a4 commit 0d3f863
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ Following inputs can be used as `step.with` keys:
| `github-pat` | String | | Authentication token to enable sending SBOM scan results to GitHub Dependency Graph. Can be either a GitHub Personal Access Token (PAT) or GITHUB_TOKEN |
| `limit-severities-for-sarif` | Boolean | false | By default *SARIF* format enforces output of all vulnerabilities regardless of configured severities. To override this behavior set this parameter to **true** |
| `docker-host` | String | | By default it is set to `unix://var/run/docker.sock`, but can be updated to help with containerized infrastructure values |
| `version` | String | `latest` | Trivy version to use |
| `version` | String | `v0.56.1` | Trivy version to use, e.g. `latest` or `v0.56.1` |

### Environment variables
You can use [Trivy environment variables][trivy-env] to set the necessary options (including flags that are not supported by [Inputs](#inputs), such as `--secret-config`).
Expand Down
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ inputs:
version:
description: 'Trivy version to use'
required: false
default: 'latest'
default: 'v0.56.1'
cache:
description: 'Used to specify whether caching is needed. Set to false, if you'd like to disable caching.'
required: false
Expand Down

0 comments on commit 0d3f863

Please sign in to comment.