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