Skip to content

Commit

Permalink
[#7542] introduce trivy repo scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasCir committed Dec 22, 2021
1 parent 6e5b4d7 commit 0c4a993
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,20 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
format: 'template'
template: '@/contrib/sarif.tpl'
output: 'trivy-results.sarif'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: 'trivy-results.sarif'


- name: Commit external visits API spec to development
# Privileged action needing a secret token. Since this only runs on development in our own repo
# the token will be available through a privileged checkout.
Expand Down

0 comments on commit 0c4a993

Please sign in to comment.