What you can export from Zscaler Private Access before you leave
Configuration can be captured through the ZPA Terraform provider and API, and audit and user activity logs can be kept through Log Streaming Service. Some items may have no export path, so the move should begin with an inventory, not a switch-off date. If a renewal, licensing change, data residency requirement or lock-in concern triggered the review, write that down first, because it sets how much history you need to keep and how long you must keep access to ZPA data. Then confirm with your Zscaler account team which objects the provider and API return in your tenant, and which you will have to document by hand.
Application segments, server groups and access policies form the core of the rebuild, because they describe which users reach which private services and under what conditions. Connector groups need separate handling. Their role will be taken by routers or peers you deploy in your own network, so record which applications each connector group serves, the network paths it reaches and where it runs. Identity and user group assignments also need attention, since the new platform will take them from your identity provider. Ask Zscaler which of these items your export covers before you assume any field is complete.
Treat this export as a starting inventory. It shows what exists, but it does not show how each application is used, which teams depend on it or which audit records your reviewers expect to see. Log Streaming Service can send audit and user activity records to a store you control, so set retention, access and integrity controls on that store before you disable anything in ZPA. Record who owns each export, when it was taken and which tenant version produced it, so the rebuild can be checked against a fixed baseline.
Which ZPA data has a documented export path
This table maps each Zscaler Private Access object you will need to rebuild to the export route we can point to and the limits you must confirm. Use it to plan what to pull with the Terraform provider or API and what to archive through Log Streaming Service before cutover.
| ZPA object | Export route | Format and limits to confirm |
|---|---|---|
| Application segments | Terraform provider and ZPA API, read the application segment resources | Confirm the schema fields, pagination and any per-tenant rate limits in Zscaler's API documentation |
| Server groups and servers | Terraform provider and ZPA API, read server group and server definitions | Confirm how servers referenced by IP, FQDN or wildcard are represented in exported state |
| Connector groups and App Connectors | Terraform provider and ZPA API, read connector group records | Connectors themselves run in your network, so confirm which connector metadata is exported and which must be recorded manually |
| Access policies | Terraform provider and ZPA API, read policy set and rule resources | Confirm how SAML attributes, SCIM groups and posture conditions are referenced by ID rather than by name |
| Segment and policy group mappings | Terraform state or API responses that link segments to policy rules | Confirm whether the link is exported as a reference you must resolve, since ID mapping drives the rebuild |
| User, group and IdP references | Identity provider and SCIM exports, outside the ZPA export path | Zscaler does not hold your source directory, so confirm the export from your identity provider separately |
| Audit and user activity logs | Log Streaming Service to an external destination you control | Confirm supported destinations, log fields and retention on the receiving side, and plan storage before cutover |
| Posture and device profiles | Terraform provider and ZPA API where the profile resource is exposed | Confirm which posture attributes are exportable and which exist only in the admin console |
What does not export cleanly and how to work around it
Terraform and API exports capture the configuration you define, but several parts of a ZPA deployment live in Zscaler's cloud, in other Zscaler products, or in files and logs you must keep yourself. Each card below names one such item, the risk it creates during cutover, and the workaround to plan before you switch users.
Cloud-side broker behavior
The brokers, enforcement decisions and traffic steering that ZPA runs in Zscaler's cloud are not stored as tenant configuration you can export. Your Terraform state records the segments and policies, not how the broker routed or evaluated a given session. Before cutover, document the routing and fallback behavior your users depend on, then test each application from the new fabric. Ask Zscaler which broker behaviors are documented for your tenant and which are not.
OpenZiti READMEInspection and DLP rules
Inline inspection and data loss prevention rules usually belong to other Zscaler products, such as internet or private access inspection policies, and may not appear in the ZPA export at all. If your team assumes the ZPA export covers them, the self-hosted fabric will ship without those controls. Build an inventory of every inspection and DLP rule that applies to private traffic, record the intent of each one, and assign an owner for replacing it or accepting the gap in writing.
Certificates and private keys
Certificates for internal applications, connector and enrollment material, and private keys are not retrievable through the API once issued. You cannot move them with the configuration export, so plan to re-issue them from your own certificate authority. Inventory which applications present certificates to users, confirm the chain each one needs, and schedule issuance and distribution before users are moved to the new platform.
Identities and enrollment
User enrollment records, device bindings and certificates tied to identity providers do not transfer as ZPA configuration. In an OpenZiti or NetBird rollout, each user, device and service needs a new identity created in the new platform. Export your identity provider group mappings from ZPA access policies, then decide which identities are re-issued in bulk and which are enrolled user by user during the phased cutover.
Historical logs outside the streaming window
Log Streaming Service forwards events from the point you configure it, so anything recorded before that point is not replayed into your SIEM. Audit and user activity history for the period before streaming started stays in Zscaler unless you export it through the available interfaces. Before cutover, start streaming into your own log platform, set a retention period that matches your audit requirements, and confirm with Zscaler what historical data is retrievable and in what format.
The export sequence and how to verify each step
This sequence captures your ZPA configuration as version-controlled files and a record of user activity, so you can rebuild the same access model on a self-hosted platform and prove that nothing was lost. Each step closes with a check against the live tenant or the logs rather than a status you assume.
Inventory the tenant before exporting anything
Start by listing every application segment, server group, connector group, segment group and access policy in the ZPA admin console, and record the count of each object type. Include the App Connector groups and the server records behind each segment, since these determine which private networks the new platform must reach. Ask your Zscaler administrator to confirm the tenant scope, including any separate ZPA tenants or customer IDs, so the inventory is complete. The output is a spreadsheet or document with object counts per type, which becomes the baseline for every later check.
Pull objects with the Terraform provider into version control
Use the Zscaler Terraform provider with read access to import application segments, server groups, connector groups and access policies into configuration files, then commit those files to a Git repository your team controls. Keep the provider credentials in a secrets store rather than in the repository, and restrict who can run the import. Confirm the import by running a plan that reports no changes against the state it just created, and by comparing the object counts in the state file with the baseline from the inventory step.
Script API pulls for objects the provider does not cover
Some fields and reports may not map cleanly onto the Terraform resources, so use the ZPA API with a scripted client to export the same objects as JSON and capture anything the provider omitted. Store the raw responses alongside the Terraform files, with the export date and tenant identifier in the file names. Verify by diffing the API output against the provider state for the object types that appear in both, and by listing any field present in the API but absent from the Terraform files so you can document it as a manual rebuild item.
Map segments, server groups and policies to each other
Document how each access policy links to application segments, server groups and user or device conditions, because the self-hosted platform will express these relationships differently. Build a relationship table with one row per policy and columns for the segments, server groups, identity groups and posture conditions it references. Check the table against the policy definitions by confirming that every reference resolves to an exported object, and flag any policy that points to a missing or disabled object. The finished table is the input to the target design.
Enable Log Streaming Service to a destination you control
Configure Log Streaming Service so user activity and audit records are sent to a log store that your organization operates, such as a SIEM or a self-hosted log pipeline, and retain the time range your records policy requires. Confirm the destination details with Zscaler's documentation for your tenant and your own compliance owner before you turn it on. Verify the setup by generating a test login from a pilot user and confirming that the matching record arrives in your destination, with fields such as user, application and timestamp intact.
Check counts and sample policies against the live tenant
Compare the final object counts from the exported files with the baseline inventory, and confirm that each count matches exactly before you consider the export complete. Pick a sample of policies covering different segments, user groups and posture conditions, then check each one in the admin console against the exported definition. Record the outcome of each sample in a short verification log with the reviewer's name and date. A mismatch in any count or sample means the export is not finished and the discrepancy must be resolved before cutover.
Store the export as a retained evidence set
Package the Terraform files, raw API output, relationship table, log retention settings and verification log into one controlled archive with restricted access. Confirm with your auditors or compliance lead which records they will ask for during any future assessment of the migration, since the evidence should show who made the export and when. The archive is complete when a second team member can read it and reproduce the object counts from the files alone, without access to the original ZPA tenant.
How the export pieces connect to your new platform
The diagram starts in the ZPA tenant, which sits in Zscaler's cloud. The Terraform provider and the ZPA API read application segments, server groups, connector groups and access policies across the trust boundary into a version-controlled store in your environment. Log Streaming Service sends audit and user activity logs to your own log platform. Your team then translates the exported objects into the target platform, whether OpenZiti, NetBird or Pomerium, and checks each rule against the original policy before cutover.
Export paths from the ZPA tenant into your environment and the target platform.
What to plan before the ZPA contract ends
Start the export well before the ZPA contract end date, because the export is the quick part and the decisions around it are slow. Every application segment, server group, connector group and access policy you capture needs an owner who can say whether it still matters, and that review usually surfaces retired apps, duplicate segments and policies nobody can explain. Ask Zscaler for the renewal terms and the notice period in writing, and confirm whether a short extension is available if phasing runs long. Keep ZPA running in parallel with the new platform until the last user group and the last application have moved, so your rollback path stays open. Plan for both platforms to carry load during overlap, including App Connector capacity on the ZPA side and controller or router capacity on the new side.
Decide which self-hosted option fits each application group before you rebuild anything. Browser-based internal apps may suit an identity-aware proxy such as Pomerium, while raw TCP services, SSH and database access may need an overlay such as OpenZiti or NetBird, and users who need broad network reach may fit a mesh. Mixing options is normal, but each choice changes how identity, posture checks and logging are enforced, so record the reason for each group. Translating policies is a design task, not a file conversion. A ZPA rule that matches a user group, a device posture profile and an application segment has no one-to-one equivalent in every platform, and you will need to rewrite the intent in the target model and test it against real access attempts.
Log retention and audit evidence need a named owner from the start. ZPA's Log Streaming Service can send user activity and audit records to your own storage, but you must confirm which log types your configuration includes, the destination format, and how long your compliance obligations require you to keep them. Those records will be the evidence for access decisions made during the transition, so decide where they live, who can read them and how they will be retrieved during an assessment. The owner should also confirm that the new platform's logging covers the same events before ZPA is switched off, and that the retention schedule is written down for auditors who ask about the cutover period.
Terms and tasks to settle before renewal or termination
Exporting configuration is only half of leaving Zscaler Private Access. The contract decides how long your tenant, API access and logs remain available, and who on your side can act while the export runs. Settle these items before you give notice so the export has a working tenant and a named owner for each step.
Data return or deletion terms
Ask Zscaler what happens to your ZPA configuration, application segments, server groups, connector records and policy history at the end of the term, and whether deletion is performed on request or automatically. Confirm in writing the format and timing of any data return. Your network or zero trust engineering lead should decide which objects must be captured in your own repository before deletion, and should keep a dated copy of the exported Terraform state.
Log retention after termination
Ask how long audit and user activity logs remain queryable in the tenant after the subscription ends, and whether they can be exported in bulk before access is removed. Logs delivered through Log Streaming Service only reach your SIEM if the stream is active, so confirm its status during the notice period. Your security operations lead owns the evidence set that auditors will request for the transition period.
Notice period and renewal deadline
Confirm the required notice period, the date by which notice must be received, and whether the contract renews automatically for a fixed term. Compare that date with your planned cutover so you do not have to run both platforms beyond what you need. Procurement should own this check, with the CIO or head of IT signing off on the cutover window.
API and Terraform access through notice
Ask whether API keys and the ZPA Terraform provider remain fully functional through the entire notice period, including any rate limits or key expiry. Export runs often need several passes, so access should not be cut before the last successful capture. Your platform engineering team should own the API credentials, store them in a secrets manager, and rotate them once the export is complete.
Tenant administrator accounts
Confirm who holds tenant administrator roles, whether those accounts are tied to named people or shared, and whether Zscaler will disable them on termination. Record every admin, break-glass account and API user before the export starts. The identity team should own the inventory, and the security lead should approve removal of each account once the final export is verified.
Connector and service continuity
Ask Zscaler how App Connector and Private Service Edge deployments are treated during the notice period and whether they continue to serve traffic until the final cutover date. Map each connector group to the applications it serves so that no segment loses its path before its replacement is live. The network operations team should own this map and sign off each application before connectors are retired.
How much effort does a ZPA configuration export take?
What drives the effort of a ZPA configuration export?
The effort scales with the number of objects, how tangled the access policies are, how many App Connectors and connector groups you run, and how much log history you need to keep. A tenant with a few dozen application segments and one connector group is a very different job from one with hundreds of segments, overlapping server groups, and years of user activity logs. Ask your team to count application segments, server groups, connector groups, access policies and log sources before scoping anything, because those counts set most of the work.
Can our own team run the export without outside help?
Often yes, if you have someone comfortable with the Zscaler Terraform provider and the ZPA API, and someone who can read your access policies and explain their intent. The export itself is mostly read-only and repeatable. The harder part is deciding which policies still reflect how people work, and that is a judgment call that usually needs the network and application owners in the room. An outside team earns its fee mainly on the rebuild and cutover, not on pulling the data.
What do we need from our staff before the export starts?
Plan for three roles. A ZPA tenant administrator needs to grant API access with appropriate read permissions and create a dedicated client for the export. An engineer comfortable with Terraform needs to run the provider against a non-production context and review the generated state. Network and application owners need to confirm which segments are still in use, which are retired, and who should keep access during the move. Confirm with Zscaler how API credentials and roles are issued for your tenant type, since those steps differ by account.
How long does the export take for different scopes?
No duration is fixed by the vendor documentation we rely on, so treat any timeline as something to agree in writing. The export step scales with object count and log volume, while the review, naming cleanup and policy translation scale with how many access rules need a decision. Ask for the work to be split into phases: inventory, export, review, and a retained log archive, each with its own deliverable. That split makes it clear where time is going if the schedule slips.
What should a written quote for the export include?
A useful quote names the systems in scope (tenant, connector groups, log streaming destination), the object types to export, the format of the output, and who reviews it. It should list the log sources covered by Log Streaming Service, the retention period you need, and where the archive will be stored. It should also state what is excluded, such as ZIA or DLP configuration, and how changes made during the project are handled. Ask for acceptance criteria, meaning a reconciliation of exported object counts against the console, signed off by your team.
Should we keep the export tool-agnostic?
Yes, as far as practical. Store the exported configuration in a neutral, version-controlled form, such as plain files your team can read and diff, rather than only in a vendor-specific workflow. That way the same inventory can feed a rebuild on OpenZiti, NetBird or another platform, and your audit trail stays readable after the ZPA subscription ends. Whatever tooling you pick, confirm the export covers the fields you will need to recreate each policy's intent, not only its name.
How do we keep audit and user activity logs after leaving ZPA?
Set up Log Streaming Service to send the logs you must retain to storage you control before the cutover, and confirm the destination, format and retention window with your compliance lead. Do this early, because logs that are not streamed before the subscription ends may not be recoverable in the same form. Test that a sample of events can be read and searched from the archive. Your auditors will care more about continuous coverage and integrity than about where the data came from.
How to prove the exported configuration is complete
An export is only useful if a reviewer can trace every ZPA access policy to a replacement control and see that nothing was dropped. Build an evidence pack with three parts: the exported objects (application segments, server groups, connector groups and access policies, as captured with the Terraform provider and API), log samples from Log Streaming Service showing real user access, and sign-off records from the owners of each application. Assign each ZPA policy a stable identifier, then record the target identity group, service or route it maps to in the new platform, and who approved that mapping. Reconcile counts in both directions: every exported object should map to a replacement or to a documented retirement decision, and every replacement should trace back to a source object.
The control intent behind this work is the one in NIST SP 800-207, which states that zero trust grants no implicit trust based on physical or network location or asset ownership. A reviewer will test that intent directly, so include a check that each migrated access rule requires an authenticated identity and a device or context condition where your policy calls for one, not a rule that grants access because a request comes from an internal address range. For remote access, the NIST SP 800-171 practices on monitoring and controlling remote sessions, protecting their confidentiality and routing them through managed access points are the general frame reviewers often use. Map your evidence to those themes in plain language rather than quoting the publications.
Confirm with your auditor which framework, scope and sampling method applies to your organization before you finalize the pack, because the expected form of evidence varies by assessor. Ask them whether they want point-in-time exports, continuous log samples, or both, and how long they expect the source records to be retained. Keep the exported configuration and logs under the same retention rules as the originals, and record who holds the export so the evidence itself does not become an unmanaged copy of sensitive data.
How DeployOpen scopes and delivers a ZPA export and exit
DeployOpen plans, implements, documents and hands over self-hosted open-source platforms inside the client's own infrastructure, and an export from Zscaler Private Access follows the same method. We agree the scope, capture the configuration, rebuild it on the target platform and leave the client with documentation and a working handover.
How we scope
- Engagements are fixed-scope, with the export inventory, deliverables and timelines agreed in writing before work starts.
- The inventory covers application segments, server groups, connector groups, access policies and the log sources that must be kept.
- We confirm which audit and user activity logs must be retained through Log Streaming Service and where they will be stored.
How we build
- We run the ZPA Terraform provider and API exports in a controlled environment and keep the raw output under version control.
- We map each exported segment and policy to the target platform's services and policies, and record every mapping that does not translate directly.
- We test the rebuilt access rules against the original policy behavior using a defined set of test users, devices and applications.
How we hand over
- Handover includes the exported configuration, the mapping document, the rebuilt configuration and a record of known gaps.
- We document how each access control, identity provider connection and log destination is configured so your team can review it.
- Retention of exported logs and the cutover steps are written down so compliance and security teams can check them against their own requirements.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the handover.
- Support can cover the target platform's upgrades, backups and access policy changes during the phased user migration.
- Quotes follow from the written scope, so ask for the inventory, log retention and test coverage to be itemized in the quote.

