Step 3: Importing repositories to Snyk for the Snyk Code testing
After you enabled the Snyk Code option, and integrated your Snyk Account with your SCM, you need to import from your SCM to Snyk the repositories you want Snyk Code to scan and test for vulnerabilities.
Notes:
If you already have repositories in your Snyk Account, and you do not want to import additional ones, but you want to test your existing repositories with Snyk Code, you need to re-import these repositories.
To learn more about the repository import, see Understanding the import process.
Depending on your existing Snyk Account state and your needs, perform one of the following:
If you do not have any repositories in your Snyk Account – import your first repository to Snyk.
If you already have repositories in your Snyk Account, and you want to import other repositories for the Snyk Code testing – import additional repositories to Snyk.
If you already have repositories in your Snyk Account, and you want to test them with Snyk Code – re-import the existing repositories.
Before you import or re-import a repository to be tested by Snyk Code, you can exclude certain directories and files from the import by using the .snyk file.
Last updated
Was this helpful?