Skip to main content

Get Policy

Get the policy set for the specified policy type.

External Documentation

To learn more, visit the Zscaler Private Access documentation.

Parameters

ParameterDescription
Microtenant IDThe unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, insert 0.
Policy TypeThe policy type to search by.
Tenant IDThe unique identifier of the ZPA tenant.

Example Output

{
"creationTime": 0,
"description": "string",
"enabled": true,
"id": 0,
"modifiedBy": 0,
"modifiedTime": 0,
"name": "string",
"policyType": 0,
"rules": [
{
"action": "ALLOW",
"actionId": 0,
"appServerGroups": [
{
"configSpace": "DEFAULT",
"creationTime": 0,
"description": "string",
"enabled": true,
"id": 0,
"dynamicDiscovery": true,
"modifiedBy": 0,
"modifiedTime": 0,
"name": "string",
"microtenantId": 0,
"microtenantName": "string"
}
]
}
],
"microtenantId": 0,
"microtenantName": "string",
"sorted": true
}

Workflow Library Example

Get Policy with Zscaler Private Access and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop