33b50bcb39
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.5.1 to 0.6.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](0105373003...503d3abc15
)
---
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>
63 lines
2.1 KiB
YAML
63 lines
2.1 KiB
YAML
name: Trivy
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 6 * * *"
|
|
|
|
jobs:
|
|
quarkus-dist:
|
|
name: Vulnerability scanner for Quarkus distribution images
|
|
runs-on: "ubuntu-18.04"
|
|
steps:
|
|
- name: Run Trivy vulnerability scanner
|
|
uses: aquasecurity/trivy-action@503d3abc15463af68b817d685982721f134256a5
|
|
with:
|
|
image-ref: 'quay.io/keycloak/keycloak:nightly'
|
|
format: 'template'
|
|
template: '@/contrib/sarif.tpl'
|
|
output: 'trivy-results.sarif'
|
|
severity: 'MEDIUM,CRITICAL,HIGH'
|
|
ignore-unfixed: true
|
|
|
|
- name: Upload Trivy scan results to GitHub Security tab
|
|
uses: github/codeql-action/upload-sarif@v2.1.16
|
|
with:
|
|
sarif_file: 'trivy-results.sarif'
|
|
|
|
legacy-dist:
|
|
name: Vulnerability scanner for WildFly distribution images
|
|
runs-on: "ubuntu-18.04"
|
|
steps:
|
|
- name: Run Trivy vulnerability scanner
|
|
uses: aquasecurity/trivy-action@503d3abc15463af68b817d685982721f134256a5
|
|
with:
|
|
image-ref: 'quay.io/keycloak/keycloak:legacy'
|
|
format: 'template'
|
|
template: '@/contrib/sarif.tpl'
|
|
output: 'legacy-results.sarif'
|
|
severity: 'MEDIUM,CRITICAL,HIGH'
|
|
ignore-unfixed: true
|
|
|
|
- name: Upload Trivy scan results to GitHub Security tab
|
|
uses: github/codeql-action/upload-sarif@v2.1.16
|
|
with:
|
|
sarif_file: 'legacy-results.sarif'
|
|
|
|
keycloak-operator:
|
|
name: Vulnerability scanner for Keycloak Operator distribution images
|
|
runs-on: "ubuntu-18.04"
|
|
steps:
|
|
- name: Run Trivy vulnerability scanner
|
|
uses: aquasecurity/trivy-action@503d3abc15463af68b817d685982721f134256a5
|
|
with:
|
|
image-ref: 'quay.io/keycloak/keycloak-operator:nightly'
|
|
format: 'template'
|
|
template: '@/contrib/sarif.tpl'
|
|
output: 'operator-results.sarif'
|
|
severity: 'MEDIUM,CRITICAL,HIGH'
|
|
ignore-unfixed: true
|
|
|
|
- name: Upload Trivy scan results to GitHub Security tab
|
|
uses: github/codeql-action/upload-sarif@v2.1.16
|
|
with:
|
|
sarif_file: 'operator-results.sarif'
|