Skip to content

Commit

Permalink
Fixed spelling mistake in hardcoded_RDS_password.py rule (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
Morrolan authored and oscarbc96 committed Dec 10, 2019
1 parent 898c63c commit 0ab81d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cfripper/rules/hardcoded_RDS_password.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def invoke(self, cfmodel):
# check each instance with the context of clusters.
for logical_id, resource in instances_to_check:
if resource.Properties.get("DBClusterIdentifier") and any(
clutser_id in resource.Properties.get("DBClusterIdentifier")
for clutser_id in password_protected_cluster_ids
cluster_id in resource.Properties.get("DBClusterIdentifier")
for cluster_id in password_protected_cluster_ids
):
continue

Expand Down

0 comments on commit 0ab81d3

Please sign in to comment.