diagnose_flow
Analyze firewall traffic flow to identify why a connection is blocked or allowed, checking user mapping, matching security rules, and recent logs.
Instructions
[READ-ONLY] Analyzes a flow (source -> destination:port) on a firewall: User-ID mapping and groups of the source, rule the firewall actually matches (test security-policy-match with the user), rules allowing the requested application, and recent traffic logs explained. Use for 'no rule allows X', upload app functions, App-ID or network issues.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | User name, with or without domain (e.g. 'jdoe' or 'corp\\jdoe') | |
| device | No | Specific firewall; usually omit it (inferred from the source's traffic or device_group). | |
| period | No | Relative time window on receive_time (default: last-24-hrs) | |
| src_ip | No | IP address | |
| firewall | No | Panorama entry from firewalls.json. Optional when a single Panorama is configured. | |
| protocol | No | Default 6 (TCP) | |
| application | No | App-ID, e.g. 'box-uploading'. Partial names also search related functions (e.g. 'box') | |
| destination | Yes | Destination IP (pre-NAT) | |
| device_group | No | Device group name (includes what it inherits from shared and parent groups), or 'shared'. When omitted, every location is searched. | |
| destination_port | Yes |