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

Preview GitHub - pull request was created

Back
Id0b85a077-8ba5-4cb5-90f7-1e882afe10c7
Rulename(Preview) GitHub - pull request was created
DescriptionDetect activities when a pull request was created. This query runs every day and its severity is Medium.
SeverityMedium
TacticsInitialAccess
TechniquesT1078
KindScheduled
Query frequency1d
Query period7d
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GitHub/Analytic Rules/(Preview) GitHub - pull request was created.yaml
Version1.0.1
Arm template0b85a077-8ba5-4cb5-90f7-1e882afe10c7.json
Deploy To Azure
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