From 973bd72a1db9c8684e47afd7f25784c36d81cd1c Mon Sep 17 00:00:00 2001 From: Vlad Catalin Frasineanu Date: Tue, 13 Jul 2021 12:09:59 -0700 Subject: [PATCH] Updated the settings swagger with the new Anomalies setting that was recently added --- .../2019-01-01-preview/SecurityInsights.json | 31 ++++++++++++++++++- .../preview/2021-03-01-preview/Settings.json | 31 ++++++++++++++++++- 2 files changed, 60 insertions(+), 2 deletions(-) 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 8a4e58460b43..c9908a3484a5 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 @@ -7724,6 +7724,7 @@ "kind": { "description": "The kind of the setting", "enum": [ + "Anomalies", "EyesOn", "EntityAnalytics", "Ueba" @@ -8001,6 +8002,34 @@ }, "type": "object" }, + "Anomalies": { + "allOf": [ + { + "$ref": "#/definitions/Settings" + } + ], + "description": "Settings with single toggle.", + "properties": { + "properties": { + "$ref": "#/definitions/AnomaliesProperties", + "description": "Anomalies properties", + "x-ms-client-flatten": true + } + }, + "type": "object", + "x-ms-discriminator-value": "Anomalies" + }, + "AnomaliesProperties": { + "description": "Anomalies property bag.", + "properties": { + "isEnabled": { + "description": "Determines whether the setting is enable or disabled.", + "readOnly": true, + "type": "boolean" + } + }, + "type": "object" + }, "IPSyncer": { "allOf": [ { @@ -8802,7 +8831,7 @@ "x-ms-parameter-location": "method" }, "SettingsName": { - "description": "The setting name. Supports - EyesOn, EntityAnalytics, Ueba", + "description": "The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba", "in": "path", "name": "settingsName", "required": true, 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 833811862887..a1d9dff393ef 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 @@ -250,6 +250,7 @@ "kind": { "description": "The kind of the setting", "enum": [ + "Anomalies", "EyesOn", "EntityAnalytics", "Ueba" @@ -267,6 +268,34 @@ "discriminator": "kind", "type": "object" }, + "Anomalies": { + "allOf": [ + { + "$ref": "#/definitions/Settings" + } + ], + "description": "Settings with single toggle.", + "properties": { + "properties": { + "$ref": "#/definitions/AnomaliesSettingsProperties", + "description": "Anomalies properties", + "x-ms-client-flatten": true + } + }, + "type": "object", + "x-ms-discriminator-value": "Anomalies" + }, + "AnomaliesSettingsProperties": { + "description": "Anomalies property bag.", + "properties": { + "isEnabled": { + "description": "Determines whether the setting is enable or disabled.", + "readOnly": true, + "type": "boolean" + } + }, + "type": "object" + }, "EyesOn": { "allOf": [ { @@ -401,7 +430,7 @@ "x-ms-parameter-location": "method" }, "SettingsName": { - "description": "The setting name. Supports - EyesOn, EntityAnalytics, Ueba", + "description": "The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba", "in": "path", "name": "settingsName", "required": true,