Iot Security Solutions Analytics Aggregated Alert - Get
Use this method to get a single the aggregated alert of yours IoT Security solution. This aggregation is performed by alert name.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts/{aggregatedAlertName}?api-version=2019-08-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
aggregated
|
path | True |
string |
Identifier of the aggregated alert. |
|
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+$ |
The name of the resource group within the user's subscription. The name is case insensitive. |
|
solution
|
path | True |
string |
The name of the IoT Security solution. |
|
subscription
|
path | True |
string pattern: ^[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}$ |
Azure subscription ID |
|
api-version
|
query | True |
string |
API version for the operation |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK |
|
| Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| user_impersonation | impersonate your user account |
Examples
Get the aggregated security analytics alert of yours IoT Security solution. This aggregation is performed by alert name
Sample request
Sample response
{
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Fail/2019-02-02",
"name": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/MyGroup/providers/Microsoft.Security/IoTSecuritySolutions/Locations/eastus/default/IoT_Bruteforce_Fail/2019-02-02",
"type": "Microsoft.Security/iotSecuritySolutions/analyticsModels/aggregatedAlerts",
"properties": {
"alertType": "IoT_Bruteforce_Fail",
"alertDisplayName": "Failed Bruteforce",
"aggregatedDateUtc": "2019-02-02",
"vendorName": "Microsoft",
"reportedSeverity": "Low",
"remediationSteps": "",
"description": "Multiple unsuccsseful login attempts identified. A Bruteforce attack on the device failed.",
"count": 50,
"effectedResourceType": "IoT Device",
"systemSource": "Devices",
"actionTaken": "Detected",
"logAnalyticsQuery": "SecurityAlert | where tolower(ResourceId) == tolower('/subscriptions/b77ec8a9-04ed-48d2-a87a-e5887b978ba6/resourceGroups/IoT-Solution-DemoEnv/providers/Microsoft.Devices/IotHubs/rtogm-hub') and tolower(AlertName) == tolower('Custom Alert - number of device to cloud messages in MQTT protocol is not in the allowed range') | extend DeviceId=parse_json(ExtendedProperties)['DeviceId'] | project DeviceId, TimeGenerated, DisplayName, AlertSeverity, Description, RemediationSteps, ExtendedProperties",
"topDevicesList": [
{
"deviceId": "testDevice1",
"alertsCount": 100,
"lastOccurrence": "10:42"
},
{
"deviceId": "testDevice2",
"alertsCount": 80,
"lastOccurrence": "15:42"
}
]
}
}
Definitions
| Name | Description |
|---|---|
|
Cloud |
Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). |
|
Cloud |
The error detail. |
|
Error |
The resource management error additional info. |
|
Io |
Security Solution Aggregated Alert information |
|
reported |
Assessed Alert severity. |
|
Top |
10 devices with the highest number of occurrences of this alert type, on this day. |
CloudError
Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
| Name | Type | Description |
|---|---|---|
| error.additionalInfo |
The error additional info. |
|
| error.code |
string |
The error code. |
| error.details |
The error details. |
|
| error.message |
string |
The error message. |
| error.target |
string |
The error target. |
CloudErrorBody
The error detail.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
The error additional info. |
|
| code |
string |
The error code. |
| details |
The error details. |
|
| message |
string |
The error message. |
| target |
string |
The error target. |
ErrorAdditionalInfo
The resource management error additional info.
| Name | Type | Description |
|---|---|---|
| info |
object |
The additional info. |
| type |
string |
The additional info type. |
IoTSecurityAggregatedAlert
Security Solution Aggregated Alert information
| Name | Type | Description |
|---|---|---|
| id |
string |
Resource Id |
| name |
string |
Resource name |
| properties.actionTaken |
string |
IoT Security solution alert response. |
| properties.aggregatedDateUtc |
string (date) |
Date of detection. |
| properties.alertDisplayName |
string |
Display name of the alert type. |
| properties.alertType |
string |
Name of the alert type. |
| properties.count |
integer (int64) |
Number of alerts occurrences within the aggregated time window. |
| properties.description |
string |
Description of the suspected vulnerability and meaning. |
| properties.effectedResourceType |
string |
Azure resource ID of the resource that received the alerts. |
| properties.logAnalyticsQuery |
string |
Log analytics query for getting the list of affected devices/alerts. |
| properties.remediationSteps |
string |
Recommended steps for remediation. |
| properties.reportedSeverity |
Assessed alert severity. |
|
| properties.systemSource |
string |
The type of the alerted resource (Azure, Non-Azure). |
| properties.topDevicesList |
10 devices with the highest number of occurrences of this alert type, on this day. |
|
| properties.vendorName |
string |
Name of the organization that raised the alert. |
| tags |
object |
Resource tags |
| type |
string |
Resource type |
reportedSeverity
Assessed Alert severity.
| Value | Description |
|---|---|
| Informational | |
| Low | |
| Medium | |
| High |
TopDevicesList
10 devices with the highest number of occurrences of this alert type, on this day.
| Name | Type | Description |
|---|---|---|
| alertsCount |
integer (int64) |
Number of alerts raised for this device. |
| deviceId |
string |
Name of the device. |
| lastOccurrence |
string |
Most recent time this alert was raised for this device, on this day. |