list_address_groups
List FortiGate address groups with member names and counts to see which hosts or subnets a policy can reference in one entry.
Instructions
List address groups on a FortiGate device with their member names.
Address groups bundle address objects (and other groups) so one policy entry can reference many hosts/subnets. Use get_address_group_detail to resolve the members to IP values.
Parameters:
device_id: Identifier of the FortiGate device
vdom: Virtual Domain name (optional, uses device default)
Returns:
Group name, member count, member names, excluded members, comment
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |