zap.get_alerts
Retrieve security alerts from ZAP scans to identify vulnerabilities, with options to filter by URL, risk level, and paginate results.
Instructions
Get all security alerts from ZAP
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "zap.get_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseURL | No | Filter alerts by base URL (optional) | |
| start | No | Start index for pagination (optional) | |
| count | No | Number of alerts to return (optional) | |
| riskId | No | Filter by risk level: 0=Informational, 1=Low, 2=Medium, 3=High, 4=Critical (optional) |