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

# Generate Onboarding Execution Command

Get the cloud account command line execution for Azure shell
<param name="requestModel">Details for Azure cloud account.</param>

# 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/AzureCloudAccount/OnboardingExecutionCommand": {
      "post": {
        "tags": [
          "Azure Cloud Account"
        ],
        "summary": "Generate Onboarding Execution Command",
        "operationId": "AzureCloudAccount_GenerateOnboardingExecutionCommand_post_/v2/AzureCloudAccount/OnboardingExecutionCommand",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CGN.Common.Model.CloudAccounts.Onboarding.AzureSimplifiedOnboardingExecCmdRequest"
              }
            },
            "application/x-www-form-urlencoded": {
              "schema": {
                "$ref": "#/components/schemas/CGN.Common.Model.CloudAccounts.Onboarding.AzureSimplifiedOnboardingExecCmdRequest"
              }
            }
          },
          "required": true
        },
        "description": "Get the cloud account command line execution for Azure shell\r\n<param name=\"requestModel\">Details for Azure cloud account.</param>"
      }
    }
  },
  "components": {
    "schemas": {
      "CGN.Common.Model.CloudAccounts.Onboarding.AzureSimplifiedOnboardingExecCmdRequest": {
        "required": [
          "activeBlades"
        ],
        "type": "object",
        "properties": {
          "workflowId": {
            "format": "uuid",
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000"
          },
          "subscriptionId": {
            "type": "string"
          },
          "managementGroupIdOrTenantId": {
            "type": "string"
          },
          "useCloudGuardManagedApp": {
            "type": "boolean"
          },
          "validatePermission": {
            "type": "boolean"
          },
          "appId": {
            "type": "string"
          },
          "appName": {
            "type": "string"
          },
          "appRegistrationId": {
            "type": "string"
          },
          "accountType": {
            "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"
          },
          "activeBlades": {
            "$ref": "#/components/schemas/CGN.Common.Model.CloudAccounts.Onboarding.Blades.Blades"
          }
        }
      },
      "CGN.Common.Model.CloudAccounts.Onboarding.Blades.Blades": {
        "required": [
          "awp",
          "serverless",
          "cdr",
          "postureManagement"
        ],
        "type": "object",
        "properties": {
          "awp": {
            "$ref": "#/components/schemas/CGN.Common.Model.CloudAccounts.Onboarding.Blades.AwpConfiguration"
          },
          "serverless": {
            "$ref": "#/components/schemas/CGN.Common.Model.CloudAccounts.Onboarding.Blades.ServerlessConfiguration"
          },
          "cdr": {
            "$ref": "#/components/schemas/CGN.Common.Model.CloudAccounts.Onboarding.Blades.CdrConfiguration"
          },
          "postureManagement": {
            "$ref": "#/components/schemas/CGN.Common.Model.CloudAccounts.Onboarding.Blades.PostureManagement"
          }
        }
      },
      "CGN.Common.Model.CloudAccounts.Onboarding.Blades.AwpConfiguration": {
        "type": "object",
        "properties": {
          "onboardingMode": {
            "enum": [
              "saas",
              "inAccount",
              "inAccountHub"
            ],
            "type": "string"
          },
          "centralizedSubscriptionId": {
            "type": "string"
          },
          "withFunctionAppsScan": {
            "type": "boolean"
          },
          "withSseCmkEncryptedDisksScan": {
            "type": "boolean"
          },
          "isEnabled": {
            "type": "boolean"
          }
        }
      },
      "CGN.Common.Model.CloudAccounts.Onboarding.Blades.ServerlessConfiguration": {
        "type": "object",
        "properties": {
          "isEnabled": {
            "type": "boolean"
          }
        }
      },
      "CGN.Common.Model.CloudAccounts.Onboarding.Blades.CdrConfiguration": {
        "type": "object",
        "properties": {
          "accounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CGN.Common.Model.CloudAccounts.Onboarding.Blades.StorageAccount"
            }
          },
          "isEnabled": {
            "type": "boolean"
          }
        }
      },
      "CGN.Common.Model.CloudAccounts.Onboarding.Blades.PostureManagement": {
        "type": "object",
        "properties": {
          "onboardingMode": {
            "enum": [
              "read-only",
              "manage"
            ],
            "type": "string"
          }
        }
      },
      "CGN.Common.Model.CloudAccounts.Onboarding.Blades.StorageAccount": {
        "type": "object",
        "properties": {
          "storageId": {
            "type": "string"
          },
          "logTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "basic": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "basic": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```