Skip to content

Commit 41abaa2

Browse files
committed
ci: broaden Trivy scan scope and simplify output format
- Change Trivy output format from SARIF to table and remove SARIF output file - Include MEDIUM severity in vulnerability scan Signed-off-by: appleboy <appleboy.tw@gmail.com>
1 parent d0b7483 commit 41abaa2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/testing.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ jobs:
7575
with:
7676
scan-type: 'fs'
7777
ignore-unfixed: true
78-
format: 'sarif'
79-
output: 'trivy-results.sarif'
78+
format: 'table'
8079
exit-code: '1'
81-
severity: 'CRITICAL,HIGH'
80+
severity: 'CRITICAL,HIGH,MEDIUM'

0 commit comments

Comments
 (0)