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