Skip to content

Commit

Permalink
Modify SNYK action for IAC to scan and report
Browse files Browse the repository at this point in the history
  • Loading branch information
nikki-t committed Aug 3, 2023
1 parent 462e4c3 commit 20efadf
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/deploy-generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
# Check out GitHub repo
- uses: actions/checkout@v3

# SNYK blocking
- name: Run Snyk as a blocking step
# SNYK scan and report
- name: Run Snyk to test and report
uses: snyk/actions/iac@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
Expand All @@ -57,17 +57,7 @@ jobs:
args: >
--org=${{ secrets.SNYK_ORG_ID }}
--severity-threshold=high
# SNYK report
- name: Run Snyk on Python
uses: snyk/actions/iac@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: monitor
args: >
--org=${{ secrets.SNYK_ORG_ID }}
--project-name=${{ github.repository }}
--report
# Set up Terraform
- name: Setup Terraform
Expand Down

0 comments on commit 20efadf

Please sign in to comment.