blocked_traffic_rca
Identifies the noisiest blocked firewall sources, ranks them by hit count, and classifies each as port scan, service probe/brute-force, or generic with a recommended action to resolve the cause.
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}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| limit | No | ||
| target | No | ||
| log_entries | No |