zap_scan
Run OWASP ZAP baseline, full, or API scans against a target URL to identify web application vulnerabilities, with configurable daemon settings, logging, and XML, JSON, or HTML reports.
Instructions
Execute OWASP ZAP with enhanced logging.
Args: target: Target URL scan_type: Type of scan (baseline, full, api) api_key: ZAP API key daemon: Run in daemon mode port: Port for ZAP daemon host: Host for ZAP daemon format_type: Output format (xml, json, html) output_file: Output file path additional_args: Additional ZAP arguments
Returns: ZAP scan results
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_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | 0.0.0.0 | |
| port | No | 8090 | |
| daemon | No | ||
| target | No | ||
| api_key | No | ||
| scan_type | No | baseline | |
| format_type | No | xml | |
| output_file | No | ||
| additional_args | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |