List legacy firewall rules
unifi_list_legacy_firewall_rulesList all legacy firewall rules from the classic controller API for a specified site. View comprehensive WAN_IN, LAN_IN, and GUEST_LOCAL rulesets, including the full unpaged list.
Instructions
List the site's legacy firewall rules (WAN_IN, LAN_IN, GUEST_LOCAL and the other rulesets) from the classic controller API (rest/firewallrule), whole and unpaged. On a site that uses the zone-based firewall these rules may not be enforced; its rules are the policies unifi_list_firewall_policies returns. IDs are the classic controller's _id values, which differ from Integration API IDs: do not pass one to an Integration API tool, or the reverse. Rules reference networks by unifi_list_classic_networks IDs and groups by unifi_list_firewall_groups IDs. Sorted by ruleset, then rule_index, the order they are evaluated in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteReference | Yes | Site internalReference from unifi_list_sites (often default), not the Integration API UUID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| count | Yes | ||
| siteReference | Yes |