Skip to content

Commit

Permalink
add trivy scan
Browse files Browse the repository at this point in the history
  • Loading branch information
NimVek committed Jul 26, 2024
1 parent 37c4a3d commit deb2eb6
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/analyse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,28 @@ jobs:

- name: Analyze
uses: github/codeql-action/analyze@v3

trivy:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]

name: Trivy
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run Trivy
uses: aquasecurity/[email protected]
with:
scan-type: fs
ignore-unfixed: true
format: sarif
output: trivy-results.sarif

- name: Upload Trivy scan results
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: trivy-results.sarif

0 comments on commit deb2eb6

Please sign in to comment.