Support
API docs
Product updates
Sign up for free
Search…
Snyk User Documentation
Introducing Snyk
Getting started
Snyk CLI
Snyk API
Snyk for IDEs
Snyk Apps
Snyk Integrations
SNYK PRODUCTS
Snyk Open Source
Snyk Code
Snyk Container
Snyk Infrastructure as Code
Getting started with Snyk Infrastructure as Code (IaC)
Using Snyk IaC via web
Scan Terraform files
Scan CloudFormation files
Scan Kubernetes configuration files
Scan ARM configuration files
Snyk Infrastructure as code for self-hosted git (with Broker)
Snyk CLI for Infrastructure as Code
Test your configuration files
IaC ignores using the .snyk policy file
Test your Terraform files with Snyk CLI
Test your CloudFormation files with Snyk CLI
Test your AWS CDK files with Snyk CLI
Test your Kubernetes files with Snyk CLI
Test your ARM files with Snyk CLI
Test your Kustomize files with Snyk CLI
Testing Helm charts with Snyk CLI
Understanding the CLI output
Jira Integration
View Infrastructure as Code issue reports
Build your own custom rules
Detect drift and manually created resources
Share CLI results with the Snyk Web UI
USING SNYK
Snyk Broker
User and group management
Fixing and prioritizing issues
Reports
More Snyk Tools
SNYK INFO
Disclosing vulnerabilities
How Snyk handles your data
SNYK TUTORIALS
Getting Started
Amazon Web Services
Atlassian
CircleCI
Docker
Dynatrace
GCP
GitHub
Microsoft Azure
Oracle Cloud Infrastructure
Red Hat
SpringOne
Powered By
GitBook
Snyk CLI for Infrastructure as Code
To use the CLI you must first
install
it and then
authenticate
.
With Snyk Infrastructure as Code, you can test your configuration files directly from the CLI. See the following pages for details:
Test your configuration files
IaC ignores using the
.snyk
policy file
Test your Terraform files with Snyk CLI
Test your CloudFormation files with Snyk CLI
Test your AWS CDK files with Snyk CLI
Test your Kubernetes files with Snyk CLI
Test your ARM files with Snyk CLI
You can also test the following types of files:
Kustomize files
Helm charts
See
Understanding the CLI output
for information about using the reports.
Previous
Snyk Infrastructure as code for self-hosted git (with Broker)
Next
Test your configuration files
Last modified
1mo ago
Export as PDF
Copy link
Edit on GitHub