Query Details
// You will need previously https://github.com/ep3p/Sentinel_KQL/blob/main/Queries/Sentinel%20Performance/SentinelHealth-Sentinel%20failure.kql SecurityIncident | where Title has "Sentinel health - Automation rule - Failure - Incident Number" | extend Number = tostring(split(Title, " ")[-1]) | join kind=rightsemi SecurityIncident on $left.Number == $right.ProviderIncidentId // | where Title has "Sentinel health - Automation rule - Failure - Incident Number" // | extend Number = tostring(split(Title, " ")[-1]) // | join kind=rightsemi SecurityIncident on $left.Number == $right.ProviderIncidentId // | where Title has "Sentinel health - Automation rule - Failure - Incident Number" // | extend Number = tostring(split(Title, " ")[-1]) // | join kind=rightsemi SecurityIncident on $left.Number == $right.ProviderIncidentId // | where Title has "Sentinel health - Automation rule - Failure - Incident Number" // | extend Number = tostring(split(Title, " ")[-1]) // | join kind=rightsemi SecurityIncident on $left.Number == $right.ProviderIncidentId
The query is filtering SecurityIncident records that have a Title containing the phrase "Sentinel health - Automation rule - Failure - Incident Number". It then splits the Title to extract the incident number and joins the filtered records with the SecurityIncident table using the incident number as the join condition. The commented lines are repeated code that can be removed.

Jose Sebastián Canós
Released: February 14, 2024
Tables
Keywords
Operators