Get Firewall Rules
Retrieves all user-defined and default firewall rules for a given edge gateway. The rules are returned in the order of precedence.
Request
URI
GET
https://{api_host}/cloudapi/1.0.0/edgeGateways/{gatewayId}/firewall/rules
COPY
Path Parameters
string
gatewayId
Required
gatewayId
string
gatewayId
Required
gatewayId
Responses
200
OK
Returns EdgeFirewallRules of type(s) application/json;version=37.3
This response body class contains all of the following: NetworkingObjectStatus , InlineEdgeFirewallRules1
{
"systemRules": [
{
"id": "string",
"name": "string",
"description": "string",
"sourceFirewallGroups": [
{
"name": "string",
"id": "string"
}
],
"destinationFirewallGroups": [
{
"name": "string",
"id": "string"
}
],
"applicationPortProfiles": [
{
"name": "string",
"id": "string"
}
],
"actionValue": "string",
"logging": false,
"networkContextProfiles": [
{
"name": "string",
"id": "string"
}
],
"enabled": false,
"version": {
"version": 0
},
"comments": "string",
"appliedTo": {
"name": "string",
"id": "string"
}
}
],
"userDefinedRules": [
{
"id": "string",
"name": "string",
"description": "string",
"sourceFirewallGroups": [
{
"name": "string",
"id": "string"
}
],
"destinationFirewallGroups": [
{
"name": "string",
"id": "string"
}
],
"applicationPortProfiles": [
{
"name": "string",
"id": "string"
}
],
"actionValue": "string",
"logging": false,
"networkContextProfiles": [
{
"name": "string",
"id": "string"
}
],
"enabled": false,
"version": {
"version": 0
},
"comments": "string",
"appliedTo": {
"name": "string",
"id": "string"
}
}
],
"defaultRules": [
{
"id": "string",
"name": "string",
"description": "string",
"sourceFirewallGroups": [
{
"name": "string",
"id": "string"
}
],
"destinationFirewallGroups": [
{
"name": "string",
"id": "string"
}
],
"applicationPortProfiles": [
{
"name": "string",
"id": "string"
}
],
"actionValue": "string",
"logging": false,
"networkContextProfiles": [
{
"name": "string",
"id": "string"
}
],
"enabled": false,
"version": {
"version": 0
},
"comments": "string",
"appliedTo": {
"name": "string",
"id": "string"
}
}
]
}
404
The specified resource was not found
Returns Error of type(s) application/json;version=37.3
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
Availability
Added in 33.0
Edge Gateway Firewall Rules Operations
DELETE
Delete Firewall Rules
GET
Get Firewall Rules
PUT
Update Firewall Rules