Skip to content

Commit

Permalink
feat: add prodsec/security_scans
Browse files Browse the repository at this point in the history
  • Loading branch information
wayne-grant committed May 27, 2024
1 parent 040ba8d commit a2235c6
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.1

orbs:
win: circleci/[email protected]
prodsec: snyk/prodsec-orb@1.0
prodsec: snyk/prodsec-orb@1

defaults: &defaults
parameters:
Expand Down Expand Up @@ -48,6 +48,21 @@ commands:
command: npm --version

jobs:
security-scans:
resource_class: small
<<: *defaults
docker:
- image: circleci/node:<< parameters.node_version >>
steps:
- checkout
- install_deps
- show_node_version
- prodsec/security_scans:
mode: auto
release-branch: master
open-source-additional-arguments: --exclude=test
iac-scan: disabled

lint:
<<: *defaults
docker:
Expand Down Expand Up @@ -107,6 +122,17 @@ workflows:
context:
- snyk-bot-slack
channel: os-team-managed-alerts
filters:
branches:
ignore:
- master

- security-scans:
name: Security Scans
node_version: "10"
context:
- open_source-managed
- nodejs-install

- lint:
name: Lint
Expand Down

0 comments on commit a2235c6

Please sign in to comment.