---
updatedAt: 2025-09-16T00:22:13.000Z
agentTools:
  projectIndex: https://docs.cgn.portal.checkpoint.com/llms.txt
---

# Get Missing Permissions By Entity Type

Get missing permissions for a specific entity type for a specific Google Cloud account

# OpenAPI definition

```json
{
  "info": {
    "title": "Onboarding",
    "version": "v2"
  },
  "openapi": "3.0.0",
  "servers": [
    {
      "url": "https://api.dome9.com/",
      "description": "US region"
    },
    {
      "url": "https://api.{region}.dome9.com/",
      "description": "Other regions",
      "variables": {
        "region": {
          "enum": [
            "eu1",
            "ap1",
            "ap2",
            "ap3",
            "cace1"
          ],
          "default": "eu1"
        }
      }
    }
  ],
  "paths": {
    "/v2/GoogleCloudAccount/{id}/MissingPermissions/EntityType": {
      "get": {
        "tags": [
          "Google Cloud Account"
        ],
        "summary": "Get Missing Permissions By Entity Type",
        "operationId": "GoogleCloudAccount_GetMissingPermissionsByEntityTypeAsync_get_/v2/GoogleCloudAccount/{id}/MissingPermissions/EntityType",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The Dome9 Google Cloud Account Id",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityType",
            "in": "query",
            "description": "The entity type for which to get permission issues",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subType",
            "in": "query",
            "description": "",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Dome9.Web.Api.Shared.Permissions.MissingPermissionViewModel"
                  }
                }
              }
            }
          }
        },
        "description": "Get missing permissions for a specific entity type for a specific Google Cloud account"
      }
    }
  },
  "components": {
    "schemas": {
      "Dome9.Web.Api.Shared.Permissions.MissingPermissionViewModel": {
        "type": "object",
        "properties": {
          "srl": {
            "description": "internal use",
            "type": "string"
          },
          "consecutiveFails": {
            "format": "int32",
            "description": "number of consecutive failures due to missing permissions",
            "type": "integer"
          },
          "lastFail": {
            "format": "date-time",
            "description": "time of last failure",
            "type": "string"
          },
          "lastSuccess": {
            "format": "date-time",
            "description": "time of last successful attempt",
            "type": "string"
          },
          "firstFail": {
            "format": "date-time",
            "description": "time of first successful attempt",
            "type": "string"
          },
          "lastFailErrorCode": {
            "description": "error code for last failed attempt",
            "type": "string"
          },
          "lastFailMessage": {
            "description": "error message for last failed attempt",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000"
          },
          "retryMetadata": {
            "$ref": "#/components/schemas/Dome9.Web.Api.Shared.Permissions.MissingPermissionMetadataViewModel"
          },
          "cloudAccountId": {
            "format": "uuid",
            "description": "Cloud account id",
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000"
          },
          "vendor": {
            "description": "cloud account provider (AWS, Azure, GCP)",
            "enum": [
              "aws",
              "hp",
              "mellanox",
              "awsgov",
              "azure",
              "google",
              "awschina",
              "azuregov",
              "kubernetes",
              "azurechina",
              "terraform",
              "generic",
              "kubernetesruntimeassurance",
              "shiftleft",
              "sourcecodeassurance",
              "imageassurance",
              "alibaba",
              "cft",
              "containerregistry",
              "oci",
              "ocigov",
              "ocigovuk",
              "CIEM"
            ],
            "type": "string"
          }
        }
      },
      "Dome9.Web.Api.Shared.Permissions.MissingPermissionMetadataViewModel": {
        "type": "object",
        "properties": {
          "permissions": {
            "description": "list of missing permissions",
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "entityType": {
            "type": "string"
          },
          "subType": {
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "basic": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "basic": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```