trufflehog icon indicating copy to clipboard operation
trufflehog copied to clipboard

S3 Config Yaml Structure

Open Kumar-IND opened this issue 2 months ago • 13 comments

Hi Team, i am raising github issue what i need to add cat s3-config.json { "sources": [ { "source": "s3", "bucket_name": "data-datalake-raw-east-stage", "prefix": "db-reporting/test/year=2024/month=6/day=13/", "region": "us-east-1" } ] } :~# trufflehog --version trufflehog 3.90.3 ~# cat s3-config.json { "sources": [ { "source": "s3", "bucket_name": "xyz-test-raw-east-stage", "prefix": "db-reporting/data/year=2024/month=6/day=13/", "region": "us-east-1" } ] }

I Granted required s3 access but getting below syntax error

Getting below error ~# trufflehog multi-scan --config s3-config.json --only-verified --json {"level":"error","ts":"2025-08-07T13:47:20Z","logger":"trufflehog","msg":"error parsing the provided configuration file","error":"proto: (line 1:14): unknown field "bucket_name""} help me for correct syntax

Kumar-IND avatar Aug 07 '25 14:08 Kumar-IND