-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
48f3f83
commit 94de438
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,17 +38,23 @@ jobs: | |
name: Run Terraform validate check | ||
run: terraform validate | ||
|
||
- id: install_latest_trivy_version | ||
uses: aquasecurity/[email protected] | ||
with: | ||
cache: true | ||
version: v0.58.1 | ||
|
||
- id: run_trivy_config | ||
name: Run Trivy vulnerability scanner | ||
# aquasecurity/[email protected] | ||
uses: aquasecurity/[email protected] | ||
uses: aquasecurity/trivy-action@master | ||
with: | ||
scan-type: config | ||
trivy-config: trivy.yaml | ||
ignore-unfixed: true | ||
hide-progress: false | ||
format: sarif | ||
ignore_unfixed: true | ||
output: trivy.sarif | ||
skip-setup-trivy: true | ||
|
||
- id: run_sarif_upload | ||
name: Upload Trivy SARIF results | ||
|