GitHubAuditData
| where Action == "pull_request.merge"
| project Actor, Action
| extend AccountName = tostring(split(Actor, "@")[0]), AccountUPNSuffix = tostring(split(Actor, "@")[1])
description: |
'Detect activities when a pull request was merged. This query runs every day and its severity is Medium.'
kind: Scheduled
tactics:
- InitialAccess
requiredDataConnectors: []
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GitHub/Analytic Rules/(Preview) GitHub - pull request was merged.yaml
severity: Medium
name: (Preview) GitHub - pull request was merged
triggerThreshold: 0
queryPeriod: 7d
query: |
GitHubAuditData
| where Action == "pull_request.merge"
| project Actor, Action
| extend AccountName = tostring(split(Actor, "@")[0]), AccountUPNSuffix = tostring(split(Actor, "@")[1])
relevantTechniques:
- T1078
id: 0b85a077-8ba5-4cb5-90f7-1e882afe10c6
queryFrequency: 1d
status: Available
triggerOperator: gt
version: 1.0.1
entityMappings:
- entityType: Account
fieldMappings:
- columnName: Actor
identifier: FullName
- columnName: AccountName
identifier: Name
- columnName: AccountUPNSuffix
identifier: UPNSuffix