Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# CHANGELOG

## 0.0.9 (2020-05-03)
* HTML report now always shows Trust Policies for Roles, even if they do not allow assumption from a Compute Service. This can help assessors with triaging and pentesters for targeting.

## 0.0.8 (2020-05-03)
* Migrated to GitHub actions with automated Homebrew releases

Expand Down
2 changes: 1 addition & 1 deletion cloudsplaining/bin/cloudsplaining
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"""
Cloudsplaining is an AWS IAM Assessment tool that identifies violations of least privilege and generates a risk-prioritized HTML report with a triage worksheet.
"""
__version__ = "0.0.8"
__version__ = "0.0.9"
import click
from cloudsplaining import command

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</div>
</div>
<!--Trust Policy Document-->
{% if finding["AssumableByComputeService"]|length > 0 %}
{% if finding["Type"] == "Role" %}
<div class="card">
<div class="card-header">
<a class="card-link" data-toggle="collapse" data-parent="#card-customer-{{ t['results'].index(finding) }}" href="#card-element-customer-trust-policy{{ t['results'].index(finding) }}">Trust Policy Document</a>
Expand Down
24 changes: 24 additions & 0 deletions examples/files/iam-report-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,30 @@ <h6 class="card-header" id="EC2-IAM-example">Role: EC2-IAM-example</h6>
</div>
<!--Trust Policy Document-->

<div class="card">
<div class="card-header">
<a class="card-link" data-toggle="collapse" data-parent="#card-customer-16" href="#card-element-customer-trust-policy16">Trust Policy Document</a>
</div>
<div id="card-element-customer-trust-policy16" class="panel-collapse collapse">
<div class="card-body">
<pre><code>
{
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": "ssm.amazonaws.com"
}
}
],
"Version": "2012-10-17"
}
</code></pre>
</div>
</div>
</div>

<!--/end Trust Policy Document-->

<!--High Priority Risks-->
Expand Down
24 changes: 24 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,30 @@ <h6 class="card-header" id="EC2-IAM-example">Role: EC2-IAM-example</h6>
</div>
<!--Trust Policy Document-->

<div class="card">
<div class="card-header">
<a class="card-link" data-toggle="collapse" data-parent="#card-customer-16" href="#card-element-customer-trust-policy16">Trust Policy Document</a>
</div>
<div id="card-element-customer-trust-policy16" class="panel-collapse collapse">
<div class="card-body">
<pre><code>
{
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": "ssm.amazonaws.com"
}
}
],
"Version": "2012-10-17"
}
</code></pre>
</div>
</div>
</div>

<!--/end Trust Policy Document-->

<!--High Priority Risks-->
Expand Down