You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove "triage worksheet" wording (no longer generated), note multi-account
scanning, add Credentials Exposure to the risk list, and link each risk to its
glossary page. Reconciled with this branch's Pathfinding.cloud wording. Harvested
from #558; the obsolete pyproject and .readthedocs.yml uv-pin hunks are dropped
(master already requires uv >=0.11.0, so pinning to 0.10 would break the docs
build), and the cli.py docstring change is handled separately on the feature branch.
Co-authored-by: nikhil6393 <nikhil900285@gmail.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,13 +25,14 @@ For full documentation, please visit the [project on ReadTheDocs](https://clouds
25
25
26
26
## Overview
27
27
28
-
Cloudsplaining identifies violations of least privilege in AWS IAM policies and generates a pretty HTML report with a triage worksheet. It can scan all the policies in your AWS account or it can scan a single policy file.
28
+
Cloudsplaining identifies violations of least privilege in AWS IAM policies and generates a pretty HTML report. It can scan all the policies in your AWS account, across multiple AWS accounts, or it can scan a single policy file.
29
29
30
30
It helps to identify IAM actions that do not leverage resource constraints. It also helps prioritize the remediation process by flagging IAM policies that present the following risks to the AWS account in question without restriction:
31
-
* Data Exfiltration (`s3:GetObject`, `ssm:GetParameter`, `secretsmanager:GetSecretValue`)
32
-
* Infrastructure Modification
33
-
* Resource Exposure (the ability to modify resource-based policies)
34
-
* Privilege Escalation (based on Pathfinding.cloud)
Cloudsplaining also identifies IAM Roles that can be assumed by AWS Compute Services (such as EC2, ECS, EKS, or Lambda), as they can present greater risk than user-defined roles - especially if the AWS Compute service is on an instance that is directly or indirectly exposed to the internet. Flagging these roles is particularly useful to penetration testers (or attackers) under certain scenarios. For example, if an attacker obtains privileges to execute [ssm:SendCommand](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_SendCommand.html) and there are privileged EC2 instances with the SSM agent installed, they can effectively have the privileges of those EC2 instances. Remote Code Execution via AWS Systems Manager Agent was already a known escalation/exploitation path, but Cloudsplaining can make the process of identifying theses cases easier. See the [sample report](https://opensource.salesforce.com/cloudsplaining/#executive-summary) for some examples.
37
38
@@ -78,7 +79,7 @@ Policy Sentry [makes it really easy to do this](https://github.com/salesforce/po
78
79
79
80
That's why we wrote Cloudsplaining.
80
81
81
-
Cloudsplaining identifies violations of least privilege in AWS IAM policies and generates a pretty HTML report with a triage worksheet. It can scan all the policies in your AWS account or it can scan a single policy file.
82
+
Cloudsplaining identifies violations of least privilege in AWS IAM policies and generates a pretty HTML report. It can scan all the policies in your AWS account, across multiple AWS accounts, or it can scan a single policy file.
Copy file name to clipboardExpand all lines: docs/index.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
# Cloudsplaining
2
2
3
-
[Cloudsplaining](https://github.com/salesforce/cloudsplaining) identifies violations of least privilege in AWS IAM policies and generates a pretty HTML report with a triage worksheet. It can scan all the policies in your AWS account or it can scan a single policy file.
3
+
[Cloudsplaining](https://github.com/salesforce/cloudsplaining) identifies violations of least privilege in AWS IAM policies and generates a pretty HTML report. It can scan all the policies in your AWS account, across multiple AWS accounts, or it can scan a single policy file.
4
4
5
5

6
6
7
7
## Commands
8
8
9
9
*`cloudsplaining download` - Download IAM authorization details for an entire AWS account.
10
10
*`cloudsplaining create-exclusions-file` - Create an exclusions file to filter out false positives specific to your context.
11
-
*`cloudsplaining scan` - Scan the IAM authorization details file; generate an HTML report and a triage worksheet.
11
+
*`cloudsplaining scan` - Scan the IAM authorization details file; generate an HTML report.
12
12
*`cloudsplaining scan-policy-file` - Scan a single IAM policy file
13
13
*`cloudsplaining --help` - Print help messages and exit.
[Cloudsplaining](https://github.com/salesforce/cloudsplaining) identifies violations of least privilege in AWS IAM policies and generates a pretty HTML report with a triage worksheet. It can scan all the policies in your AWS account or it can scan a single policy file.
3
+
[Cloudsplaining](https://github.com/salesforce/cloudsplaining) identifies violations of least privilege in AWS IAM policies and generates a pretty HTML report. It can scan all the policies in your AWS account, across multiple AWS accounts, or it can scan a single policy file.
4
4
5
5
It helps to identify IAM actions that do not leverage resource constraints and thus can present the following risks to the AWS account in question without restriction:
6
-
* Data Exfiltration (`s3:GetObject`, `ssm:GetParameter`, `secretsmanager:GetSecretValue`)
7
-
* Infrastructure Modification
8
-
* Resource Exposure (the ability to modify resource-based policies)
9
-
* Privilege Escalation (based on Rhino Security Labs research)
You can also specify a custom exclusions file to filter out results that are False Positives for various reasons. For example, User Policies are permissive by design, whereas System roles are generally more restrictive. You might also have exclusions that are specific to your organization's multi-account strategy or AWS application architecture.
12
13
@@ -18,4 +19,4 @@ You can also specify a custom exclusions file to filter out results that are Fal
0 commit comments