Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add snyk sca #126

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 20 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
version: 2.1

orbs:
general-platform-helpers: okta/[email protected]
general-platform-helpers: okta/[email protected].4
python: circleci/[email protected]
aws-cli: circleci/[email protected]

Expand All @@ -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: |
Expand All @@ -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: |
Expand All @@ -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