-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat(detectors): added make.com api_token and mcp_token detectors #4347
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
base: main
Are you sure you want to change the base?
Conversation
Thank you @Jeff-Rowell for the contribution. |
* feat: add webexbot support * build proto using make * remove generic words * added the secret scanner to the engine defaults * remove keywords from regex and PR suggestions * fixed pattern tests * return err to set on results and remove duplicate keyword --------- Co-authored-by: Shahzad Haider <[email protected]> Co-authored-by: Shahzad Haider <[email protected]> Co-authored-by: Kashif Khan <[email protected]>
…y#4261) * add detector for tableau personal access token * add test for tableau detector * removed unnecessary checks * add cloud endpoint for tableau * cleanup: simplify map copying with maps.Copy * resolve comments * added correct detector type for tableau * updated tableau PAT key and corrected integration tests * resolved comments * updated test cases * resolved comments * fixed integration tests * removed redundant validation * resolved false positive issue * updated regex for pat-name * resolved comments * update regex for better token name extraction * simplify prefix regex for tableau pat name * merged main into origin/detector/tableau-personal-access-token --------- Co-authored-by: Amaan Ullah <[email protected]>
@amanfcp Thanks for taking a look. Merge conflicts have been resolved |
@amanfcp Anything else needed from me here? |
@Jeff-Rowell We’re currently evaluating whether support for make.com aligns with our goals and provides enough value to justify ongoing maintenance. |
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.
I've reviewed about half of the PR and left some feedback. Once those are addressed, I'll go ahead and review the rest.
Thanks for the contribution @Jeff-Rowell ❤️ |
Co-authored-by: Kashif Khan <[email protected]>
- updated verifyMatch to prepend https:// and append /api/v2/ - updated keywords for api_token and mcp_token - replaced FindAllString() instead of FindAllStringSubmatch() - updated FromData to only return results if an endpoint is configured or found - removed duplicate endpoint slice length validation and changed verifyMatch() argument type to be a string instead of a slice of strings - added a trailing empty line in api_token_test.go to pass gofmt checks Co-authored-by: Kashif Khan <[email protected]> Co-authored-by: Jeff Rowell <[email protected]>
@kashifkhan0771 Thanks for the review and recommendations. I believe I've got everything updated per your suggestions. Please take a look. Thank you 🙌 |
Description:
Make.com is a low-code/no-code automation platform that allows users to connect apps and services typically to automate business workflows. I've added two new detectors for Make.com:
https://<MAKE_ZONE>/mcp/api/v1/u/<MCP_TOKEN>/sse
. The detector finds these URLs and looks for a 200 OK response when calling them.Checklist:
make test-community
)?make lint
this requires golangci-lint)?