Integrating Zscaler ZIA as a Security Platform

Elisity publishes Policy Groups to Zscaler Internet Access (ZIA) as IP Source Groups, so ZIA Firewall Filtering rules can use the identity-based grouping in Elisity as the source. You assign Policy Groups to a Zscaler Virtual Edge Node, and the Virtual Edge creates and maintains a matching IP Source Group for each one in ZIA, so administrators do not maintain IP address lists in ZIA. The Virtual Edge communicates with the Zscaler OneAPI by using an API client from your Zscaler ZIdentity tenant.

Prerequisites

Onboarding Zscaler ZIA requires a Virtual Edge running 26.10.0 or later and a ZIA tenant administered through ZIdentity. The integration uses the Zscaler OneAPI with OAuth 2.0 client credentials issued by ZIdentity, so ZIA legacy API keys are not used.

Zscaler Access

A Zscaler administrator who can create API roles and OneAPI API clients creates an API role with IP & FQDN Groups set to Full (Policy & Components > Shared Policy Components) and no other permission, and a OneAPI API client with the Client Credentials grant type and secret authentication, with the ZIA scope assigned to that API role. See Create the API Role and Create the API Client.

Virtual Edge Group

Elisity recommends a dedicated Virtual Edge Group that manages only the Zscaler Virtual Edge Node, as with Palo Alto Networks integrations, with at least two Virtual Edges for redundancy. One Virtual Edge in the group sends the changes to ZIA, and that role can move between the Virtual Edges, so every Virtual Edge in the group needs outbound HTTPS to the ZIdentity domain and the ZIA API, as listed in Connectivity Requirements.

Connectivity Requirements

Source Destination Traffic
Virtual Edge ZIdentity domain (<tenant>.zslogin.net) HTTPS (TCP 443), OAuth token
Virtual Edge api.zsapi.net (api.beta.zsapi.net for ZIdentity domains ending in zsloginbeta.net) HTTPS (TCP 443), ZIA API

Important: Connect each ZIA tenant to only one Elisity Virtual Edge Node. The Virtual Edge treats every IP Source Group whose name begins with Elisity_ as its own and deletes any that its Cloud Control Center did not assign. Two Virtual Edge Nodes connected to one ZIA tenant, in the same or in different Cloud Control Center tenants, delete each other's groups. Do not name your own ZIA groups with the Elisity_ prefix.

Configure Zscaler ZIA

In Zscaler, create an API role that grants access to IP Source Groups, then create the API client that the Virtual Edge uses to authenticate.

Create the API Role

Step 1. Navigate to Administration > Role Management > Internet & SaaS and click Add API Role.

Step 2. Enter a Name for the role (for example, Elisity Policy Groups) and set Reporting Access and Alerts Access to None. On the Policy & Components tab, open Shared Policy Components, select Custom and set IP & FQDN Groups to Full. This permission covers IP Source Groups and is the only one the integration needs, so leave the other permissions at None. Click Save.

Create the API Client

The Virtual Edge authenticates with the client ID and client secret of this API client. For details, see the Zscaler Adding API Clients guide.

Step 1. Navigate to Administration > API > OneAPI > API Clients, click Add API Client and select New Client.

Step 2. On the Client tab, enter a Name and Description (for example, Elisity Cloud Control Center). Leave Client ID empty to use a system-generated ID, keep Status enabled and leave Access Token Validity at the default of 10 minutes. The Virtual Edge renews tokens automatically. Under Grant Types, keep Client Credentials. Under Client Authentication, select Secret and set its expiry. The default is 30 days. Choose a period that matches your organization's policy for rotating client secrets. Copy the secret now. ZIdentity does not display it again.

Step 3. On the Resources tab, expand the ZIA scope and select the API role you created. Click Save.

Step 4. Open the API client and record the Client ID. Cloud Control Center asks for the Client ID, the client secret and the domain of your ZIdentity tenant (for example, acme.zslogin.net).

When the client secret expires, the Virtual Edge Node cannot authenticate. Add a new secret in ZIdentity before the current one expires and update the Virtual Edge Node, as described in Editing the Zscaler Credentials.

Configure Cloud Control Center

Step 1. Navigate to Edge Management > Virtual Edge Nodes, click Add Virtual Edge Node and select Add Single Virtual Edge Node.

Step 2. On the Choose a Virtual Edge step, select the dedicated Virtual Edge Group for the Zscaler integration and click Next.

Step 3. On the Virtual Edge Node Type step, select Security Platform and click Next. On the Security Platform Type step, select Zscaler and click Next. If Zscaler is not listed, contact Elisity Support.

Step 4. On the Virtual Edge Node Configuration step, enter your ZIdentity domain only in API Domain (for example, acme.zslogin.net), without https:// or a path, and Cloud Control Center displays the derived token endpoint below the field. Enter the Client ID and Client Secret of the API client. Description is optional.

Step 5. Click Test Connection. The button is available after the API Domain, Client ID and Client Secret pass validation. The test runs on the Virtual Edge selected in Step 2 and takes up to 30 seconds. It creates a temporary IP Source Group named elisity_test_group in ZIA, reads it and deletes it without activating the configuration, which confirms read and write access.

The result is displayed below the fields with a Re-test button. The test is informational: you can create the Virtual Edge Node regardless of the result, and changing any credential field clears it. For what each result means, see Test Connection Results.

Step 6. Click Next. Site Label and Distribution Zone do not apply to a Zscaler Virtual Edge Node, which publishes the devices of its assigned Policy Groups from all sites, so the Site Label and Distribution Zone step is unavailable in the wizard. Review the details on the Summary step and click Finish.

Step 7. In the Assign Policy Groups? dialog, move Policy Groups to Chosen Policy Groups and click Assign, or click Skip to assign them later from the Virtual Edge Node details page. See Mapping Policy Groups to IP Source Groups.

The Virtual Edge Node is listed under Edge Management > Virtual Edge Nodes, named after your API Domain (the wizard has no name field). Its details page shows Status as Online, Vendor as Zscaler and Model as ZIA. The API Domain and the masked Client ID are displayed in place of an IP address, Number of Prefixes replaces the number of devices, and a Policy Groups table replaces the port configuration.

Editing the Zscaler Credentials

To change the credentials, click Edit on the Virtual Edge Node details page. The Client Secret field is empty and shows Leave empty to keep the stored secret, and Test Connection works with the stored secret. To save, the API Domain must be a ZIdentity domain. Credential changes take effect without recommissioning the Virtual Edge Node.

Mapping Policy Groups to IP Source Groups

By default, no Policy Groups are published to ZIA. On the Virtual Edge Node details page, click Add Policy Groups (the button reads Edit Policy Groups once groups are assigned). In the Edit Policy Groups dialog, move groups from Available Policy Groups to Chosen Policy Groups and click Commit Changes. The available list loads 20 groups at a time. Click Load More to show more.

The details page lists the assigned Policy Groups, and Number of Prefixes shows the number of IP addresses published to ZIA. Unassign removes a Policy Group, one at a time or in bulk.

Within about a minute, the Virtual Edge creates one IP Source Group per Policy Group in ZIA. Changes can take longer when the Virtual Edge paces its calls to stay within Zscaler API rate limits, and deferred changes are sent automatically. Each group is named Elisity_<Group Tag Value>_<policy_group_name>, in lowercase with spaces replaced by underscores (for example, Elisity_20412_infusion_pump). The IP Source Group for a Policy Group contains the IP addresses of that Policy Group's devices from all sites, except devices in Isolated Distribution Zones, which are never published to ZIA. The Virtual Edge never changes IP Source Groups whose names do not start with Elisity_.

In the ZIA Admin Portal, the groups appear under Resources > IP & FQDN Groups on the Source IPv4 Groups tab, each with the IP addresses of the devices in its Policy Group. Use the groups in the Source IPv4 Groups criterion of ZIA Firewall Filtering rules to enforce internet access policy.

Keeping IP Source Groups Current

When devices join or leave a Policy Group, the IP addresses of its IP Source Group are updated automatically. Assigning a Policy Group creates its IP Source Group, and unassigning it removes the IP Source Group from ZIA on the next sync, unless a ZIA rule still references the group (see Troubleshooting).

Renaming a Policy Group that is assigned to the Zscaler Virtual Edge Node creates a new IP Source Group with the new name (Elisity_<Group Tag Value>_<new_name>) and deletes the old one. If a ZIA rule references the old group, ZIA refuses the delete. The old group stays in ZIA with its last IP addresses, the Virtual Edge no longer updates it, and the rule stops tracking the Policy Group. After you rename a Policy Group, edit each ZIA rule that references the old group to use the new group and activate the configuration, then delete the old group in ZIA.

Limits

One Zscaler Virtual Edge Node publishes up to 4,000 Policy Groups and up to 7,600 IP addresses in total, across all its Policy Groups. A single large Policy Group, such as all managed PCs, can use most of that total. Policy Groups and IP addresses beyond these limits are not published to ZIA.

ZIA also limits the IP address entries across all Source IP and Destination groups in the organization (16,000 by default), including groups created outside Elisity. See Ranges & Limitations in the Zscaler documentation.

Activation

After each sync cycle that creates, updates or deletes IP Source Groups, the Virtual Edge activates the ZIA configuration once, so the changes take effect without manual activation in ZIA. If your change-control procedures require manual activation, contact Elisity Support to disable automatic activation for the Virtual Edge. Changes then remain staged in ZIA until an administrator activates them.

Important: ZIA activation applies every pending change in the ZIA tenant. Changes that another administrator has staged in the ZIA Admin Portal are activated at the same time.

Decommissioning

Decommissioning the Zscaler Virtual Edge Node takes the integration out of service. The Virtual Edge deletes the IP Source Groups it published to ZIA and activates the ZIA configuration. Cloud Control Center keeps the Virtual Edge Node configuration so that it can be recommissioned.

Step 1. In the ZIA Admin Portal, find the firewall and other policy rules that use IP Source Groups whose names begin with Elisity_. Edit each rule to remove those groups, or delete the rule if it is no longer needed, then save and activate the configuration. A group that a rule still references stays in ZIA with its last IP addresses, and the Virtual Edge no longer updates it.

Step 2. Navigate to Edge Management > Virtual Edge Nodes, find the Zscaler Virtual Edge Node, click the Actions menu (⋮) in its row and select Decommission Virtual Edge Node. The Decommission button on the Virtual Edge Node details page does the same.

Step 3. In the Decommission Virtual Edge Node? dialog, click Decommission.

Step 4. The status changes to Decommission Started. While decommissioning is in progress, the row menu offers Recommission Virtual Edge Node and Force Delete Virtual Edge Node, and Delete Virtual Edge Node is unavailable. Use Force Delete Virtual Edge Node only if the decommission does not complete. Afterwards, check ZIA for any remaining IP Source Groups whose names begin with Elisity_ and delete them.

Step 5. Track progress from the notifications bell. In the Notifications panel, the Virtual Edge Node Decommissioning entry lists Decommission Triggered, Initiate Decommission, Disable Policy and Decommission Complete.

Step 6. When the status is Decommissioned, no IP Source Groups whose names begin with Elisity_ remain in ZIA. The row menu now offers Recommission Virtual Edge Node, Change Group and Delete Virtual Edge Node.

To remove the integration permanently, select Delete Virtual Edge Node from the row menu. To return it to service, select Recommission Virtual Edge Node. Recommissioning requires at least one online Virtual Edge in the Virtual Edge Group. The Virtual Edge Node Recommissioning activity entry lists Recommission Triggered, Node Reachable, Auth Check, IP Source Group Access, Registered and Recommission Complete, and the status returns to Online.

Troubleshooting

Test Connection Results

Result What to Check
Connected successfully Elisity reached Zscaler and confirmed IP Source Group access.
Permissions for IP Source Group Access The credentials are valid, but the API role lacks write access to IP Source Groups. Check that the API role sets IP & FQDN Groups to Full and that the role is selected for the ZIA scope on the Resources tab of the API client.
Invalid Credentials The client ID or client secret is invalid. Check both values against the API client in ZIdentity.
Connection test failed Check that the credentials and permissions of the API client are valid, and that the Virtual Edge is online and allowed outbound HTTPS to the API Domain and to api.zsapi.net.
Zscaler connection details not accepted Check the API Domain, Client ID and Client Secret.

Common Issues

Symptom Cause and Resolution
The Virtual Edge Node is not Online Check that the API Domain is your ZIdentity domain, that the client secret is active and has not expired, and that the API client has the API role. Also check that the Virtual Edge allows outbound HTTPS to the API Domain and to api.zsapi.net. To test the credentials, click Edit and run Test Connection.
An Elisity_ IP Source Group remains in ZIA A ZIA rule still references the group, and ZIA does not delete an IP Source Group that a rule references. After you unassign the Policy Group, the Virtual Edge retries the delete until you remove the reference from the rule. After a decommission, remove the reference, delete the group in ZIA and activate the configuration.
An IP Source Group has fewer IP addresses than its Policy Group has assets ZIA holds IP addresses, so assets without an IP address, or that share one, are not counted separately. No action is needed.
A ZIA rule stopped matching after a Policy Group was renamed Renaming a Policy Group creates a new IP Source Group, and ZIA keeps the old one while a rule references it. See Keeping IP Source Groups Current.
Some Policy Groups or IP addresses are not in ZIA Check the number of assigned Policy Groups and the Number of Prefixes on the Virtual Edge Node details page against the Limits. Policy Groups and IP addresses beyond the limits are not published. Unassign Policy Groups to reduce the total.

Related Articles

Was this article helpful?
0 out of 0 found this helpful