- Notifications
You must be signed in to change notification settings - Fork897
Adding SecretScanning Toolset#280
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
d31dd8b
to6c01bf9
CompareThere 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.
Pull Request Overview
This PR introduces a new secret scanning toolset to the MCP server by adding two new commands: GetSecretScanningAlert and ListSecretScanningAlerts.
- Integrates secret scanning tools into the toolset initialization in pkg/github/tools.go.
- Implements secret scanning functionalities in pkg/github/secret_scanning.go with accompanying tests in pkg/github/secret_scanning_test.go.
- Updates the README.md with usage documentation for the new secret scanning endpoints.
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
pkg/github/tools.go | Registers the secret scanning tools into the toolset collection. |
pkg/github/secret_scanning_test.go | Provides tests ensuring correct behavior of the secret scanning tool handlers. |
pkg/github/secret_scanning.go | Implements the GetSecretScanningAlert and ListSecretScanningAlerts functions. |
README.md | Adds documentation detailing the usage of the new secret scanning tools. |
Uh oh!
There was an error while loading.Please reload this page.
tonytrg commentedApr 16, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Did a manual test run:
|
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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 think this looks great, just a couple of small comments.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Sam Morrow <info@sam-morrow.com>
…/github-mcp-server into tonytrg/add-secret-scanning-tools
@SamMorrowDrums good eye for product names. |
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.
Great work Tony!
7c197f5
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
This PR adds: