Skip to content

Commit

Permalink
Merge pull request #230 from snyk/feat/quality-gates
Browse files Browse the repository at this point in the history
feat: add prodsec/security_scans
  • Loading branch information
wayne-grant authored Jun 5, 2024
2 parents 71b33a3 + d0bffa1 commit c3a51a5
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 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

filters_branches_ignore_main: &filters_branches_ignore_main
filters:
Expand Down Expand Up @@ -61,6 +61,21 @@ commands:
command: npm --version

jobs:
security-scans:
resource_class: small
<<: *defaults
docker:
- image: cimg/node:<< parameters.node_version >>
steps:
- show_node_version
- checkout
- attach_workspace:
at: ~/nodejs-lockfile-parser
- install_deps
- prodsec/security_scans:
mode: auto
open-source-additional-arguments: --exclude=test
iac-scan: disabled
lint:
<<: *defaults
docker:
Expand Down Expand Up @@ -156,6 +171,16 @@ workflows:
context:
- snyk-bot-slack
channel: os-team-managed-alerts
filters:
branches:
ignore:
- main
- security-scans:
name: Security Scans
node_version: "16.13.2"
context:
- open_source-managed
- nodejs-install
- lint:
name: Lint
context: nodejs-install
Expand Down

0 comments on commit c3a51a5

Please sign in to comment.