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
Parameter | Description |
---|---|
Microtenant ID | The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, insert 0. |
Policy Rule Resource | The object of the new policy rule. For more information on the supported object's attributes, please refer to Zscaler ZPA documentation. |
Policy Set ID | The unique identifier of the policy set. |
Tenant ID | The 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
Preview this Workflow on desktop