Skip to content

Commit 13f224d

Browse files
authored
Merge pull request #144 from snyk/feat/quality-gates
feat: add prodsec/security_scans
2 parents aff5819 + f5fb6f2 commit 13f224d

1 file changed

Lines changed: 26 additions & 1 deletion

File tree

.circleci/config.yml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2.1
22

33
orbs:
4-
prodsec: snyk/prodsec-orb@1.0
4+
prodsec: snyk/prodsec-orb@1
55

66
params: &params
77
parameters:
@@ -32,6 +32,21 @@ test_matrix: &test_matrix
3232
- '1.5.5'
3333
- '1.7.0'
3434
jobs:
35+
security-scans:
36+
resource_class: small
37+
docker:
38+
- image: circleci/node:lts
39+
steps:
40+
- checkout
41+
- run:
42+
name: Install dependencies
43+
command: npm install
44+
- prodsec/security_scans:
45+
mode: auto
46+
release-branch: master
47+
open-source-additional-arguments: --exclude=test
48+
iac-scan: disabled
49+
3550
test:
3651
<<: *params
3752
docker:
@@ -84,6 +99,16 @@ workflows:
8499
context:
85100
- snyk-bot-slack
86101
channel: os-team-managed-alerts
102+
filters:
103+
branches:
104+
ignore:
105+
- master
106+
107+
- security-scans:
108+
name: Security Scans
109+
context:
110+
- open_source-managed
111+
- nodejs-install
87112

88113
- test:
89114
name: Test node=<<matrix.node_version>> jdk=<<matrix.jdk_version>> sbt=<<matrix.sbt_version>>

0 commit comments

Comments
 (0)