Skip to content

Add --include-paths and --exclude-paths flags for Docker scan #2216

New issue

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

Closed
rgmz opened this issue Dec 14, 2023 · 1 comment · Fixed by #4057
Closed

Add --include-paths and --exclude-paths flags for Docker scan #2216

rgmz opened this issue Dec 14, 2023 · 1 comment · Fixed by #4057
Assignees

Comments

@rgmz
Copy link
Contributor

rgmz commented Dec 14, 2023

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

@tannerjones4075
Copy link
Contributor

I have created a PR for the --exclude-path feature: #4057

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants