Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bcpenta authored and bcpenta committed Oct 22, 2024
1 parent db0f36c commit 976084e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
def policy(resource):
# Check if the WebACL has any associated resources
associations = resource.get("AssociatedResources", [])
return len(associations) > 0
return len(associations) > 0
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ Tests:
[
"arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-app"
]
}
}

0 comments on commit 976084e

Please sign in to comment.