Please review the [Community Note](https://github.com/trufflesecurity/trufflehog/blob/main/.github/community_note.md) before submitting ## Description It appears that the Docker source does not have flags for including or excluding paths. This is a useful feature to include. https://github.com/trufflesecurity/trufflehog/blob/main/main.go#L86C70-L87 ### Preferred Solution Add include/exclude flags for Docker, similar to how other sources work. ### Additional Context https://trufflehog-community.slack.com/archives/CK5PWLESK/p1702565959415379 #### References <!--- Information about referencing Github Issues: https://help.github.com/articles/basic-writing-and-formatting-syntax/#referencing-issues-and-pull-requests Are there any other GitHub issues (open or closed) or pull requests that should be linked here? Vendor blog posts or documentation? For example: * #0000 --->
Activity
tannerjones4075 commentedon Apr 15, 2025
I have created a PR for the --exclude-path feature: #4057