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 eefa133 commit a41f3a4
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/[email protected]
prodsec: snyk/[email protected]

defaults: &defaults
parameters:
Expand Down Expand Up @@ -182,6 +183,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 a41f3a4

Please sign in to comment.