Skip to content

Commit

Permalink
chore: upgrade to latest version of Trivy (#501)
Browse files Browse the repository at this point in the history
Upgrade the Docker vulnerability scan and generate SBOM actions
to use the latest version of Trivy.
  • Loading branch information
patheard authored Oct 4, 2024
1 parent d738646 commit 34794ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/docker-scan/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
using: "composite"
steps:
- name: Run docker vulnerability scanner
uses: aquasecurity/trivy-action@207cd40078971bb7a078f8504c2061f908569449
uses: aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8 # v0.24.0
with:
image-ref: "${{ inputs.docker_image }}"
format: "sarif"
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/generate-sbom/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runs:
steps:
- name: Install Trivy
env:
TRIVY_VERSION: "v0.36.0"
TRIVY_VERSION: "v0.56.1"
run: |
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | \
sh -s -- -b /usr/local/bin ${{ env.TRIVY_VERSION }}
Expand Down

0 comments on commit 34794ba

Please sign in to comment.