From 5a2c90c7ec3235fb357fcfe486604806517d61e5 Mon Sep 17 00:00:00 2001 From: bama4 Date: Mon, 15 Feb 2021 14:14:19 -0800 Subject: [PATCH] Added snyk scan command to circleci build (#2) --- .circleci/config.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 905e4642..8bdbe90a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,8 @@ # A CircleCI configuration file because we do continuous integration testing! -version: 2 - +version: 2.1 +orbs: + snyk: snyk/snyk@x.y.z jobs: build: docker: @@ -91,6 +92,10 @@ jobs: - run: coverage report # output to stdout. - run: coverage xml # generate report artifact coverage.xml. - run: coverage html # generate report artifact htmlcov/*. + + # Snyk Scan + - snyk/scan: + docker-image-name: $IMAGE_NAME - store_artifacts: path: coverage.xml - store_artifacts: