Commit ab44fd4
feat: add trivy (#164)
* Update build-docker-artifacts workflow: disable image push and add Trivy vulnerability scanning
* Add Trivy scan results upload step to build workflow
* Update Trivy action output format to table for improved readability
* Update Trivy action to output SARIF format and adjust result file path
* Update Trivy action to use table format and add image push step
* Add Dockerfile path to push image step in build workflow
* Add image scanning step and vulnerability check to build workflow
* Comment out image push step in build workflow
* Uncomment image push step in build workflow
* Set continue-on-error to false for Trivy scan and uncomment Dockerfile path in push image step
* Remove commented-out Trivy scan result upload and adjust Trivy action configuration
* Add Trivy configuration path for vulnerability scanning in build workflow
* Remove Trivy configuration path from vulnerability scan step
* Add Trivy configuration path for vulnerability scanning in build workflow
* Remove Trivy configuration path from vulnerability scan step
* Remove image scanning with aws steps from build workflow
* Add image vulnerability scanning step to build workflow
* Update Trivy action to version 0.30.0 in build workflow
* Update Trivy action to use the main branch in vulnerability scanning step
* chore: update Trivy action to version 0.30.0 in build workflow
* fix: correct Trivy action version format in vulnerability scanner step
* fix: update build-push action to load images instead of outputting type
* test: push image
* fix: remove image scan by aws steps
* Fix: add if condition for trivy
* Fix: remove MEDIUM from scanning
---------
Co-authored-by: Michael Pühringer <[email protected]>1 parent d074e64 commit ab44fd4
1 file changed
+24
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
| 212 | + | |
212 | 213 | | |
213 | 214 | | |
214 | 215 | | |
| |||
239 | 240 | | |
240 | 241 | | |
241 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
242 | 265 | | |
243 | 266 | | |
244 | 267 | | |
245 | 268 | | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | 269 | | |
265 | 270 | | |
266 | 271 | | |
| |||
0 commit comments