New: Access Diff now reviews Terraform pull requests on GitHub

Newsroom / Product /

Google Cloud and Azure join AWS in the AccessRoot access model

AccessRoot now reads access in Google Cloud and Azure with scoped, read-only connections, including impersonation and role scope.

AccessRoot started with AWS. You can now connect Google Cloud projects and Azure subscriptions too, and both feed the same access model that Access Graph, Access Diff and the rest of the product use. Like the AWS connection, both are read-only.

Why they are not the same problem

Each cloud has its own way of making access surprising. In AWS it is often a chain of role assumptions. In Google Cloud it is inheritance and service account impersonation. In Azure it is the scope at which a role is assigned. The connections are built around those differences, so findings describe the mechanism that is actually at work.

For Google Cloud, AccessRoot reads service accounts, IAM bindings including those inherited from organizations, folders and projects, impersonation relationships, and workload identity such as Workload Identity Federation used by CI/CD. For Azure, it reads RBAC role assignments across management groups, subscriptions, resource groups and resources, managed identities and federated identity credentials, and the permission model of Key Vault resources. Microsoft Entra ID can be connected for user and group context.

Google Cloud: one binding, a new path

In the sample workspace, the deploy.yml workflow authenticates as the ci-deploy service account in platform-prod. In customer-prod, the records-exporter service account already reads objects in the gs://customer-records-prod bucket.

Pull request #207 adds a binding in infra/gcp/identity.tf:

resource "google_service_account_iam_member" "ci_deploy_token" {
  service_account_id = google_service_account.records_exporter.name
  role               = "roles/iam.serviceAccountTokenCreator"
  member             = "serviceAccount:[email protected]"
}

The change looks small. It lets ci-deploy create access tokens for records-exporter, so the workflow can now reach a production bucket it could not reach before. Access Diff reports a new path to sensitive production customer exports on the pull request. The recommended review is whether the deployment workload needs to impersonate records-exporter at all.

Azure: the right role at the wrong scope

Pull request #231 changes infra/azure/access.tf. It gives the managed identity mi-platform-deploy the Key Vault Secrets User role so the workflow can read secrets from kv-deployment-config. The role is correct. The assignment is made on the rg-production resource group, and that group also contains kv-customer-prod, a vault with sensitive customer credentials. Both vaults use Azure RBAC, so the assignment also authorizes reading secrets in kv-customer-prod.

Access Diff reports the unexpected authorization before the merge and recommends narrowing the assignment from the resource group to the kv-deployment-config resource.

In both examples the finding describes what becomes authorized, not that the workflow used it.

What stays the same

Each connection uses a scoped identity with read permissions, chosen by you per project or subscription. AccessRoot does not read application records, object contents or secret values, and it has no permission to change IAM. Fixes arrive as pull requests that your team reviews, merges and deploys. Access that crosses into an unconnected project or subscription cannot be traced to its end, so connect the ones you want in the model.

Once connected, you can trace paths in Access Graph, review Terraform and OpenTofu changes with Access Diff, prepare narrower changes with Remediation and compare approved access with observed access in Access Drift.

The Google Cloud guide and the Azure guide walk through connecting each environment. The product pages are at /integrations/google-cloud and /integrations/azure, and you can book a demo to see both examples on a pull request.