File tree Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change 1
1
version : 2.1
2
2
3
3
orbs :
4
- prodsec : snyk/prodsec-orb@1.0
4
+ prodsec : snyk/prodsec-orb@1
5
5
6
6
defaults : &defaults
7
7
parameters :
@@ -50,6 +50,24 @@ commands:
50
50
name : Install npm dependencies
51
51
command : npm install
52
52
jobs :
53
+ security-scans :
54
+ resource_class : small
55
+ << : *defaults
56
+ docker :
57
+ - image : cimg/node:<< parameters.node_version >>
58
+ steps :
59
+ - checkout
60
+ - node-install-packages
61
+ - run :
62
+ name : Generate package-lock.json (Required for snyk OS scanning)
63
+ command : npm install --package-lock
64
+ - show_node_version
65
+ - prodsec/security_scans :
66
+ mode : auto
67
+ release-branch : master
68
+ open-source-additional-arguments : --exclude=test
69
+ iac-scan : disabled
70
+
53
71
lint :
54
72
<< : *defaults
55
73
docker :
@@ -95,6 +113,17 @@ workflows:
95
113
context :
96
114
- snyk-bot-slack
97
115
channel : os-team-managed-alerts
116
+ filters :
117
+ branches :
118
+ ignore :
119
+ - master
120
+
121
+ - security-scans :
122
+ name : Security Scans
123
+ node_version : " 12"
124
+ context :
125
+ - open_source-managed
126
+ - nodejs-install
98
127
99
128
- lint :
100
129
name : lint
You can’t perform that action at this time.
0 commit comments