Skip to content

Commit

Permalink
remove onboarding endpoints under settings (Azure#14380)
Browse files Browse the repository at this point in the history
  • Loading branch information
laithhisham authored and Andrew Sager committed Jun 24, 2021
1 parent 00837cc commit 34cf3a8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 193 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,96 +221,6 @@
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/settings/onboard": {
"post": {
"x-ms-examples": {
"Onboard workspace": {
"$ref": "./examples/settings/Onboard.json"
}
},
"tags": [
"Settings"
],
"description": "Onboards workspace to sentinel.",
"operationId": "ProductSettings_OnboardWorkspace",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/1.0/types.json#/parameters/OperationalInsightsResourceProvider"
},
{
"$ref": "../../../common/1.0/types.json#/parameters/WorkspaceName"
},
{
"$ref": "#/parameters/OnboardingRequest"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/OnboardingRequest"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/1.0/types.json#/definitions/CloudError"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/settings/offboard": {
"post": {
"x-ms-examples": {
"Onboard workspace": {
"$ref": "./examples/settings/Offboard.json"
}
},
"tags": [
"Settings"
],
"description": "Offboards workspace from sentinel.",
"operationId": "ProductSettings_OffboardWorkspace",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../common/1.0/types.json#/parameters/OperationalInsightsResourceProvider"
},
{
"$ref": "../../../common/1.0/types.json#/parameters/WorkspaceName"
}
],
"responses": {
"200": {
"description": "OK"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/1.0/types.json#/definitions/CloudError"
}
}
}
}
}
},
"definitions": {
Expand Down Expand Up @@ -456,29 +366,6 @@
"name": "UebaDataSources"
}
},
"OnboardingRequest": {
"description": "Onboarding request properties",
"properties": {
"customerManagedKey": {
"description": "Flag that indicates if the user wants CMK",
"type": "boolean"
},
"eyesOn": {
"description": "Flag that indicates if the user wants EyesOn",
"type": "boolean"
},
"sku": {
"description": "The pricing tier of the solution",
"$ref": "#/definitions/Sku"
},
"entityAnalytics": {
"description": "flag that indicates if the user wants EntityAnalytics",
"$ref": "#/definitions/EntityAnalyticsOnboardingParameters",
"type": "object"
}
},
"type": "object"
},
"Sku": {
"description": "The pricing tier of the solution",
"properties": {
Expand All @@ -500,21 +387,6 @@
"format": "int32"
}
}
},
"EntityAnalyticsOnboardingParameters": {
"description": "The onboarding request entity analytics parameters",
"properties": {
"enabled": {
"description": "A flag indicates that the user wants entity analytics",
"type": "boolean"
},
"uebaDataSources": {
"description": "The data source be profiled by ueba engine",
"$ref": "#/definitions/UebaProperties",
"x-ms-client-flatten": true
}
},
"type": "object"
}
},
"parameters": {
Expand Down Expand Up @@ -572,16 +444,6 @@
"required": true,
"type": "string",
"x-ms-parameter-location": "method"
},
"OnboardingRequest": {
"description": "The onboarding request parameters",
"in": "body",
"name": "onboardingRequest",
"required": true,
"schema": {
"$ref": "#/definitions/OnboardingRequest"
},
"x-ms-parameter-location": "method"
}
}
}

This file was deleted.

This file was deleted.

0 comments on commit 34cf3a8

Please sign in to comment.