Skip to content

Commit d576343

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 51597db commit d576343

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
@@ -8943,8 +8943,10 @@ paths:
89438943
Firewall to a Linode service. Currently, Firewalls can only be assigned to Linode
89448944
instances.
89458945

8946-
A Firewall can be assigned to multiple Linode services, and multiple Firewalls can be
8947-
assigned to a single Linode service.
8946+
A Firewall can be assigned to multiple Linode services, and up to three active Firewalls
8947+
can be assigned to a single Linode service. Additional disabled Firewalls can be
8948+
assigned to a service, but they cannot be enabled if three other active Firewalls
8949+
are already assigned to the same service.
89488950

89498951
A `firewall_create` Event is generated when this endpoint returns successfully.
89508952

@@ -9281,6 +9283,10 @@ paths:
92819283
description: |
92829284
Creates a Firewall Device, which assigns a Firewall to a Linode service (referred to
92839285
as the Device's `entity`). Currently, only Devices with an entity of type `linode` are accepted.
9286+
A Firewall can be assigned to multiple Linode services, and up to three active Firewalls can
9287+
be assigned to a single Linode service. Additional disabled Firewalls can be
9288+
assigned to a service, but they cannot be enabled if three other active Firewalls
9289+
are already assigned to the same service.
92849290

92859291
Creating a Firewall Device will apply the Rules from a Firewall to a Linode service.
92869292
A `firewall_device_add` Event is generated when the Firewall Device is added successfully.
@@ -15003,7 +15009,7 @@ components:
1500315009
type: object
1500415010
description: >
1500515011
A resource that controls incoming and outgoing network traffic to a Linode service. A Firewall can
15006-
be assigned to multiple Linode services, and multiple Firewalls can be assigned to a single Linode service.
15012+
be assigned to multiple Linode services, and up to three active Firewalls can be assigned to a single Linode service.
1500715013
[Create a Firewall Device](http://developers.linode.com/api/v4/networking-firewalls-firewall-id-devices/#post)
1500815014
to assign a Firewall to a Linode service. Currently, Firewalls can only be assigned to Linode instances.
1500915015
properties:
@@ -15062,15 +15068,17 @@ components:
1506215068
x-linode-cli-display: 3
1506315069
rules:
1506415070
type: object
15065-
description: >
15066-
The inbound and outbound access rules to apply to the Firewall.
15071+
description: |
15072+
The inbound and outbound access rules to apply to the Firewall.
1506715073

1506815074
* A minimum of one open inbound rule is required. Any inbound
1506915075
traffic that is not permitted by your rules will be blocked.
1507015076
* Outbound rules are optional. When no outbound rules are specified,
1507115077
all outbound traffic is allowed. If one or more outbound rules are
1507215078
specified, all outbound traffic that is not permitted by your rules
1507315079
will be blocked.
15080+
15081+
A Firewall may have up to 25 rules across its inbound and outbound rulesets.
1507415082
properties:
1507515083
inbound:
1507615084
type: array
@@ -15122,11 +15130,16 @@ components:
1512215130
- Ports must be within 1 and 65535.
1512315131
- Ports may not be specified if a rule's protocol is `ICMP`. At least one port
1512415132
must be specified if a rule's protocol is `TCP` or `UDP`.
15133+
- The ports string can have up to 15 *pieces*, where a single port is treated
15134+
as one piece, and a port range is treated as two pieces. For example,
15135+
the string "22-24, 80, 443" has four pieces.
1512515136
example: '22-24, 80, 443'
1512615137
addresses:
1512715138
type: object
1512815139
description: >
15129-
Whitelisted IPv4 or IPv6 addresses.
15140+
Whitelisted IPv4 or IPv6 addresses. A Rule can have up to 255 addresses
15141+
or networks listed across its IPv4 and IPv6 arrays. A network and a single IP
15142+
are treated as equivalent when accounting for this limit.
1513015143
properties:
1513115144
ipv4:
1513215145
description: A list of IPv4 addresses or networks.
@@ -15146,7 +15159,11 @@ components:
1514615159
FirewallDevices:
1514715160
type: object
1514815161
description: >
15149-
Associates a Firewall with a Linode service.
15162+
Associates a Firewall with a Linode service. A Firewall can be assigned
15163+
to multiple Linode services, and up to three active Firewalls can
15164+
be assigned to a single Linode service. Additional disabled Firewalls can be
15165+
assigned to a service, but they cannot be enabled if three other active Firewalls
15166+
are already assigned to the same service.
1515015167
properties:
1515115168
id:
1515215169
x-linode-filterable: true

0 commit comments

Comments
 (0)