Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Emterry committed Sep 25, 2023
1 parent 2d41fca commit 4078410
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/reusable-workflow-terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,17 @@ jobs:
id: terraform_static_analysis_trivy
uses: aquasecurity/trivy-action@fbd16365eb88e12433951383f5e99bd901fc618f # v0.12.0
with:
scan-type: repo
scan-type: config
ignore-unfixed: true
output: 'trivy-results.sarif'
format: sarif
exit-code: '1'
severity: CRITICAL,HIGH
skip-dirs: containers/
severity: CRITICAL

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'trivy-results.sarif'

- name: Check for Static Analysis Override Label
if: github.ref != 'refs/heads/main'
Expand Down

0 comments on commit 4078410

Please sign in to comment.