@@ -39,12 +39,12 @@ jobs:
3939 go-version-file : " go.mod"
4040
4141 - name : Initialize CodeQL
42- uses : github/codeql-action/init@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5
42+ uses : github/codeql-action/init@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4.36.0
4343 with :
4444 languages : go
4545
4646 - name : Perform CodeQL Analysis
47- uses : github/codeql-action/analyze@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5
47+ uses : github/codeql-action/analyze@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4.36.0
4848 with :
4949 category : " /language:go"
5050
6969 run : make bin/code-marketplace-linux-amd64
7070
7171 - name : Set up Docker Buildx
72- uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
72+ uses : docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0
7373
7474 - name : Build Docker image
7575 id : build
@@ -82,28 +82,28 @@ jobs:
8282 echo "image=code-marketplace:scan" >> "$GITHUB_OUTPUT"
8383
8484 - name : Run Trivy vulnerability scanner (table output for logs)
85- uses : aquasecurity/trivy-action@97e0b3872f55f89b95b2f65b3dbab56962816478 # v0.34.2
85+ uses : aquasecurity/trivy-action@314ff8b43182423b84c50b1670b0e10f858f2d98 # v0.34.2
8686 with :
8787 image-ref : ${{ steps.build.outputs.image }}
8888 format : " table"
8989 severity : " LOW,MEDIUM,HIGH,CRITICAL"
9090
9191 - name : Run Trivy vulnerability scanner (SARIF output for GitHub)
92- uses : aquasecurity/trivy-action@97e0b3872f55f89b95b2f65b3dbab56962816478 # v0.34.2
92+ uses : aquasecurity/trivy-action@314ff8b43182423b84c50b1670b0e10f858f2d98 # v0.34.2
9393 with :
9494 image-ref : ${{ steps.build.outputs.image }}
9595 format : " sarif"
9696 output : " trivy-results.sarif"
9797 severity : " LOW,MEDIUM,HIGH,CRITICAL"
9898
9999 - name : Upload Trivy scan results to GitHub Security tab
100- uses : github/codeql-action/upload-sarif@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5
100+ uses : github/codeql-action/upload-sarif@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4.36.0
101101 with :
102102 sarif_file : " trivy-results.sarif"
103103 category : " Trivy"
104104
105105 - name : Upload Trivy scan results as artifact
106- uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
106+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
107107 with :
108108 name : trivy-results
109109 path : trivy-results.sarif
0 commit comments