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
| Feature | AccessLens | Cloudsplaining |
|---|---|---|
| Form | Desktop app (macOS, Windows, Linux) | Python CLI that writes an HTML report and JSON |
| Licence | Free for personal use; work licences coming | Open source, BSD 3-Clause |
| Input | Live scans through one read-only role; a pasted policy, CloudFormation template (JSON) or Terraform plan checked before deployment | GetAccountAuthorizationDetails output, a single policy file, or multiple accounts via an assumed role |
| Policy risk | Wildcard 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 policies | Data exfiltration, infrastructure modification, resource exposure, privilege escalation and credentials exposure without resource constraints |
| Trust and paths | Trust-policy rules and a cross-account trust graph | Identifies roles that AWS compute services can assume |
| Beyond policies | Credential hygiene, resource policies, service posture, CloudTrail alerts, reports | Focused on IAM policies |
| Latest release | 0.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
- Cloudsplaining: README on GitHub
- Cloudsplaining: LICENSE
- Cloudsplaining: PyPI release data
- AccessLens: Rule catalogue and Trust graph