Find, verify, and analyze leaked credentials
Go credentialsdevsecopsdynamic-analysisprecommitscanningsecretsecret-managementsecretssecuritysecurity-toolstrufflehogverification
Pre-commit not GH action PR (#961)
Bill Rich4e2ce4f6fe97
diff --git a/README.md b/README.mdindex cadf50c79..4eb333413 100644--- a/README.md+++ b/README.md@@ -269,9 +269,9 @@ repos:- id: trufflehogname: TruffleHogdescription: Detect secrets in your data.- entry: bash -c 'trufflehog git file://. --since-commit main --only-verified --fail'+ entry: bash -c 'trufflehog git file://. --since-commit HEAD --only-verified --fail'# For running trufflehog in docker, use the following entry instead:- # entry: bash -c 'docker run -v "$(pwd):/workdir" -i --rm trufflesecurity/trufflehog:latest git file:///workdir --since-commit main --only-verified --fail'+ # entry: bash -c 'docker run -v "$(pwd):/workdir" -i --rm trufflesecurity/trufflehog:latest git file:///workdir --since-commit HEAD --only-verified --fail'language: systemstages: ["commit", "push"]```