fix: use sarif format in trivy results

pull/46/head
Andre Henn 2024-02-07 13:52:29 +01:00
parent 0966018436
commit 9aaf0e6aa4
No known key found for this signature in database
GPG Key ID: 776670F973DDECAA
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ jobs:
- name: Run trivy - name: Run trivy
uses: aquasecurity/trivy-action@master uses: aquasecurity/trivy-action@master
with: with:
format: 'table' format: 'sarif'
ignore-unfixed: true ignore-unfixed: true
image-ref: 'geoserver-docker.osgeo.org/geoserver:${{ github.sha }}' image-ref: 'geoserver-docker.osgeo.org/geoserver:${{ github.sha }}'
output: 'trivy-results.sarif' output: 'trivy-results.sarif'