Skip to content

Commit

Permalink
Add SNS wildcard only resources (#136)
Browse files Browse the repository at this point in the history
* Add SNS wildcard only resources

* Bump version
  • Loading branch information
jsoucheiron committed Dec 9, 2020
1 parent a9bd092 commit 4a58588
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.

## [0.21.1] - 2020-12-9
### Improvements
- Add SNS actions that only allow wildcards


## [0.21.0] - 2020-11-30
### Improvements
- Upgraded to pycfmodel 0.8.1 (this will improve policy action detection)
Expand Down
2 changes: 1 addition & 1 deletion cfripper/__version__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
VERSION = (0, 21, 0)
VERSION = (0, 21, 1)

__version__ = ".".join(map(str, VERSION))
20 changes: 20 additions & 0 deletions cfripper/cloudformation_actions_only_accepts_wildcard.py
Original file line number Diff line number Diff line change
Expand Up @@ -492,4 +492,24 @@
"s3:ListAllMyBuckets",
"s3:ListJobs",
"s3:PutAccountPublicAccessBlock",
"sns:CheckIfPhoneNumberIsOptedOut",
"sns:CreatePlatformApplication",
"sns:CreatePlatformEndpoint",
"sns:DeleteEndpoint",
"sns:DeletePlatformApplication",
"sns:GetEndpointAttributes",
"sns:GetPlatformApplicationAttributes",
"sns:GetSMSAttributes",
"sns:GetSubscriptionAttributes",
"sns:ListEndpointsByPlatformApplication",
"sns:ListPhoneNumbersOptedOut",
"sns:ListPlatformApplications",
"sns:ListSubscriptions",
"sns:ListTopics",
"sns:OptInPhoneNumber",
"sns:SetEndpointAttributes",
"sns:SetPlatformApplicationAttributes",
"sns:SetSMSAttributes",
"sns:SetSubscriptionAttributes",
"sns:Unsubscribe",
]

0 comments on commit 4a58588

Please sign in to comment.