Home / Blog / Story #19
Operational Playbook • Identity & Access Julian Morrisette • 7 min read

How to Audit User Access Without Drowning in Group Sprawl

Auditing User Access and Untangling Identity Group Sprawl

In any large organization, access control is rarely a flat list of usernames. Instead, permissions are granted to groups, which contain subgroups, which inherit from other teams' groups—mixing human engineers, temporary on-call responders, and automated service accounts across dozens of layers. If you try to audit that sprawl without a structured classification model, your access review quickly turns into an unreadable mess.

The 4-Step Mental Model for Clean Access Reviews:
1. Flatten the Full Tree First: Expand every nested subgroup down to the individual human and machine principals while respecting explicit exclusions.
2. Sort Humans into Non-Overlapping Risk Buckets: Never double-count the same person across multiple failure categories.
3. Document Explicitly Denied Principals Separately: Show who is actively blocked by policy rules and why.
4. Reconcile Human Access Against Machine-Only Group Lockdown: Ensure your user access numbers and your service-group lockdown numbers tell the exact same story.

1. Why Looking Only at Top-Level Groups Fails

A top-level production group might look clean at first glance because it only lists three child groups as members. However, two levels deeper, one of those child groups might include a broad departmental mailing list, a departed contractor, or fifty permanent human accounts who no longer work on the system. An effective User Access Review (UAR) has to traverse the entire hierarchy—evaluating both active permanent members and temporary/just-in-time eligible members—so nothing hides inside a nested subgroup.

2. Using Mutually Exclusive Buckets So the Math Adds Up

One of the fastest ways to lose credibility during an audit is presenting overlapping numbers that don't add up to the total headcount. For example, if a former employee also happens to be outside the current manager's reporting chain and had standing permanent access, counting them in all three columns makes it look like three separate violations instead of one person.

To keep reporting crystal clear, every evaluated human principal should be triaged in strict priority order into non-overlapping conditions:

  • Highest Priority — Former or Inactive Personnel: Any account belonging to someone who has left the organization or no longer holds active status. This is an immediate revocation blocker.
  • Second Priority — Outside Target Management Alignment: Active personnel who transferred to a different org or sit outside the designated system owner's reporting chain without a documented cross-team exception.
  • Third Priority — Standing Permanent Access vs. Just-in-Time Eligibility: Active, properly aligned team members who still hold always-on standing access where policy prefers temporary, on-demand elevation.

3. Accounting for Machine-Only Groups and Policy Denials

Finally, a complete access audit looks beyond human employees in two critical ways:

  • Explaining Active Policy Denials: When an identity system actively blocks a specific user or automated delegate account because of data-protection or role-restriction policies, simply dropping them from the report leaves auditors guessing. Listing denied principals in their own dedicated view—with a clear explanation of which asset and policy rule blocked them—turns a potential question mark into positive proof of enforcement.
  • Cross-Checking Machine-Only Lockdown: Every group that contains standing permanent humans is, by definition, a human-bearing group (`Level 0` on a machine-only lockdown scale). Conversely, every group intended strictly for automated service-to-service traffic must have zero standing permanent humans and proper lockdown enforcement. Making sure your human UAR counts and your machine-group lockdown counts match 1-for-1 guarantees complete audit consistency.