Skip to content

Commit

Permalink
fix(gcp): do not require organization id to get projects (#5637)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCloudSec authored Nov 5, 2024
1 parent 78fb540 commit a109cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prowler/providers/gcp/gcp_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def print_credentials(self):

@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.
Expand Down

0 comments on commit a109cd2

Please # to comment.