diff --git a/.github/workflows/checkov.yml b/.github/workflows/checkov.yml new file mode 100644 index 0000000..95530e5 --- /dev/null +++ b/.github/workflows/checkov.yml @@ -0,0 +1,25 @@ + +name: Static security analysis for Terraform + +permissions: read-all + +on: + push: + branches: + - main + pull_request: + branches: + - main +jobs: + checkov-job: + runs-on: ubuntu-latest + name: checkov-action + steps: + - name: Checkout repo + uses: actions/checkout@v2 + + - name: Run Checkov action + id: checkov + uses: bridgecrewio/checkov-action@master + with: + directory: ./