list_firewall_auth_sessions
List users authenticated against identity-based firewall policies on a FortiGate device, including username, source IP, method, and session duration; optionally filter by VDOM.
Instructions
List users currently authenticated against identity-based firewall policies.
Requires an API profile with permission on the user monitor (otherwise FortiOS returns 403).
Parameters:
device_id: Identifier of the FortiGate device
vdom: Virtual Domain name (optional)
Returns:
Username, source IP, method, duration per authenticated user
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |