Some of your projects may contain multiple manifest files. By default, Snyk only scans one of those. Therefore, if you simply run
snyk monitor, only the first manifest file Snyk finds is scanned and then pushed for monitoring to the Snyk app.
However, the Snyk CLI does support multiple target files within the same project.
To include specific or multiple manifest files:
- Ensure each manifest file (the project name) has a unique name.
- Use the
snyk monitor --org=myOrgName --file=package.json --project-name=myapp-frontend
snyk monitor ---org=myOrgName --file=build.sbt --project-name=myapp-backend