Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the settings swagger with the new Anomalies setting that was recently added #15177

Merged
merged 1 commit into from
Jul 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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