Get Security Policy Rules (v2.0)
GET/sdwan/v2.0/api/securitypolicysets/:policy_set_id/securitypolicyrules
List the tenant security policy rules.
Request
Path Parameters
policy_set_id stringrequired
ID of the security policy set.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
count int32
The actual count.
id string
The ID.
items SecurityPolicyRule[]
action string
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.
application_ids string[]required
The security policy rule application ID.
description
The description of the security policy rule. Max size = 256.
destination_filter_ids string[]
The destination filter IDs. Max list of prefix IDs is 16.
destination_zone_ids string[]required
The destination zone IDs. Max list of zone IDs is 16.
disabled_flag boolean
The security policy rule, if disabled.
id string
The security policy rule ID.
name stringrequired
The name of the security policy rule. Max size = 128.
source_filter_ids string[]
The source filter IDs. Max list of IDs is 16.
source_zone_ids string[]required
The source zone IDs. Max list of IDs is 16.
{
"count": 0,
"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[]
code string
The error code.
message string
The error message.
{
"_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"
}
]
}
}
Loading...