The Simplest Way to Make BigQuery and JetBrains Space Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Teams pair bigquery and jetbrains space to run data jobs directly from their workspace. This setup lets developers trigger analytics pipelines and review reports inside their daily tool. JetBrains Space stores your code, runs build jobs, and manages team chats. BigQuery holds large data sets and runs fast queries at scale. When you join them, code changes can test data models before you ship. Product teams can also send workspace metrics into data tables to track work. How bigquery and jetbra

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.

Teams pair bigquery and jetbrains space to run data jobs directly from their workspace. This setup lets developers trigger analytics pipelines and review reports inside their daily tool.

JetBrains Space stores your code, runs build jobs, and manages team chats. BigQuery holds large data sets and runs fast queries at scale. When you join them, code changes can test data models before you ship. Product teams can also send workspace metrics into data tables to track work.

How bigquery and jetbrains space share identity and data

Every link between these two platforms starts with a clear trust setup. A build worker in JetBrains Space needs permission to read or write cloud tables. Most teams use federated identity tokens instead of static key files for this job.

During a build, the workspace issues a short token for the active task. Google Cloud checks this token against a trusted pool of external identities. If the check passes, the job gets a temporary cloud role to run queries. Data then flows back to the workspace job log or moves into reporting tables.

This flow works in both directions for modern software teams. You can export project activity logs from your workspace into cloud storage buckets. From there, your data warehouse reads those files so analysts can study build speeds. You can also send query alerts back into team chat channels when numbers drop.

Common failure modes and how to scope permissions

The biggest risk in this setup is a shared service account key. Teams often paste one powerful JSON key into their project secret store. Every developer and every build script then uses that exact same identity. When a bad query wipes a table, the audit log shows only the shared account.

Broad permissions create another huge hole in your cloud data setup. A build job that only checks table schemas does not need write rights. If you grant project owner roles to automation bots, a bad commit can leak data. Attackers who compromise a build script can also dump your whole customer database.

BigQuery IAM + End-to-End Encryption: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

To fix this, give each project in your workspace its own cloud service account. Map each account to the smallest possible role at the dataset level. Separate your test datasets from your live production tables in different cloud projects. Set up strict network rules so only approved workers can reach your sensitive datasets.

Keeping data safe during automated and manual queries

Even with good roles, human engineers still need to run manual data checks. Developers often pull production rows into test branches to fix bugs. Those rows often contain sensitive details like emails, phone numbers, and card numbers. If those fields land in build logs, anyone in the workspace can read them.

Teams should add strict controls to handle sensitive columns before results reach the user. Data masking rewrites matched fields in results so private details stay safe during debug work. You should also require peer approval before anyone runs an update on live tables. Clear logs that link every query to a real person make audits fast and simple.

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

How do I stop storing JSON keys in JetBrains Space?

Use workload identity federation in Google Cloud to trust tokens from your workspace jobs. This lets your build scripts log in without saving long-lived secret files.

Can I track which developer ran a query from a shared workspace?

Cloud logs only show the service account name when teams share a single role. You must map individual user identities to each session to see who ran a query.

How do we protect customer data when testing queries in build pipelines?

Point your test pipelines to a separate dataset or use dynamic data masking. Masking rewrites emails, phone numbers, and national IDs in results before jobs print them.

The query runs. The emails stay hidden.