Compare

AccessLens and Cloudsplaining

Cloudsplaining finds least-privilege violations in IAM policies and writes an HTML report. AccessLens scans IAM and trust across accounts. Compared.

Facts checked against the sources listed at the end.

Cloudsplaining, from Salesforce, identifies violations of least privilege in AWS IAM policies and generates an HTML report. It flags policies that allow data exfiltration, infrastructure modification, resource exposure, privilege escalation or credentials exposure without resource constraints. Its input is the output of IAM's GetAccountAuthorizationDetails, which its download command fetches, and it can also scan a single policy file or several accounts with an assumed role. It's open source under the BSD 3-Clause licence.

AccessLens reads the same GetAccountAuthorizationDetails data, among much else, and adds trust analysis, a trust graph, credential hygiene and service posture.

The short version

Choose Cloudsplaining if you want a focused, open-source report of which IAM policies grant risky actions without resource constraints, or want to scan policy files before they're deployed.

Choose AccessLens if you also need to know who can assume which roles (and from where), whether keys, passwords and MFA are in order, whether resources are public, and how risk changes over time, with alerts between scans. It can check policies before deployment too.

Side by side

FeatureAccessLensCloudsplaining
FormDesktop app (macOS, Windows, Linux)Python CLI that writes an HTML report and JSON
LicenceFree for personal use; work licences comingOpen source, BSD 3-Clause
InputLive scans through one read-only role; a pasted policy, CloudFormation template (JSON) or Terraform plan checked before deploymentGetAccountAuthorizationDetails output, a single policy file, or multiple accounts via an assumed role
Policy riskWildcard and NotAction grants, broad inline policies, admin attachments, 27 escalation methods, and data exfiltration, resource exposure, credentials exposure and infrastructure modification on every resource, judged per principal after permissions boundaries, explicit denies and service control policiesData exfiltration, infrastructure modification, resource exposure, privilege escalation and credentials exposure without resource constraints
Trust and pathsTrust-policy rules and a cross-account trust graphIdentifies roles that AWS compute services can assume
Beyond policiesCredential hygiene, resource policies, service posture, CloudTrail alerts, reportsFocused on IAM policies
Latest release0.1.0 (first release not yet published)0.9.1, released June 14, 2026

Cloudsplaining details are from its README, licence file and PyPI; see Sources.

Where Cloudsplaining is ahead

  • Scripted review of policy files. It scans policy files from the command line, so it fits into a review step or a script. AccessLens checks a policy, CloudFormation template or Terraform plan before deployment too, but only by pasting it into the app.
  • A focused least-privilege report in one HTML file, listing each policy with the risky actions it allows, that's easy to share. AccessLens reports the same kinds of risk per user or role, in the app and its reports.
  • Open source and scriptable.

Where AccessLens helps

  • Who can use those permissions. A broad policy matters most when it's attached to a role an outside account or an OIDC provider can assume. The trust graph and trust-policy rules show that.
  • What a principal can actually do. The same risk categories, judged on each user's and role's effective permissions: when a permissions boundary, explicit deny or service control policy blocks the action, there's no finding, and when a condition might, the finding says so.
  • More than policies: MFA, keys, passwords, root use, public resources and service posture, in 251 rules.
  • Over time: findings that keep their status across scans, scheduled scans, CloudTrail alerts and trend reports.

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.