fix(gcp): fix UnknownApiNameOrVersion error (#3202)

This commit is contained in:
Sergio Garcia
2023-12-18 14:32:33 +01:00
committed by GitHub
parent cd03fa6d46
commit 1737d7cf42

View File

@@ -27,7 +27,7 @@ class GCPService:
self.default_project_id = audit_info.default_project_id
self.region = region
self.client = self.__generate_client__(
service, api_version, audit_info.credentials
self.service, api_version, audit_info.credentials
)
# Only project ids that have their API enabled will be scanned
self.project_ids = self.__is_api_active__(audit_info.project_ids)