list_firewall_groups
list_firewall_groups
Section titled “list_firewall_groups”List reusable firewall groups (address, IPv6-address, and port groups).
Side effects: None (read-only).
Firewall groups are named, reusable sets of addresses or ports that
firewall rules and other policies reference by _id instead of
repeating literals. Returns one record per group with _id,
name, group_type (address-group/ipv6-address-group/
port-group), and group_members (the list of CIDRs, IPs, or
ports).
Example
Section titled “Example”list_firewall_groups(controller="default")Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
controller | string | no | ”default” | Name of the UniFi controller to target. Defaults to "default". |