CircleCI migration
This page explains how to transition away from affected jobs.
Updating snyk orb and using iac test
iac test
Customers using the scan-iac
job will need to switch to using snyk/scan
with the iac test
command. For an example, see the IaC scanning examples in the snyk-orb repository.
It is important to update the version of the snyk orb used to the latest version by updating the circleci config files. Currently, the latest Snyk orb is snyk/snyk@2.1.0
.
Use the Snyk orb to only install the Snyk CLI, and then run the Snyk CLI commands in your own steps
Instead of relying on predefined jobs, customers can use the Snyk orb to install the Snyk CLI and then run commands as their own steps. See this install example in the snyk-orb repository.
In the case of replacing scan-iac
job, an example config could look like the following:
Direct CLI installation without using the Snyk orb
Alternatively, customers who prefer not to rely on the Snyk CircleCI orb or wish to have complete control over their pipelines can opt to install the Snyk CLI directly. An example follows:
Last updated