File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,26 +102,26 @@ jobs:
102102 runs-on : self-hosted
103103 needs : [build]
104104 steps :
105- - name : Trivy image (CRITICAL,HIGH)
106- uses : aquasecurity/trivy-action@0.28.0
107- with :
108- scan-type : fs
109- image-ref : demo-app:local
110- format : sarif
111- output : trivy-image.sarif
112- ignore-unfixed : true
113- severity : CRITICAL,HIGH
114- - uses : github/codeql-action/upload-sarif@v3
115- with : { sarif_file: trivy-image.sarif }
116-
117- # - name: Trivy fs (SCA sobre el repo)
105+ # - name: Trivy image (CRITICAL,HIGH)
118106 # uses: aquasecurity/trivy-action@0.28.0
119107 # with:
120108 # scan-type: fs
121- # scan -ref: .
109+ # image -ref: demo-app:local
122110 # format: sarif
123- # output: trivy-fs .sarif
111+ # output: trivy-image .sarif
124112 # ignore-unfixed: true
125113 # severity: CRITICAL,HIGH
126114 # - uses: github/codeql-action/upload-sarif@v3
127- # with: { sarif_file: trivy-fs.sarif }
115+ # with: { sarif_file: trivy-image.sarif }
116+
117+ - name : Trivy fs (SCA sobre el repo)
118+ uses : aquasecurity/trivy-action@0.28.0
119+ with :
120+ scan-type : fs
121+ scan-ref : .
122+ format : sarif
123+ output : trivy-fs.sarif
124+ ignore-unfixed : true
125+ severity : CRITICAL,HIGH
126+ - uses : github/codeql-action/upload-sarif@v3
127+ with : { sarif_file: trivy-fs.sarif }
You can’t perform that action at this time.
0 commit comments