Skip to content

Commit

Permalink
switch to trivy
Browse files Browse the repository at this point in the history
  • Loading branch information
akerl committed Aug 2, 2023
1 parent 44f035b commit e68634f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ jobs:
run: "./scripts/download_terraform.sh $TERRAFORM_VERSION"
- name: Check format
run: "~/tfbin/terraform fmt -write=false -diff=true -check"
- name: Check tfsec
run: go install github.com/aquasecurity/tfsec/cmd/tfsec@latest && tfsec --concise-output
- name: Run Trivy
uses: aquasecurity/trivy-action@master
with:
scan-type: 'config'
hide-progress: false
exit-code: '1'
- name: Post to hook-exporter
run: "./.github/exporter.sh"
env:
Expand Down

0 comments on commit e68634f

Please sign in to comment.