Run Snyk recursively in valid subdirectories.
npm install snyk-recursiveThis package runs Snyk security scans recursively against every subdirectory containing one of the following:
- A node_modules directory as well as a package.json file
- A pom.xml file or a gradle.build file.
snyk-recursive will run in 'dev mode', where the results from every scan will be printed in the terminal. By default scans are run synchronously.--v or --version - log current version to the console--async - run the Snyk scans asynchronously--org= OR --org --severity= OR --severity low, medium, highnpm install -g snyksnyk authsnyk-recursive packagenpm i -g snyk-recursivesnyk-recursivesnyk-recursive package as a dev-dependency to your monoreposnyk-recursive --severity=, where severity will be the threshold for failing buildsSNYK_TOKEN= for snyk to authorize your pipeline to run a security scan