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