Add snyk code test

main
Elie 2021-11-24 10:53:54 +01:00
parent f5dab8d19f
commit 29e2e27f5e
No known key found for this signature in database
GPG Key ID: 399AF69092C727B6
1 changed files with 16 additions and 0 deletions

View File

@ -163,6 +163,17 @@ jobs:
monitor-on-build: true
project: ${CIRCLE_PROJECT_REPONAME}
organization: snyk-iac-group-seceng
security-code:
docker:
- image: cimg/go:1.17.2
steps:
- checkout
- snyk/scan:
command: code test
severity-threshold: medium
monitor-on-build: false
project: ${CIRCLE_PROJECT_REPONAME}
organization: snyk-iac-group-seceng
workflows:
nightly:
jobs:
@ -190,6 +201,11 @@ workflows:
<<: *only_branches
- test:
<<: *only_branches
- security-code:
name: Snyk code
context:
- snyk
<<: *only_branches
- security-oss:
name: Snyk test
context: