diff --git a/policies/aws_s3_policies/aws_s3_bucket_policy_confused_deputy.py b/policies/aws_s3_policies/aws_s3_bucket_policy_confused_deputy.py index 39967acb1..c1e552f94 100644 --- a/policies/aws_s3_policies/aws_s3_bucket_policy_confused_deputy.py +++ b/policies/aws_s3_policies/aws_s3_bucket_policy_confused_deputy.py @@ -1,6 +1,12 @@ import json -REQUIRED_CONDITIONS = {"aws:SourceArn", "aws:SourceAccount", "aws:SourceOrgID", "aws:SourceOrgPaths"} +REQUIRED_CONDITIONS = { + "aws:SourceArn", + "aws:SourceAccount", + "aws:SourceOrgID", + "aws:SourceOrgPaths", +} + def policy(resource): bucket_policy = resource.get("Policy")