Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Create Incident for XDR Alerts

Back
Id0febd8cc-1b8d-45ed-87b3-e1e8a57d14cd
RulenameCreate Incident for XDR Alerts
DescriptionThis Query creates an incident based on Trend Vision One Workbench Alerts and maps the impacted entities for Microsoft Sentinel usage.
SeverityHigh
Required data connectorsTrendMicroXDR
KindScheduled
Query frequency5m
Query period5m
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Trend Micro Vision One/Analytic Rules/Create Incident for XDR Alerts.yaml
Version1.0.4
Arm template0febd8cc-1b8d-45ed-87b3-e1e8a57d14cd.json
Deploy To Azure
TrendMicro_XDR_WORKBENCH_CL
| extend Severity = case(severity_s == "low", "Informational",
                        severity_s == "medium", "Low",
                        severity_s == "high", "Medium",
                        "High"
                        )
| extend 
    UserAccountName_s = todynamic(column_ifexists("UserAccountName_s", "[]")),
    UserAccountNTDomain_s = todynamic(column_ifexists("UserAccountNTDomain_s", "[]")),
    FileName_s = todynamic(column_ifexists("FileName_s", "[]")),
    FileDirectory_s = todynamic(column_ifexists("FileDirectory_s", "[]")),
    ProcessCommandLine_s = todynamic(column_ifexists("ProcessCommandLine_s", "[]")),
    RegistryKey_s = todynamic(column_ifexists("RegistryKey_s", "[]")),
    RegistryValue_s = todynamic(column_ifexists("RegistryValue_s", "[]")),
    RegistryValueName_s = todynamic(column_ifexists("RegistryValueName_s", "[]"))
suppressionEnabled: false
relevantTechniques: 
entityMappings:
- fieldMappings:
  - columnName: UserAccountName_s
    identifier: Name
  - columnName: UserAccountNTDomain_s
    identifier: NTDomain
  entityType: Account
- fieldMappings:
  - columnName: FileName_s
    identifier: Name
  - columnName: FileDirectory_s
    identifier: Directory
  entityType: File
- fieldMappings:
  - columnName: ProcessCommandLine_s
    identifier: CommandLine
  entityType: Process
- fieldMappings:
  - columnName: RegistryKey_s
    identifier: Key
  entityType: RegistryKey
- fieldMappings:
  - columnName: ProcessCommandLine_s
    identifier: Name
  - columnName: RegistryValue_s
    identifier: Value
  entityType: RegistryValue
incidentConfiguration:
  groupingConfiguration:
    groupByCustomDetails:
    - WorkbenchID
    reopenClosedIncident: false
    enabled: true
    matchingMethod: Selected
    lookbackDuration: 5m
  createIncident: true
version: 1.0.4
triggerThreshold: 0
alertRuleTemplateName: 
suppressionDuration: 5h
description: |
    'This Query creates an incident based on Trend Vision One Workbench Alerts and maps the impacted entities for Microsoft Sentinel usage.'
customDetails:
  Severity: severity_s
  XDRCustomerID: xdrCustomerID_g
  WorkbenchID: workbenchId_s
  ImpactScopeSummary: impactScope_Summary_s
  WorkbenchName: workbenchName_s
  WorkbenchLink: workbenchLink_s
  PriorityScore: priorityScore_d
  Provider: alertProvider_s
  CreatedAt: createdTime_t
requiredDataConnectors:
- connectorId: TrendMicroXDR
  dataTypes:
  - TrendMicro_XDR_WORKBENCH_CL
triggerOperator: gt
alertDetailsOverride:
  alertDisplayNameFormat: '{{workbenchName_s}}'
  alertSeverityColumnName: Severity
  alertDescriptionFormat: '{{description_s}}'
eventGroupingSettings:
  aggregationKind: AlertPerResult
id: 0febd8cc-1b8d-45ed-87b3-e1e8a57d14cd
queryFrequency: 5m
query: |
  TrendMicro_XDR_WORKBENCH_CL
  | extend Severity = case(severity_s == "low", "Informational",
                          severity_s == "medium", "Low",
                          severity_s == "high", "Medium",
                          "High"
                          )
  | extend 
      UserAccountName_s = todynamic(column_ifexists("UserAccountName_s", "[]")),
      UserAccountNTDomain_s = todynamic(column_ifexists("UserAccountNTDomain_s", "[]")),
      FileName_s = todynamic(column_ifexists("FileName_s", "[]")),
      FileDirectory_s = todynamic(column_ifexists("FileDirectory_s", "[]")),
      ProcessCommandLine_s = todynamic(column_ifexists("ProcessCommandLine_s", "[]")),
      RegistryKey_s = todynamic(column_ifexists("RegistryKey_s", "[]")),
      RegistryValue_s = todynamic(column_ifexists("RegistryValue_s", "[]")),
      RegistryValueName_s = todynamic(column_ifexists("RegistryValueName_s", "[]"))  
severity: High
status: Available
queryPeriod: 5m
name: Create Incident for XDR Alerts
tactics: 
kind: Scheduled
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Trend Micro Vision One/Analytic Rules/Create Incident for XDR Alerts.yaml