cloudbeat icon indicating copy to clipboard operation
cloudbeat copied to clipboard

[CSPM][GCP] 403 Error When Fetching Organization Information

Open CohenIdo opened this issue 7 months ago • 0 comments

Describe the bug When installing CSPM GCP using either manual installation or Cloud Shell, Cloudbeat logs the following error:

[elastic_agent.cloudbeat][error] error fetching GCP Org: organizations/992493199029, error: googleapi: Error 403: Permission 'resourcemanager.organizations.get' denied on resource '//cloudresourcemanager.googleapis.com/organizations/992493199029' (or it may not exist).
Details:
[
  {
    "@type": "type.googleapis.com/google.rpc.ErrorInfo",
    "domain": "cloudresourcemanager.googleapis.com",
    "metadata": {
      "permission": "resourcemanager.organizations.get",
      "resource": "organizations/992493199029"
    },
    "reason": "IAM_PERMISSION_DENIED"
  }
]
, forbidden

To Reproduce

  1. Install CSPM GCP integration.
  2. Deploy an agent.
  3. Check the logs.

Related links

CohenIdo avatar Jul 29 '24 16:07 CohenIdo