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
This issue happens when I retrieve Firewall data from /v2/firewalls/$FIREWALL_ID or /v2/firewalls.
My firewall outbound rules configuration looks like this:
Type
Protocol
Port Range
Destinations
ICMP
ICMP
All IPv4 All IPv6
All TCP
TCP
All ports
All IPv4 All IPv6
All UDP
UDP
All ports
All IPv4 All IPv6
The document is saying ports attribute will return as
The ports on which traffic will be allowed specified as a string containing a single port, a range (e.g. "8000-9000"), or "all" to open all ports for a protocol.
And when I try to make a request to update my firewall data using PUT to /v2/firewalls/$FIREWALL_ID by updating some fields on this returned data, I will get error 422 (Unprocessable Entity)
Now, I need to update ports values to the correct ones everytime before send PUT request. I think, at least, I should be able to use the returned data as base, make change only on wanted fields, and PUT back, without need to update unrelated fields.
The text was updated successfully, but these errors were encountered:
This issue happens when I retrieve Firewall data from
/v2/firewalls/$FIREWALL_ID
or/v2/firewalls
.My firewall outbound rules configuration looks like this:
The document is saying
ports
attribute will return asBut what I got from are
"0"
for each rule entry:And when I try to make a request to update my firewall data using
PUT
to/v2/firewalls/$FIREWALL_ID
by updating some fields on this returned data, I will get error422 (Unprocessable Entity)
Now, I need to update
ports
values to the correct ones everytime before sendPUT
request. I think, at least, I should be able to use the returned data as base, make change only on wanted fields, andPUT
back, without need to update unrelated fields.The text was updated successfully, but these errors were encountered: