Skip to content

Commit

Permalink
feat: add prodsec/security_scans (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
wayne-grant authored Jun 5, 2024
1 parent 74a2845 commit 1dc051f
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions .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 @@ -81,6 +81,19 @@ commands:
command: choco install golang --version << parameters.go_version >> --allow-downgrade

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

lint:
<<: *defaults
docker:
Expand Down Expand Up @@ -148,6 +161,16 @@ workflows:
context:
- snyk-bot-slack
channel: os-team-managed-alerts
filters:
branches:
ignore:
- main
- security-scans:
name: Security Scans
node_version: "18.15"
context:
- open_source-managed
- nodejs-install
- lint:
name: Lint
context: nodejs-install
Expand Down Expand Up @@ -182,4 +205,4 @@ workflows:
filters:
branches:
only:
- master
- main

0 comments on commit 1dc051f

Please sign in to comment.