ARM files
With Snyk Infrastructure as Code, you can test your configuration files using the CLI.
Snyk Infrastructure as Code for Azure Resource Manager (ARM) supports scanning JSON format files. You can also scan Bicep format files by converting the configuration files to JSON using the Bicep CLI.
Test for an issue on specified JSON files
Enter the following Snyk CLI command:
You can also specify multiple files by appending the file names after each other, for example:
Test for an issue on specified Bicep files
Be sure you have the Bicep CLI installed.
After installing the Bicep CLI, navigate to the directory that contains your Bicep files and convert the relevant Bicep file to JSON by entering the following:
You can then scan the newly created JSON file in the same way as any other file. Use the following Snyk CLI command:
Last updated