list_secret_scanning_alerts
Retrieve secret scanning alerts for a repo or org, with optional state filter. Requires GHAS and token with access.
Instructions
List secret-scanning alerts for a repo, or for an org if repo is omitted.
state: open | resolved. Requires GHAS/secret-scanning enabled and a token with access.
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>"
},
"name": "list_secret_scanning_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | ||
| owner | Yes | ||
| state | No | open |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |