Skip to content

Commit

Permalink
Updated the settings swagger with the new Anomalies setting that was …
Browse files Browse the repository at this point in the history
…recently added (#15177)

Co-authored-by: Vlad Catalin Frasineanu <[email protected]>
  • Loading branch information
vcfrasineanu and Vlad Catalin Frasineanu authored Jul 16, 2021
1 parent 1a22ee0 commit 7558a1b
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7724,6 +7724,7 @@
"kind": {
"description": "The kind of the setting",
"enum": [
"Anomalies",
"EyesOn",
"EntityAnalytics",
"Ueba"
Expand Down Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@
"kind": {
"description": "The kind of the setting",
"enum": [
"Anomalies",
"EyesOn",
"EntityAnalytics",
"Ueba"
Expand All @@ -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": [
{
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 7558a1b

Please sign in to comment.