Zscaler Internet Access (ZIA)
Import your Zscaler Internet Access domains, locations, static IPs, VPN credentials, GRE tunnels, and IoT devices into Guard.
The Zscaler Internet Access (ZIA) integration imports the internet-facing inventory your ZIA tenant knows about into the Praetorian Guard Platform (PGP). Guard reads your organization's domains, locations, and traffic-forwarding configuration through Zscaler OneAPI and adds each domain and IP address as an asset. This guide walks you through creating a OneAPI client and connecting it to Guard.
What the integration does
Each time the integration runs, Guard signs in to Zscaler OneAPI and reads:
- Organization domains: the domains registered to your ZIA organization.
- Domain profiles: the custom domains in each domain profile.
- Locations: the IP addresses assigned to each location, and the FQDN and IP address of each VPN credential linked to a location.
- Static IPs: every static IP address configured for traffic forwarding.
- VPN credentials: the FQDN and IP address of each VPN credential.
- GRE tunnels: each tunnel's source IP address and internal IP range.
- IoT devices: the IP address of each IoT device ZIA has discovered.
Guard adds each domain, IP address, and IP range as an asset. When an entry has both an FQDN and an IP address, such as a VPN credential, Guard records them together on one asset. If your API client cannot read one of these sources, Guard skips that source and imports the rest. Organization information is the exception: Guard also uses it to check the connection, so if Guard cannot read it, the run fails.
Guard also drops assets it should not scan:
- Loopback, link-local, multicast, and unspecified addresses.
- IP addresses in public cloud provider ranges, and domains that resolve to a public cloud provider.
- Private IP addresses, such as
10.0.0.0/8or192.168.0.0/16, and domains that do not resolve in public DNS. - Any single IP address, public or private, that does not answer a single ping within half a second. IP ranges are not pinged.
To import private and non-responding assets, contact Praetorian support.
The integration only reads from Zscaler. It does not change policies, locations, or settings.
Prerequisites
- A ZIA tenant that signs in through Zidentity. Guard connects through Zscaler OneAPI, which requires Zidentity. Legacy ZIA API keys are not supported.
- A Zidentity administrator account that can create API clients.
- The Zidentity vanity domain for your tenant: the
acmepart ofacme.zslogin.net. - Permission to add integrations in Guard.
Step 1: Create a OneAPI client in Zidentity
- In the Zidentity admin portal, create an API client.
- On the client's Resources tab, assign a read-only ZIA API role.
- Save the client, then copy the Client ID and Client Secret and store them safely.
One API client can serve several Zscaler products. To also import ZPA, EASM, or ZDX data through the same integration, assign an API role for each of those products too.
Step 2: Connect Zscaler in Guard
- In Guard, go to Integrations and open Cyber Asset Attack Surface Management → Zscaler.
- Enter:
- Client ID: the OneAPI client ID from step 1.
- Client Secret: the OneAPI client secret from step 1.
- Vanity Domain: your Zidentity hostname prefix, for example
acme. You can also enter the full host,acme.zslogin.net.
- Keep ZIA (Internet Access) selected. EASM and ZDX are also selected by default. Clear any product your API client has no role for.
- Click Connect.
Before saving, Guard requests an access token from Zidentity and reads your ZIA organization information. Guard checks every product you selected, and stops at the first one that fails, shows the error, and does not save the integration. Guard repeats these checks at the start of every run, so if the client later loses access to one selected product, no product imports until you restore the access or clear that product.
You can add more than one Zscaler integration, for example one per tenant.
Verify the integration
After the first run, go to Assets and search for one of your organization's domains or a public static IP address that answers ping. It should appear as an asset.
Troubleshooting
If you need help with this integration, contact support@praetorian.com.