Skip to content

Commit

Permalink
What is in the SARIF file?
Browse files Browse the repository at this point in the history
  • Loading branch information
bill-buchan committed Jan 8, 2025
1 parent b2cb17b commit 8ac96b0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/oracle-observer-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,14 @@ jobs:
trivyignores: 'docker/oracle-observer/.trivyignore'
ignore-unfixed: 'true'
output: 'trivy-results.sarif'

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: trivy-file
path: trivy-results.sarif
retention-days: 1

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
if: failure() # If Trivy found vulnerabilities
Expand Down

0 comments on commit 8ac96b0

Please sign in to comment.