Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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 @@ -9,7 +9,7 @@
"body": {
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/settings/MCAS",
"name": "MCAS",
"kind": "DataExportSetting",
"kind": "DataExportSettings",
"type": "Microsoft.Security/settings",
"properties": {
"enabled": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/settings/MCAS",
"name": "MCAS",
"kind": "DataExportSetting",
"kind": "DataExportSettings",
"type": "Microsoft.Security/settings",
"properties": {
"enabled": true
Expand All @@ -19,7 +19,7 @@
{
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/settings/WDATP",
"name": "WDATP",
"kind": "DataExportSetting",
"kind": "DataExportSettings",
"type": "Microsoft.Security/settings",
"properties": {
"enabled": false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"setting": {
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/settings/MCAS",
"name": "MCAS",
"kind": "DataExportSetting",
"kind": "DataExportSettings",
"type": "Microsoft.Security/settings",
"properties": {
"enabled": true
Expand All @@ -18,7 +18,7 @@
"body": {
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/settings/MCAS",
"name": "MCAS",
"kind": "DataExportSetting",
"kind": "DataExportSettings",
"type": "Microsoft.Security/settings",
"properties": {
"enabled": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,18 +175,15 @@
"Setting": {
"type": "object",
"description": "Represents a security setting in Azure Security Center.",
"discriminator": "kind",
"properties": {},
"allOf": [
{
"$ref": "#/definitions/SettingResource"
}
]
},
"DataExportSetting": {
"DataExportSettings": {
"type": "object",
"description": "Represents a data export setting",
"x-ms-discriminator-value": "DataExportSetting",
"properties": {
"properties": {
"x-ms-client-flatten": true,
Expand All @@ -198,25 +195,26 @@
{
"$ref": "#/definitions/Setting"
}
]
],
"x-ms-discriminator-value": "DataExportSettings"
},
"SettingResource": {
"type": "object",
"description": "The kind of the security setting",
"properties": {
"kind": {
"type": "string",
"description": "the kind of the settings string (DataExportSetting)",
"description": "the kind of the settings string (DataExportSettings)",
"enum": [
"DataExportSetting",
"DataExportSettings",
"AlertSuppressionSetting"
],
"x-ms-enum": {
"name": "SettingKind",
"modelAsString": true,
"values": [
{
"value": "DataExportSetting"
"value": "DataExportSettings"
},
{
"value": "AlertSuppressionSetting"
Expand All @@ -225,6 +223,7 @@
}
}
},
"discriminator": "kind",
"required": [
"kind"
],
Expand Down