Skip to content

Commit

Permalink
feat: add prodsec/security_scans (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
wayne-grant authored Jun 5, 2024
1 parent a121cc1 commit b4c107b
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
orbs:
node: circleci/[email protected]
win: circleci/[email protected]
prodsec: snyk/prodsec-orb@1.0
prodsec: snyk/prodsec-orb@1

defaults: &defaults
parameters:
Expand Down Expand Up @@ -185,6 +185,23 @@ commands:
paths:
- ~\AppData\Local\Temp\jdk
jobs:
security-scans:
resource_class: small
<<: *defaults
docker:
- image: cimg/node:<< parameters.node_version >>
steps:
- checkout
- node-install-packages
- run:
name: Generate package-lock.json (Required for snyk OS scanning)
command: npm install --package-lock
- show_node_version
- prodsec/security_scans:
mode: auto
open-source-additional-arguments: --exclude=test
iac-scan: disabled

lint:
<<: *defaults
docker:
Expand Down Expand Up @@ -264,6 +281,13 @@ workflows:
channel: os-team-managed-alerts
<<: *filters_branches_ignore_main

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

- lint:
name: Lint
context: nodejs-install
Expand Down

0 comments on commit b4c107b

Please sign in to comment.