Skip to content

Commit 4a95f5c

Browse files
nmelehanleslitagordita
authored andcommitted
[Update] Firewall limits
Inserting descriptions for these limits: - Up to three active Firewalls per Device - Up to 25 Rules per Firewall - Up to 255 addresses or networks per Rule - Up to 15 pieces in a Rule's ports string Did not include a description of how an Account's Firewall limit is the same as the Account's thing limit, as we do not describe the thing limit in other areas of the API reference.
1 parent 8911266 commit 4a95f5c

File tree

1 file changed

+24
-7
lines changed

1 file changed

+24
-7
lines changed

openapi.yaml

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8748,8 +8748,10 @@ paths:
87488748
Firewall to a Linode service. Currently, Firewalls can only be assigned to Linode
87498749
instances.
87508750

8751-
A Firewall can be assigned to multiple Linode services, and multiple Firewalls can be
8752-
assigned to a single Linode service.
8751+
A Firewall can be assigned to multiple Linode services, and up to three active Firewalls
8752+
can be assigned to a single Linode service. Additional disabled Firewalls can be
8753+
assigned to a service, but they cannot be enabled if three other active Firewalls
8754+
are already assigned to the same service.
87538755

87548756
A `firewall_create` Event is generated when this endpoint returns successfully.
87558757

@@ -9086,6 +9088,10 @@ paths:
90869088
description: |
90879089
Creates a Firewall Device, which assigns a Firewall to a Linode service (referred to
90889090
as the Device's `entity`). Currently, only Devices with an entity of type `linode` are accepted.
9091+
A Firewall can be assigned to multiple Linode services, and up to three active Firewalls can
9092+
be assigned to a single Linode service. Additional disabled Firewalls can be
9093+
assigned to a service, but they cannot be enabled if three other active Firewalls
9094+
are already assigned to the same service.
90899095

90909096
Creating a Firewall Device will apply the Rules from a Firewall to a Linode service.
90919097
A `firewall_device_add` Event is generated when the Firewall Device is added successfully.
@@ -14721,7 +14727,7 @@ components:
1472114727
type: object
1472214728
description: >
1472314729
A resource that controls incoming and outgoing network traffic to a Linode service. A Firewall can
14724-
be assigned to multiple Linode services, and multiple Firewalls can be assigned to a single Linode service.
14730+
be assigned to multiple Linode services, and up to three active Firewalls can be assigned to a single Linode service.
1472514731
[Create a Firewall Device](http://developers.linode.com/api/v4/networking-firewalls-firewall-id-devices/#post)
1472614732
to assign a Firewall to a Linode service. Currently, Firewalls can only be assigned to Linode instances.
1472714733
properties:
@@ -14780,15 +14786,17 @@ components:
1478014786
x-linode-cli-display: 3
1478114787
rules:
1478214788
type: object
14783-
description: >
14784-
The inbound and outbound access rules to apply to the Firewall.
14789+
description: |
14790+
The inbound and outbound access rules to apply to the Firewall.
1478514791

1478614792
* A minimum of one open inbound rule is required. Any inbound
1478714793
traffic that is not permitted by your rules will be blocked.
1478814794
* Outbound rules are optional. When no outbound rules are specified,
1478914795
all outbound traffic is allowed. If one or more outbound rules are
1479014796
specified, all outbound traffic that is not permitted by your rules
1479114797
will be blocked.
14798+
14799+
A Firewall may have up to 25 rules across its inbound and outbound rulesets.
1479214800
properties:
1479314801
inbound:
1479414802
type: array
@@ -14840,11 +14848,16 @@ components:
1484014848
- Ports must be within 1 and 65535.
1484114849
- Ports may not be specified if a rule's protocol is `ICMP`. At least one port
1484214850
must be specified if a rule's protocol is `TCP` or `UDP`.
14851+
- The ports string can have up to 15 *pieces*, where a single port is treated
14852+
as one piece, and a port range is treated as two pieces. For example,
14853+
the string "22-24, 80, 443" has four pieces.
1484314854
example: '22-24, 80, 443'
1484414855
addresses:
1484514856
type: object
1484614857
description: >
14847-
Whitelisted IPv4 or IPv6 addresses.
14858+
Whitelisted IPv4 or IPv6 addresses. A Rule can have up to 255 addresses
14859+
or networks listed across its IPv4 and IPv6 arrays. A network and a single IP
14860+
are treated as equivalent when accounting for this limit.
1484814861
properties:
1484914862
ipv4:
1485014863
description: A list of IPv4 addresses or networks.
@@ -14864,7 +14877,11 @@ components:
1486414877
FirewallDevices:
1486514878
type: object
1486614879
description: >
14867-
Associates a Firewall with a Linode service.
14880+
Associates a Firewall with a Linode service. A Firewall can be assigned
14881+
to multiple Linode services, and up to three active Firewalls can
14882+
be assigned to a single Linode service. Additional disabled Firewalls can be
14883+
assigned to a service, but they cannot be enabled if three other active Firewalls
14884+
are already assigned to the same service.
1486814885
properties:
1486914886
id:
1487014887
x-linode-filterable: true

0 commit comments

Comments
 (0)