You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have [GitHub code scanning](https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/about-code-scanning) available you can use Trivy as a scanning tool as follows:
328
387
```yaml
@@ -771,7 +830,7 @@ Following inputs can be used as `step.with` keys:
771
830
|`image-ref`| String || Image reference, e.g. `alpine:3.10.2`|
772
831
|`scan-ref`| String |`/github/workspace/`| Scan reference, e.g. `/github/workspace/` or `.`|
|`tf-vars`| String || path to Terraform variables file |
776
835
|`output`| String || Save results to a file |
777
836
|`exit-code`| String |`0`| Exit code when specified vulnerabilities are found |
@@ -791,7 +850,7 @@ Following inputs can be used as `step.with` keys:
791
850
|`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 |
792
851
|`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**|
793
852
|`docker-host`| String || By default it is set to `unix://var/run/docker.sock`, but can be updated to help with containerized infrastructure values |
794
-
|`version`| String |`v0.56.1`| Trivy version to use, e.g. `latest` or `v0.56.1`|
853
+
|`version`| String |`v0.56.2`| Trivy version to use, e.g. `latest` or `v0.56.2`|
795
854
|`skip-setup-trivy`| Boolean | false | Skip calling the `setup-trivy` action to install `trivy`|
796
855
|`token-setup-trivy`| Boolean || Overwrite `github.token` used by `setup-trivy` to checkout the `trivy` repository |
797
856
@@ -809,3 +868,5 @@ When using the `trivy-config` [Input](#inputs), you can set options using the [T
0 commit comments