File tree Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Expand file tree Collapse file tree 1 file changed +1
-25
lines changed Original file line number Diff line number Diff line change @@ -63,34 +63,10 @@ jobs:
6363 scan-ref : " ."
6464 format : " sarif"
6565 output : " trivy-results.sarif"
66- severity : " CRITICAL, HIGH"
66+ severity : " LOW,MEDIUM, HIGH,CRITICAL "
6767
6868 - name : Upload Trivy scan results to GitHub Security tab
6969 uses : github/codeql-action/upload-sarif@v3
7070 with :
7171 sarif_file : " trivy-results.sarif"
7272 category : " Trivy-Filesystem"
73-
74- trivy-image :
75- name : Trivy Docker Image Scan
76- runs-on : ubuntu-latest
77- permissions :
78- security-events : write
79- contents : read
80- steps :
81- - name : Checkout repository
82- uses : actions/checkout@v4
83-
84- - name : Run Trivy vulnerability scanner on latest image
85- uses : aquasecurity/trivy-action@0.28.0
86- with :
87- image-ref : " ghcr.io/coder/code-marketplace:latest"
88- format : " sarif"
89- output : " trivy-image-results.sarif"
90- severity : " CRITICAL,HIGH"
91-
92- - name : Upload Trivy scan results to GitHub Security tab
93- uses : github/codeql-action/upload-sarif@v3
94- with :
95- sarif_file : " trivy-image-results.sarif"
96- category : " Trivy-Docker"
You can’t perform that action at this time.
0 commit comments