diff --git a/policies/aws_waf_policies/aws_waf_webacl_has_associated_resources.py b/policies/aws_waf_policies/aws_waf_webacl_has_associated_resources.py index 3db61cd13..7492decb8 100644 --- a/policies/aws_waf_policies/aws_waf_webacl_has_associated_resources.py +++ b/policies/aws_waf_policies/aws_waf_webacl_has_associated_resources.py @@ -1,4 +1,4 @@ def policy(resource): # Check if the WebACL has any associated resources associations = resource.get("AssociatedResources", []) - return len(associations) > 0 \ No newline at end of file + return len(associations) > 0 diff --git a/policies/aws_waf_policies/aws_waf_webacl_has_associated_resources.yml b/policies/aws_waf_policies/aws_waf_webacl_has_associated_resources.yml index 82e4c956d..b6782ef6f 100644 --- a/policies/aws_waf_policies/aws_waf_webacl_has_associated_resources.yml +++ b/policies/aws_waf_policies/aws_waf_webacl_has_associated_resources.yml @@ -46,4 +46,5 @@ Tests: [ "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-app" ] - } \ No newline at end of file + } + \ No newline at end of file