Skip to content

Commit

Permalink
feat: add prodsec/security_scans (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
wayne-grant authored Jun 5, 2024
1 parent 117ee7e commit 9153154
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,27 @@ version: 2.1

orbs:
node: circleci/node@5.1.0
prodsec: snyk/prodsec-orb@1.0
prodsec: snyk/prodsec-orb@1

defaults: &defaults
resource_class: medium
docker:
- image: cimg/node:19.6.1

jobs:
security-scans:
resource_class: small
<<: *defaults
steps:
- checkout
- node/install-packages:
with-cache: false
override-ci-command: npm install
- prodsec/security_scans:
mode: auto
open-source-additional-arguments: --exclude=test
iac-scan: disabled

lint:
<<: *defaults
steps:
Expand All @@ -31,7 +44,7 @@ jobs:
- checkout
- setup_remote_docker
- when:
condition:
condition:
equal: [ "3.12", <<parameters.python_version>>]
steps:
- run:
Expand All @@ -47,7 +60,7 @@ jobs:
-f test/Dockerfile .
docker run --rm snyk-python-plugin:integration-tests-<< parameters.python_version >>
- when:
condition:
condition:
or:
- equal: [ "3.8", <<parameters.python_version>>]
- equal: [ "3.9", <<parameters.python_version>>]
Expand Down Expand Up @@ -102,6 +115,15 @@ workflows:
context:
- snyk-bot-slack
channel: os-team-managed-alerts
filters:
branches:
ignore:
- main

- security-scans:
name: Security Scans
context:
- open_source-managed

- lint:
name: Lint
Expand Down

0 comments on commit 9153154

Please sign in to comment.