File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed
Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ version: 2.1
33orbs :
44556- prodsec : snyk/prodsec-orb@1.0
6+ prodsec : snyk/prodsec-orb@1
77
88defaults : &defaults
99 parameters : &default_parameters_list
@@ -126,6 +126,23 @@ commands:
126126 command : dotnet --version
127127
128128jobs :
129+ security-scans :
130+ resource_class : small
131+ << : *defaults
132+ docker :
133+ - image : cimg/node:<< parameters.node_version >>
134+ steps :
135+ - checkout
136+ - node_install_packages
137+ - run :
138+ name : Generate package-lock.json (Required for snyk OS scanning)
139+ command : npm install --package-lock
140+ - show_node_version
141+ - prodsec/security_scans :
142+ mode : auto
143+ open-source-additional-arguments : --exclude=test
144+ iac-scan : disabled
145+
129146 lint :
130147 << : *defaults
131148 docker :
@@ -196,12 +213,19 @@ workflows:
196213 test_and_release :
197214 jobs :
198215 - prodsec/secrets-scan :
199- name : scan-repo
216+ name : Scan repository for secrets
200217 context :
201218 - snyk-bot-slack
202219 channel : os-team-managed-alerts
203220 << : *filters_branches_ignore_main
204221
222+ - security-scans :
223+ name : Security Scans
224+ node_version : " 16.20"
225+ context :
226+ - open_source-managed
227+ - nodejs-install
228+
205229 - lint :
206230 name : Lint
207231 context : nodejs-install
You can’t perform that action at this time.
0 commit comments