Skip to main content

PolicyRuleResource Schema

Data structure for Policy Rule Resource objects.

Fields​

FieldTypeRequiredDescriptionNotes
modified_timeintegerNo-API field: modified_time
creation_timeintegerNo-API field: creation_time
modified_bystringNo-API field: modified_by
idstringNo--
microtenant_idlongNo-API field: microtenant_id
microtenant_namestringNo-API field: microtenant_name
restriction_typestringNo-API field: restriction_type
actionstringYes--
app_server_groupsPolicyRuleAppServerGroupWrapperCollectionNo-API field: app_server_groups
service_edge_groupsPolicyRuleServiceEdgeGroupWrapperCollectionNo-API field: service_edge_groups
app_connector_groupsPolicyRuleAppConnectorGroupWrapperCollectionNo-API field: app_connector_groups
conditionsPolicyRuleConditionSetWrapperCollectionNo--
extranet_enabledbooleanNo-API field: extranet_enabled
extranet_DTOExtranetNo-API field: extranet_DTO
device_posture_failure_notification_enabledbooleanNo-API field: device_posture_failure_notification_enabled
custom_msgstringNo-API field: custom_msg
descriptionstringNo--
reauth_timeoutintegerNo-API field: reauth_timeout
reauth_idle_timeoutintegerNo-API field: reauth_idle_timeout
versionlongNo--
disabledintegerNo--
namestringYes--
policy_set_idlongNo-API field: policy_set_id
rule_orderintegerNo-API field: rule_order
zpn_isolation_profile_idlongNo-API field: zpn_isolation_profile_id
priorityintegerNo--
operatorstringNo--
policy_typeintegerNo-API field: policy_type
action_idlongNo-API field: action_id
zpn_inspection_profile_idlongNo-API field: zpn_inspection_profile_id
zpn_inspection_profile_namestringNo-API field: zpn_inspection_profile_name
credentialNameIdNo--
credential_poolNameIdNo-API field: credential_pool
privileged_capabilitiesPolicyRuleCapabilitiesNo-API field: privileged_capabilities
privileged_portal_capabilitiesPolicyRuleCapabilitiesNo-API field: privileged_portal_capabilities
post_actionsPolicyRulePostActionsNo-API field: post_actions
read_onlybooleanNo-API field: read_only
zscaler_managedbooleanNo-API field: zscaler_managed

Example​

{
"modified_time": 123,
"creation_time": 123,
"modified_by": "string",
"id": "string",
"microtenant_id": 123,
"microtenant_name": "string",
"restriction_type": "string",
"action": "string"
}
// ... more fields