-
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
Update HubSpot detectors #2845
Update HubSpot detectors #2845
Conversation
425fa83
to
2dc1279
Compare
f881f05
to
43fc620
Compare
c319443
to
307d7d0
Compare
b50418d
to
1b4ca8a
Compare
af8c7c9
to
1a7e796
Compare
1a7e796
to
3f73810
Compare
aeffc12
to
ab7f4d5
Compare
ab7f4d5
to
30ace6e
Compare
30ace6e
to
a6edc9e
Compare
a6edc9e
to
7ffd253
Compare
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.
This looks good. We'll hold off on approval until we can test with a credential for the new version.
"github.com/kylelemons/godebug/pretty" | ||
|
||
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors" | ||
|
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.
nit: Can we remove this new line in order to group the imports.
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, If this was created using the template file, please disregard my last comment.
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.
Probably didn't get caught because of the build tags. Can fix it in template + others in another PR.
6927d3e
to
88e0001
Compare
88e0001
to
a4714af
Compare
a4714af
to
b682cce
Compare
feat(hubspot): unify v1 and v2 implementation
b682cce
to
81636aa
Compare
Description:
This changes the HubSpot v1 detector to tri-state verification and adds two other common keywords.
hubapi
the actual domain associated with the HubSpot APIhapikey
the query parameter used to pass in legacy authIt also closes #2369 by merging those changes to align the implementations, and add unit tests to both.
Checklist:
make test-community
)?make lint
this requires golangci-lint)?