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']
id: 87325835-dd8c-41e7-b686-fd5adbbd0aee
triggerThreshold: 0
tactics:
- Persistence
kind: Scheduled
name: Vectra Create Incident Based on Tag for Accounts
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
queryFrequency: 10m
entityMappings:
- entityType: Account
fieldMappings:
- columnName: name
identifier: Name
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.
version: 1.1.0
severity: High
queryPeriod: 10m
relevantTechniques:
- T1546
suppressionDuration: PT1H
triggerOperator: GreaterThan
status: Available
suppressionEnabled: false
incidentConfiguration:
createIncident: true
groupingConfiguration:
groupByAlertDetails:
- DisplayName
groupByEntities:
- Account
enabled: true
reopenClosedIncident: false
lookbackDuration: P7D
matchingMethod: AllEntities
customDetails:
ip_address: ip
attack_profile: attack_profile
entity_type: entity_type
tags: tags
entity_id: id
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}}
requiredDataConnectors:
- connectorId: VectraXDR
dataTypes:
- Entities_Data_CL