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