Skip to content

Commit 7558a1b

Browse files
vcfrasineanuVlad Catalin Frasineanu
andauthored
Updated the settings swagger with the new Anomalies setting that was recently added (Azure#15177)
Co-authored-by: Vlad Catalin Frasineanu <[email protected]>
1 parent 1a22ee0 commit 7558a1b

File tree

2 files changed

+60
-2
lines changed

2 files changed

+60
-2
lines changed

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2019-01-01-preview/SecurityInsights.json

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7724,6 +7724,7 @@
77247724
"kind": {
77257725
"description": "The kind of the setting",
77267726
"enum": [
7727+
"Anomalies",
77277728
"EyesOn",
77287729
"EntityAnalytics",
77297730
"Ueba"
@@ -8001,6 +8002,34 @@
80018002
},
80028003
"type": "object"
80038004
},
8005+
"Anomalies": {
8006+
"allOf": [
8007+
{
8008+
"$ref": "#/definitions/Settings"
8009+
}
8010+
],
8011+
"description": "Settings with single toggle.",
8012+
"properties": {
8013+
"properties": {
8014+
"$ref": "#/definitions/AnomaliesProperties",
8015+
"description": "Anomalies properties",
8016+
"x-ms-client-flatten": true
8017+
}
8018+
},
8019+
"type": "object",
8020+
"x-ms-discriminator-value": "Anomalies"
8021+
},
8022+
"AnomaliesProperties": {
8023+
"description": "Anomalies property bag.",
8024+
"properties": {
8025+
"isEnabled": {
8026+
"description": "Determines whether the setting is enable or disabled.",
8027+
"readOnly": true,
8028+
"type": "boolean"
8029+
}
8030+
},
8031+
"type": "object"
8032+
},
80048033
"IPSyncer": {
80058034
"allOf": [
80068035
{
@@ -8802,7 +8831,7 @@
88028831
"x-ms-parameter-location": "method"
88038832
},
88048833
"SettingsName": {
8805-
"description": "The setting name. Supports - EyesOn, EntityAnalytics, Ueba",
8834+
"description": "The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba",
88068835
"in": "path",
88078836
"name": "settingsName",
88088837
"required": true,

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/preview/2021-03-01-preview/Settings.json

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@
250250
"kind": {
251251
"description": "The kind of the setting",
252252
"enum": [
253+
"Anomalies",
253254
"EyesOn",
254255
"EntityAnalytics",
255256
"Ueba"
@@ -267,6 +268,34 @@
267268
"discriminator": "kind",
268269
"type": "object"
269270
},
271+
"Anomalies": {
272+
"allOf": [
273+
{
274+
"$ref": "#/definitions/Settings"
275+
}
276+
],
277+
"description": "Settings with single toggle.",
278+
"properties": {
279+
"properties": {
280+
"$ref": "#/definitions/AnomaliesSettingsProperties",
281+
"description": "Anomalies properties",
282+
"x-ms-client-flatten": true
283+
}
284+
},
285+
"type": "object",
286+
"x-ms-discriminator-value": "Anomalies"
287+
},
288+
"AnomaliesSettingsProperties": {
289+
"description": "Anomalies property bag.",
290+
"properties": {
291+
"isEnabled": {
292+
"description": "Determines whether the setting is enable or disabled.",
293+
"readOnly": true,
294+
"type": "boolean"
295+
}
296+
},
297+
"type": "object"
298+
},
270299
"EyesOn": {
271300
"allOf": [
272301
{
@@ -401,7 +430,7 @@
401430
"x-ms-parameter-location": "method"
402431
},
403432
"SettingsName": {
404-
"description": "The setting name. Supports - EyesOn, EntityAnalytics, Ueba",
433+
"description": "The setting name. Supports - Anomalies, EyesOn, EntityAnalytics, Ueba",
405434
"in": "path",
406435
"name": "settingsName",
407436
"required": true,

0 commit comments

Comments
 (0)