Nov 30, 2026 — Cloud Firewalls added rule count to API responses
about 3 hours ago
The Cloud Firewall API now exposes a read-only effective_rule_count integer field under the rules object across all firewall and Linode firewall endpoints (GET, POST, and PUT).
This value returns the total number of rules counted toward your firewall rule limit automatically summing standalone inbound and outbound rules along with expanded rules from referenced user-defined rulesets, while excluding service-defined rulesets.
Updated endpoints:
- List firewalls.
GET /networking/firewalls - Get a firewall.
GET /networking/firewalls/{firewallId} - List firewall rules.
GET /networking/firewalls/{firewallId}/rules - Create a firewall.
POST /networking/firewalls - Update a firewall.
PUT /networking/firewalls/{firewallId} - Update firewall rules.
PUT /networking/firewalls/{firewallId}/rules - List a Linode's firewalls.
GET /linode/instances/{linodeId}/firewalls - Update a Linode's firewalls.
PUT /linode/instances/{linodeId}/firewalls
