diff --git a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/security.json b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/security.json index f49becbb1610..393f66b40116 100644 --- a/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/security.json +++ b/specification/security/resource-manager/Microsoft.Security/preview/2015-06-01-preview/security.json @@ -6,14 +6,22 @@ "version": "2015-06-01-preview" }, "host": "management.azure.com", - "schemes": ["https"], - "consumes": ["application/json"], - "produces": ["application/json"], - "security": [{ - "azure_auth": [ - "user_impersonation" - ] - }], + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], "securityDefinitions": { "azure_auth": { "type": "oauth2", @@ -28,12 +36,16 @@ "paths": { "/providers/Microsoft.Security/operations": { "get": { - "tags": ["Operations"], + "tags": [ + "Operations" + ], "description": "Exposes all available operations for discovery purposes.", "operationId": "Operations_List", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + } + ], "responses": { "200": { "description": "OK", @@ -60,14 +72,19 @@ "$ref": "./examples/Locations/GetLocations_example.json" } }, - "tags": ["Locations"], + "tags": [ + "Locations" + ], "description": "The location of the responsible ASC of the specific subscription (home region). For each subscription there is only one responsible location. The location in the response should be used to read or write other resources in ASC according to their ID.", "operationId": "Locations_List", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - }, { - "$ref": "#/parameters/SubscriptionId" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + } + ], "responses": { "200": { "description": "OK", @@ -94,16 +111,22 @@ "$ref": "./examples/Locations/GetLocation_example.json" } }, - "tags": ["Locations"], + "tags": [ + "Locations" + ], "description": "Details of a specific location", "operationId": "Locations_Get", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - }, { - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/AscLocation" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/AscLocation" + } + ], "responses": { "200": { "description": "OK", @@ -127,16 +150,22 @@ "$ref": "./examples/Tasks/GetTasksSubscription_example.json" } }, - "tags": ["Tasks"], + "tags": [ + "Tasks" + ], "description": "Recommended tasks that will help improve the security of the subscription proactively", "operationId": "Tasks_List", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - }, { - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ODataFilter" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ODataFilter" + } + ], "responses": { "200": { "description": "OK", @@ -163,18 +192,25 @@ "$ref": "./examples/Tasks/GetTasksSubscriptionLocation_example.json" } }, - "tags": ["Tasks"], + "tags": [ + "Tasks" + ], "description": "Recommended tasks that will help improve the security of the subscription proactively", "operationId": "Tasks_ListByHomeRegion", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - }, { - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/AscLocation" - }, { - "$ref": "#/parameters/ODataFilter" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/AscLocation" + }, + { + "$ref": "#/parameters/ODataFilter" + } + ], "responses": { "200": { "description": "OK", @@ -201,18 +237,25 @@ "$ref": "./examples/Tasks/GetTaskSubscriptionLocation_example.json" } }, - "tags": ["Tasks"], + "tags": [ + "Tasks" + ], "description": "Recommended tasks that will help improve the security of the subscription proactively", "operationId": "Tasks_GetSubscriptionLevelTask", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - }, { - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/AscLocation" - }, { - "$ref": "#/parameters/TaskName" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/AscLocation" + }, + { + "$ref": "#/parameters/TaskName" + } + ], "responses": { "200": { "description": "OK", @@ -236,20 +279,28 @@ "$ref": "./examples/Tasks/UpdateTaskSubscriptionLocation_example.json" } }, - "tags": ["Tasks"], + "tags": [ + "Tasks" + ], "description": "Recommended tasks that will help improve the security of the subscription proactively", "operationId": "Tasks_UpdateSubscriptionLevelTaskState", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - }, { - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/AscLocation" - }, { - "$ref": "#/parameters/TaskName" - }, { - "$ref": "#/parameters/TaskUpdateActionType" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/AscLocation" + }, + { + "$ref": "#/parameters/TaskName" + }, + { + "$ref": "#/parameters/TaskUpdateActionType" + } + ], "responses": { "204": { "description": "No Content" @@ -270,20 +321,28 @@ "$ref": "./examples/Tasks/GetTasksResourceGroupLocation_example.json" } }, - "tags": ["Tasks"], + "tags": [ + "Tasks" + ], "description": "Recommended tasks that will help improve the security of the subscription proactively", "operationId": "Tasks_ListByResourceGroup", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - }, { - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/AscLocation" - }, { - "$ref": "#/parameters/ODataFilter" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/AscLocation" + }, + { + "$ref": "#/parameters/ODataFilter" + } + ], "responses": { "200": { "description": "OK", @@ -310,20 +369,28 @@ "$ref": "./examples/Tasks/GetTaskResourceGroupLocation_example.json" } }, - "tags": ["Tasks"], + "tags": [ + "Tasks" + ], "description": "Recommended tasks that will help improve the security of the subscription proactively", "operationId": "Tasks_GetResourceGroupLevelTask", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - }, { - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/AscLocation" - }, { - "$ref": "#/parameters/TaskName" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/AscLocation" + }, + { + "$ref": "#/parameters/TaskName" + } + ], "responses": { "200": { "description": "OK", @@ -347,22 +414,31 @@ "$ref": "./examples/Tasks/UpdateTaskResourceGroupLocation_example.json" } }, - "tags": ["Tasks"], + "tags": [ + "Tasks" + ], "description": "Recommended tasks that will help improve the security of the subscription proactively", "operationId": "Tasks_UpdateResourceGroupLevelTaskState", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - }, { - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/AscLocation" - }, { - "$ref": "#/parameters/TaskName" - }, { - "$ref": "#/parameters/TaskUpdateActionType" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/AscLocation" + }, + { + "$ref": "#/parameters/TaskName" + }, + { + "$ref": "#/parameters/TaskUpdateActionType" + } + ], "responses": { "204": { "description": "No Content" @@ -383,20 +459,28 @@ "$ref": "./examples/Alerts/GetAlertsSubscription_example.json" } }, - "tags": ["Alerts"], + "tags": [ + "Alerts" + ], "description": "List all the alerts that are associated with the subscription", "operationId": "Alerts_List", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - }, { - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ODataFilter" - }, { - "$ref": "#/parameters/ODataSelect" - }, { - "$ref": "#/parameters/ODataExpand" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ODataFilter" + }, + { + "$ref": "#/parameters/ODataSelect" + }, + { + "$ref": "#/parameters/ODataExpand" + } + ], "responses": { "200": { "description": "OK", @@ -423,22 +507,31 @@ "$ref": "./examples/Alerts/GetAlertsResourceGroup_example.json" } }, - "tags": ["Alerts"], + "tags": [ + "Alerts" + ], "description": "List all the alerts alerts that are associated with the resource group", "operationId": "Alerts_ListByResourceGroup", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - }, { - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/ODataFilter" - }, { - "$ref": "#/parameters/ODataSelect" - }, { - "$ref": "#/parameters/ODataExpand" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/ODataFilter" + }, + { + "$ref": "#/parameters/ODataSelect" + }, + { + "$ref": "#/parameters/ODataExpand" + } + ], "responses": { "200": { "description": "OK", @@ -465,22 +558,31 @@ "$ref": "./examples/Alerts/GetAlertsSubscriptionsLocation_example.json" } }, - "tags": ["Alerts"], + "tags": [ + "Alerts" + ], "description": "List all the alerts that are associated with the subscription that are stored in a specific location", "operationId": "Alerts_ListSubscriptionLevelAlertsByRegion", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - }, { - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/AscLocation" - }, { - "$ref": "#/parameters/ODataFilter" - }, { - "$ref": "#/parameters/ODataSelect" - }, { - "$ref": "#/parameters/ODataExpand" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/AscLocation" + }, + { + "$ref": "#/parameters/ODataFilter" + }, + { + "$ref": "#/parameters/ODataSelect" + }, + { + "$ref": "#/parameters/ODataExpand" + } + ], "responses": { "200": { "description": "OK", @@ -507,24 +609,34 @@ "$ref": "./examples/Alerts/GetAlertsResourceGroupLocation_example.json" } }, - "tags": ["Alerts"], + "tags": [ + "Alerts" + ], "description": "List all the alerts that are associated with the resource group that are stored in a specific location", "operationId": "Alerts_ListResourceGroupLevelAlertsByRegion", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - }, { - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/AscLocation" - }, { - "$ref": "#/parameters/ResourceGroupName" - }, { - "$ref": "#/parameters/ODataFilter" - }, { - "$ref": "#/parameters/ODataSelect" - }, { - "$ref": "#/parameters/ODataExpand" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/AscLocation" + }, + { + "$ref": "#/parameters/ResourceGroupName" + }, + { + "$ref": "#/parameters/ODataFilter" + }, + { + "$ref": "#/parameters/ODataSelect" + }, + { + "$ref": "#/parameters/ODataExpand" + } + ], "responses": { "200": { "description": "OK", @@ -551,18 +663,25 @@ "$ref": "./examples/Alerts/GetAlertSubscriptionLocation_example.json" } }, - "tags": ["Alerts"], + "tags": [ + "Alerts" + ], "description": "Get an alert that is associated with a subscription", "operationId": "Alerts_GetSubscriptionLevelAlert", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - }, { - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/AscLocation" - }, { - "$ref": "#/parameters/AlertName" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/AscLocation" + }, + { + "$ref": "#/parameters/AlertName" + } + ], "responses": { "200": { "description": "OK", @@ -586,20 +705,28 @@ "$ref": "./examples/Alerts/GetAlertResourceGroupLocation_example.json" } }, - "tags": ["Alerts"], + "tags": [ + "Alerts" + ], "description": "Get an alert that is associated a resource group or a resource in a resource group", "operationId": "Alerts_GetResourceGroupLevelAlerts", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - }, { - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/AscLocation" - }, { - "$ref": "#/parameters/AlertName" - }, { - "$ref": "#/parameters/ResourceGroupName" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/AscLocation" + }, + { + "$ref": "#/parameters/AlertName" + }, + { + "$ref": "#/parameters/ResourceGroupName" + } + ], "responses": { "200": { "description": "OK", @@ -623,20 +750,28 @@ "$ref": "./examples/Alerts/UpdateAlertSubscriptionLocation_example.json" } }, - "tags": ["Alerts"], + "tags": [ + "Alerts" + ], "description": "Update the alert's state", "operationId": "Alerts_UpdateSubscriptionLevelAlertState", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - }, { - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/AscLocation" - }, { - "$ref": "#/parameters/AlertName" - }, { - "$ref": "#/parameters/AlertUpdateActionType" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/AscLocation" + }, + { + "$ref": "#/parameters/AlertName" + }, + { + "$ref": "#/parameters/AlertUpdateActionType" + } + ], "responses": { "204": { "description": "No Content" @@ -657,22 +792,31 @@ "$ref": "./examples/Alerts/UpdateAlertResourceGroupLocation_example.json" } }, - "tags": ["Alerts"], + "tags": [ + "Alerts" + ], "description": "Update the alert's state", "operationId": "Alerts_UpdateResourceGroupLevelAlertState", - "parameters": [{ - "$ref": "#/parameters/ApiVersion" - }, { - "$ref": "#/parameters/SubscriptionId" - }, { - "$ref": "#/parameters/AscLocation" - }, { - "$ref": "#/parameters/AlertName" - }, { - "$ref": "#/parameters/AlertUpdateActionType" - }, { - "$ref": "#/parameters/ResourceGroupName" - }], + "parameters": [ + { + "$ref": "#/parameters/ApiVersion" + }, + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/AscLocation" + }, + { + "$ref": "#/parameters/AlertName" + }, + { + "$ref": "#/parameters/AlertUpdateActionType" + }, + { + "$ref": "#/parameters/ResourceGroupName" + } + ], "responses": { "204": { "description": "No Content" @@ -693,10 +837,13 @@ "$ref": "./examples/DiscoveredSecuritySolutions/GetDiscoveredSecuritySolutionsSubscription_example.json" } }, - "tags": ["DiscoveredSecuritySolutions"], + "tags": [ + "DiscoveredSecuritySolutions" + ], "description": "Gets a list of discovered Security Solutions for the subscription.", "operationId": "DiscoveredSecuritySolutions_List", - "parameters": [{ + "parameters": [ + { "$ref": "#/parameters/SubscriptionId" }, { @@ -729,10 +876,13 @@ "$ref": "./examples/DiscoveredSecuritySolutions/GetDiscoveredSecuritySolutionsSubscriptionLocation_example.json" } }, - "tags": ["DiscoveredSecuritySolutions"], + "tags": [ + "DiscoveredSecuritySolutions" + ], "description": "Gets a list of discovered Security Solutions for the subscription and location.", "operationId": "DiscoveredSecuritySolutions_ListByHomeRegion", - "parameters": [{ + "parameters": [ + { "$ref": "#/parameters/SubscriptionId" }, { @@ -768,10 +918,13 @@ "$ref": "./examples/DiscoveredSecuritySolutions/GetDiscoveredSecuritySolutionResourceGroupLocation_example.json" } }, - "tags": ["DiscoveredSecuritySolutions"], + "tags": [ + "DiscoveredSecuritySolutions" + ], "description": "Gets a specific discovered Security Solution.", "operationId": "DiscoveredSecuritySolutions_Get", - "parameters": [{ + "parameters": [ + { "$ref": "#/parameters/SubscriptionId" }, { @@ -810,10 +963,13 @@ "$ref": "./examples/JitNetworkAccessPolicies/GetJitNetworkAccessPoliciesSubscription_example.json" } }, - "tags": ["JitNetworkAccessPolicies"], + "tags": [ + "JitNetworkAccessPolicies" + ], "description": "Policies for protecting resources using Just-in-Time access control.", "operationId": "JitNetworkAccessPolicies_List", - "parameters": [{ + "parameters": [ + { "$ref": "#/parameters/SubscriptionId" }, { @@ -846,10 +1002,13 @@ "$ref": "./examples/JitNetworkAccessPolicies/GetJitNetworkAccessPoliciesSubscriptionLocation_example.json" } }, - "tags": ["JitNetworkAccessPolicies"], + "tags": [ + "JitNetworkAccessPolicies" + ], "description": "Policies for protecting resources using Just-in-Time access control for the subscription, location", "operationId": "JitNetworkAccessPolicies_ListByRegion", - "parameters": [{ + "parameters": [ + { "$ref": "#/parameters/SubscriptionId" }, { @@ -885,10 +1044,13 @@ "$ref": "./examples/JitNetworkAccessPolicies/GetJitNetworkAccessPoliciesResourceGroup_example.json" } }, - "tags": ["JitNetworkAccessPolicies"], + "tags": [ + "JitNetworkAccessPolicies" + ], "description": "Policies for protecting resources using Just-in-Time access control for the subscription, location", "operationId": "JitNetworkAccessPolicies_ListByResourceGroup", - "parameters": [{ + "parameters": [ + { "$ref": "#/parameters/SubscriptionId" }, { @@ -924,13 +1086,16 @@ "$ref": "./examples/JitNetworkAccessPolicies/GetJitNetworkAccessPoliciesResourceGroupLocation_example.json" } }, - "tags": ["JitNetworkAccessPolicies"], + "tags": [ + "JitNetworkAccessPolicies" + ], "description": "Policies for protecting resources using Just-in-Time access control for the subscription, location", "operationId": "JitNetworkAccessPolicies_ListByResourceGroupAndRegion", "produces": [ "application/json" ], - "parameters": [{ + "parameters": [ + { "$ref": "#/parameters/SubscriptionId" }, { @@ -969,10 +1134,13 @@ "$ref": "./examples/JitNetworkAccessPolicies/GetJitNetworkAccessPolicy_example.json" } }, - "tags": ["JitNetworkAccessPolicies"], + "tags": [ + "JitNetworkAccessPolicies" + ], "description": "Policies for protecting resources using Just-in-Time access control for the subscription, location", "operationId": "JitNetworkAccessPolicies_Get", - "parameters": [{ + "parameters": [ + { "$ref": "#/parameters/SubscriptionId" }, { @@ -1009,10 +1177,13 @@ "$ref": "./examples/JitNetworkAccessPolicies/CreateJitNetworkAccessPolicy_example.json" } }, - "tags": ["JitNetworkAccessPolicies"], + "tags": [ + "JitNetworkAccessPolicies" + ], "description": "Create a policy for protecting resources using Just-in-Time access control", "operationId": "JitNetworkAccessPolicies_CreateOrUpdate", - "parameters": [{ + "parameters": [ + { "$ref": "#/parameters/SubscriptionId" }, { @@ -1052,10 +1223,13 @@ "$ref": "./examples/JitNetworkAccessPolicies/DeleteJitNetworkAccessPolicy_example.json" } }, - "tags": ["JitNetworkAccessPolicies"], + "tags": [ + "JitNetworkAccessPolicies" + ], "description": "Delete a Just-in-Time access control policy.", "operationId": "JitNetworkAccessPolicies_Delete", - "parameters": [{ + "parameters": [ + { "$ref": "#/parameters/SubscriptionId" }, { @@ -1094,10 +1268,13 @@ "$ref": "./examples/JitNetworkAccessPolicies/InitiateJitNetworkAccessPolicy_example.json" } }, - "tags": ["JitNetworkAccessPolicies"], + "tags": [ + "JitNetworkAccessPolicies" + ], "description": "Initiate a JIT access from a specific Just-in-Time policy configuration.", "operationId": "JitNetworkAccessPolicies_Initiate", - "parameters": [{ + "parameters": [ + { "$ref": "#/parameters/SubscriptionId" }, { @@ -1143,9 +1320,12 @@ } }, "description": "Gets a list of external security solutions for the subscription.", - "tags": ["ExternalSecuritySolutions"], + "tags": [ + "ExternalSecuritySolutions" + ], "operationId": "ExternalSecuritySolutions_List", - "parameters": [{ + "parameters": [ + { "$ref": "#/parameters/ApiVersion" }, { @@ -1179,9 +1359,12 @@ } }, "description": "Gets a list of external Security Solutions for the subscription and location.", - "tags": ["ExternalSecuritySolutions"], + "tags": [ + "ExternalSecuritySolutions" + ], "operationId": "ExternalSecuritySolutions_ListByHomeRegion", - "parameters": [{ + "parameters": [ + { "$ref": "#/parameters/SubscriptionId" }, { @@ -1218,9 +1401,12 @@ } }, "description": "Gets a specific external Security Solution.", - "tags": ["ExternalSecuritySolutions"], + "tags": [ + "ExternalSecuritySolutions" + ], "operationId": "ExternalSecuritySolutions_Get", - "parameters": [{ + "parameters": [ + { "$ref": "#/parameters/SubscriptionId" }, { @@ -1416,9 +1602,11 @@ "$ref": "#/definitions/SecurityTaskProperties" } }, - "allOf": [{ - "$ref": "#/definitions/Resource" - }] + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] }, "SecurityTaskProperties": { "type": "object", @@ -1492,9 +1680,11 @@ "$ref": "#/definitions/AscLocationProperties" } }, - "allOf": [{ - "$ref": "#/definitions/Resource" - }] + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] }, "AscLocationProperties": { "type": "object", @@ -1526,9 +1716,11 @@ "$ref": "#/definitions/AlertProperties" } }, - "allOf": [{ - "$ref": "#/definitions/Resource" - }] + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] }, "AlertProperties": { "type": "object", @@ -1712,7 +1904,8 @@ "required": [ "properties" ], - "allOf": [{ + "allOf": [ + { "$ref": "#/definitions/Resource" }, { @@ -1735,7 +1928,8 @@ "x-ms-enum": { "name": "securityFamily", "modelAsString": true, - "values": [{ + "values": [ + { "value": "Waf" }, { @@ -1797,7 +1991,8 @@ "required": [ "properties" ], - "allOf": [{ + "allOf": [ + { "$ref": "#/definitions/Resource" }, { @@ -1870,7 +2065,8 @@ "x-ms-enum": { "name": "protocol", "modelAsString": true, - "values": [{ + "values": [ + { "value": "TCP" }, { @@ -1984,7 +2180,8 @@ "x-ms-enum": { "name": "status", "modelAsString": true, - "values": [{ + "values": [ + { "value": "Revoked" }, { @@ -2004,7 +2201,8 @@ "x-ms-enum": { "name": "statusReason", "modelAsString": true, - "values": [{ + "values": [ + { "value": "Expired" }, { @@ -2104,18 +2302,13 @@ "type": "object", "description": "Represents a security solution external to Azure Security Center which sends information to an OMS workspace and whos data is displayed by Azure Security Center.", "discriminator": "kind", - "properties": { - "properties":{ - "additionalProperties": { - "type": "object" - } - } - }, - "allOf": [{ + "properties": {}, + "allOf": [ + { "$ref": "#/definitions/Resource" }, { - "$ref": "#/definitions/Kind" + "$ref": "#/definitions/ExternalSecuritySolutionKind" }, { "$ref": "#/definitions/Location" @@ -2126,9 +2319,11 @@ "x-ms-discriminator-value": "CEF", "type": "object", "description": "Represents a security solution which sends CEF logs to an OMS workspace", - "allOf": [{ - "$ref": "#/definitions/ExternalSecuritySolution" - }], + "allOf": [ + { + "$ref": "#/definitions/ExternalSecuritySolution" + } + ], "properties": { "properties": { "$ref": "#/definitions/CefSolutionProperties" @@ -2139,9 +2334,11 @@ "x-ms-discriminator-value": "ATA", "type": "object", "description": "Represents an ATA security solution which sends logs to an OMS workspace", - "allOf": [{ - "$ref": "#/definitions/ExternalSecuritySolution" - }], + "allOf": [ + { + "$ref": "#/definitions/ExternalSecuritySolution" + } + ], "properties": { "properties": { "$ref": "#/definitions/AtaSolutionProperties" @@ -2152,9 +2349,11 @@ "x-ms-discriminator-value": "AAD", "type": "object", "description": "Represents an AAD identity protection solution which sends logs to an OMS workspace.", - "allOf": [{ - "$ref": "#/definitions/ExternalSecuritySolution" - }], + "allOf": [ + { + "$ref": "#/definitions/ExternalSecuritySolution" + } + ], "properties": { "properties": { "$ref": "#/definitions/AadSolutionProperties" @@ -2162,31 +2361,39 @@ } }, "ExternalSecuritySolutionKind": { - "type": "string", - "description": "The kind of the external solution", - "enum": [ - "CEF", - "ATA", - "AAD" - ], - "x-ms-enum": { - "name": "ExternalSecuritySolutionKind", - "modelAsString": true, - "values": [{ - "value": "CEF" - }, - { - "value": "ATA" - }, - { - "value": "AAD" + "type": "object", + "description": "Describes an Azure resource with kind", + "properties": { + "kind": { + "type": "string", + "description": "The kind of the external solution", + "enum": [ + "CEF", + "ATA", + "AAD" + ], + "x-ms-enum": { + "name": "ExternalSecuritySolutionKind", + "modelAsString": true, + "values": [ + { + "value": "CEF" + }, + { + "value": "ATA" + }, + { + "value": "AAD" + } + ] } - ] + } } }, "ExternalSecuritySolutionProperties": { "type": "object", "description": "The solution properties (correspond to the solution kind)", + "additionalProperties": true, "properties": { "deviceVendor": { "type": "string" @@ -2210,32 +2417,40 @@ } }, "AadConnectivityState": { - "type": "string", - "title": "The connectivity state of the external AAD solution ", - "enum": [ - "Discovered", - "NotLicensed", - "Connected" - ], - "x-ms-enum": { - "name": "AadConnectivityState", - "modelAsString": true, - "values": [{ - "value": "Discovered" - }, - { - "value": "NotLicensed" - }, - { - "value": "Connected" + "type": "object", + "description": "Describes an Azure resource with kind", + "properties": { + "connectivityState": { + "type": "string", + "title": "The connectivity state of the external AAD solution ", + "enum": [ + "Discovered", + "NotLicensed", + "Connected" + ], + "x-ms-enum": { + "name": "AadConnectivityState", + "modelAsString": true, + "values": [ + { + "value": "Discovered" + }, + { + "value": "NotLicensed" + }, + { + "value": "Connected" + } + ] } - ] + } } }, "AadSolutionProperties": { "type": "object", "title": "The external security solution properties for AAD solutions", - "allOf": [{ + "allOf": [ + { "$ref": "#/definitions/ExternalSecuritySolutionProperties" }, { @@ -2247,7 +2462,7 @@ "type": "object", "title": "The external security solution properties for CEF solutions", "properties": { - "hostName": { + "hostname": { "type": "string" }, "agent": { @@ -2257,9 +2472,11 @@ "type": "string" } }, - "allOf": [{ - "$ref": "#/definitions/ExternalSecuritySolutionProperties" - }] + "allOf": [ + { + "$ref": "#/definitions/ExternalSecuritySolutionProperties" + } + ] }, "AtaSolutionProperties": { "type": "object", @@ -2269,9 +2486,11 @@ "type": "string" } }, - "allOf": [{ - "$ref": "#/definitions/ExternalSecuritySolutionProperties" - }] + "allOf": [ + { + "$ref": "#/definitions/ExternalSecuritySolutionProperties" + } + ] } }, "parameters": { @@ -2299,7 +2518,9 @@ "in": "query", "required": true, "type": "string", - "enum": ["2015-06-01-preview"], + "enum": [ + "2015-06-01-preview" + ], "description": "API version for the operation" }, "AscLocation": { @@ -2371,7 +2592,13 @@ "in": "path", "required": true, "type": "string", - "enum": ["Activate", "Dismiss", "Start", "Resolve", "Close"], + "enum": [ + "Activate", + "Dismiss", + "Start", + "Resolve", + "Close" + ], "description": "Type of the action to do on the task", "x-ms-parameter-location": "method" }, @@ -2388,7 +2615,10 @@ "in": "path", "required": true, "type": "string", - "enum": ["Dismiss", "Reactivate"], + "enum": [ + "Dismiss", + "Reactivate" + ], "description": "Type of the action to do on the alert", "x-ms-parameter-location": "method" }, @@ -2446,4 +2676,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +}