Compare

AccessLens and AWS IAM Access Analyzer

IAM Access Analyzer is AWS's own service for external, internal and unused access. AccessLens is a desktop scanner that imports its findings.

Facts checked against the sources listed at the end.

AWS IAM Access Analyzer is part of IAM. It uses logic-based reasoning to find resources shared outside your account or organization, and offers analyzers for internal and unused access, policy validation, custom policy checks and policy generation. AccessLens is a desktop app that scans your accounts' IAM configuration with its own analyzers and imports the findings of any Access Analyzer you already run. They aren't either-or: most teams that use AccessLens should keep Access Analyzer on.

The short version

Use IAM Access Analyzer for AWS's own analysis of external access to supported resources, which reruns about 30 minutes after a policy changes; for unused-access findings based on last-accessed data; and for validating policies as you write them in the IAM console, CLI or API.

Add AccessLens when you want one place, on your own computer, to see trust relationships across all your accounts as a graph with risky paths highlighted and "who can do X?" answers; checks Access Analyzer doesn't make, such as privilege-escalation methods, credential hygiene and service posture; CloudTrail alerts while you work; and PDF, CSV, SARIF or OCSF reports with compliance mappings.

Side by side

FeatureAccessLensIAM Access Analyzer
What it isDesktop app (macOS, Windows, Linux)AWS service, in the console, CLI and API
External access to resourcesPolicy checks on S3, KMS, Lambda, SQS, SNS, Secrets Manager, EventBridge, ECR repositories, DynamoDB tables, EFS file systems and more; imports Access Analyzer findingsLogic-based analysis of supported resource types, per Region
Unused accessUnused users, roles, keys and passwords, and unused services and actions from IAM's free last-accessed data, with each policy trimmed to what was usedUnused roles, keys, passwords, services and actions (paid analyzer)
Cross-account trustA trust graph with path and reachability queriesExternal access findings for IAM roles
Policy authoring helpCheck a policy, CloudFormation template (JSON) or Terraform plan before deploying it, offline, with the scan's policy and trust rulesPolicy validation, custom policy checks, policy generation from CloudTrail
Change alertsCloudTrail LookupEvents polling while the app runsRe-analyzes changed policies within about 30 minutes
PriceFree for personal use; work licences comingExternal access, policy validation and generation free; unused access $0.20 per role or user per month; internal access $9 per resource per Region per month; custom checks $0.002 per call

Access Analyzer details are from AWS's documentation and pricing page; see Sources.

How AccessLens uses Access Analyzer

AccessLens's access_analyzer analyzer reads the active findings of analyzers that already exist in your accounts and shows them alongside its own, with the same triage, scoring and reports. If no analyzer covers a scanned Region, AccessLens reports that as a finding (ACCESS_ANALYZER_NOT_ENABLED), mapped to CIS 1.20.

AccessLens never creates an analyzer. The only thing it ever creates in an account is its own read-only role. See the rule catalogue.

Where IAM Access Analyzer is ahead

  • It's AWS's own analysis. It reasons about resource policies with AWS's own logic, checks external access on a few resource types AccessLens doesn't (Lambda layers, and EBS and RDS snapshots shared with specific accounts; AccessLens finds public ones), and runs inside AWS without anything on your computer.
  • It re-checks on its own. After a policy is added or changed, Access Analyzer analyzes it within about 30 minutes, and it also rescans periodically. AccessLens scans on demand or on a schedule, only while the app is running.
  • Policy authoring. Policy validation against IAM's grammar, custom policy checks ("does this policy grant new access?") right in the console, CLI and API, and policy generation from CloudTrail activity help you write least-privilege policies. AccessLens can check a policy or template before you deploy it, with its own rules, and suggests trimmed versions of existing policies from IAM's last-accessed data, but it doesn't validate syntax or generate a policy from CloudTrail activity.
  • Unused access across an organization, continuously. The unused access analyzer reports unused services and actions for every role and user it covers, refreshed by AWS. AccessLens reports the same kind of findings for free from IAM's last-accessed data, but only for the accounts you scan, when you scan them.

Where AccessLens helps

  • Paths, not just findings. The trust graph shows how an OIDC provider, an external account or * can reach an admin role through a chain of role assumptions.
  • Escalation and hygiene. Privilege-escalation methods, wildcard and NotAction grants, MFA and root-user use, key age, password policy, IAM Identity Center permission sets, and posture checks for data protection, network exposure and logging.
  • What to change, not just what's unused. Each unused-permissions finding comes with the principal's policies trimmed to what IAM shows it used: unused services and unused, explicitly listed actions removed, wildcards kept and annotated, resources and conditions unchanged. It's a suggestion to review, and it never adds access.
  • Everything local. Findings, notes and reports stay in a database on your computer, and the app's only network traffic is to AWS.

Sources

Try it on your own accounts.

Sign in with IAM Identity Center, create one read-only role, and scan. Your findings stay on your machine.