Skip to content

Commit a478147

Browse files
authored
Pin trivy action version to v0.35.0 (#2293)
Pin trivy to a safe version before the incident GHSA-69fq-xp46-6x23
1 parent 591a9ef commit a478147

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/vulnerabilities.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Checkout pygeoapi
2525
uses: actions/checkout@master
2626
- name: Scan vulnerabilities with trivy
27-
uses: aquasecurity/trivy-action@master
27+
uses: aquasecurity/trivy-action@v0.35.0
2828
with:
2929
scan-type: fs
3030
exit-code: 1
@@ -36,7 +36,7 @@ jobs:
3636
run: |
3737
docker buildx build -t ${{ github.repository }}:${{ github.sha }} --platform linux/amd64 --no-cache -f Dockerfile .
3838
- name: Scan locally built Docker image for vulnerabilities with trivy
39-
uses: aquasecurity/trivy-action@master
39+
uses: aquasecurity/trivy-action@v0.35.0
4040
env:
4141
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
4242
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db:1

0 commit comments

Comments
 (0)