diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/Aggregations.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/Aggregations.json index 12cb7fc82c53..8a9169fe9391 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/Aggregations.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/Aggregations.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/aggregations/{aggregationsName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/aggregations/{aggregationsName}": { "get": { "x-ms-examples": { "Get aggregative data for all cases under the defined workspace, between the time range if specified.": { @@ -56,6 +56,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/AutomationRules.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/AutomationRules.json index 3f6edc8ca20e..d791361dca51 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/AutomationRules.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/AutomationRules.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules": { "get": { "x-ms-examples": { "Get all automation rules.": { @@ -56,6 +56,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" } @@ -79,7 +82,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules/{automationRuleId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules/{automationRuleId}": { "get": { "x-ms-examples": { "Get an automation rule.": { @@ -101,6 +104,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -144,6 +150,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -196,6 +205,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/Bookmarks.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/Bookmarks.json index 711c4137d706..dbb332f13015 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/Bookmarks.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/Bookmarks.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks": { "get": { "x-ms-examples": { "Get all bookmarks.": { @@ -56,6 +56,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" } @@ -79,7 +82,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}": { "get": { "x-ms-examples": { "Get a bookmark.": { @@ -101,6 +104,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -144,6 +150,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -196,6 +205,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -219,7 +231,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations": { "get": { "x-ms-examples": { "Get all bookmark relations.": { @@ -241,6 +253,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -280,7 +295,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/expand": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/expand": { "post": { "x-ms-examples": { "Expand an bookmark": { @@ -299,6 +314,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -328,7 +346,7 @@ ] } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations/{relationName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations/{relationName}": { "get": { "x-ms-examples": { "Get a bookmark relation.": { @@ -350,6 +368,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -396,6 +417,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -451,6 +475,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/Cases.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/Cases.json index 13d1e309c2ce..db22dd11199d 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/Cases.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/Cases.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/cases": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/cases": { "get": { "x-ms-examples": { "Get all cases.": { @@ -57,6 +57,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -98,7 +101,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/cases/{caseId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/cases/{caseId}": { "get": { "x-ms-examples": { "Get a case.": { @@ -121,6 +124,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -165,6 +171,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -218,6 +227,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -241,7 +253,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/cases/{caseId}/comments": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/cases/{caseId}/comments": { "get": { "x-ms-examples": { "Get all case comments.": { @@ -264,6 +276,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -303,7 +318,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/cases/{caseId}/comments/{caseCommentId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/cases/{caseId}/comments/{caseCommentId}": { "get": { "x-ms-examples": { "Get a case comment.": { @@ -326,6 +341,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -373,6 +391,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -402,7 +423,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/cases/{caseId}/relations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/cases/{caseId}/relations": { "get": { "x-ms-examples": { "Get all case relations.": { @@ -425,6 +446,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -464,7 +488,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/cases/{caseId}/relations/{relationName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/cases/{caseId}/relations/{relationName}": { "get": { "x-ms-examples": { "Get a case relation.": { @@ -487,6 +511,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -534,6 +561,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -590,6 +620,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/DataConnectorsCheckRequirements.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/DataConnectorsCheckRequirements.json index d7f279677a31..1dbff9e13a48 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/DataConnectorsCheckRequirements.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/DataConnectorsCheckRequirements.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectorsCheckRequirements": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectorsCheckRequirements": { "post": { "x-ms-examples": { "Check requirements for TI.": { @@ -92,6 +92,9 @@ { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/DataConnectorsCheckRequirementsBody" } diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/Entities.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/Entities.json index 01753c1e9cdd..32a16a5d78e9 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/Entities.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/Entities.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities": { "get": { "x-ms-examples": { "Get all entities.": { @@ -56,6 +56,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" } @@ -79,7 +82,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}": { "get": { "x-ms-examples": { "Get an account entity.": { @@ -158,6 +161,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -181,7 +187,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/expand": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/expand": { "post": { "x-ms-examples": { "Expand an entity": { @@ -203,6 +209,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -229,7 +238,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/getTimeline": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/getTimeline": { "post": { "x-ms-examples": { "Entity timeline": { @@ -251,6 +260,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -277,7 +289,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/queries": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/queries": { "get": { "x-ms-examples": { "Get Entity Query": { @@ -299,6 +311,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -325,7 +340,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/getInsights": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/getInsights": { "post": { "x-ms-examples": { "Entity Insight": { @@ -347,6 +362,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -373,7 +391,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/relations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/relations": { "get": { "x-ms-examples": { "Get all relations of an entity.": { @@ -395,6 +413,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -434,7 +455,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/relations/{relationName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityId}/relations/{relationName}": { "get": { "x-ms-examples": { "Get an entity relation.": { @@ -456,6 +477,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/OfficeConsents.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/OfficeConsents.json index 3d849071d4aa..7de815337dc8 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/OfficeConsents.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/OfficeConsents.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/officeConsents": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/officeConsents": { "get": { "x-ms-examples": { "Get all office consents.": { @@ -56,6 +56,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" } @@ -79,7 +82,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/officeConsents/{consentId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/officeConsents/{consentId}": { "get": { "x-ms-examples": { "Get an office consent.": { @@ -101,6 +104,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -144,6 +150,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json index c26c15c1fffd..43336e9313d2 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json @@ -59,7 +59,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules": { "get": { "x-ms-examples": { "Get all alert rules.": { @@ -81,6 +81,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" } @@ -104,7 +107,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}": { "get": { "x-ms-examples": { "Get a Scheduled alert rule.": { @@ -132,6 +135,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -181,6 +187,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -233,6 +242,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -256,7 +268,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions": { "get": { "x-ms-examples": { "Get all actions of alert rule.": { @@ -278,6 +290,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -304,7 +319,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}": { "get": { "x-ms-examples": { "Get an action of alert rule.": { @@ -326,6 +341,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -372,6 +390,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -427,6 +448,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -453,7 +477,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates": { "get": { "x-ms-examples": { "Get all alert rule templates.": { @@ -475,6 +499,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" } @@ -498,7 +525,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates/{alertRuleTemplateId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates/{alertRuleTemplateId}": { "get": { "x-ms-examples": { "Get alert rule template by Id.": { @@ -520,6 +547,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -543,7 +573,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors": { "get": { "x-ms-examples": { "Get all data connectors.": { @@ -565,6 +595,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" } @@ -588,7 +621,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}": { "get": { "x-ms-examples": { "Get an Office365 data connector.": { @@ -646,6 +679,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -698,6 +734,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -750,6 +789,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -773,7 +815,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/settings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/settings": { "get": { "x-ms-examples": { "Get EyesOn settings.": { @@ -795,6 +837,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" } @@ -815,7 +860,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/settings/{settingsName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/settings/{settingsName}": { "get": { "x-ms-examples": { "Get EyesOn settings.": { @@ -837,6 +882,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -880,6 +928,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -923,6 +974,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -949,7 +1003,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries": { "get": { "x-ms-examples": { "Get all entity queries.": { @@ -971,6 +1025,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" } @@ -994,7 +1051,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries/{entityQueryId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries/{entityQueryId}": { "get": { "x-ms-examples": { "Get an entity query.": { @@ -1016,6 +1073,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1039,7 +1099,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents": { "get": { "x-ms-examples": { "Get all incidents.": { @@ -1061,6 +1121,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1102,7 +1165,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}": { "get": { "x-ms-examples": { "Get an incident.": { @@ -1124,6 +1187,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1167,6 +1233,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1219,6 +1288,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1242,7 +1314,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/alerts": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/alerts": { "post": { "x-ms-examples": { "Get all incident alerts.": { @@ -1264,6 +1336,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1287,7 +1362,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/bookmarks": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/bookmarks": { "post": { "x-ms-examples": { "Get all incident bookmarks.": { @@ -1309,6 +1384,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1332,7 +1410,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments": { "get": { "x-ms-examples": { "Get all incident comments.": { @@ -1354,6 +1432,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1393,7 +1474,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments/{incidentCommentId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments/{incidentCommentId}": { "get": { "x-ms-examples": { "Get an incident comment.": { @@ -1415,6 +1496,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1461,6 +1545,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1516,6 +1603,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1542,7 +1632,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/entities": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/entities": { "post": { "x-ms-examples": { "Gets all incident related entities": { @@ -1564,6 +1654,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1587,7 +1680,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations": { "get": { "x-ms-examples": { "Get all incident relations.": { @@ -1609,6 +1702,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1648,7 +1744,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations/{relationName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations/{relationName}": { "get": { "x-ms-examples": { "Get an incident relation.": { @@ -1670,6 +1766,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1716,6 +1815,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1771,6 +1873,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1797,7 +1902,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists": { "get": { "x-ms-examples": { "Get all watchlists.": { @@ -1819,6 +1924,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" } @@ -1842,7 +1950,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}": { "get": { "x-ms-examples": { "Get a watchlist.": { @@ -1864,6 +1972,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1907,6 +2018,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1950,6 +2064,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -1982,7 +2099,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems": { "get": { "x-ms-examples": { "Get all watchlist Items.": { @@ -2004,6 +2121,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -2030,7 +2150,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}": { "get": { "x-ms-examples": { "Get a watchlist item.": { @@ -2052,6 +2172,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -2098,6 +2221,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -2144,6 +2270,9 @@ { "$ref": "#/parameters/ResourceGroupName" }, + { + "$ref": "#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "#/parameters/WorkspaceName" }, @@ -8178,6 +8307,14 @@ "type": "integer", "x-ms-parameter-location": "method" }, + "OperationalInsightsResourceProvider": { + "description": "The namespace of workspaces resource provider- Microsoft.OperationalInsights.", + "in": "path", + "name": "operationalInsightsResourceProvider", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, "Relation": { "name": "relation", "in": "body", diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/ThreatIntelligence.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/ThreatIntelligence.json index 6fd5cce398ec..a860224c3c83 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/ThreatIntelligence.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/ThreatIntelligence.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/createIndicator": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/createIndicator": { "post": { "x-ms-examples": { "Create a new Threat Intelligence": { @@ -56,6 +56,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -85,7 +88,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators": { "get": { "x-ms-examples": { "Get all threat intelligence indicators": { @@ -107,6 +110,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -142,7 +148,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}": { "get": { "x-ms-examples": { "View a threat intelligence indicator by name": { @@ -164,6 +170,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -207,6 +216,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -259,6 +271,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -282,7 +297,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/queryIndicators": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/queryIndicators": { "post": { "x-ms-examples": { "Query threat intelligence indicators as per filtering criteria": { @@ -304,6 +319,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -330,7 +348,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/metrics": { "get": { "x-ms-examples": { "Get threat intelligence indicators metrics.": { @@ -352,6 +370,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" } @@ -372,7 +393,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}/appendTags": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}/appendTags": { "post": { "x-ms-examples": { "Append tags to a threat intelligence indicator": { @@ -394,6 +415,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, @@ -417,7 +441,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}/replaceTags": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}/replaceTags": { "post": { "x-ms-examples": { "Replace tags to a Threat Intelligence": { @@ -439,6 +463,9 @@ { "$ref": "SecurityInsights.json#/parameters/ResourceGroupName" }, + { + "$ref": "SecurityInsights.json#/parameters/OperationalInsightsResourceProvider" + }, { "$ref": "SecurityInsights.json#/parameters/WorkspaceName" }, diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/AlertRules.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/AlertRules.json index f95c3746d922..d4f0b7255cd8 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/AlertRules.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/AlertRules.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules": { "get": { "x-ms-examples": { "Get all alert rules.": { @@ -56,6 +56,9 @@ { "$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" } @@ -79,7 +82,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}": { "get": { "x-ms-examples": { "Get a Scheduled alert rule.": { @@ -107,6 +110,9 @@ { "$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" }, @@ -156,6 +162,9 @@ { "$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" }, @@ -208,6 +217,9 @@ { "$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" }, @@ -231,7 +243,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions": { "get": { "x-ms-examples": { "Get all actions of alert rule.": { @@ -253,6 +265,9 @@ { "$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" }, @@ -279,7 +294,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}": { "get": { "x-ms-examples": { "Get an action of alert rule.": { @@ -301,6 +316,9 @@ { "$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" }, @@ -347,6 +365,9 @@ { "$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" }, @@ -402,6 +423,9 @@ { "$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" }, @@ -428,7 +452,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates": { "get": { "x-ms-examples": { "Get all alert rule templates.": { @@ -450,6 +474,9 @@ { "$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" } @@ -473,7 +500,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates/{alertRuleTemplateId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRuleTemplates/{alertRuleTemplateId}": { "get": { "x-ms-examples": { "Get alert rule template by Id.": { @@ -495,6 +522,9 @@ { "$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" }, diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/EntityQueries.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/EntityQueries.json index 6cf29b4cf304..80cd31cc4fc2 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/EntityQueries.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/EntityQueries.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries": { "get": { "x-ms-examples": { "Get all entity queries.": { @@ -59,6 +59,9 @@ { "$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" } @@ -82,7 +85,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries/{entityQueryId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueries/{entityQueryId}": { "get": { "x-ms-examples": { "Get an Expansion entity query.": { @@ -107,6 +110,9 @@ { "$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" }, @@ -150,6 +156,9 @@ { "$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" }, @@ -202,6 +211,9 @@ { "$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" }, diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/EntityQueryTemplates.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/EntityQueryTemplates.json index 4ac3ff7ec1ed..988bc1c86868 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/EntityQueryTemplates.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/EntityQueryTemplates.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueryTemplates": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueryTemplates": { "get": { "x-ms-examples": { "Get all entity query templates.": { @@ -59,6 +59,9 @@ { "$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" } @@ -82,7 +85,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueryTemplates/{entityQueryTemplateId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entityQueryTemplates/{entityQueryTemplateId}": { "get": { "x-ms-examples": { "Get an Activity entity query template.": { @@ -104,6 +107,9 @@ { "$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" }, diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/Incidents.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/Incidents.json index ee9089e957e3..4ae41b3e32d5 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/Incidents.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/Incidents.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents": { "get": { "x-ms-examples": { "Get all incidents.": { @@ -56,6 +56,9 @@ { "$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" }, @@ -97,7 +100,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}": { "get": { "x-ms-examples": { "Get an incident.": { @@ -119,6 +122,9 @@ { "$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" }, @@ -162,6 +168,9 @@ { "$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" }, @@ -214,6 +223,9 @@ { "$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" }, @@ -237,7 +249,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/createTeam": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/createTeam": { "post": { "x-ms-examples": { "Creates incident teams group.": { @@ -259,6 +271,9 @@ { "$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" }, @@ -285,7 +300,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/alerts": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/alerts": { "post": { "x-ms-examples": { "Get all incident alerts.": { @@ -307,6 +322,9 @@ { "$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" }, @@ -330,7 +348,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/bookmarks": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/bookmarks": { "post": { "x-ms-examples": { "Get all incident bookmarks.": { @@ -352,6 +370,9 @@ { "$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" }, @@ -375,7 +396,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments": { "get": { "x-ms-examples": { "Get all incident comments.": { @@ -397,6 +418,9 @@ { "$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" }, @@ -436,7 +460,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments/{incidentCommentId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/comments/{incidentCommentId}": { "get": { "x-ms-examples": { "Get an incident comment.": { @@ -458,6 +482,9 @@ { "$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" }, @@ -504,6 +531,9 @@ { "$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" }, @@ -559,6 +589,9 @@ { "$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" }, @@ -585,7 +618,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/entities": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/entities": { "post": { "x-ms-examples": { "Gets all incident related entities": { @@ -607,6 +640,9 @@ { "$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" }, @@ -630,7 +666,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations": { "get": { "x-ms-examples": { "Get all incident relations.": { @@ -652,6 +688,9 @@ { "$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" }, @@ -691,7 +730,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations/{relationName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/relations/{relationName}": { "get": { "x-ms-examples": { "Get an incident relation.": { @@ -713,6 +752,9 @@ { "$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" }, @@ -759,6 +801,9 @@ { "$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" }, @@ -814,6 +859,9 @@ { "$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" }, diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/Metadata.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/Metadata.json index 559570a39bc0..a85c80f07539 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/Metadata.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/Metadata.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata": { "get": { "x-ms-examples": { "Get all metadata.": { @@ -59,6 +59,9 @@ { "$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" }, @@ -94,7 +97,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata/{metadataName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/metadata/{metadataName}": { "get": { "x-ms-examples": { "Get single metadata by name": { @@ -116,6 +119,9 @@ { "$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" }, @@ -159,6 +165,9 @@ { "$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" }, @@ -205,6 +214,9 @@ { "$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" }, @@ -257,6 +269,9 @@ { "$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" }, diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/OnboardingStates.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/OnboardingStates.json index ebcee635c3d5..78bc61a70678 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/OnboardingStates.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/OnboardingStates.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates/{sentinelOnboardingStateName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates/{sentinelOnboardingStateName}": { "get": { "x-ms-examples": { "Get Sentinel onboarding state": { @@ -56,6 +56,9 @@ { "$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" }, @@ -99,6 +102,9 @@ { "$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" }, @@ -151,6 +157,9 @@ { "$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" }, @@ -174,7 +183,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/onboardingStates": { "get": { "x-ms-examples": { "Get all Sentinel onboarding states": { @@ -196,6 +205,9 @@ { "$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" } 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 31e11da39419..3e2a7e3eb29b 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 @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/settings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/settings": { "get": { "x-ms-examples": { "Get all settings.": { @@ -56,6 +56,9 @@ { "$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" } @@ -76,7 +79,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/settings/{settingsName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/settings/{settingsName}": { "get": { "x-ms-examples": { "Get EyesOn settings.": { @@ -98,6 +101,9 @@ { "$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" }, @@ -141,6 +147,9 @@ { "$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" }, @@ -184,6 +193,9 @@ { "$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" }, diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/SourceControls.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/SourceControls.json index 912ae710bc15..217480848b37 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/SourceControls.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/SourceControls.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/listRepositories": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/listRepositories": { "post": { "x-ms-examples": { "Get repository list.": { @@ -56,6 +56,9 @@ { "$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" }, @@ -82,7 +85,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols": { "get": { "x-ms-examples": { "Get all source controls.": { @@ -104,6 +107,9 @@ { "$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" } @@ -127,7 +133,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}": { "get": { "x-ms-examples": { "Get a source control.": { @@ -149,6 +155,9 @@ { "$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" }, @@ -192,6 +201,9 @@ { "$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" }, @@ -235,6 +247,9 @@ { "$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" }, diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/Watchlists.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/Watchlists.json index 93ac639adc59..dee7068085b7 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/Watchlists.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/Watchlists.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists": { "get": { "x-ms-examples": { "Get all watchlists.": { @@ -56,6 +56,9 @@ { "$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" } @@ -79,7 +82,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}": { "get": { "x-ms-examples": { "Get a watchlist.": { @@ -101,6 +104,9 @@ { "$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" }, @@ -144,6 +150,9 @@ { "$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" }, @@ -190,6 +199,9 @@ { "$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" }, @@ -222,7 +234,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems": { "get": { "x-ms-examples": { "Get all watchlist Items.": { @@ -244,6 +256,9 @@ { "$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" }, @@ -270,7 +285,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}": { "get": { "x-ms-examples": { "Get a watchlist item.": { @@ -292,6 +307,9 @@ { "$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" }, @@ -338,6 +356,9 @@ { "$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" }, @@ -384,6 +405,9 @@ { "$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" }, diff --git a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/dataConnectors.json b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/dataConnectors.json index 87421477ebe6..16e30dd98595 100644 --- a/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/dataConnectors.json +++ b/specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/dataConnectors.json @@ -34,7 +34,7 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors": { "get": { "x-ms-examples": { "Get all data connectors.": { @@ -56,6 +56,9 @@ { "$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" } @@ -79,7 +82,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/dataConnectors/{dataConnectorId}": { "get": { "x-ms-examples": { "Get an Office365 data connector.": { @@ -140,6 +143,9 @@ { "$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" }, @@ -195,6 +201,9 @@ { "$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" }, @@ -250,6 +259,9 @@ { "$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" },