Skip to content

Commit

Permalink
feat: add secrets scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
wayne-grant committed Jun 15, 2023
1 parent 031be55 commit 964007e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ version: 2.1

orbs:
win: circleci/windows@2.4.0
prodsec: snyk/prodsec-orb@1.0

defaults: &defaults
parameters:
Expand Down Expand Up @@ -111,6 +112,11 @@ workflows:
version: 2
test_and_release:
jobs:
- prodsec/secrets-scan:
name: Scan repository for secrets
context:
- snyk-bot-slack
channel: os-team-managed-alerts
- lint:
name: Lint
context: nodejs-install
Expand Down
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.16.1
hooks:
- id: gitleaks

0 comments on commit 964007e

Please sign in to comment.