diff --git a/.github/workflows/deploy-generate.yml b/.github/workflows/deploy-generate.yml index 7c135cb..a017a20 100644 --- a/.github/workflows/deploy-generate.yml +++ b/.github/workflows/deploy-generate.yml @@ -46,6 +46,18 @@ jobs: # Check out GitHub repo - uses: actions/checkout@v3 + + # SNYK scan and report + - name: Run Snyk to test and report + uses: snyk/actions/iac@master + env: + SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} + with: + command: test + args: > + --org=${{ secrets.SNYK_ORG_ID }} + --severity-threshold=high + --report # Set up Terraform - name: Setup Terraform