Skip to content

Commit 33358ce

Browse files
authored
Merge pull request #3018 from tarlepp/chore(ci)/fix-trivy-scan-action
Chore(ci) - Fix faulty Trivy option
2 parents e36307b + c11f288 commit 33358ce

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/vulnerability-scan.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ jobs:
2121
run: docker build . --file Dockerfile --tag symfony-flex-backend:master
2222

2323
- name: Scan image with Trivy
24-
uses: lazy-actions/gitrivy@v3
24+
uses: aquasecurity/[email protected]
2525
with:
26-
token: ${{ secrets.GITHUB_TOKEN }}
27-
image: symfony-flex-backend:master
28-
ignore-unfixed: true
26+
image-ref: symfony-flex-backend:master
27+
ignore-unfixed: 'true'
28+
exit-code: '1'
29+
vuln-type: 'os,library'
30+
severity: 'CRITICAL,HIGH'

0 commit comments

Comments
 (0)