Skip to content

Commit

Permalink
chore: precommit hook update (snyk#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
dragos-cojocari authored Jun 26, 2023
1 parent 1c44e63 commit ceb7045
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2.1

orbs:
prodsec: snyk/[email protected]

workflows:
version: 2
CICD:
jobs:
- prodsec/secrets-scan:
name: Scan repository for secrets
context:
- snyk-bot-slack
channel: hammerhead-alerts
1 change: 1 addition & 0 deletions .gitleaksignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# add false positives here
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.17.0
hooks:
- id: gitleaks

0 comments on commit ceb7045

Please sign in to comment.