File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,12 +24,25 @@ jobs:
2424 - name : ⬇️ Checkout repository
2525 uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2626 - name : Image
27- run : bash -c "make build-image"
27+ id : image
28+ run : |
29+ make build-image
30+ env :
31+ VERSION : ${{ github.sha }}
2832 - name : 🔎 Trivy-Scan
2933 id : trivyscan
3034 run : make trivy-scan
35+ uses : aquasecurity/trivy-action@0.33.1
36+ with :
37+ image-ref : outscale/cloud-provider-osc:${{ github.sha }}
38+ format : ' sarif'
39+ output : ' trivy-results.sarif'
40+ severity : ' CRITICAL,HIGH'
41+ trivyignores : ' .trivyignore'
42+ version : ' v0.69.3'
43+ vuln-type : ' image'
3144 - name : ⬆️ Upload Trivy results
3245 if : ${{ always() && github.event_name != 'pull_request' }}
3346 uses : github/codeql-action/upload-sarif@v4
3447 with :
35- sarif_file : ' ./.trivyscan/report .sarif'
48+ sarif_file : ' trivy-results .sarif'
Original file line number Diff line number Diff line change 1- # github.com/emicklei/go-restful
2- CVE-2022-1996
3- # https://github.com/advisories/GHSA-69cg-p879-7622
4- CVE-2022-27664
5- # https://avd.aquasec.com/nvd/cve-2022-32149
6- CVE-2022-32149
7- # https://avd.aquasec.com/nvd/2023/cve-2023-45142
8- CVE-2023-45142
9- # https://avd.aquasec.com/nvd/2023/cve-2023-47108
10- CVE-2023-47108
You can’t perform that action at this time.
0 commit comments