diff --git a/.circleci/config.yml b/.circleci/config.yml index ac3597c5..0eb6c430 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,8 +1,7 @@ version: 2.1 orbs: - snyk: snyk/snyk@1.2.3 - prodsec: snyk/prodsec-orb@1.0 + prodsec: snyk/prodsec-orb@1 executors: default: @@ -36,26 +35,13 @@ jobs: - run: name: Build command: make build - snyk-oss: + security-scans: executor: default steps: - checkout - - snyk/scan: - severity-threshold: high - monitor-on-build: true - project: ${CIRCLE_PROJECT_REPONAME} - organization: devex_ide - - snyk-code: - executor: default - steps: - - checkout - - snyk/scan: - command: code test - severity-threshold: high - monitor-on-build: true - project: ${CIRCLE_PROJECT_REPONAME} - organization: devex_ide + - prodsec/security_scans: + mode: auto + iac-scan: disabled # Orchestrate our job run sequence workflows: version: 2 @@ -66,11 +52,8 @@ workflows: context: - snyk-bot-slack channel: team-ide - - snyk-oss: - name: Snyk Open Source - context: code-client-go - - snyk-code: - name: Snyk Code + - security-scans: + name: Security Scans context: code-client-go - lint-and-format: name: Lint & Format @@ -82,6 +65,5 @@ workflows: name: Build requires: - Unit tests - - Snyk Open Source - - Snyk Code + - Security Scans - Scan repository for secrets diff --git a/sarif_types.go b/sarif_types.go index 25d9885f..8e880c4f 100644 --- a/sarif_types.go +++ b/sarif_types.go @@ -15,7 +15,7 @@ */ //nolint:revive,tagliatelle // These are all SARIF documented types that need to match the exact JSON format. -package codeClient +package codeclient type SarifResponse struct { Type string `json:"type"` diff --git a/scan.go b/scan.go index 913eb245..bbac319e 100644 --- a/scan.go +++ b/scan.go @@ -15,7 +15,7 @@ */ //nolint:lll // Some of the lines in this file are going to be long for now. -package codeClient +package codeclient import ( "encoding/json" diff --git a/scan_test.go b/scan_test.go index c50aa2eb..f60efb6e 100644 --- a/scan_test.go +++ b/scan_test.go @@ -1,4 +1,4 @@ -package codeClient_test +package codeclient_test import ( "testing"