diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/Settings.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/Settings.json index 426257c55aaa..833811862887 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/Settings.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/Settings.json @@ -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": { @@ -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": { @@ -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": { @@ -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" } } } diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/settings/Offboard.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/settings/Offboard.json deleted file mode 100644 index 68a955f6191e..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/settings/Offboard.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "api-version": "2021-03-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "operationalInsightsResourceProvider": "Microsoft.OperationalInsights" - }, - "responses": { - "200": {} - } -} diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/settings/Onboard.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/settings/Onboard.json deleted file mode 100644 index c935c87ae22d..000000000000 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/examples/settings/Onboard.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "api-version": "2021-03-01-preview", - "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", - "resourceGroupName": "myRg", - "workspaceName": "myWorkspace", - "operationalInsightsResourceProvider": "Microsoft.OperationalInsights", - "onboardingRequest": { - "sku": { - "name": "CapacityReservation", - "capacityReservationLevel": 700 - }, - "customerManagedKey": false, - "eyesOn": true, - "entityAnalytics": { - "enabled": true, - "uebaDataSources": [ - "AuditLogs", - "SecurityEvent" - ] - } - } - }, - "responses": { - "200": { - "body": { - "sku": { - "name": "CapacityReservation", - "capacityReservationLevel": 700 - }, - "customerManagedKey": false, - "eyesOn": true, - "entityAnalytics": { - "enabled": true, - "uebaDataSources": [ - "AuditLogs", - "SecurityEvent" - ] - } - } - } - } -}