Skip to content

Commit 2a55ade

Browse files
committed
chore/security : display trivy result in table for chatbot
1 parent 737f74c commit 2a55ade

1 file changed

Lines changed: 1 addition & 17 deletions

File tree

.github/workflows/chatbot-build.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -83,23 +83,7 @@ jobs:
8383
uses: aquasecurity/trivy-action@0.33.1
8484
with:
8585
image-ref: ghcr.io/${{ github.repository_owner }}/hub-chatbot:${{ needs.get-tag.outputs.version }}
86-
format: 'sarif'
87-
output: 'trivy-chatbot-image.sarif'
86+
format: 'table'
8887
severity: 'HIGH,CRITICAL'
8988
exit-code: '1'
9089
trivyignores: 'tools/chatbot/.trivyignore'
91-
92-
- name: Upload image scan results to GitHub Security tab
93-
if: always()
94-
uses: github/codeql-action/upload-sarif@v3
95-
with:
96-
sarif_file: 'trivy-chatbot-image.sarif'
97-
category: 'trivy-chatbot-image'
98-
99-
- name: Upload image scan reports as artifacts
100-
if: always()
101-
uses: actions/upload-artifact@v4
102-
with:
103-
name: trivy-reports-chatbot
104-
path: '*.sarif'
105-
retention-days: 30

0 commit comments

Comments
 (0)