Get Security Policy Rules (v2.0)
GET/v2.0/api/tenants/:tenant_id/securitypolicysets/:policy_set_id/securitypolicyrules
List the tenant security policy rules.
Request
Path Parameters
The tenant ID.
ID of the security policy set.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The number of responses.
The ID of the response.
The ID of the tenant.
items SecurityPolicyRule[]
The action taken for traffic matching this rule. It determine how the traffic from the specified source zone to the specified destination zone should respond.
The security policy rule application ID.
The description of the security policy rule. Max size = 256.
The destination filter IDs. Max list of prefix IDs is 16.
The destination zone IDs. Max list of zone IDs is 16.
The security policy rule, if disabled.
The security policy rule ID.
The name of the security policy rule. Max size = 128.
The source filter IDs. Max list of IDs is 16.
The source zone IDs. Max list of IDs is 16.
{
"count": 0,
"id": "string",
"tenant_id": "string",
"items": [
{
"action": "string",
"application_ids": [
"string"
],
"destination_filter_ids": [
"string"
],
"destination_zone_ids": [
"string"
],
"disabled_flag": true,
"id": "string",
"name": "string",
"source_filter_ids": [
"string"
],
"source_zone_ids": [
"string"
]
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "SECURITY_POLICY_RULE_SOURCE_ZONE_REQUIRED"
},
{
"code": "SECURITY_POLICY_RULE_APPLICATION_NAME_REQUIRED"
},
{
"code": "SECURITY_POLICY_RULE_DESCRIPTION_INVALID"
},
{
"code": "SECURITY_POLICY_RULE_NAME_INVALID"
},
{
"code": "SECURITY_POLICYRULE_NAME_REQUIRED"
},
{
"code": "SECURITY_POLICY_RULE_DESTINATION_ZONE_REQUIRED"
}
]
}
}