GitHubAuditData
| where Action == "payment_method.remove"
| extend AccountName = tostring(split(Actor, "@")[0]), AccountUPNSuffix = tostring(split(Actor, "@")[1])
query: |
GitHubAuditData
| where Action == "payment_method.remove"
| extend AccountName = tostring(split(Actor, "@")[0]), AccountUPNSuffix = tostring(split(Actor, "@")[1])
entityMappings:
- fieldMappings:
- identifier: FullName
columnName: Actor
- identifier: Name
columnName: AccountName
- identifier: UPNSuffix
columnName: AccountUPNSuffix
entityType: Account
triggerOperator: gt
description: |
'Detect activities when a payment method was removed. This query runs every day and its severity is Medium.'
tactics:
- InitialAccess
severity: Medium
queryFrequency: 1d
kind: Scheduled
name: (Preview) GitHub - A payment method was removed
triggerThreshold: 0
status: Available
id: 6bb50582-caac-4a9b-9afb-3fee766ebbf7
requiredDataConnectors: []
relevantTechniques:
- T1078
version: 1.0.1
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/GitHub/Analytic Rules/(Preview) GitHub - A payment method was removed.yaml
queryPeriod: 7d