All posts

Non-human identity: what it means for your access reviews (on BigQuery)

Why non‑human identities complicate access reviews Are you struggling to keep access reviews accurate when service accounts and bots dominate your BigQuery environment? Traditional access‑review processes focus on human users, using names, departments, and job titles to decide if a role is still needed. When the principal is a machine‑generated service account, those cues disappear; the account inherits the creator’s permissions and is often granted broad access to simplify pipelines. Withou

Free White Paper

Non-Human Identity Management + Access Reviews & Recertification: The Complete Guide

Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.

Free. No spam. Unsubscribe anytime.

Why non‑human identities complicate access reviews

Are you struggling to keep access reviews accurate when service accounts and bots dominate your BigQuery environment?

Traditional access‑review processes focus on human users, using names, departments, and job titles to decide if a role is still needed.

When the principal is a machine‑generated service account, those cues disappear; the account inherits the creator’s permissions and is often granted broad access to simplify pipelines.

Without a control point that can inspect each request, a service account can query BigQuery directly, execute statements, and exfiltrate data while the audit trail remains limited to upstream logs.

The core issue is the absence of a data‑path enforcement layer; the request travels straight from the identity provider to BigQuery, leaving no place to apply just‑in‑time approvals, query blocking, or response masking.

Existing cloud‑native audit logs capture only the identity that authenticated to the provider, not the exact SQL statement or the data returned. That granularity is insufficient for auditors who need to see which service account accessed which table and what columns were exposed.

Regulators increasingly require evidence that every data access is authorized and that sensitive fields are protected. Without a gateway that can enforce masking and retain per‑query evidence, organizations struggle to produce the artifacts needed for SOC 2 or GDPR assessments.

Because hoop.dev operates at Layer 7, it can handle high query volumes without becoming a bottleneck. The gateway streams traffic, applies policies on the fly, and can be horizontally scaled behind a load balancer to match the throughput of large analytics workloads.

Policies are expressed as declarative rules that map identity attributes to allowed operations. This approach lets security teams version‑control access logic, review changes through pull requests, and roll back if a rule introduces unintended exposure.

When a new service account is provisioned by a CI pipeline, the pipeline can request a temporary access token from the gateway, which automatically expires after the approved window, preventing long‑lived credentials from lingering in the environment.

hoop.dev can emit alerts to your SIEM whenever a blocked query matches a high‑risk pattern, giving security operations a real‑time signal of attempted data exfiltration.

Continue reading? Get the full guide.

Non-Human Identity Management + Access Reviews & Recertification: Architecture Patterns & Best Practices

Free. No spam. Unsubscribe anytime.

Although this post focuses on BigQuery, the same gateway model works for PostgreSQL, MySQL, and other data stores, letting you apply a consistent access‑review framework across heterogeneous environments.

How hoop.dev fills the gap

This is where a Layer 7 gateway becomes essential. By inserting a proxy between the identity system and BigQuery, you gain a single point to inspect, approve, and record every request, whether it originates from a human or a bot.

hoop.dev acts as that gateway. It validates OIDC or SAML tokens, maps group membership to fine‑grained permissions, and forwards the request to BigQuery only after the policy check passes.

hoop.dev can enforce just‑in‑time approvals, block dangerous queries before they run, and mask sensitive columns in the response, ensuring that unauthorized data never leaves the gateway.

hoop.dev records each session, creating a per‑principal, per‑query log that ties every action to a verified identity, making access reviews a matter of querying the gateway’s audit store instead of hunting scattered logs.

Because masking happens at the protocol layer, downstream services or automated agents receive only the redacted view, satisfying privacy requirements without changing application code.

hoop.dev holds the BigQuery credential, so the service account secret never appears in code repositories or CI pipelines, eliminating a common source of credential leakage.

Getting started with hoop.dev

To get started, follow the getting‑started guide, which walks you through deploying the gateway, registering a BigQuery connection, and configuring OIDC authentication.

The learn page provides deeper coverage of policy design, masking rules, and approval workflows, helping you tailor the gateway to your organization’s risk profile.

FAQ

How does hoop.dev differentiate between human users and service accounts? The gateway inspects token claims and group memberships. Human users typically belong to interactive groups, while service accounts are tagged with machine‑specific attributes. Policies can be scoped separately for each category.

Can I apply masking retroactively to data that was already logged? Masking is applied at response time. Historical logs retain the original payload, but you can reprocess them with the same masking rules if you need a redacted archive.

Will the gateway add noticeable latency to my BigQuery queries? hoop.dev adds minimal processing overhead because it streams traffic and applies lightweight checks. In most workloads the added latency is measured in milliseconds and is outweighed by the security benefits.

Is the solution open source and auditable? Yes, hoop.dev is MIT‑licensed and fully open source. You can review the code, contribute improvements, and build custom extensions that meet your specific compliance requirements.

Adopting a gateway transforms access reviews from a manual checklist into an automated, evidence‑rich process that scales with your cloud footprint.

Explore the open‑source repository on GitHub to start securing your BigQuery access.

Open source

Save the open-source gateway for agent data access

Hoop is MIT-licensed infrastructure for controlling how AI agents reach production data. Star hoophq/hoop so you can inspect it, deploy it, or share it when your team starts governing agent access.

Star and save the repo →More posts