Skip to content

Commit c9a731a

Browse files
author
Liran Chen
committed
Add support for filter by deviceId
1 parent 1c32b72 commit c9a731a

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IotAlerts/GetIoTAlertList.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"alertType": "IoT_PrivilegedContainer",
88
"startTimeUtc>": "2020-05-12T06:32:25Z",
99
"startTimeUtc<": "2020-05-14T06:32:25Z",
10+
"compromisedEntity": "device-1",
1011
"$limit": 1
1112
},
1213
"responses": {
@@ -37,7 +38,7 @@
3738
}
3839
}
3940
],
40-
"nextLink": "https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myGroup/providers/Microsoft.Security/iotSecuritySolutions/mySolution/iotAlerts?api-version=2019-08-01&alertType=IoT_PrivilegedContainer&startTimeUtc>=2020-05-12T06:32:25Z&startTimeUtc<=2020-05-14T06:32:25Z&$limit=1&$skipToken=903e76ff-17eb-4bac-ac8a-2bc31ab68fd8",
41+
"nextLink": "https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myGroup/providers/Microsoft.Security/iotSecuritySolutions/mySolution/iotAlerts?api-version=2019-08-01&alertType=IoT_PrivilegedContainer&startTimeUtc>=2020-05-12T06:32:25Z&startTimeUtc<=2020-05-14T06:32:25Z&compromisedEntity=device-1&$limit=1&$skipToken=903e76ff-17eb-4bac-ac8a-2bc31ab68fd8",
4142
"totalCount": 23
4243
}
4344
}

specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/examples/IotRecommendations/GetIoTRecommendationList.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"resourceGroupName": "myGroup",
66
"solutionName": "mySolution",
77
"recommendationType": "IoT_Baseline",
8+
"deviceId": "device-1",
89
"$limit": 1
910
},
1011
"responses": {
@@ -28,7 +29,7 @@
2829
}
2930
}
3031
],
31-
"nextLink": "https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myGroup/providers/Microsoft.Security/iotSecuritySolutions/mySolution/iotRecommendations?api-version=2019-08-01&recommendationType=IoT_Baseline&$limit=1&$skipToken=903e76ff-17eb-4bac-ac8a-2bc31ab68fd8",
32+
"nextLink": "https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myGroup/providers/Microsoft.Security/iotSecuritySolutions/mySolution/iotRecommendations?api-version=2019-08-01&recommendationType=IoT_Baseline&deviceId=device-1&$limit=1&$skipToken=903e76ff-17eb-4bac-ac8a-2bc31ab68fd8",
3233
"totalCount": 23
3334
}
3435
}

specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotAlerts.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@
8282
"type": "string",
8383
"description": "Filter by alert type"
8484
},
85+
{
86+
"in": "query",
87+
"name": "compromisedEntity",
88+
"required": false,
89+
"type": "string",
90+
"description": "Filter by compromised device"
91+
},
8592
{
8693
"in": "query",
8794
"name": "$limit",

specification/security/resource-manager/Microsoft.Security/stable/2019-08-01/iotRecommendations.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@
6666
"type": "string",
6767
"description": "Filter by recommendation type"
6868
},
69+
{
70+
"in": "query",
71+
"name": "deviceId",
72+
"required": false,
73+
"type": "string",
74+
"description": "Filter by device id"
75+
},
6976
{
7077
"in": "query",
7178
"name": "$limit",

0 commit comments

Comments
 (0)