Skip to content

Commit

Permalink
Tweak actions
Browse files Browse the repository at this point in the history
  • Loading branch information
filippomc committed Apr 9, 2024
1 parent df3fcc9 commit 994fd06
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/trivy-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,13 @@ jobs:
DOCKER_BUILDKIT=1 docker build -t portal:${{ github.sha }} --build-arg CLOUDHARNESS_DJANGO=cloudharness-django:${{ github.sha }} ./applications/portal
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@sarif-support-2
uses: aquasecurity/trivy-action@master
with:
image-ref: 'portal:${{ github.sha }}'
format: 'sarif'
output: 'trivy-results.sarif'
severity: 'CRITICAL,HIGH'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'trivy-results.sarif'

0 comments on commit 994fd06

Please sign in to comment.