Skip to content

Commit

Permalink
Fix for trivy workflow issues (keycloak#35092)
Browse files Browse the repository at this point in the history
Closes keycloak#34440

Signed-off-by: rmartinc <[email protected]>
  • Loading branch information
rmartinc authored and agagancarczyk committed Nov 28, 2024
1 parent c75c74b commit 402a64f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/trivy-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,21 @@ jobs:
fail-fast: false
steps:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8
uses: aquasecurity/trivy-action@0.28.0
with:
image-ref: quay.io/keycloak/${{ matrix.container}}:nightly
image-ref: quay.io/keycloak/${{ matrix.container }}:nightly
format: sarif
output: trivy-results.sarif
severity: MEDIUM,CRITICAL,HIGH
ignore-unfixed: true
version: v0.57.1
timeout: 15m
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: trivy-results.sarif
category: ${{ matrix.container}}
category: ${{ matrix.container }}

0 comments on commit 402a64f

Please sign in to comment.