blocked_traffic_rca
Rank blocked firewall sources from logs by hit volume and ports, classify cause as port scan, service probe, or generic, and recommend an action.
Instructions
[READ] Rank the noisiest blocked sources and classify cause + action.
Keeps only blocked firewall-log entries, aggregates by source (hit count, distinct destination ports, busiest port), ranks the noisiest sources, and classifies each as a port scan, a service probe/brute-force on a sensitive port, or generic — with a recommended action. Every entry carries its numbers. Pass 'log_entries' for pure analysis, or a target to pull live.
Args: top: How many source rows to return, noisiest first (default 20). limit: How many recent log rows to pull when live (default 500). log_entries: Injected rows {action, source, destination, destinationPort, protocol}; skips the live pull. target: Firewall target name from config; omit for the default.
Returns dict: {blocksEvaluated, distinctSources, topSources:[{source, hits, distinctPorts, topPort, topPortHits, cause, action}], note}.
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": "blocked_traffic_rca"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| limit | No | ||
| target | No | ||
| log_entries | No |