From a109cd2816b8205675fceb7d12932c06f376266b Mon Sep 17 00:00:00 2001 From: Sergio Garcia <38561120+sergargar@users.noreply.github.com> Date: Tue, 5 Nov 2024 12:24:07 -0500 Subject: [PATCH] fix(gcp): do not require organization id to get projects (#5637) --- prowler/providers/gcp/gcp_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prowler/providers/gcp/gcp_provider.py b/prowler/providers/gcp/gcp_provider.py index 847480bdbf..72529a563c 100644 --- a/prowler/providers/gcp/gcp_provider.py +++ b/prowler/providers/gcp/gcp_provider.py @@ -411,7 +411,7 @@ class GcpProvider(Provider): @staticmethod def get_projects( - credentials: Credentials, organization_id: str + credentials: Credentials, organization_id: str = None ) -> dict[str, GCPProject]: """ Get the projects accessible by the provided credentials. If an organization ID is provided, only the projects under that organization are returned.