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 16, 2023
1 parent c302b83 commit 3b41ff0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
version: 2.1

orbs:
prodsec: snyk/prodsec-orb@1.0

defaults: &defaults
docker:
- image: node:16
Expand Down Expand Up @@ -130,6 +133,12 @@ workflows:
version: 2
test_and_release:
jobs:
- prodsec/secrets-scan:
name: Scan repository for secrets
context:
- snyk-bot-slack
channel: os-team-managed-alerts

- install:
name: Install
filters:
Expand Down
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.16.1
hooks:
- id: gitleaks

0 comments on commit 3b41ff0

Please sign in to comment.