Analytic rule catalog
CTE - Device Enrolled but On Hold
Back
| Id | 21818920-85eb-4955-a7cc-f62c731f32ac |
| Rulename | CTE - Device Enrolled but On Hold |
| Description | A device enrollment is on hold, typically due to a license/device-capacity limit being reached. |
| Severity | Low |
| Required data connectors | cybereinforce_cte |
| Kind | Scheduled |
| Query frequency | 30m |
| Query period | 30m |
| Trigger threshold | 0 |
| Trigger operator | gt |
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cybereinforce/Analytic%20Rules/DeviceEnrolledButOnHold.yaml |
| Version | 1.0.0 |
| Arm template | 21818920-85eb-4955-a7cc-f62c731f32ac.json |
CybereinforceCTE_CL
| where EventType == "device.onhold"
| extend d = parse_json(Details)
| extend
HostName = iff(isnotempty(tostring(d.hostname)), tostring(d.hostname), strcat("cte-device-", substring(EntityId, 0, 8))),
DeviceId = tostring(d.deviceId),
DeviceUser = tostring(d.deviceUser),
DeviceOs = tostring(d.deviceOs),
AppName = "Cybereinforce"
| project TimeGenerated, TenantId, DeviceId, HostName, DeviceUser, DeviceOs, AppName, Actor, Severity, Category, Source
name: CTE - Device Enrolled but On Hold
triggerOperator: gt
query: |
CybereinforceCTE_CL
| where EventType == "device.onhold"
| extend d = parse_json(Details)
| extend
HostName = iff(isnotempty(tostring(d.hostname)), tostring(d.hostname), strcat("cte-device-", substring(EntityId, 0, 8))),
DeviceId = tostring(d.deviceId),
DeviceUser = tostring(d.deviceUser),
DeviceOs = tostring(d.deviceOs),
AppName = "Cybereinforce"
| project TimeGenerated, TenantId, DeviceId, HostName, DeviceUser, DeviceOs, AppName, Actor, Severity, Category, Source
queryFrequency: 30m
description: |
A device enrollment is on hold, typically due to a license/device-capacity limit being reached.
id: 21818920-85eb-4955-a7cc-f62c731f32ac
triggerThreshold: 0
queryPeriod: 30m
version: 1.0.0
kind: Scheduled
relevantTechniques: []
severity: Low
requiredDataConnectors:
- connectorId: cybereinforce_cte
dataTypes:
- CybereinforceCTE_CL
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cybereinforce/Analytic%20Rules/DeviceEnrolledButOnHold.yaml
tactics: []
entityMappings:
- fieldMappings:
- identifier: HostName
columnName: HostName
entityType: Host
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workspace": {
"type": "String"
}
},
"resources": [
{
"apiVersion": "2024-01-01-preview",
"id": "[concat(resourceId('Microsoft.OperationalInsights/workspaces/providers', parameters('workspace'), 'Microsoft.SecurityInsights'),'/alertRules/21818920-85eb-4955-a7cc-f62c731f32ac')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/21818920-85eb-4955-a7cc-f62c731f32ac')]",
"properties": {
"alertRuleTemplateName": "21818920-85eb-4955-a7cc-f62c731f32ac",
"customDetails": null,
"description": "A device enrollment is on hold, typically due to a license/device-capacity limit being reached.\n",
"displayName": "CTE - Device Enrolled but On Hold",
"enabled": true,
"entityMappings": [
{
"entityType": "Host",
"fieldMappings": [
{
"columnName": "HostName",
"identifier": "HostName"
}
]
}
],
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cybereinforce/Analytic%20Rules/DeviceEnrolledButOnHold.yaml",
"query": "CybereinforceCTE_CL\n| where EventType == \"device.onhold\"\n| extend d = parse_json(Details)\n| extend\n HostName = iff(isnotempty(tostring(d.hostname)), tostring(d.hostname), strcat(\"cte-device-\", substring(EntityId, 0, 8))),\n DeviceId = tostring(d.deviceId),\n DeviceUser = tostring(d.deviceUser),\n DeviceOs = tostring(d.deviceOs),\n AppName = \"Cybereinforce\"\n| project TimeGenerated, TenantId, DeviceId, HostName, DeviceUser, DeviceOs, AppName, Actor, Severity, Category, Source\n",
"queryFrequency": "PT30M",
"queryPeriod": "PT30M",
"severity": "Low",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [],
"techniques": [],
"templateVersion": "1.0.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}