Skip to content

Commit

Permalink
chore: replace terrascan
Browse files Browse the repository at this point in the history
Terrscan does not support never versions of Terraform
failing on optionals for example
  • Loading branch information
peter-svensson committed Jul 17, 2024
1 parent 7d4815c commit 390cf2f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 30 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/checkov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Checkov
on: [ pull_request ]
# https://github.com/marketplace/actions/terrascan-iac-scanner
jobs:
terrascan:
runs-on: ubuntu-latest
name: checkov
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run Checkov
id: checkov
uses: bridgecrewio/checkov-action@master
with:
directory: .
framework: terraform
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: terrascan.sarif

30 changes: 0 additions & 30 deletions .github/workflows/terrascan.yaml

This file was deleted.

0 comments on commit 390cf2f

Please sign in to comment.