get_secret_scanning_alert
Retrieve a specific GitHub secret-scanning alert using owner, repo, and alert number to examine security findings.
Instructions
Get a secret-scanning alert. Requires security_events PAT scope. Docs: https://docs.github.com/en/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"owner": "<owner>",
"repo": "<repo>",
"alert_number": "<alert_number>"
},
"name": "get_secret_scanning_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| owner | Yes | Repository owner (user or organization login) | |
| alert_number | Yes | The GitHub alert number (integer, per-repo). |