Cortex XDR Incident - Low
Id | 1426bbcf-a9ae-4aa5-9da6-abbf48f04115 |
Rulename | Cortex XDR Incident - Low |
Description | A new incident was created in the Cortex XDR portal with a severity “Low”. Click on the events for incident details. |
Severity | Low |
Required data connectors | CortexXDR |
Kind | Scheduled |
Query frequency | 5m |
Query period | 5m |
Trigger threshold | 0 |
Trigger operator | gt |
Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cortex XDR/Analytic Rules/CortexXDR_Low.yaml |
Version | 1.0.0 |
Arm template | 1426bbcf-a9ae-4aa5-9da6-abbf48f04115.json |
CortexXDR_Incidents_CL
| where severity_s contains "low"
| where status_s !contains "resolved_auto"
// the below line filters for incidents that has at least one user or one host in it. Comment the below line if you want to generated incidents that have 0 user or 0 host as well
| where host_count_d > 0 or user_count_d > 0
| project TimeGenerated, incident_id_s, status_s, severity_s, incident_sources_s, description_s, xdr_url_s, hosts_s, users_s, alert_categories_s, host_count_d, user_count_d, alert_count_d, creation_time_d, modification_time_d
relevantTechniques: []
incidentConfiguration:
createIncident: true
groupingConfiguration:
lookbackDuration: 5h
enabled: true
reopenClosedIncident: false
matchingMethod: AllEntities
name: Cortex XDR Incident - Low
requiredDataConnectors:
- dataTypes:
- CortexXDR_Incidents_CL
connectorId: CortexXDR
entityMappings:
- fieldMappings:
- identifier: Name
columnName: users_s
entityType: Account
- fieldMappings:
- identifier: Url
columnName: xdr_url_s
entityType: URL
- fieldMappings:
- identifier: HostName
columnName: hosts_s
entityType: Host
triggerThreshold: 0
id: 1426bbcf-a9ae-4aa5-9da6-abbf48f04115
tactics: []
version: 1.0.0
sentinelEntitiesMappings:
customDetails:
alertDetailsOverride:
queryPeriod: 5m
kind: Scheduled
eventGroupingSettings:
aggregationKind: SingleAlert
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cortex XDR/Analytic Rules/CortexXDR_Low.yaml
suppressionDuration: 5h
queryFrequency: 5m
severity: Low
suppressionEnabled: false
description: |
'A new incident was created in the Cortex XDR portal with a severity "Low". Click on the events for incident details. '
query: |
CortexXDR_Incidents_CL
| where severity_s contains "low"
| where status_s !contains "resolved_auto"
// the below line filters for incidents that has at least one user or one host in it. Comment the below line if you want to generated incidents that have 0 user or 0 host as well
| where host_count_d > 0 or user_count_d > 0
| project TimeGenerated, incident_id_s, status_s, severity_s, incident_sources_s, description_s, xdr_url_s, hosts_s, users_s, alert_categories_s, host_count_d, user_count_d, alert_count_d, creation_time_d, modification_time_d
triggerOperator: gt
{
"$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/1426bbcf-a9ae-4aa5-9da6-abbf48f04115')]",
"kind": "Scheduled",
"name": "[concat(parameters('workspace'),'/Microsoft.SecurityInsights/1426bbcf-a9ae-4aa5-9da6-abbf48f04115')]",
"properties": {
"alertDetailsOverride": null,
"alertRuleTemplateName": "1426bbcf-a9ae-4aa5-9da6-abbf48f04115",
"customDetails": null,
"description": "'A new incident was created in the Cortex XDR portal with a severity \"Low\". Click on the events for incident details. '\n",
"displayName": "Cortex XDR Incident - Low",
"enabled": true,
"entityMappings": [
{
"entityType": "Account",
"fieldMappings": [
{
"columnName": "users_s",
"identifier": "Name"
}
]
},
{
"entityType": "URL",
"fieldMappings": [
{
"columnName": "xdr_url_s",
"identifier": "Url"
}
]
},
{
"entityType": "Host",
"fieldMappings": [
{
"columnName": "hosts_s",
"identifier": "HostName"
}
]
}
],
"eventGroupingSettings": {
"aggregationKind": "SingleAlert"
},
"incidentConfiguration": {
"createIncident": true,
"groupingConfiguration": {
"enabled": true,
"lookbackDuration": "PT5H",
"matchingMethod": "AllEntities",
"reopenClosedIncident": false
}
},
"OriginalUri": "https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cortex XDR/Analytic Rules/CortexXDR_Low.yaml",
"query": "CortexXDR_Incidents_CL\n| where severity_s contains \"low\"\n| where status_s !contains \"resolved_auto\"\n// the below line filters for incidents that has at least one user or one host in it. Comment the below line if you want to generated incidents that have 0 user or 0 host as well\n| where host_count_d > 0 or user_count_d > 0\n| project TimeGenerated, incident_id_s, status_s, severity_s, incident_sources_s, description_s, xdr_url_s, hosts_s, users_s, alert_categories_s, host_count_d, user_count_d, alert_count_d, creation_time_d, modification_time_d\n",
"queryFrequency": "PT5M",
"queryPeriod": "PT5M",
"sentinelEntitiesMappings": null,
"severity": "Low",
"subTechniques": [],
"suppressionDuration": "PT5H",
"suppressionEnabled": false,
"tactics": [],
"techniques": [],
"templateVersion": "1.0.0",
"triggerOperator": "GreaterThan",
"triggerThreshold": 0
},
"type": "Microsoft.OperationalInsights/workspaces/providers/alertRules"
}
]
}