Skip to content

Commit 0f7c2ba

Browse files
Remove commented-out Trivy scan result upload and adjust Trivy action configuration
1 parent 2012040 commit 0f7c2ba

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/build-docker-artifacts.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -240,21 +240,13 @@ jobs:
240240
uses: aquasecurity/trivy-action@master
241241
with:
242242
image-ref: ${{ vars.DV_AWS_ECR_REGISTRY }}/${{ matrix.component.ecr_repository }}:${{ matrix.component.image_tag }}
243-
# format: 'sarif'
244-
# output: ${{ matrix.component.flavor_directory }}/${{ matrix.component.directory }}/trivy-results.sarif
245243
format: 'table'
246244
exit-code: '1'
247245
ignore-unfixed: false
248246
vuln-type: 'os,library'
249247
severity: 'MEDIUM,HIGH,CRITICAL'
250248
continue-on-error: false
251249

252-
# - name: Upload Trivy scan results
253-
# uses: github/codeql-action/upload-sarif@v2
254-
# with:
255-
# sarif_file: ${{ matrix.component.flavor_directory }}/${{ matrix.component.directory }}/trivy-results.sarif
256-
257-
258250
- name: Push image
259251
uses: docker/build-push-action@v6
260252
with:

0 commit comments

Comments
 (0)