CortexXDR_Incidents_CL
| where severity_s contains "medium"
| 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
incidentConfiguration:
groupingConfiguration:
matchingMethod: AllEntities
enabled: true
reopenClosedIncident: false
lookbackDuration: 5h
createIncident: true
requiredDataConnectors:
- connectorId: CortexXDR
dataTypes:
- CortexXDR_Incidents_CL
relevantTechniques: []
entityMappings:
- entityType: Account
fieldMappings:
- identifier: Name
columnName: users_s
- entityType: URL
fieldMappings:
- identifier: Url
columnName: xdr_url_s
- entityType: Host
fieldMappings:
- identifier: HostName
columnName: hosts_s
query: |
CortexXDR_Incidents_CL
| where severity_s contains "medium"
| 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
triggerThreshold: 0
customDetails:
alertDetailsOverride:
sentinelEntitiesMappings:
suppressionEnabled: false
queryPeriod: 5m
tactics: []
name: Cortex XDR Incident - Medium
kind: Scheduled
description: |
'A new incident was created in the Cortex XDR portal with a severity "Medium". Click on the events for incident details. '
id: 2b05823b-ee15-4b92-a642-b13170e37c35
version: 1.0.0
eventGroupingSettings:
aggregationKind: SingleAlert
queryFrequency: 5m
severity: Medium
suppressionDuration: 5h
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Cortex XDR/Analytic Rules/CortexXDR_Medium.yaml