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