ADR-0025 — Remote access and public-endpoint exposure control via Zscaler Private Access (ZPA)
Forces / Drivers
- Requirement / Constraint: Eliminate public exposure of ION Azure data-plane resources without blocking legitimate engineer / automation access. Triggered by the June 2024 ION Public Exposure Risk Assessment after a brute-force attack against a publicly reachable PostgreSQL flexible server.
- Principle(s) embodied:
§22 Least privilege,§23 Blast-radius containment,§24 Azure Landing Zone architecture best practices,§25 Fully automated deployment — IaC-first, no manual changes. - WAF pillar optimized:
security(primary);operational-excellence,reliability,cost-optimization(secondary).
Context
ADR-0016 established hub-and-spoke networking with private endpoints as the target end-state for accessing Azure PaaS resources. In practice, enabling private endpoints for every ION resource is a multi-quarter programme: it requires Private DNS zones, VNet integration for every compute tier, private-endpoint-aware GitHub runners, private-only DevOps tooling, and a per-resource migration with cutover coordination across every team.
Meanwhile the platform has hundreds of resources across four
environments with public network access = enabled and firewall/NSG
rules that historically permitted 0.0.0.0/0. A brute-force incident
against a publicly reachable PostgreSQL server made the exposure
concrete: an internet-borne attacker directly probed a data-plane
resource in a matter of days.
ION needs an immediate, uniform reduction in public exposure that:
- Removes
0.0.0.0/0from every ION resource firewall / NSG now, without waiting for the multi-quarter private-endpoint programme. - Preserves the ability of Ontinue engineers, IT, SOC, and automation to reach resource control planes and data planes for legitimate operations, wherever they physically are.
- Introduces per-app, identity-aware, least-privilege remote access aligned with Zero Trust Network Access (ZTNA) principles.
- Fits ION’s existing team topology (platform team owns hub + guardrails; service teams own spoke firewall/ACL config) and IaC discipline (§25).
- Does not preclude the ADR-0016 private-endpoint target; instead sets it up as the natural next phase.
Ontinue already licenses Zscaler Internet Access (ZIA); the Zscaler Client Connector is pre-deployed to every Ontinue endpoint by IT. The company also operates Microsoft Entra ID tenant-wide, making Entra Global Secure Access (Entra Private Access) an obvious in-family candidate. Azure Bastion and Azure VPN Gateway are the traditional platform-native options.
Decision
Adopt Zscaler Private Access (ZPA) as the ION platform’s remote access and public-endpoint exposure-control solution. Roll out in two phases:
-
Phase 1 (current V3 posture — active). Every ION Azure resource keeps
public network access = enabledbut its firewall / NSG must not contain0.0.0.0/0. Access-restriction rules whitelist only:- The ZPA App Connector public IPs for the target environment
(
apa/bta/gma/prd). - Azure service tags (e.g.
AzureCloud.switzerlandnorth,AppService,AzureActiveDirectory) required for the resource-to-resource control plane. - Known Azure IP ranges (Switzerland North function-app outbound IPs, APIM public IP) where service tags are insufficient.
VNet integration, service endpoints, and Private Link are strongly recommended wherever feasible and are enabled opportunistically.
- The ZPA App Connector public IPs for the target environment
(
-
Phase 2 (trajectory — planned V4 / late V3). Fully realize ADR-0016: private endpoints for every PaaS data plane, VNet integration for every compute tier,
public network access = disabledplatform-wide. ZPA remains the mechanism engineers use to reach the resulting private-only estate.
Governance:
- Ontinue IT owns ZPA tenant configuration, user/group access, Client Connector deployment. Change requests via ServiceNow.
- CPE owns the App Connector VMs (hub subscription, two-pair cluster per environment), Rome network integration, and shared IaC modules.
- Service teams own their per-resource firewall / NSG rules
(Terraform, using the shared
tf-modules/helpers that expose ZPA and APIM public IPs as data sources).
Managed via IaC (§25); the zpa VM data sources and access-restriction
blocks are canonicalized in Anvil/tf-modules/.
Alternatives considered
-
Option A — Microsoft Entra Global Secure Access (Entra Private Access / GSA). Microsoft-native ZTNA; part of the Entra Suite; integrates with Conditional Access and PIM. Rejected because: (1) ZIA/ZPA are already licensed and Zscaler Client Connector is already deployed on every Ontinue endpoint — Entra PA would be a parallel agent stack; (2) at PoC time Entra PA required Windows Server connectors (no Linux), adding an OS + patching burden that ZPA’s Linux appliance avoids; (3) it would require Entra Suite ($12/user/month) on top of ZPA licensing during any transition; (4) Entra PA is newer with fewer production references than ZPA at Ontinue’s scale of use cases (Cosmos, EH, SB, KV, Function Apps, Storage, PostgreSQL, SQL, ADX, Cognitive, Logic Apps, Web Apps). It remains a credible future substitute if the Zscaler relationship changes.
-
Option B — Azure Bastion. Azure-managed PaaS for RDP/SSH into VMs via private IP. Rejected as a standalone solution because: Bastion terminates on VMs, not on Azure PaaS resource data planes; it does not solve access to Cosmos, Storage, Key Vault, Service Bus, or Function App HTTP endpoints from an engineer’s laptop. Bastion may still be used in parallel for VM-shell access (e.g. Temporal cluster nodes, App Connector VM management) but it is not the primary answer to public-endpoint exposure.
-
Option C — Azure VPN Gateway (Point-to-Site). Traditional VPN bringing the client on-net. Rejected because: (1) it violates the ZTNA principle — once on-net a user has broad reachability; (2) per-app / per-resource access control is coarse and hard to operate at ION’s resource count; (3) requires every user to install and maintain a VPN client separate from the already-deployed Zscaler client; (4) complicates GitHub runner access and service-to-service flows; (5) does not integrate as naturally with Conditional Access as identity-aware ZTNA options do.
-
Option D — Other ZTNA vendors (Netskope, Fortinet, Cato, Palo Alto Prisma Access, Perimeter81). Rejected because preliminary analysis (see CPE PoC doc) showed zero or negligible benefit over ZPA and Entra PA while adding a net-new vendor relationship, agent, and cost line.
-
Option E — Go straight to Phase 2 (all private endpoints, no ZTNA). Skip ZPA and just do ADR-0016. Rejected because: (1) it leaves
0.0.0.0/0exposure in place for the 6–12 months the private-endpoint rollout would take; (2) it still needs a remote access answer for engineer / SOC / IT access to the resulting private estate — private endpoints do not obviate the need for ZTNA, they require it.
Rationale
- Fastest reduction in blast radius (§23). Phase 1 removes
0.0.0.0/0from every ION resource in weeks, not quarters, with purely configuration-level Terraform changes. The exposed brute-force attack surface disappears immediately. - Vendor and agent reuse. Zscaler is already deployed. Zero additional endpoint software for users; no additional Windows Server patching burden (ZPA connector runs on Linux from a marketplace image).
- Zero Trust alignment. Per-app, identity-aware, policy-driven access — no implicit network trust; a compromised laptop cannot discover resources outside its app policy.
- Preserves the Phase-2 trajectory. ZPA and private endpoints are complementary, not alternatives. Once resources move behind private endpoints, ZPA remains the way engineers reach them.
- IaC-first (§25). ZPA IPs surface as Terraform data sources in
shared
tf-modules/; every service references them uniformly. Cross-environment discipline is enforced through the module, not through per-team ad-hoc allowlists. - Team topology fit. IT keeps existing responsibility for user / access management; platform team owns the hub App Connector cluster and modules; service teams own the per-resource ACLs — matching the landing-zone division from ADR-0016 and §24.
Consequences
Positive
- No ION Azure resource accepts traffic from the whole internet as of
Phase 1 completion;
0.0.0.0/0allow rules are removed. Resources allow the App Connector IPs, required Azure service tags or ranges, runner subnets, and APIM. Some resources allow all Azure Switzerland North ranges, and a few resource types have no network restriction; see Amendments. - Per-user, per-app policy enforced centrally via Zscaler; access is revoked by removing a group membership, not by re-deploying network rules.
- Existing Zscaler agent, SSO, and monitoring dashboards reused.
- Provides a working access mechanism for engineers into the Phase-2 private-endpoint estate.
Negative
- Public network access remains technically enabled in Phase 1. A DDoS or bandwidth-drain attack against the resource’s public URL is still theoretically possible even though the ACL rejects it — cost implications escalated to Microsoft; this is one of the drivers to complete Phase 2.
- Additional vendor dependency outside the Microsoft-native strategy (§21 exception). Justified by existing licensing and Linux-connector operational fit; documented as an accepted deviation.
- Cost scaling with users. ZPA is licensed per user per month. Business edition today (~€10.30/user/month) covers current headcount; tier upgrade may be required as headcount grows.
- Engineer workflow changes. Users re-authenticate every 16 h to match Conditional Access; some Azure portal data-plane experiences (e.g. Cosmos Data Explorer) may become unavailable until Phase 2 is fully architected; GitHub hosted runners cannot reach private data planes — private runners in ION VNet are required, aligning with ADR-0024.
- Operational burden for the App Connector cluster (2×VMs × 4 envs) — patching, monitoring, failover.
Neutral / follow-ups
- Every ION Terraform module publishing
access_restrictionsmust consume the sharedzpa1/zpa2data sources — enforced bytf-modules/review. - APIM public IP + Switzerland North function-app outbound IP list are additional platform-owned allowlist sources; documented in the shared module.
- Phase 2 private-endpoint rollout tracked as its own workstream; each resource type has an ADR-0016-compliant target design (Private DNS zone, spoke integration, VNet-integrated compute).
- DR posture for the App Connector cluster — see Rome - Secure Remote Access - Failure Scenarios.
WAF Pillar Impact
- Primary — Security. Removes
0.0.0.0/0exposure; enforces per-user, per-app ZTNA; least-privilege + blast-radius containment. - Secondary — Operational Excellence. Uniform IaC-owned allowlist via shared modules; single audit trail via ServiceNow for policy changes; centralized ZPA monitoring dashboard.
- Secondary — Reliability. App Connector cluster is a shared dependency for engineer / SOC access — reliability of the connector cluster is now a platform SLO.
- Secondary — Cost. Per-user licensing scales with headcount; offset by deferring the Phase-2 private-endpoint programme without leaving exposure open.
- Trade-offs. Accepts a §21 deviation (non-Azure-native vendor) and defers full private-endpoint isolation to Phase 2 in exchange for immediate exposure reduction and zero-day workflow disruption.
Previous approach (V2)
V2 had no organized remote-access solution. Public network access was
generally enabled on ION resources with firewall rules that either
permitted 0.0.0.0/0 or maintained ad-hoc IP allowlists per team.
The June-2024 exposure risk assessment made this untenable and
triggered this ADR.
Amendments
- 2026-10-15 — Phase 1 scope clarified.
- ZPA is for humans only. “Automation” in the Context means human-run tooling, not the platform runtime. User ingress, service-to-service calls, and pipelines do not depend on ZPA; a ZPA outage affects engineers only.
- Region-wide allow-lists accepted. Key Vault, Service Bus, Event Hubs, and ADX allow all Azure Switzerland North ranges because some callers (shared App Service and serverless outbound pools) have no small, stable IP set or usable service tag. Identity (managed identity, RBAC, local authentication disabled) is the compensating control. Recorded as accepted risk NET-01 so it is not re-opened without new information.
- Exceptions are tracked, not hidden. Most resources meet Phase 1. Exceptions are tracked as NET gaps: Container Registry with the admin user enabled and no network rules (NET-02, High); App Configuration, Managed Redis, and Power BI Embedded without network restriction (NET-03). APIM is public by design (ADR-0015, gap APIM-02).
- App Connector gaps. Basic SKU public IPs (NET-04, High), no alerts (NET-05), no availability zones (NET-06), and no break-glass engineer procedure (NET-07).
- SQL “Allow Azure services” rule accepted. The shared SQL default
rule set includes the
AllowAzureServicesrule. It is accepted risk NET-17, with identity as the compensating control: Entra-only authentication, SQL authentication disabled, and managed identity for callers. - No cross-environment allow-list entries. Every resource accesses data only within its own environment. Existing cross-environment entries (shared Key Vault runner subnets, Cosmos DB connector IPs) are to be removed (NET-18).
- The gap register is in network security implementation.
References
references/CPE - PoC- Remote Access Solutions (Proposed).mdreferences/CPE - Zscaler Private Access - Overview.mdreferences/CPE - Zscaler Private Access (ZPA).mdreferences/CPE - Zscaler Phase 1 - Resource Configuration.mdreferences/CPE - ZPA - Configuring Access Restriction for Phase 1.mdreferences/CPE - Microsoft Entra Private Access (Global Secure Access).mdreferences/CPE - Azure Bastion.mdreferences/CPE - Azure VPN Gateway.md- Per-resource CPE guides:
references/CPE - ZPA - Rome - *.md(Cosmos, Event Hub, Function App, Key Vault, Logic App, PostgreSQL, Service Bus, SQL Server, Storage Account, Web App, ADX, Cognitive Account). - External: https://help.zscaler.com/zpa; https://learn.microsoft.com/en-us/entra/global-secure-access/concept-zscaler-coexistence.
Related ADRs
- ADR-0016 — Hub-spoke networking and private access (target end-state; ZPA is the interim exposure control and remains the ZTNA entry into the private estate).
- ADR-0013 — Service-to-service auth model (Managed Identity for service-plane; ZPA governs human/tool access).
- ADR-0014 — Shared APIM topology (APIM public IP is one of the allowlist sources).
- ADR-0024 — CI/CD via Runway / GitHub Actions (private runners required to reach ZPA-gated resources from CI).