The IAM Access Analyzer unused access workflow is the operating loop around findings AWS already computes: who owns the stale role, whether the right action is delete or a policy edit, and what gets archived with a reason. An analyzer with a tracking period and a backlog of active findings is a detector. The exam, and the person who still has a key, both care about the decision that followed. Rutagon runs that loop in the account where the roles actually live. We wire one analyzer, a triage split, an owner, and an evidence row per closed finding.
Unused access is a different analyzer from external access. External access findings, the public-bucket and cross-account kind, are the product's older report. Unused access watches IAM roles and IAM users for access that has gone quiet. AWS documents the finding types and the tracking period in IAM Access Analyzer findings. The finding catalog is the companion piece in IAM Access Analyzer unused access. This article is what we do with the queue.
How the IAM Access Analyzer unused access workflow is scoped
Create one unused-access analyzer, not one per Region. AWS states that unused-access findings do not change based on Region, and that an analyzer in every Region where you have resources is unnecessary. The charge for unused access is per IAM role and user analyzed, per analyzer, per month. A regional copy multiplies that charge and produces the same findings. External access analysis stays on its own analyzer. Mixing the two questions into one mental queue is how a public S3 finding and a quiet role get the same ticket template and the wrong fix.
An account analyzer uses type ACCOUNT_UNUSED_ACCESS. An organization analyzer uses type ORGANIZATION_UNUSED_ACCESS and is created from the management account or the delegated administrator. A member account that is neither of those can create an analyzer for itself, and the organization-wide create fails there. The tracking period is unusedAccessAge, a number of days from 1 to 365. AWS describes the setup in create an unused access analyzer.
aws accessanalyzer create-analyzer \
--analyzer-name unused-access \
--type ACCOUNT_UNUSED_ACCESS \
--configuration '{"unusedAccess":{"unusedAccessAge":90}}' Ninety days matches a quarterly access review. It is the wrong window when a legitimate job runs less often than the tracking period. The analyzer only reports access that has been unused for the whole tracking period, and it skips entities that have not existed that long. A role created last week will not appear as unused, which is correct, and it also means a brand-new admin role is invisible to this detector until the window fills. We set the age to cover the rarest use we intend to keep. Break-glass roles are excluded with the analyzer's tag rule so they do not page every cycle. The exclusion is written down next to the tag. An untagged exclusion is a blind spot with no owner.
Security Hub documents a separate service-linked unused-access analyzer with a fixed 90-day lookback, included with Security Hub, which you cannot reconfigure while Security Hub is enabled. That analyzer is a detection feed. When the review cycle needs a different tracking period, the customer-managed analyzer is the system of record. Deleting the service-linked one to "clean up a duplicate" fights the Security Hub integration. Pointing the evidence pack at both, without saying which one the review used, gives an auditor two queues that disagree.
Triage before anyone deletes a role
The four finding types are UnusedIAMRole, UnusedIAMUserAccessKey, UnusedIAMUserPassword, and UnusedPermission. They do not share a remediation. An unused role that nothing has assumed is a delete candidate after you confirm no trust policy and no automation still names it. An unused access key is a deactivate-and-delete on that key, and the IAM user may still be required. An unused password is a console credential, often on a user that also has a key, and the two findings close separately. An unused permission is a policy edit. Deleting the role because one action was unused removes access that the same role used yesterday.
UnusedPermission is only as deep as IAM's last-accessed data. Service-level unused permissions are broadly available. Action-level findings exist for the actions AWS supports in last-accessed information, which is not every action in every service. A role with no unused-permission finding has not been proven least privilege. It has been quiet at the resolution the analyzer has. We say that in the evidence note so the review does not overclaim.
aws accessanalyzer list-findings-v2 \
--analyzer-arn "$ANALYZER_ARN" \
--filter '{"findingType":{"eq":["UnusedIAMUserAccessKey"]},"status":{"eq":["ACTIVE"]}}' Keys go first. A key that has not signed a request inside the tracking window is standing credential risk, and it is the closest cousin of the access-key removal in a CI review. Roles go next, after a search for the role name in trust policies, pipeline config, and instance profiles. Permission findings go to the team that owns the policy, as a diff, not as a page that says "delete the role." Privileged paths, where the unused role is an admin path, are handled with the tighter review in privileged access review automation. Roles that exist only because a pipeline assumes them are cross-checked with CI role access review.
Each finding needs an owner before it needs a click in the console. The owner is a tag on the role or user, resolved to a person or a team queue. The creator's console identity from old CloudTrail events is a hint, and it is a bad system of record, because that person may have left. Findings with no owner go to a single triage queue with a due date. They do not stay assigned to "the security team" as a group with no name.
Archive is a decision, and the pack is the outcome
Archiving a finding sets its status and stops it from looking active. The archive is legitimate for a role whose quiet period is expected: a disaster-recovery assume that should stay unused until the failover test. The archive record contains the finding id, the analyzer ARN, the tracking period, the reason, the owner, and the date the exception is reviewed again. An archive with no reason is how the queue goes to green the week before the auditors arrive and comes back red when they ask why the role still exists.
When the action is revoke, the evidence is the finding id, the API call that removed the key or the role or the statement, and a follow-up read that shows the grant is gone. Access Analyzer will resolve a finding on its own scan after the access is used again or removed, and that resolution is a lagging indicator. We do not wait for the next scan to claim the revoke happened. The IAM call is the timestamp.
The pack that goes to the GRC platform you already run is one row per closed finding, plus the analyzer configuration: name, type, Region it was created in, unusedAccessAge, and the tag exclusions. A console total of "active findings" without the closed rows shows the backlog. It does not show the review. This loop sits on AWS cloud infrastructure work we already do in multi-account organizations. The analyzer is an AWS feature. The workflow is the part that makes the feature survive an exam.
Rutagon leaves the client's analysts in the reviewer seat. We build the query, the owner map, the exception log, and the evidence drop. A finding we archive ourselves, without the owner's reason, is a finding we reopen. The same standard applies to the production SaaS platform we operate: unused roles are triaged on a schedule, and an archive has a name next to it.
Frequently Asked Questions
Does one unused-access analyzer cover every Region?
Yes. Unused-access findings are about IAM principals, and IAM is global. AWS documents that the findings do not vary by Region and that you do not need an analyzer in each Region where resources exist. Extra analyzers add to the unused-access charge, which is based on roles and users analyzed per analyzer per month.
What is the difference between an unused role and an unused permission?
An UnusedIAMRole finding means the role has not been used inside the tracking window. The usual fix is to confirm nothing still depends on it, then delete it. An UnusedPermission finding means a granted service or action has not been used. The fix is a policy edit. Deleting the role for an unused action also deletes the actions that role is still using.
How should break-glass roles be kept out of the queue?
Tag them and add that tag to the analyzer's exclusion rule, which AWS supports at create time. Record the tag, the role names, and why they are allowed to sit unused. An exclusion without a list becomes a place to hide roles that should have been reviewed.
What belongs in the evidence pack for a closed finding?
The analyzer ARN, the tracking period, the finding id and type, the owner, the decision (revoke or archive), the reason, and the API evidence of the change. For an archive, include the next review date. A screenshot of the analyzer's summary count does not carry any of that.
Talk to us about unused access in your AWS accounts. Contact Rutagon at rutagon.com/contact, 907-841-8407, or contact@rutagon.com.