-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Fix Azure Devops detector #3784
base: main
Are you sure you want to change the base?
Conversation
444fa24
to
f7bb530
Compare
@rgmz thanks for this! Would you mind providing a brief summary of the changes you made to the logic? The simultaneous code reorganization has made me unable to find a useful diff. (Or maybe you could just tell me the right buttons to push to get one :/ ) |
b4ff6e4
to
ed49000
Compare
It seems that GitHub isn't smart enough to track the rename; oddly, Git seems to track it just fine. TLDR
|
Huh, weird. It looks like pushed a new version that renamed the package but not the files - was that intentional? Regardless, thanks for looking into this. It looks like there's some good cleanup in here. I have two specific concerns, though:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I think that we can retain the existing Raw
/RawV2
behavior by just:
- Making
dev\.azure\.com/
non-capturing in its regex - Reverting to the existing
Raw
/RawV2
concatenation logic
This might be the ideal change. The existing RawV2 is a hiderance for OSS users because of reasons mentioned in #3634 (comment). |
In my view, we should not be flooding services with requests for resources we know are invalid. Doing so can result in providers blocking TruffleHog or legitimate requests failing due to ratelimiting / captcha (this frequently occurs for BrowserStack). It also hampers throughput; my home Internet is DSL and TruffleHog is largely unusable because of how noisy it is. Perhaps it'll be pointless once granular result caching is introduced. For now, the pros heavily outweigh potential cons IMO. |
ed49000
to
8c22ad9
Compare
8c22ad9
to
a66d91d
Compare
Description:
This fixes #3680.
Checklist:
make test-community
)?make lint
this requires golangci-lint)?