Analytic rule catalog
UniFi Site Manager WAN uptime below 99
Back
| Id | 2bb29f25-833a-5544-4a8e-9bf6c4d8da56 |
| Rulename | UniFi Site Manager: WAN uptime below 99% |
| Description | Identifies when site WAN uptime falls below 99 percent, an SLA-grade availability problem. Combine with the ISP Downtime rule for root-cause attribution. |
| Severity | Medium |
| Tactics | Impact |
| Techniques | T1499 |
| Required data connectors | UniFiSiteManagerConnectorDefinition |
| Kind | Scheduled |
| Query frequency | 1h |
| Query period | 1h |
| Trigger threshold | 0 |
| Trigger operator | gt |
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/UniFi%20Site%20Manager%20%28CCF%29/Analytic%20Rules/UniFiCloudWANuptimebelow99.yaml |
| Version | 1.0.1 |
| Arm template | 2bb29f25-833a-5544-4a8e-9bf6c4d8da56.json |
Unifi_SiteManager_Sites_CL
| where TimeGenerated > ago(1h)
| extend wanUptime = WanUptimePct
| where isnotnull(wanUptime) and wanUptime < 99.0
| summarize arg_max(TimeGenerated, *) by SiteId, SiteName
| extend Activity = strcat('WAN uptime ', round(wanUptime, 2), '% (below 99% SLA threshold)')
| project TimeGenerated, SiteId, SiteName, Activity, WanUptimePct = round(wanUptime, 2)
subTechniques:
- T1499.002
incidentConfiguration:
groupingConfiguration:
lookbackDuration: PT5H
reopenClosedIncident: false
matchingMethod: AllEntities
enabled: true
createIncident: true
name: 'UniFi Site Manager: WAN uptime below 99%'
triggerOperator: gt
query: |
Unifi_SiteManager_Sites_CL
| where TimeGenerated > ago(1h)
| extend wanUptime = WanUptimePct
| where isnotnull(wanUptime) and wanUptime < 99.0
| summarize arg_max(TimeGenerated, *) by SiteId, SiteName
| extend Activity = strcat('WAN uptime ', round(wanUptime, 2), '% (below 99% SLA threshold)')
| project TimeGenerated, SiteId, SiteName, Activity, WanUptimePct = round(wanUptime, 2)
queryFrequency: 1h
description: |
Identifies when site WAN uptime falls below 99 percent, an SLA-grade availability problem. Combine with the ISP Downtime rule for root-cause attribution.
id: 2bb29f25-833a-5544-4a8e-9bf6c4d8da56
triggerThreshold: 0
queryPeriod: 1h
version: 1.0.1
kind: Scheduled
status: Available
severity: Medium
requiredDataConnectors:
- connectorId: UniFiSiteManagerConnectorDefinition
dataTypes:
- Unifi_SiteManager_Sites_CL
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/UniFi%20Site%20Manager%20%28CCF%29/Analytic%20Rules/UniFiCloudWANuptimebelow99.yaml
relevantTechniques:
- T1499
tactics:
- Impact
entityMappings:
- fieldMappings:
- identifier: HostName
columnName: SiteId
- identifier: DnsDomain
columnName: SiteName
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/2bb29f25-833a-5544-4a8e-9bf6c4d8da56')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/2bb29f25-833a-5544-4a8e-9bf6c4d8da56')]",
"properties": {
"alertRuleTemplateName": "2bb29f25-833a-5544-4a8e-9bf6c4d8da56",
"customDetails": null,
"description": "Identifies when site WAN uptime falls below 99 percent, an SLA-grade availability problem. Combine with the ISP Downtime rule for root-cause attribution.\n",
"displayName": "UniFi Site Manager: WAN uptime below 99%",
"enabled": true,
"entityMappings": [
{
"entityType": "Host",
"fieldMappings": [
{
"columnName": "SiteId",
"identifier": "HostName"
},
{
"columnName": "SiteName",
"identifier": "DnsDomain"
}
]
}
],
"incidentConfiguration": {
"createIncident": true,
"groupingConfiguration": {
"enabled": true,
"lookbackDuration": "PT5H",
"matchingMethod": "AllEntities",
"reopenClosedIncident": false
}
},
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/UniFi%20Site%20Manager%20%28CCF%29/Analytic%20Rules/UniFiCloudWANuptimebelow99.yaml",
"query": "Unifi_SiteManager_Sites_CL\n | where TimeGenerated > ago(1h)\n| extend wanUptime = WanUptimePct\n | where isnotnull(wanUptime) and wanUptime < 99.0\n | summarize arg_max(TimeGenerated, *) by SiteId, SiteName\n | extend Activity = strcat('WAN uptime ', round(wanUptime, 2), '% (below 99% SLA threshold)')\n | project TimeGenerated, SiteId, SiteName, Activity, WanUptimePct = round(wanUptime, 2)\n",
"queryFrequency": "PT1H",
"queryPeriod": "PT1H",
"severity": "Medium",
"status": "Available",
"subTechniques": [],
"suppressionDuration": "PT1H",
"suppressionEnabled": false,
"tactics": [
"Impact"
],
"techniques": [
"T1499"
],
"templateVersion": "1.0.1",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}