Skip to main content

Set New Policy Rule

Adds a new policy rule in a policy set for the specified set ID.

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 Rule ResourceThe object of the new policy rule. For more information on the supported object's attributes, please refer to Zscaler ZPA documentation.
Policy Set IDThe unique identifier of the policy set.
Tenant IDThe unique identifier of the ZPA tenant.

Example Output

{
"action": "ALLOW",
"appServerGroups": [
{
"name": "string",
"enabled": true,
"dynamicDiscovery": true
}
],
"appConnectorGroups": [
{
"name": "string",
"enabled": true,
"connectors": [
{
"name": "string",
"enabled": true,
"controlChannelStatus": "UNKNOWN",
"currentVersion": "string",
"upgradeStatus": "COMPLETE"
}
]
}
],
"conditions": [
{
"negated": true,
"operator": "AND"
}
],
"name": "string",
"operator": "AND",
"policySetId": 0,
"policyType": 0,
"priority": 0,
"serviceEdgeGroups": [
{
"name": "string",
"enabled": true,
"serviceEdges": [
{
"name": "string",
"enabled": true,
"controlChannelStatus": "UNKNOWN",
"currentVersion": "string",
"upgradeStatus": "COMPLETE"
}
]
}
]
}

Workflow Library Example

Set New Policy Rule with Zscaler Private Access and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop