Our next job begins by attaching the workspace and calling snyk/scan
with a few parameters. We've made a few choices here such as setting fail-on-issues
to false
and setting our severity-threshold
to high
.
scan_app:<<: *defaultssteps:- attach_workspace:at: ~/repo- snyk/scan:fail-on-issues: falsemonitor-on-build: trueproject: '${CIRCLE_PROJECT_REPONAME}/${CIRCLE_BRANCH}-app'severity-threshold: hightoken-variable: SNYK_TOKENtarget-file: ./submodules/goof/package.json
A detailed list of all supported parameters is available in the Snyk orb documentation page.