New: Access Diff now reviews Terraform pull requests on GitHub

Cloud access, connected
from code to production

AccessRoot brings infrastructure changes, cloud identities, permissions and production access paths into one system. See what a change could enable before merge, understand what exists in production, and bring fixes back into Git.

Halvorne production AWS

Extend export worker permissions

Open · not merged
  • PR #184
  • halvorne/platform-infra
  • production
  • Terraform

HighNeeds reviewF-024

Delete permission introduced for production exports

Potential access: s3:DeleteObject on customer-exports-prod/*

Policy change in this pull request

Unified diff
infra/aws/iam/export-worker.tf export-bucket-access +6−2 lines
data "aws_iam_policy_document" "export_bucket_access" {
statement {
Removed: effect = "Allow"
Removed: actions = ["s3:GetObject"]
Added: effect = "Allow"
Added: actions = [
Added: "s3:GetObject",
Added: "s3:PutObject", Intended
Added: "s3:DeleteObject", Requires review
Added: ]
resources = ["arn:aws:s3:::customer-exports-prod/*"]
}
}
resource "aws_iam_policy" "export_bucket_access" {
name = "export-bucket-access"
policy = data.aws_iam_policy_document.export_bucket_access.json
}
resource "aws_iam_role_policy_attachment" "export_worker" {
role = aws_iam_role.export_worker.name
policy_arn = aws_iam_policy.export_bucket_access.arn
}
  • Source: infra/aws/iam/export-worker.tf
  • Owner: Platform Engineering
  • AWS / production

Go from a permission
to the path behind it.

A role in AWS. A policy in Terraform. A change in a pull request. Each tells part of the story, but none explains the whole picture on its own.

AccessRoot connects the relationships between infrastructure code, identities, policies, and cloud resources, so teams can investigate access with the context they need to act.

Access Graphexport-worker → customer-exports-prod/*
Policy-level model
  1. runs as
  2. policy attached
  3. grants object actions s3:GetObject — Unchanged+s3:PutObject — Added+s3:DeleteObject — Added
  • Modeled relationship
  • Permission changed in selected state
  • Added action
  • Requires review

Who or what
has access?

Identify the identities and workloads connected to sensitive resources.

How is it
granted?

Trace the roles, policies, and relationships that create a potential access path.

Where did it
come from?

Connect infrastructure-managed access to the definitions, pull requests, and owners behind it.

Follow access from
proposal to
production.

Access review, production visibility, and remediation should be part of the same workflow. AccessRoot connects them in five steps.

How it works.

Connect

Bring cloud environments and infrastructure repositories together to establish the context behind access.

Map

Build an Access Graph of identities, roles, permissions, and resources, with links to the code and teams responsible.

Review

Analyze proposed infrastructure changes and see which permissions and access paths they could introduce before merge.

Verify

Compare expected access with production state to identify drift and highlight risks that need investigation.

Remediate

Preview focused changes that remove unnecessary access, then return the fix to a pull request for human review.

The intended change is write access. The unexpected change is delete access.

In pull request #184, a Terraform policy update is meant to let an export worker write files to a production S3 bucket. But the proposed policy also adds s3:DeleteObject.

AccessRoot highlights the additional permission, shows the affected path, and gives reviewers a focused fix before the change is merged.

Inside a pull request.

See the change

The proposed policy adds s3:PutObject and s3:DeleteObject for customer-exports-prod/*.

Understand the impact

The export-worker workload could gain both write and delete capability through its execution role and attached policy.

Access Graphexport-worker → customer-exports-prod/*
Policy-level model
  1. runs as
  2. policy attached
  3. grants object actions s3:GetObject — Unchanged+s3:PutObject — Added+s3:DeleteObject — Added
  • Modeled relationship
  • Permission changed in selected state
  • Added action
  • Requires review

Review the risk

Write access supports the intended task. Delete access introduces an additional destructive capability that needs justification.

Keep the fix in code

Retain s3:PutObject, remove s3:DeleteObject, and review the suggested change through the existing pull request workflow.

Access can change
after the merge.

A reviewed infrastructure change is only one part of the picture. Permissions can be changed outside the normal Git workflow, and privileges can remain in place after they are no longer needed.

AccessRoot compares approved access with observed cloud state to surface drift, stale privilege, and unexpected access paths, so teams know what needs attention in production.

1

Expected access

The access defined by approved infrastructure configuration.

2

Observed access

The access relationships detected in the cloud environment.

3

Drift to investigate

A difference worth tracing back to its identity, resource, source, and owner.

One access model.
Five ways to act on it.

From understanding a permission to correcting it in code, each capability helps teams make a more informed access decision.

platform capabilities

Access Graph

Trace identities, policies, and resources to understand how access paths are formed.

platform capabilities

Access Diff

Review the potential permission impact of infrastructure changes before a pull request is merged.

platform capabilities

Risk Intelligence

Focus on access that matters using privilege, resource sensitivity, reachability, and usage context.

platform capabilities

Access Drift

Spot differences between expected access and what is observed in production.

platform capabilities

Remediation

Prepare focused infrastructure changes that remove unnecessary privilege and stay subject to human review.

Keep access decisions
close to the code.

AccessRoot connects cloud environments, infrastructure as code, and Git-based review. Engineering can work through familiar pull requests while security gets the context to understand and prioritize access changes.

Make access
changes easier to
understand, and
safer to ship

Give engineering and security a shared way to review proposed access, investigate production state, and resolve unnecessary permissions through code.