Path Firewall Rules

Path Firewall Rules

Get firewall rules applicable in path for a client ip and server ip for specified port/protocol.

Request
URI
POST
https://www.mgmt.cloud.vmware.com/ni/api/ni/path/firewall-rules
COPY
Request Body

VMware Identity Manager configuration details

PathFirewallRulesRequest of type(s) application/json
Required
{
    "source_ip_address": "string",
    "destination_ip_address": "string",
    "port": "integer",
    "protocol": "string",
    "time": "integer"
}
string
source_ip_address
Optional

source_ip_address

string
destination_ip_address
Optional

destination_ip_address

integer As int32 As int32
port
Optional

port

string
protocol
Optional

protocol

integer As int64 As int64
time
Optional

time

Authentication
This operation uses the following authentication methods.
Responses
200

Success

Returns PathFirewallRules of type(s) application/json
{
    "firewalls": [
        {
            "firewall_entity_id": {
                "entity_id": "string",
                "entity_type": "string"
            },
            "vendor_info": {
                "vendor_ids": [
                    {
                        "id_type": "string",
                        "id_value": "string"
                    }
                ],
                "manager": {
                    "entity_id": "string",
                    "entity_type": "string"
                }
            },
            "manager": {
                "entity_id": "string",
                "entity_type": "string"
            },
            "rules": [
                {
                    "entity_id": "string",
                    "name": "string",
                    "entity_type": "string",
                    "rule_id": "string",
                    "section_id": "string",
                    "section_name": "string",
                    "sequence_number": "integer",
                    "source_any": "boolean",
                    "destination_any": "boolean",
                    "service_any": "boolean",
                    "sources": [
                        {
                            "entity_id": "string",
                            "entity_type": "string"
                        }
                    ],
                    "destinations": [
                        {
                            "entity_id": "string",
                            "entity_type": "string"
                        }
                    ],
                    "services": [
                        {
                            "entity_id": "string",
                            "entity_type": "string"
                        }
                    ],
                    "action": "string",
                    "disabled": "boolean",
                    "source_inversion": "boolean",
                    "destination_inversion": "boolean",
                    "port_ranges": [
                        {
                            "start": "integer",
                            "end": "integer",
                            "display": "string",
                            "iana_name": "string",
                            "iana_port_display": "string"
                        }
                    ]
                }
            ]
        }
    ]
}
firewalls
Optional

firewalls


400

Bad Request

Returns ApiError of type(s) application/json
{
    "code": "integer",
    "message": "string",
    "details": [
        {
            "code": "integer",
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

details
Optional

details


401

Unauthorized

Operation doesn't return any data structure

500

Internal Error

Operation doesn't return any data structure