keycloak-scim/.github/workflows/trivy-analysis.yml
dependabot[bot] 6b6f3fcf05 Bump aquasecurity/trivy-action from 0.19.0 to 0.20.0
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](d710430a67...b2933f565d)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-15 08:38:15 -03:00

35 lines
915 B
YAML

name: Trivy
on:
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
analysis:
name: Vulnerability scanner for nightly containers
runs-on: ubuntu-latest
if: github.repository == 'keycloak/keycloak'
strategy:
matrix:
container: [keycloak, keycloak-operator]
fail-fast: false
steps:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@b2933f565dbc598b29947660e66259e3c7bc8561
with:
image-ref: quay.io/keycloak/${{ matrix.container}}:nightly
format: sarif
output: trivy-results.sarif
severity: MEDIUM,CRITICAL,HIGH
ignore-unfixed: true
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}}