From a6599f07e86f25df3f620df7f61870d1c6642240 Mon Sep 17 00:00:00 2001 From: Pavel Sorokin <60606414+pavel-snyk@users.noreply.github.com> Date: Tue, 12 Nov 2024 14:06:02 +0100 Subject: [PATCH] chore(circleci): skip monitoring of the project during CICD workflow --- .circleci/config.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d7a6264c6..9b2109493 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 orbs: prodsec: snyk/prodsec-orb@1.0 slack: circleci/slack@4.12.5 - snyk: snyk/snyk@1.7.2 + snyk: snyk/snyk@2.2.0 defaults: &defaults docker: @@ -290,6 +290,9 @@ jobs: scan-docker-image: <<: *defaults parameters: + monitor_on_build: + type: boolean + default: true project: type: string project_name: @@ -308,6 +311,7 @@ jobs: additional-arguments: --policy-path=.snyk docker-image-name: <>:$CIRCLE_WORKFLOW_ID fail-on-issues: <> + monitor-on-build: <> organization: platform-broker project: <> severity-threshold: <> @@ -439,6 +443,7 @@ workflows: - Build base image (Ubuntu) project: snyk/broker project_name: broker + monitor_on_build: false - build-and-save-docker-ubi-image: name: Build base image (RHEL) @@ -456,9 +461,7 @@ workflows: - Build base image (RHEL) project: snyk/broker-rhel-ubi project_name: broker-rhel-ubi - post-steps: - - notify-slack-on-failure: - channel: broker-alerts-vulns + monitor_on_build: false - release: name: Release to GitHub and NPM