Snyk Infrastructure as Code action
Using the Snyk Infrastructure as Code Action to check for vulnerabilities
name: Example workflow for Snyk Infrastructure as Code
on: push
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Snyk to check Kubernetes manifest file for issues
uses: snyk/actions/iac@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}Snyk Infrastructure as Code Action properties
Property
Default
Description
Examples for Snyk Infrastructure as Code Action
Specifying paths
Specifying severity threshold
Sharing test results
Specifying scan mode for Terraform Plan
Uploading Snyk scan results to GitHub Code Scanning using the Snyk Infrastructure as Code Action
Related documentation
Last updated
Was this helpful?

