File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -296,6 +296,7 @@ and a [.golangci.yml](https://golangci-lint.run/usage/configuration/).
296296| token | | | GitHub token for authentication (typically ${{ secrets.GITHUB_TOKEN }}) |
297297| trivy-action-db | x | | Trivy vulnerability database configuration |
298298| trivy-action-java-db | x | | Trivy Java vulnerability database configuration |
299+ | trivy-version | x | | Trivy CLI version used by aquasecurity/trivy-action (for example, "v0.69.2") |
299300
300301
301302Note : If an **x** is registered in the Default column, refer to the
Original file line number Diff line number Diff line change @@ -95,6 +95,10 @@ inputs:
9595 default : " public.ecr.aws/aquasecurity/trivy-java-db:1"
9696 description : |
9797 OCI repository to retrieve trivy-java-db from.
98+ trivy-version :
99+ default : " v0.69.2"
100+ description : |
101+ The Trivy CLI version used by aquasecurity/trivy-action.
98102runs :
99103 using : " composite"
100104 steps :
@@ -209,6 +213,7 @@ runs:
209213 with :
210214 scan-type : " fs"
211215 scan-ref : " ."
216+ version : ${{ inputs.trivy-version }}
212217 exit-code : " 1"
213218 ignore-unfixed : true
214219 severity : " CRITICAL,HIGH"
@@ -221,6 +226,7 @@ runs:
221226 with :
222227 scan-type : " fs"
223228 scan-ref : " ."
229+ version : ${{ inputs.trivy-version }}
224230 exit-code : " 1"
225231 ignore-unfixed : true
226232 severity : " CRITICAL,HIGH"
You can’t perform that action at this time.
0 commit comments