The Simplest Way to Make Dataflow and Zscaler Work Like They Should
Dataflow and Zscaler work together to run big data jobs inside a safe cloud network. Dataflow moves and changes your data while Zscaler checks the network traffic around it. Teams use this pair to process live events and batch files without opening public ports. Workers pull data from private sources, transform it, and write results to storage. Zscaler inspects outbound traffic and blocks bad network calls along the way. When you set up both tools the right way, jobs run fast and stay safe. H
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.
Dataflow and Zscaler work together to run big data jobs inside a safe cloud network. Dataflow moves and changes your data while Zscaler checks the network traffic around it.
Teams use this pair to process live events and batch files without opening public ports. Workers pull data from private sources, transform it, and write results to storage. Zscaler inspects outbound traffic and blocks bad network calls along the way. When you set up both tools the right way, jobs run fast and stay safe.
How dataflow and zscaler share identity and traffic
Dataflow runs its jobs on virtual machines inside your cloud project. Each worker machine uses a cloud service account to prove who it is. This service account holds roles that allow the worker to read and write data. When a worker needs to reach an external API, traffic leaves the subnet.
Zscaler sits on the network path to check that outbound traffic. It uses cloud connectors or virtual appliances in your virtual network to steer packets. Zscaler checks the source IP, the target domain, and the active security rules. If the rule allows the call, the packet goes through to the target.
Human engineers also use Zscaler to reach the cloud console and job logs. A developer logs in through their identity provider to start a work session. Zscaler checks device posture and user group membership before it allows network flow. Then the cloud platform checks its own role rules before the engineer can start a job.
Common failure modes and how to scope roles
Many teams hit network timeouts when they first pair these two systems. Dataflow workers must talk to each other and to the cloud control plane. If Zscaler intercepts internal worker traffic, jobs fail to start or stall mid-run. SSL inspection can also break worker calls if the machines lack the custom root certificate.
To fix this, you must bypass internal cloud routes from outbound web inspection. Keep worker-to-worker traffic inside the local private network. Send only true external API calls through the Zscaler cloud connectors. If you inspect TLS traffic, bake the custom certificate into the worker disk image.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Overly broad service accounts create another big risk in data pipelines. Teams often give one shared service account full project editor rights for all jobs. If one job script has a bug or leak, all data stores are at risk. Shared human accounts also make it impossible to see who ran a bad job.
Give each pipeline its own service account with only the exact roles it needs. A job that reads from one bucket and writes to one table needs only those two permissions. Lock down who can submit jobs by mapping human identity groups to strict cloud roles. Log every job launch and every data read so your team can audit activity.
Protecting sensitive records inside pipeline outputs
Network rules and cloud roles protect the pipes, but engineers still debug failed jobs. When a pipeline fails, developers query dead-letter queues and output tables to find bad rows. Those records often hold real user emails, phone numbers, card numbers, or national IDs.
You should protect these fields when engineers or tools run queries against job outputs. Data masking rewrites matched fields in query results before the client reads them. This keeps raw card numbers and emails out of local laptops and ticket threads.
Govern statements and responses across databases and APIs
Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.
First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.
Frequently asked questions
Why do my Dataflow workers fail to start behind Zscaler?
Workers fail to start when outbound rules block calls to the cloud control plane. You must allow internal cloud API traffic to bypass deep packet inspection. Check that your private Google access routes stay inside the local virtual network.
How do I handle TLS inspection for external API calls in a job?
Workers reject inspected traffic if they do not trust the Zscaler root certificate. You can install the root certificate on the custom container image that your workers run. You can also bypass TLS inspection for trusted partner API domains.
Should different pipelines share the same cloud service account?
No, each pipeline should use a dedicated service account with narrow permissions. Sharing one broad account across jobs makes audits hard and widens your blast radius. Scope each role to the exact storage buckets and tables that single job needs.
Related guides
In this post