trufflehog icon indicating copy to clipboard operation
trufflehog copied to clipboard

Add `--include-paths` and `--exclude-paths` flags for Docker scan

Open rgmz opened this issue 7 months ago • 0 comments

Please review the Community Note 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

rgmz avatar Dec 14 '23 15:12 rgmz