The Simplest Way to Make Kuma and Zscaler Work Like They Should
Running kuma and zscaler together links edge network routing with internal service mesh rules. Zscaler brings user traffic into your network, while Kuma directs calls between internal apps. Teams use this pair to control both user entry and east-west service traffic. You get a clean path from a laptop to a private microservice. Still, making both tools agree on identity and routing takes careful setup. How kuma and zscaler handle identity and data flow Data flow starts when a user or develop
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Running kuma and zscaler together links edge network routing with internal service mesh rules. Zscaler brings user traffic into your network, while Kuma directs calls between internal apps.
Teams use this pair to control both user entry and east-west service traffic. You get a clean path from a laptop to a private microservice. Still, making both tools agree on identity and routing takes careful setup.
How kuma and zscaler handle identity and data flow
Data flow starts when a user or developer logs in through the Zscaler client. Zscaler checks the user identity and device posture against your company rules. Next, it routes the approved traffic to an internal connector inside your private network.
That connector hands the request off to the Kuma service mesh ingress zone. From there, Kuma takes over the packet routing and service-to-service encryption. Kuma uses mutual TLS to verify each service identity inside the mesh.
Both tools care about identity, but they look at different layers. Zscaler focuses on the human user and their device at the network edge. Kuma focuses on machine identities and service tags inside the cluster or virtual machine fleet.
When traffic crosses from the Zscaler connector into the Kuma mesh, user context often drops. The mesh sees the connector as the source, not the person making the call. Teams must plan how user roles map to internal service rules.
Common failure modes and how to scope network paths
The biggest mistake teams make is treating the Zscaler connector as a trusted subnet. If you open an entire zone to that connector, any routed user can reach every service. That breaks the promise of least privilege inside your cluster.
Another common issue is relying on shared service accounts for internal administration. Engineers reach the mesh through Zscaler, then use one shared admin token to run commands. When something breaks, your audit logs show the shared key instead of the person.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Broad tokens and unlogged database queries also create major blind spots during an incident. Zscaler logs the initial network tunnel, and Kuma logs service connections. Neither tool records the exact queries or commands an engineer runs inside a data store.
To fix network drift, place your Zscaler connectors in a dedicated Kuma zone. Write strict traffic permission rules that only allow specific ingress paths from that zone. Never use a catch-all rule that lets the connector talk to every backend service.
Keep your control plane locked down as well. Route control plane traffic through dedicated groups so only core platform engineers can change mesh rules. Rotate your mesh signing keys on a set schedule and restrict who can read them.
Keeping day-to-day operations clean across both tools
Good routing depends on clear ownership between your network team and your platform team. The network team usually manages Zscaler rules and connector health. The platform team usually owns Kuma zones, mesh policies, and service tags.
When these two groups do not talk, fixing slow calls becomes very hard. A blocked port might look like a mesh bug when an edge rule actually dropped it. Keep a shared map of which edge connectors talk to which mesh ingress points.
Test your routing changes in a staging zone before you push them to production. Check both the edge client logs and the mesh traffic metrics during every test. When you need to mask sensitive data in query results, rewrite emails and card numbers dynamically.
Check database and API queries on the wire
Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.
Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.
Frequently asked questions
Does Zscaler replace the need for Kuma mutual TLS?
No, Zscaler only protects the path from the user device to the internal connector. Kuma mutual TLS encrypts and checks traffic moving between services inside your private network.
Where should we place Zscaler connectors in a Kuma setup?
Place your connectors in front of your Kuma ingress gateways, not inside the backend zones. This setup forces all incoming user traffic to pass through mesh entry rules first.
Why do user identities disappear once traffic enters the service mesh?
Zscaler checks the user at the network edge, while Kuma checks service certificates inside the cluster. Unless you pass user headers through the ingress point, backend services only see the mesh identity.
Related guides
In this post