Get Security Events Tool
get_security_events_toolRetrieve and group Cloudflare security/firewall events by action and source. Pass a zone ID or zone name to inspect activity over a selected date range.
Instructions
Get security/firewall events grouped by action and source.
Provide either zone_id or zone_name, not both.
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": "get_security_events_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of results (default: 20) | |
| since | No | Start date ISO format (default: 30 days ago) | |
| until | No | End date ISO format (default: today) | |
| zone_id | No | Zone ID (32-character hex string) | |
| zone_name | No | Zone name (domain like example.com) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||