Skip to content

Commit

Permalink
Update trivy.yml
Browse files Browse the repository at this point in the history
Update Trivy Action hash value
  • Loading branch information
wangjingz authored Dec 6, 2024
1 parent e66123a commit 97a6200
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
runs-on: "ubuntu-22.04"
steps:
- name: Checkout code
uses: actions/checkout@v4
# uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #V4.2.2
- name: Check disk space
run: df -h
- name: Build an image from Dockerfile
Expand Down Expand Up @@ -64,8 +65,8 @@ jobs:
vuln-type: 'os,library'
severity: 'CRITICAL, HIGH'
output: 'trivy-ivsr-results.sarif'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
# uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
with:
sarif_file: 'trivy-ivsr-results.sarif'

0 comments on commit 97a6200

Please sign in to comment.