list_sessions
Retrieve and filter current FortiGate firewall sessions by source/destination IP, port, policy ID, or VDOM. Optionally label IPs/MACs with their Proxmox VM.
Instructions
Current firewall sessions, optionally filtered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | VDOM (default: FORTIGATE_VDOM, usually root) | |
| count | No | Maximum sessions to return (default 50) | |
| dstaddr | No | Filter by destination IP | |
| dstport | No | Filter by destination port | |
| srcaddr | No | Filter by source IP | |
| policyid | No | Filter by policy ID | |
| resolve_vms | No | Label IPs/MACs with the Proxmox VM that owns them (needs PROXMOX_*) |