Skip to content

Commit

Permalink
Fix: AWS Unused IP Permissions (#1570)
Browse files Browse the repository at this point in the history
* fix: AWS Old Snapshots permissions

* docs: add `cloudtrail:LookupEvents`

---------

Co-authored-by: Bryan Karaffa <[email protected]>
  • Loading branch information
mburmeig and bryankaraffa authored Nov 2, 2023
1 parent 0bc16ba commit df617f7
Show file tree
Hide file tree
Showing 3 changed files with 939 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cost/aws/old_snapshots/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ This Policy Template uses [Credentials](https://docs.flexera.com/flexera/EN/Auto
- `rds:DeleteDBClusterSnapshot`*
- `rds:DeleteDBSnapshot`*
- `sts:GetCallerIdentity`
- `cloudtrail:LookupEvents`

\* Only required for taking action (deletion); the policy will still function in a read-only capacity without these permissions.

Expand All @@ -81,7 +82,8 @@ This Policy Template uses [Credentials](https://docs.flexera.com/flexera/EN/Auto
"rds:DescribeDBClusterSnapshots",
"rds:DeleteDBSnapshot",
"rds:DeleteDBClusterSnapshot",
"sts:GetCallerIdentity"
"sts:GetCallerIdentity",
"cloudtrail:LookupEvents"
],
"Resource": "*"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ Mappings:
- "ec2:DescribeRegions"
- "ec2:DescribeImages"
- "ec2:DescribeSnapshots"
- "cloudtrail:LookupEvents"
- "rds:DescribeDBInstances"
- "rds:DescribeDBSnapshots"
- "rds:DescribeDBClusters"
Expand Down
Loading

0 comments on commit df617f7

Please sign in to comment.