Entities_Data_CL
| where entity_type == "account"
| extend Tags = todynamic(tags)
| where set_has_element(Tags, "MDR - Customer Escalation")
| summarize arg_max(['last_modified_timestamp'], *) by ['name']
severity: High
eventGroupingSettings:
aggregationKind: AlertPerResult
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}}
version: 1.1.0
incidentConfiguration:
groupingConfiguration:
enabled: true
reopenClosedIncident: false
groupByEntities:
- Account
lookbackDuration: P7D
groupByAlertDetails:
- DisplayName
matchingMethod: AllEntities
createIncident: true
name: Vectra Create Incident Based on Tag for Accounts
queryPeriod: 10m
suppressionDuration: PT1H
triggerOperator: GreaterThan
tactics:
- Persistence
entityMappings:
- fieldMappings:
- identifier: Name
columnName: name
entityType: Account
kind: Scheduled
customDetails:
ip_address: ip
entity_type: entity_type
tags: tags
attack_profile: attack_profile
entity_id: id
status: Available
relevantTechniques:
- T1546
description: Create an incident when the account entity presents a specific tag. If the tag is present, an incident should be created and marked with highest priority.
triggerThreshold: 0
requiredDataConnectors:
- connectorId: VectraXDR
dataTypes:
- Entities_Data_CL
suppressionEnabled: false
queryFrequency: 10m
query: |
Entities_Data_CL
| where entity_type == "account"
| 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_Account_Entity.yaml
id: 87325835-dd8c-41e7-b686-fd5adbbd0aee