mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 13:01:56 +00:00
fix(wafv2): only list resources for regional Web ACLs (#5811)
This commit is contained in:
committed by
GitHub
parent
c69571abcd
commit
572d5a1f2e
@@ -99,7 +99,7 @@ class WAFv2(AWSService):
|
||||
def _list_resources_for_web_acl(self, acl):
|
||||
logger.info("WAFv2 - Describing resources...")
|
||||
try:
|
||||
if acl.scope == Scope.REGIONAL or acl.region in self.regional_clients:
|
||||
if acl.scope == Scope.REGIONAL:
|
||||
for resource in self.regional_clients[
|
||||
acl.region
|
||||
].list_resources_for_web_acl(
|
||||
|
||||
Reference in New Issue
Block a user