Get Proposed Security Policy Rule
Retrieves detailed information about a specific rule within a proposed security policy.
Unique identifier of the segmentation session.
Unique identifier of the proposed security policy.
Unique identifier of the rule.
Successfully retrieved rule
{
"id": "SSP_Infra_tcp_80_Rule",
"display_name": "SSP_tcp_80",
"description": "SSP created rule for tcp_80 for SSP_Infra_tcp_80",
"_revision": 0,
"action": "ALLOW",
"disabled": false,
"proposed_sync_action": "OVERWRITE",
"nsx_rule": {
"resource_type": "Rule",
"id": "SSP_Infra_tcp_80_Rule",
"path": "/infra/domains/default/security-policies/SSP_Infra_Custom_Policy/rules/SSP_Infra_tcp_80_Rule",
"display_name": "SSP_tcp_80",
"description": "SSP created rule for tcp_80 for SSP_Infra_tcp_80",
"sequence_number": 1000,
"direction": "IN_OUT",
"source_groups": [
"ANY"
],
"destination_groups": [
"/infra/domains/default/groups/6a2b432f-9a52-3898-ad88-2900435a1d1a"
],
"action": "ALLOW",
"services": [
"ANY"
],
"service_entries": [
{
"resource_type": "L4PortSetServiceEntry",
"l4_protocol": "TCP",
"destination_ports": [
"80"
]
}
]
}
}
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unexpected error
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -H 'Authorization: <value>' https://{api_host}/ssp/segmentation/{session-id}/results/proposed-security-policies/{policy-id}/rules/{rule-id}