From 9df2de68ff59f05b3114f94c0e97f8eac39db0f3 Mon Sep 17 00:00:00 2001 From: Pranav RK Date: Fri, 17 Jan 2025 11:23:46 +0530 Subject: [PATCH] feat: add snyk sca --- .circleci/config.yml | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9ad2ed9..75469e0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2.1 orbs: - general-platform-helpers: okta/general-platform-helpers@1.9 + general-platform-helpers: okta/general-platform-helpers@1.9.4 python: circleci/python@2.0.3 aws-cli: circleci/aws-cli@5.1 @@ -20,11 +20,23 @@ jobs: - run: name: "test stage" command: make test + + snyk-scan: + docker: + - image: cimg/go:1.19.4 + steps: + - checkout + - general-platform-helpers/step-load-dependencies + - general-platform-helpers/step-run-snyk-monitor: + scan-all-projects: false + skip-unresolved: false + run-on-non-main: true + reversing-labs: docker: - image: cimg/go:1.21.13 steps: - - checkout + - checkout - run: name: Install Python command: | @@ -51,7 +63,7 @@ jobs: name: Build binary to scan command: | go mod vendor - go build + go build - run: name: Run Reversing Labs Wrapper Scanner command: | @@ -70,10 +82,14 @@ workflows: "Circle CI Tests": jobs: - test + - snyk-scan: + name: execute-snyk + context: + - static-analysis + "Malware Scanner": jobs: - reversing-labs: context: - static-analysis - # VS Code Extension Version: 1.4.0