Skip to content

Commit

Permalink
try to differentiate sraif files to make trivy work again
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaffen committed Apr 19, 2024
1 parent abbf5f1 commit 118e323
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,13 @@ jobs:
with:
image-ref: 'ci/voxbox-${{ matrix.rubygem_puppet }}:${{ github.sha }}'
format: 'sarif'
output: 'trivy-results.sarif'
output: 'trivy-results-${{ matrix.rubygem_puppet }}.sarif'
severity: 'CRITICAL,HIGH'

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

# - name: Run Trivy in GitHub SBOM mode and submit results to Dependency Graph
# uses: aquasecurity/trivy-action@master
Expand Down

0 comments on commit 118e323

Please sign in to comment.