We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be85a5d commit 6ebf45dCopy full SHA for 6ebf45d
.pre-commit-config.yaml
@@ -94,3 +94,13 @@ repos:
94
- "requests"
95
- "sushy"
96
- "types-requests"
97
+ - repo: local
98
+ hooks:
99
+ - id: trufflehog
100
+ name: TruffleHog
101
+ description: Detect secrets in your data.
102
+ # uncomment this if you don't want to use docker version
103
+ # entry: bash -c 'trufflehog --no-update git file://. --since-commit HEAD --results=verified,unknown --fail'
104
+ entry: bash -c 'docker run --rm -v "$(pwd):/workdir" -i --rm trufflesecurity/trufflehog:latest git file:///workdir --since-commit HEAD --results=verified,unknown --fail'
105
+ language: system
106
+ stages: ["pre-commit", "pre-push"]
0 commit comments