Skip to content

Commit a76f02a

Browse files
committed
trivy action
1 parent c1cfbbd commit a76f02a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/trivy-scan.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v3
2424

25-
- name: Log all detected vulnerabilities
26-
uses: aquasecurity/trivy-action@master
27-
with:
28-
scan-type: fs
29-
hide-progress: true
30-
3125
# Upload actionable results to the GitHub Security tab.
3226
# Pull request checks fail according to repository settings.
3327
#
@@ -40,6 +34,8 @@ jobs:
4034
ignore-unfixed: true
4135
format: 'sarif'
4236
output: 'trivy-results.sarif'
37+
hide-progress: true
38+
exit-code: 1
4339

4440
- name: Upload Trivy scan results to GitHub Security tab
4541
uses: github/codeql-action/upload-sarif@v2

0 commit comments

Comments
 (0)