Remediation
Turn a risky access finding into a reviewable pull request, preview its effect and verify the result after your team deploys it.
Finding excessive access is one task. Removing it without breaking what your systems rely on is another. Remediation traces a finding to the policy or relationship behind it, proposes a targeted change, previews the expected effect and delivers the change as a pull request. Your team reviews, approves, merges and deploys it. AccessRoot never changes production IAM directly.
The workflow
- Investigate the path. Start from a flagged finding and inspect the identities, role trust, permissions, infrastructure source and owner behind it.
- Propose a targeted change. AccessRoot suggests a narrower adjustment to the policy or relationship that creates the unnecessary access, and explains why it is relevant.
- Preview and review. Compare current access with the proposed access. See what is expected to disappear, what should remain and which dependencies need confirmation before engineering approves.
- Deploy and verify. The approved change goes through your normal Git and deployment process. After deployment, AccessRoot compares observed access with the expected result.
The finding, the proposed fix and the verification result stay connected throughout.
Example: finding F-031
Finding F-031 is a critical, unintended write path to production records. Its root cause is that data-maintenance-role trusts ci-deploy-role. The path runs from the deploy.yml workflow through ci-deploy-role and data-maintenance-role to the CustomerRecords table.
Choose the change
There are several ways to remove the path, and they are not equally safe.
| Option | Change | Tradeoff |
|---|---|---|
| A | Remove the entire data-maintenance-role |
Eliminates the path, but may interrupt other principals that still need the role. The broadest change |
| B | Remove the write permission from data-maintenance-role |
May block production writes for every principal that uses the role, including those with legitimate access |
| C | Narrow the trust relationship so ci-deploy-role is no longer trusted |
Targets the relationship behind this path, after you confirm the assumption is not required |
AccessRoot recommends option C and shows the tradeoffs. The aim is to fix the relationship that creates the risk, not everything around it.
Review the pull request
AccessRoot proposes PR #192, “Restrict data-maintenance-role trust”, on the branch accessroot/f-031-narrow-trust. It edits infra/iam/data-access.tf so that only ops-maintenance-role remains trusted:
Principal = { AWS = [
- aws_iam_role.ci_deploy.arn,
aws_iam_role.ops_maintenance.arn,
] }
The pull request ties the change to the original finding and previews its access effect.
Read the impact preview
The preview separates what the fix changes from what it leaves alone.
| Result | Route | Action |
|---|---|---|
| Removed | deploy.yml to data-maintenance-role to CustomerRecords, via ci-deploy-role |
dynamodb:PutItem |
| Remains | ci-deploy-role to deploy-artifacts |
s3:PutObject |
| Remains | ops-maintenance-role to data-maintenance-role |
sts:AssumeRole |
The preview also lists questions for the reviewer, because reducing privilege is not automatically safe:
- Does a scheduled workflow still assume
data-maintenance-role? - Are there other paths to
CustomerRecords? - Do the available usage signals cover infrequent workloads?
The preview describes the expected authorization change. It is not a promise that every workload will keep running. Usage signals and path analysis help you assess dependencies. They do not replace testing or approval.
From proposed to verified
A remediation moves through four states, and each is owned by someone different.
| State | Who | What it means |
|---|---|---|
| Proposed | AccessRoot | The change is prepared as a pull request, with the access paths expected to close and the dependencies to review |
| Approved | Your reviewers in GitHub | Your required reviews and branch protection have passed |
| Deployed | Your pipeline | The change is merged and applied. AccessRoot does not deploy |
| Verified | AccessRoot, from observed access | The path is no longer reachable and observed access matches the intended state |
A merged fix is not the same as a verified fix. If the path is still reachable through another relationship, or if access changes outside the approved configuration, the discrepancy stays visible. It can be investigated in Access Drift.
Permissions
Opening remediation pull requests is a separate permission on the repository connection, and it is only used when you enable it. The cloud connections remain read-only. See GitHub, GitLab and Permissions and data.
Track the work
If Jira and Slack are connected, a finding can be sent to the right team with the identity, resource, path, risk and source. In the sample workspace, a critical alert goes to Platform Engineering in Slack, and the Jira issue SEC-284 tracks the work until the result is verified. These integrations create issues and notifications only. They do not grant AccessRoot any permission over cloud IAM.
Other problems the same workflow handles
- An over-privileged machine identity: narrow the permission or trust scope while reviewing dependent jobs.
- An unexpected role-assumption path: restrict the responsible relationship, with a preview of the affected paths.
- Stale privilege: use the available usage and ownership context to evaluate removal of a legacy role or permission.
Related
- Prioritization explains which findings to start with.
- Access Drift covers differences found after deployment.
- The Remediation product page shows the workflow in the product.