Understanding the IaC CLI test results

Beginning with Snyk CLI v. 1.939.0, the snyk iac test command offers additional results. This new offering is currently in Open Beta. To use it, install the latest version of the Snyk CLI, and enable the feature on the Snyk Preview page. For more information, see the instructions that follow.

Snyk Infrastructure as Code offers additional CLI iac test results in Snyk CLI v. 1.939.0 and later releases. For additional information on both the later and earlier versions, see the following documentation.

To use the new IaC CLI output results, install the latest Snyk CLI version or update to this version, for example, by entering:

npm install snyk -g 

For information about other methods for installing and updating the CLI, see Install or update the Snyk CLI.

In addition, to use the new IaC CLI output results, enable the option in the Snyk Preview page as follows:

1. On the Snyk Web UI, select the Organization with the repositories you want to test using the CLI.

By default, the CLI runs tests under your Preferred Organization, as defined in your Account settings. You can change your Preferred Organization or set another Organization for the CLI tests.

Select the Organization for snyk iac test
Select the Organization for snyk iac test

2. When the required Organization is open, select Org Settings:

Select Org Settings
Select Org Settings

3. On the Org Settings page, select Snyk Preview and navigate to the section Additional CLI result information for Infrastructure as Code:

dditional CLI result information for Infrastructure as Code
Additional CLI result information for Infrastructure as Code

4. In the Additional CLI result information for Infrastructure as Code section, move the slider to Enabled and click the Save changes button.

Last updated

Was this helpful?

#4707: More info: Update pricing plans page

Change request updated