-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Added support for ignoring specific file and path patterns with .fileignore #16
Conversation
I am getting some strange results with File: None Example: from this merge bosun-monitor/bosun#1598
The Ugori files are from bosun/vendor/github.com/ugorji/go/codec/ and were not changed in that commit. Also you might want to add the commit hash to the header block, as tracking by date/commit message can be difficult. |
…upport .fileignore and console output. May cause some ambiguity with renamed files. Preference for a_path.
Yeah, some diffs have no a_path/b_path value. It might be because there's no previous or next commit when the diff is generated. All output is the result of comparing two commits, not looking at the commits themselves. Adding a new PR to try to minimize when File: None appears. |
# Conflicts: # truffleHog.py
We can address the header block more in another issue if you want to create one as a feature request. |
Ryan O'Horo seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Hey there, we've just released the next major version of TruffleHog! It is a complete rewrite that scans more data sources and now supports detecting and verifying over 600 credentials. https://trufflesecurity.com/blog/introducing-trufflehog-v3 We're no longer maintaining v2 so I am closing this PR. |
Add AnalysisInfo to detectors.Result
Implements #8
Uses fnmatch to selectively ignore commit blobs with specific file paths. Uses the "a" side diff path name. No default entries.
Adding patterns to .fileignore: