Skip to content

Commit

Permalink
feat: add secrets scanning (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
wayne-grant committed Jun 20, 2023
1 parent 35a07fc commit 7fe9d73
Show file tree
Hide file tree
Showing 2 changed files with 14 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

executors:
docker-node:
parameters:
Expand Down Expand Up @@ -67,6 +70,12 @@ jobs:
workflows:
test:
jobs:
- prodsec/secrets-scan:
name: Scan repository for secrets
context:
- snyk-bot-slack
channel: os-team-managed-alerts

- lint:
filters:
branches:
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 7fe9d73

Please sign in to comment.