Skip to content

Commit

Permalink
trivy action
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminjb committed Jan 20, 2023
1 parent c1cfbbd commit a76f02a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/trivy-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Log all detected vulnerabilities
uses: aquasecurity/trivy-action@master
with:
scan-type: fs
hide-progress: true

# Upload actionable results to the GitHub Security tab.
# Pull request checks fail according to repository settings.
#
Expand All @@ -40,6 +34,8 @@ jobs:
ignore-unfixed: true
format: 'sarif'
output: 'trivy-results.sarif'
hide-progress: true
exit-code: 1

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
Expand Down

0 comments on commit a76f02a

Please sign in to comment.