We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f31d39 commit 09fe938Copy full SHA for 09fe938
.github/workflows/deploy.yml
@@ -61,4 +61,25 @@ jobs:
61
ignore-unfixed: true
62
exit-code: 1
63
# On a subsequent call to the action we know trivy is already installed so can skip this
64
- skip-setup-trivy: true
+ skip-setup-trivy: true
65
+
66
+ Build-Trivy:
67
+ name: Build
68
+ runs-on: ubuntu-20.04
69
+ steps:
70
+ - name: Checkout source code
71
+ uses: actions/checkout@v4
72
73
+ - name: Run Trivy vulnerability scanner in repo mode
74
+ uses: aquasecurity/[email protected]
75
+ with:
76
+ scan-type: 'fs'
77
+ ignore-unfixed: true
78
+ format: 'sarif'
79
+ output: 'trivy-results.sarif'
80
+ severity: 'CRITICAL'
81
82
+ - name: Upload Trivy scan results to GitHub Security tab
83
+ uses: github/codeql-action/upload-sarif@v3
84
85
+ sarif_file: 'trivy-results.sarif'
0 commit comments