Entities_Data_CL
| where entity_type == "host"
| extend Tags = todynamic(tags)
| where set_has_element(Tags, "MDR - Customer Escalation")
| summarize arg_max(['last_modified_timestamp'], *) by ['name']
entityMappings:
- entityType: Host
fieldMappings:
- identifier: HostName
columnName: name
tactics:
- Persistence
suppressionEnabled: false
suppressionDuration: PT1H
requiredDataConnectors:
- dataTypes:
- Entities_Data_CL
connectorId: VectraXDR
alertDetailsOverride:
alertDisplayNameFormat: Vectra AI Incident- {{name}}
alertDescriptionFormat: An incident has been escalated for Vectra AI entity {{name}} that is presenting an urgency score of {{urgency_score}}
alertDynamicProperties:
- value: url
alertProperty: AlertLink
incidentConfiguration:
groupingConfiguration:
reopenClosedIncident: false
groupByAlertDetails:
- DisplayName
lookbackDuration: P7D
groupByEntities:
- Host
enabled: true
matchingMethod: AllEntities
createIncident: true
id: 8b7a1a64-8ef2-4000-b8c9-9bca3b93aace
severity: High
eventGroupingSettings:
aggregationKind: AlertPerResult
status: Available
customDetails:
attack_profile: attack_profile
ip_address: ip
entity_id: id
tags: tags
entity_type: entity_type
query: |
Entities_Data_CL
| where entity_type == "host"
| extend Tags = todynamic(tags)
| where set_has_element(Tags, "MDR - Customer Escalation")
| summarize arg_max(['last_modified_timestamp'], *) by ['name']
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Vectra XDR/Analytic Rules/Create_Incident_Based_On_Tag_For_Host_Entity.yaml
kind: Scheduled
queryPeriod: 10m
name: Vectra Create Incident Based on Tag for Hosts
queryFrequency: 10m
triggerOperator: GreaterThan
relevantTechniques:
- T1546
version: 1.1.0
triggerThreshold: 0
description: Create an incident when the host entity presents a specific tag. If the tag is present, an incident should be created and marked with highest priority.