Skip to content

Commit e2027d8

Browse files
zodilibniroz89
andauthored
disable trivy sarif upload (#86)
* disable sarif upload * disable sarif upload * change exit-code --------- Co-authored-by: niroz89 <niro@sph.com.sg>
1 parent ff3fcb1 commit e2027d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/terraform.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,14 +328,14 @@ jobs:
328328
hide-progress: false
329329
format: 'sarif'
330330
output: 'trivy-results.sarif'
331-
exit-code: '1'
331+
exit-code: '0'
332332
ignore-unfixed: true
333333
severity: 'CRITICAL,HIGH'
334334

335335
# https://github.com/aquasecurity/trivy/issues/5003
336336
- name: Remove git from url for sarif uploading
337337
shell: bash
338-
run: |
338+
run: |
339339
sed -i 's#git::https:/##g' trivy-results.sarif
340340
341341
- name: Upload Trivy scan results to GitHub Security tab

0 commit comments

Comments
 (0)