Skip to content
Merged
Show file tree
Hide file tree
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
34 changes: 8 additions & 26 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -82,6 +65,5 @@ workflows:
name: Build
requires:
- Unit tests
- Snyk Open Source
- Snyk Code
- Security Scans
- Scan repository for secrets
2 changes: 1 addition & 1 deletion sarif_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
2 changes: 1 addition & 1 deletion scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion scan_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package codeClient_test
package codeclient_test

import (
"testing"
Expand Down