We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When i try to use custom config for docker, getting parse error ..
Command: trufflehog docker --image linuxbsdfreak/cpol-amd64 --only-verified --debug --config=config.yaml
Config file:
sources: - connection: '@type': type.googleapis.com/sources.Docker basicAuth: password: dckr_pat_sfsfdsafas username: testes images: - trufflesecurity/secrets name: Docker scanPeriod: 12h type: SOURCE_TYPE_DOCKER verify: true
The text was updated successfully, but these errors were encountered:
Error:
2024/03/20 15:56:32 [updater child#1] start program 2024-03-20T15:56:32+05:30 info-2 trufflehog trufflehog 3.70.2 2024-03-20T15:56:32+05:30 error trufflehog error parsing the provided configuration file {"error": "proto: (line 1:2): unknown field "sources""} 2024/03/20 15:56:32 [updater parent] prog exited with 1
Sorry, something went wrong.
I'm getting this too with a variation of the filesystem config documented as the following here:
sources: - connection: '@type': type.googleapis.com/sources.Filesystem paths: - /home/me/dev excludePathsFile: /home/me/dev/exclude.txt includePathsFile: /home/me/dev/include.txt name: Filesystem scanPeriod: 12h type: SOURCE_TYPE_FILESYSTEM verify: true
gives me
{"level":"error","ts":"2024-05-24T13:01:36-07:00","logger":"trufflehog","msg":"error parsing the provided configuration file","error":"proto: (line 1:2): unknown field \"sources\""}
No branches or pull requests
When i try to use custom config for docker, getting parse error ..
Command: trufflehog docker --image linuxbsdfreak/cpol-amd64 --only-verified --debug --config=config.yaml
Config file:
The text was updated successfully, but these errors were encountered: