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

Preview GitHub - Repository was destroyed

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