Skip to content

Commit 9153154

Browse files
authored
feat: add prodsec/security_scans (#240)
1 parent 117ee7e commit 9153154

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

.circleci/config.yml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,27 @@ version: 2.1
22

33
orbs:
44
node: circleci/[email protected]
5-
prodsec: snyk/prodsec-orb@1.0
5+
prodsec: snyk/prodsec-orb@1
66

77
defaults: &defaults
88
resource_class: medium
99
docker:
1010
- image: cimg/node:19.6.1
1111

1212
jobs:
13+
security-scans:
14+
resource_class: small
15+
<<: *defaults
16+
steps:
17+
- checkout
18+
- node/install-packages:
19+
with-cache: false
20+
override-ci-command: npm install
21+
- prodsec/security_scans:
22+
mode: auto
23+
open-source-additional-arguments: --exclude=test
24+
iac-scan: disabled
25+
1326
lint:
1427
<<: *defaults
1528
steps:
@@ -31,7 +44,7 @@ jobs:
3144
- checkout
3245
- setup_remote_docker
3346
- when:
34-
condition:
47+
condition:
3548
equal: [ "3.12", <<parameters.python_version>>]
3649
steps:
3750
- run:
@@ -47,7 +60,7 @@ jobs:
4760
-f test/Dockerfile .
4861
docker run --rm snyk-python-plugin:integration-tests-<< parameters.python_version >>
4962
- when:
50-
condition:
63+
condition:
5164
or:
5265
- equal: [ "3.8", <<parameters.python_version>>]
5366
- equal: [ "3.9", <<parameters.python_version>>]
@@ -102,6 +115,15 @@ workflows:
102115
context:
103116
- snyk-bot-slack
104117
channel: os-team-managed-alerts
118+
filters:
119+
branches:
120+
ignore:
121+
- main
122+
123+
- security-scans:
124+
name: Security Scans
125+
context:
126+
- open_source-managed
105127

106128
- lint:
107129
name: Lint

0 commit comments

Comments
 (0)