Skip to content

Commit

Permalink
Remove leftover print (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoucheiron committed Nov 30, 2020
1 parent 946082d commit 825d5ef
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cfripper/rules/wildcard_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ def invoke(self, cfmodel: CFModel, extras: Optional[Dict] = None) -> Result:
logger.warning(f"Not running {type(self).__name__} rule as AWS_RESOURCE is not defined.")
else:
for logical_id, resource in cfmodel.Resources.items():
if isinstance(resource, self.AWS_RESOURCE):
print(resource.Properties.PolicyDocument)
if isinstance(resource, self.AWS_RESOURCE) and resource.Properties.PolicyDocument.allowed_actions_with(
REGEX_HAS_STAR_OR_STAR_AFTER_COLON
):
Expand Down

0 comments on commit 825d5ef

Please sign in to comment.