Skip to content

Commit 2b0ace1

Browse files
chore: trivy supply chain attack (#447)
1 parent 1f5bb56 commit 2b0ace1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
uses: actions/checkout@v3
156156

157157
- name: Run Trivy vulnerability scanner
158-
uses: aquasecurity/trivy-action@master
158+
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1
159159
with:
160160
scan-type: 'fs'
161161
ignore-unfixed: true

cloudbuild/cloudbuild-cdn.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ steps:
1414
args: ['install']
1515

1616
- id: 'scan with trivy'
17-
name: 'aquasec/trivy:latest'
17+
name: 'aquasec/trivy@sha256:bcc376de8d77cfe086a917230e818dc9f8528e3c852f7b1aff648949b6258d1c'
1818
args:
1919
- 'fs'
2020
- '--db-repository'

0 commit comments

Comments
 (0)