Test your CloudFormation files with Snyk CLI
With Snyk Infrastructure as Code, you can test your CloudFormation files using the CLI. You can test files in both YAML and JSON formats. You can also scan AWS CDK applications. See Test your AWS CDK files with Snyk CLI.
Test for an issue on specified files using the following command:
1
snyk iac test
Copied!
Example:
1
snyk iac test deploy.yaml
Copied!
You can also specify multiple files by appending the file names after each other, for example:
1
snyk iac test file-1.yaml file-2.yaml
Copied!
Export as PDF
Copy link
Edit on GitHub