Open Source Projects that must be built before testing with the Snyk CLI
For some types of Open Source Projects, you must build the Project before testing it with the Snyk CLI.
Manifests provide some dependency information. However, other dependencies are resolved only after the Project is built. In addition, lockfiles giving dependency information may not be available before the Project is built.
The following types of Projects must be built before testing with the CLI.
Language | Project type | Build required? |
JavaScript | npm | Build required only if no |
Javascript | Yarn | Build required only if no |
Java | Maven | Yes
Run |
Java | Gradle | No |
.NET | NuGet | Build required only if no |
.NET | Paket | Yes |
Python | pip | Yes
Run Alternatively, pass the CLI |
Python | pipenv | Yes
Run |
Python | setup.py | Yes
Run |
Python | Poetry | Yes
If no Poetry lockfile exists, run |
Python | dep | Yes
Run |
Golang | Go Modules | No |
Swift / Objective-C | Cocoapods | Build required only if no |
Swift | Swift Package Manager | No |
Scala | sbt | No |
Ruby | Bundler | Build required only if no |
PHP | Composer | Build required only if no |
Last updated