Get Firewall Rules

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


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns EdgeFirewallRules of type(s) application/json;version=36.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"
        }
    ],
    "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"
        }
    ],
    "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"
        }
    ]
}

404

The specified resource was not found

Returns Error of type(s) application/json;version=36.3
{
    "minorErrorCode": "string",
    "message": "string",
    "stackTrace": "string"
}
string
minorErrorCode
Required

minorErrorCode

string
message
Required

message

string
stackTrace
Optional

stackTrace