The Simplest Way to Make BigQuery and Opslevel Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Pairing bigquery and opslevel links your cloud data warehouse with your internal service catalog. Teams send service ownership and scorecard data into warehouse tables to run reports. This setup helps platform engineers track maturity scores across hundreds of apps over time. It also lets data teams join service owners with cloud cost or incident tables. To make this work well, you must set up clear permissions and safe data flows. How bigquery and opslevel share data and roles The two syste

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.

Pairing bigquery and opslevel links your cloud data warehouse with your internal service catalog. Teams send service ownership and scorecard data into warehouse tables to run reports.

This setup helps platform engineers track maturity scores across hundreds of apps over time. It also lets data teams join service owners with cloud cost or incident tables. To make this work well, you must set up clear permissions and safe data flows.

How bigquery and opslevel share data and roles

The two systems talk to each other in two main directions. First, teams export service catalog facts and rubric results into warehouse tables for long-term charts. Second, some teams push summary metrics from warehouse views back into catalog checks.

To move this data, engineers set up cloud service accounts and API tokens. A background worker or data pipeline reads from one tool and writes to the other. The cloud account needs a role that can read or write specific tables.

On the catalog side, an API token grants permission to read service metadata or post check payloads. Each side trusts the key it receives to act on behalf of the sync job. Good identity setup ensures each key only touches the exact tables and services it needs.

Common failure modes with shared keys and broad access

Many teams start by creating one admin service account for all sync jobs. They put a static JSON key or a long-lived API token into a shared script. Over time, developers copy that same key to run ad-hoc queries from their laptops.

When five people and three scripts share one cloud key, audit logs lose value. You can see that a query ran, but you do not know which person ran it. If that key leaks, an attacker can read every dataset in your cloud project.

Another risk comes from raw data inside warehouse tables that feed catalog checks. Those tables might hold customer emails, phone numbers, card numbers, or national IDs. Engineers who debug sync pipelines often query these tables to fix broken scorecard rules.

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

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Without field controls, those test queries return raw personal data to the screen. Dynamic data masking solves this by rewriting matched fields in query results on the fly.

Scoping permissions and network paths between both tools

To fix these gaps, break apart shared accounts into small, single-purpose roles. Create one cloud service account just for the catalog sync pipeline. Grant it table-level permissions on a single reporting dataset instead of project-wide roles.

Move away from static JSON keys whenever your cloud setup allows workload identity federation. Short-lived tokens cut down the risk of a leaked file sitting on a developer laptop. Rotate any required API tokens on a strict schedule and store them in a secret manager.

Keep human debug access separate from automated pipeline roles at all times. When an engineer needs to inspect a warehouse table, tie that session to their personal login. Log every query with the user identity, the timestamp, and the target dataset.

Restrict network paths so only approved worker nodes can reach your warehouse endpoints. Putting clear identity checks and masking rules in place keeps both systems clean and safe.

Add runtime guardrails and masking beside your databases and APIs

Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.

Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.

Frequently asked questions

Why do teams connect a service catalog to a cloud data warehouse?

Teams link them to join service ownership facts with cost, deploy, and incident data. This lets leaders track engineering standards over months and spot trends across teams.

What permissions should the sync job have in the data warehouse?

Give the sync job read or write roles on one dedicated dataset only. Never grant project admin roles or broad read permissions across unrelated business tables.

How can we protect personal data when engineers debug warehouse sync tables?

Map each engineer to their individual identity and apply dynamic data masking on query results. Masking rewrites sensitive fields like emails or phone numbers while keeping the schema intact.

The query runs. The emails stay hidden.