Skip to content

Commit 1cc27d5

Browse files
committed
More fixes to the Analytics sections
1 parent 39bffde commit 1cc27d5

File tree

1 file changed

+43
-23
lines changed
  • specification/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2020-01-01

1 file changed

+43
-23
lines changed

specification/securityinsights/resource-manager/Microsoft.SecurityInsights/stable/2020-01-01/SecurityInsights.json

Lines changed: 43 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1498,13 +1498,15 @@
14981498
"kind"
14991499
],
15001500
"properties": {
1501-
"$ref": "#/definitions/AlertRuleKind",
1502-
"description": "The Kind of the alert rule"
1501+
"kind": {
1502+
"$ref": "#/definitions/AlertRuleKind",
1503+
"description": "The alert rule kind"
1504+
}
15031505
},
15041506
"type": "object"
15051507
},
15061508
"AlertRuleKind": {
1507-
"description": "Describes an Azure resource with kind.",
1509+
"description": "The alert rule kind",
15081510
"properties": {
15091511
"kind": {
15101512
"description": "The kind of the alert rule",
@@ -1548,8 +1550,10 @@
15481550
"kind"
15491551
],
15501552
"properties": {
1551-
"$ref": "#/definitions/AlertRuleKind",
1552-
"description": "The Kind of the alert rule"
1553+
"kind": {
1554+
"$ref": "#/definitions/AlertRuleKind",
1555+
"description": "The alert rule kind"
1556+
}
15531557
},
15541558
"type": "object"
15551559
},
@@ -1918,7 +1922,8 @@
19181922
"x-ms-external": true,
19191923
"properties": {
19201924
"error": {
1921-
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse"
1925+
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse",
1926+
"description": "The error object of the CloudError response"
19221927
}
19231928
},
19241929
"description": "An error response for a resource management request."
@@ -2141,6 +2146,7 @@
21412146
"$ref": "#/definitions/AlertRuleTemplatePropertiesBase"
21422147
}
21432148
],
2149+
"description": "Represents Fusion alert rule template properties",
21442150
"properties": {
21452151
"severity": {
21462152
"$ref": "#/definitions/AlertSeverity",
@@ -2154,6 +2160,7 @@
21542160
"type": "array"
21552161
}
21562162
},
2163+
"type": "object"
21572164
},
21582165
"Incident": {
21592166
"allOf": [
@@ -2742,14 +2749,39 @@
27422749
"MicrosoftSecurityIncidentCreationAlertRuleTemplate": {
27432750
"allOf": [
27442751
{
2745-
"$ref": "#/definitions/AlertRuleTemplate"
2752+
"$ref": "#/definitions/MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties"
27462753
}
27472754
],
27482755
"description": "Represents MicrosoftSecurityIncidentCreation rule template.",
2756+
"type": "object",
2757+
"x-ms-discriminator-value": "MicrosoftSecurityIncidentCreation"
2758+
},
2759+
"MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties": {
2760+
"allOf": [
2761+
{
2762+
"$ref": "#/definitions/MicrosoftSecurityIncidentCreationAlertRuleTemplateInnerProperties"
2763+
}
2764+
],
2765+
"properties": {
2766+
"properties": {
2767+
"$ref": "#/definitions/AlertRuleTemplatePropertiesBase",
2768+
"description": "alert rule template base properties",
2769+
"x-ms-client-flatten": true
2770+
}
2771+
},
2772+
"description": "MicrosoftSecurityIncidentCreation rule template properties",
2773+
"type": "object"
2774+
},
2775+
"MicrosoftSecurityIncidentCreationAlertRuleTemplateInnerProperties": {
2776+
"allOf": [
2777+
{
2778+
"$ref": "#/definitions/AlertRuleTemplate"
2779+
}
2780+
],
27492781
"properties": {
27502782
"properties": {
2751-
"$ref": "#/definitions/MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties",
2752-
"description": "MicrosoftSecurityIncidentCreation rule template properties",
2783+
"$ref": "#/definitions/MicrosoftSecurityIncidentCreationAlertRuleCommonProperties",
2784+
"description": "MicrosoftSecurityIncidentCreation rule template common properties",
27532785
"required": [
27542786
"displayName",
27552787
"description",
@@ -2761,21 +2793,9 @@
27612793
"x-ms-client-flatten": true
27622794
}
27632795
},
2764-
"type": "object",
2765-
"x-ms-discriminator-value": "MicrosoftSecurityIncidentCreation"
2796+
"description": "MicrosoftSecurityIncidentCreation rule template inner properties",
2797+
"type": "object"
27662798
},
2767-
"MicrosoftSecurityIncidentCreationAlertRuleTemplateProperties": {
2768-
"allOf": [
2769-
{
2770-
"$ref": "#/definitions/AlertRuleTemplatePropertiesBase"
2771-
}
2772-
],
2773-
"properties": {
2774-
"$ref": "#/definitions/MicrosoftSecurityIncidentCreationAlertRuleCommonProperties",
2775-
"description": "MicrosoftSecurityIncidentCreation rule template common properties"
2776-
},
2777-
"description": "MicrosoftSecurityIncidentCreation rule template properties"
2778-
}
27792799
"OfficeConsent": {
27802800
"allOf": [
27812801
{

0 commit comments

Comments
 (0)