Firewall Get Enterprise Firewall Rules

Firewall Get Enterprise Firewall Rules

Gets firewall rules for the specified enterprise.

Privileges required:

READ EDGE

VIEW_FIREWALL_LOGS undefined

Request
URI
POST
https://{api_host}/portal/rest/firewall/getEnterpriseFirewallRules
COPY
Request Body
{
    "enterpriseId": 0,
    "ruleLogicalIds": [
        "string"
    ],
    "ruleNames": [
        "string"
    ]
}
integer
enterpriseId
Optional

enterpriseId

array of string
ruleLogicalIds
Optional

ruleLogicalIds

array of string
ruleNames
Optional

ruleNames

Responses
200

Request was successfully processed

Returns firewall_get_enterprise_firewall_rules_result of type(s) application/json
{
    "rules": [
        {
            "created": "string",
            "data": "string",
            "deactivated": "string",
            "edgeLogicalId": "string",
            "enterpriseId": 0,
            "id": 0,
            "logicalId": "string",
            "name": "string",
            "type": "string"
        }
    ]
}
array of object
rules
Optional

rules


400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/portal/rest/firewall/getEnterpriseFirewallRules