Skip to content

Commit ef3219d

Browse files
authored
Fix cases aggregations swagger corrections (#12476)
1 parent 12b41f4 commit ef3219d

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

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

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5880,7 +5880,7 @@
58805880
"description": "Aggregative results of cases by status property bag.",
58815881
"properties": {
58825882
"totalDismissedStatus": {
5883-
"description": "Total amount of open cases with status Dismissed",
5883+
"description": "Total amount of closed cases with status Dismissed",
58845884
"readOnly": true,
58855885
"type": "integer"
58865886
},
@@ -5895,9 +5895,21 @@
58955895
"type": "integer"
58965896
},
58975897
"totalResolvedStatus": {
5898-
"description": "Total amount of open cases with status Resolved",
5898+
"description": "Total amount of closed cases with status Resolved",
58995899
"readOnly": true,
59005900
"type": "integer"
5901+
},
5902+
"totalFalsePositiveStatus": {
5903+
"description": "Total amount of closed cases with status Closed and Close reason of False positive",
5904+
"readOnly": true,
5905+
"type": "integer",
5906+
"format": "int32"
5907+
},
5908+
"totalTruePositiveStatus": {
5909+
"description": "Total amount of closed cases with status Closed and Close reason of True positive",
5910+
"readOnly": true,
5911+
"type": "integer",
5912+
"format": "int32"
59015913
}
59025914
},
59035915
"type": "object"
@@ -7642,7 +7654,8 @@
76427654
"Linux",
76437655
"Windows",
76447656
"Android",
7645-
"IOS"
7657+
"IOS",
7658+
"Unknown"
76467659
],
76477660
"type": "string",
76487661
"x-ms-enum": {
@@ -7664,6 +7677,10 @@
76647677
{
76657678
"description": "Host with IOS operating system.",
76667679
"value": "IOS"
7680+
},
7681+
{
7682+
"description": "Host with Unknown operating system.",
7683+
"value": "Unknown"
76677684
}
76687685
]
76697686
}

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
"totalNewStatus": 42,
2727
"totalInProgressStatus": 30,
2828
"totalResolvedStatus": 2,
29-
"totalDismissedStatus": 1
29+
"totalDismissedStatus": 1,
30+
"totalTruePositiveStatus": 7,
31+
"totalFalsePositiveStatus": 0
3032
}
3133
}
3234
}

0 commit comments

Comments
 (0)