You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type of network traffic affected by this rule.
21002
21002
example: TCP
21003
21003
ports:
21004
21004
type: string
21005
21005
description: |
21006
-
A string representing the port or ports on which traffic will be allowed:
21006
+
A string representing the port or ports affected by this rule:
21007
21007
21008
21008
- The string may be a single port, a range of ports, or a comma-separated list of single ports and port ranges. A space is permitted following each comma.
21009
21009
- A range of ports is inclusive of the start and end values for the range. The end value of the range must be greater than the start value.
21010
21010
- Ports must be within 1 and 65535, and may not contain any leading zeroes. For example, port "080" is not allowed.
21011
-
- Ports may not be specified if a rule's protocol is `ICMP` or `IPENCAP`.
21012
-
- At least one port must be specified if a rule's protocol is `TCP` or `UDP`.
21013
21011
- The ports string can have up to 15 *pieces*, where a single port is treated as one piece, and a port range is treated as two pieces. For example, the string "22-24, 80, 443" has four pieces.
21012
+
- If no ports are configured, all ports are affected.
21014
21013
example: '22-24, 80, 443'
21015
21014
addresses:
21016
21015
type: object
21017
-
description: >
21018
-
Allowed IPv4 or IPv6 addresses. A Rule can have up to 255 addresses
21019
-
or networks listed across its IPv4 and IPv6 arrays. A network and a single IP
21020
-
are treated as equivalent when accounting for this limit.
21016
+
description: |
21017
+
The IPv4 and/or IPv6 addresses affected by this rule. A Rule can have up to 255 total addresses or networks listed across its IPv4 and IPv6 arrays. A network and a single IP are treated as equivalent when accounting for this limit.
21018
+
21019
+
Must contain `ipv4`, `ipv6`, or both.
21021
21020
properties:
21022
21021
ipv4:
21023
-
description: A list of IPv4 addresses or networks. Must be in IP/mask format.
21022
+
description: |
21023
+
A list of IPv4 addresses or networks. Must be in IP/mask format.
21024
+
21025
+
If "0.0.0.0/0" is included in this list, all IPv4 addresses are affected by this rule.
21024
21026
type: array
21025
21027
items:
21026
21028
type: string
21027
21029
example:
21028
-
- 192.0.2.0/24
21030
+
- 192.0.2.2/32
21029
21031
ipv6:
21030
-
description: A list of IPv6 addresses or networks. Must be in IP/mask format.
21032
+
description: |
21033
+
A list of IPv6 addresses or networks. Must be in IP/mask format.
21034
+
21035
+
If "::/0" is included in this list, all IPv6 addresses are affected by this rule.
0 commit comments