Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 323794f

Browse files
committed
adding trivy config
Signed-off-by: John O'Loughlin <[email protected]>
1 parent ade22dc commit 323794f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Diff for: .github/workflows/trivy.yml

+16
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,19 @@ jobs:
5252
uses: github/codeql-action/upload-sarif@012739e5082ff0c22ca6d6ab32e07c36df03c4a4 # v3.22.12
5353
with:
5454
sarif_file: 'trivy-results.sarif'
55+
56+
- name: Run Trivy vulnerability scanner in repo mode
57+
uses: aquasecurity/trivy-action@master
58+
with:
59+
scan-type: 'fs'
60+
ignore-unfixed: true
61+
format: 'table'
62+
output: './trivy_config.txt'
63+
severity: 'CRITICAL,HIGH'
64+
65+
- name: GitHub Upload Release Artifacts
66+
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
67+
with:
68+
name: trivy_report
69+
path: |
70+
./trivy_config.txt

0 commit comments

Comments
 (0)