Fix GitHub Action Trivy Analysis warnings
Update trivy-action to 0.17.0 Close #27264 Signed-off-by: Yves Galante <yves.galante@jmob.net>
This commit is contained in:
parent
3186b6db8e
commit
401d58a905
1 changed files with 2 additions and 3 deletions
5
.github/workflows/trivy-analysis.yml
vendored
5
.github/workflows/trivy-analysis.yml
vendored
|
@ -22,15 +22,14 @@ jobs:
|
|||
uses: aquasecurity/trivy-action@d710430a6722f083d3b36b8339ff66b32f22ee55
|
||||
with:
|
||||
image-ref: quay.io/keycloak/${{ matrix.container}}:nightly
|
||||
format: template
|
||||
template: '@/contrib/sarif.tpl'
|
||||
format: sarif
|
||||
output: trivy-results.sarif
|
||||
severity: MEDIUM,CRITICAL,HIGH
|
||||
ignore-unfixed: true
|
||||
security-checks: vuln
|
||||
timeout: 15m
|
||||
|
||||
- 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}}
|
||||
|
|
Loading…
Reference in a new issue