PolicyRule Schema
Data structure for Policy Rule objects.
Fields
| Field | Type | Required | Description | Notes |
|---|---|---|---|---|
id | long | No | - | - |
modified_time | integer | No | - | API field: modified_time |
creation_time | integer | No | - | API field: creation_time |
modified_by | long | No | - | API field: modified_by |
name | string | Yes | - | - |
microtenant_id | long | No | - | API field: microtenant_id |
microtenant_name | string | No | - | API field: microtenant_name |
restriction_type | string | No | - | API field: restriction_type |
description | string | No | - | - |
rule_order | integer | No | - | API field: rule_order |
priority | integer | No | - | - |
policy_type | integer | Yes | - | API field: policy_type |
operator | string | Yes | - | - |
action_id | long | No | - | API field: action_id |
action | string | Yes | - | - |
reauth_timeout | integer | No | - | API field: reauth_timeout |
reauth_idle_timeout | integer | No | - | API field: reauth_idle_timeout |
custom_msg | string | No | - | API field: custom_msg |
disabled | integer | No | - | - |
service_edge_groups | ServiceEdgeGroupWrapperCollection | No | - | API field: service_edge_groups |
app_connector_groups | AppConnectorGroupWrapperCollection | No | - | API field: app_connector_groups |
credential | NameId | No | - | - |
credential_pool | NameId | No | - | API field: credential_pool |
zpn_isolation_profile_id | long | No | - | API field: zpn_isolation_profile_id |
zpn_inspection_profile_id | long | No | - | API field: zpn_inspection_profile_id |
post_action_types | stringCollection | No | - | API field: post_action_types |
post_actions | PolicyRulePostActions | No | - | API field: post_actions |
zpn_inspection_profile_name | string | No | - | API field: zpn_inspection_profile_name |
extranet_DTO | Extranet | No | - | API field: extranet_DTO |
extranet_enabled | boolean | No | - | API field: extranet_enabled |
device_posture_failure_notification_enabled | boolean | No | - | API field: device_posture_failure_notification_enabled |
inconsistent_config_details | InconsistentConfigDetails | No | - | API field: inconsistent_config_details |
policy_set_id | long | No | - | API field: policy_set_id |
privileged_capabilities | PrivilegedCapabilities | No | - | API field: privileged_capabilities |
privileged_portal_capabilities | PrivilegedPortalCapabilities | No | - | API field: privileged_portal_capabilities |
conditions | ConditionSetWrapperCollection | No | - | - |
app_server_groups | AppServerGroupWrapperCollection | No | - | API field: app_server_groups |
default_rule_name | string | No | - | API field: default_rule_name |
default_rule | boolean | No | - | API field: default_rule |
read_only | boolean | No | - | API field: read_only |
zscaler_managed | boolean | No | - | API field: zscaler_managed |
name_without_trim | string | No | - | API field: name_without_trim |
Example
{
"id": 123,
"modified_time": 123,
"creation_time": 123,
"modified_by": 123,
"name": "string",
"microtenant_id": 123,
"microtenant_name": "string",
"restriction_type": "string"
}
// ... more fields