File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -52,18 +52,20 @@ jobs:
5252 RUBYGEM_OVERCOMMIT=${{ matrix.rubygem_overcommit }}
5353 RUBYGEM_MODULESYNC=${{ matrix.rubygem_modulesync }}
5454
55- - name : Run Trivy vulnerability scanner
56- uses : aquasecurity/trivy-action@master
55+ - name : Analyze for critical and high CVEs
56+ id : docker-scout-cves
57+ uses : docker/scout-action@v1
5758 with :
58- image-ref : ' ci/voxbox-${{ matrix.rubygem_puppet }}:${{ github.sha }} '
59- format : ' sarif '
60- output : ' trivy-results- ${{ matrix.rubygem_puppet }}.sarif '
61- severity : ' CRITICAL,HIGH '
59+ command : cves
60+ image : ' local://ci/voxbox-${{ matrix.rubygem_puppet }}:${{ github.sha }} '
61+ sarif-file : sarif.output. ${{ matrix.rubygem_puppet }}.${{ github.sha }}.json
62+ summary : true
6263
63- - name : Upload Trivy scan results to GitHub Security tab
64- uses : github/codeql-action/upload-sarif@v3
64+ - name : Upload SARIF result
65+ id : upload-sarif
66+ uses : github/codeql-action/upload-sarif@v2
6567 with :
66- sarif_file : ' trivy-results- ${{ matrix.rubygem_puppet }}.sarif '
68+ sarif_file : sarif.output. ${{ matrix.rubygem_puppet }}.${{ github.sha }}.json
6769
6870 - name : Clone voxpupuli/puppet-example repository
6971 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments