mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 21:11:53 +00:00
fix(trustedadvisor): handle AccessDenied exception (#4158)
This commit is contained in:
@@ -25,7 +25,7 @@ class TrustedAdvisor(AWSService):
|
||||
self.client = self.session.client(self.service, region_name=support_region)
|
||||
self.client.region = support_region
|
||||
self.__describe_services__()
|
||||
if self.premium_support.enabled:
|
||||
if getattr(self.premium_support, "enabled", False):
|
||||
self.__describe_trusted_advisor_checks__()
|
||||
self.__describe_trusted_advisor_check_result__()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user