Add trufflehog pre-commit hook
This commit is contained in:
parent
1376c4577c
commit
e9ce7789d8
|
@ -53,3 +53,9 @@ repos:
|
||||||
entry: cargo-deny
|
entry: cargo-deny
|
||||||
args: ['check']
|
args: ['check']
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
|
- id: trufflehog
|
||||||
|
name: TruffleHog
|
||||||
|
description: Detect secrets in your data.
|
||||||
|
entry: bash -c 'podman run -v "$(pwd):/workdir" --rm docker.io/trufflesecurity/trufflehog:latest git file:///workdir'
|
||||||
|
language: system
|
||||||
|
stages: ["commit", "push"]
|
||||||
|
|
Loading…
Reference in New Issue