↳ GitHub sourceAnalytics ruleHigh

Tailscale: Mass credential revocation in short window

Description

Identifies when five or more API keys, OAuth clients, or auth keys are revoked or deleted within one hour. May be routine rotation, or a typical cleanup pattern after credential compromise.
Rule type
Scheduled
Version
1.0.0
Declared status
Available
Query frequency
1h
Query period
1h
Trigger
gt 0

Declared MITRE coverage

Declared sources

Metadata from the source file. No dependencies inferred from KQL.

Connectors

Data types

KQL query

Original query, unchanged.

Tailscale_Audit_CL
      | where Action in ("REVOKE", "DELETE")
      | where tostring(Target.type) in ("API_KEY", "OAUTH_CLIENT", "AUTH_KEY")
      | extend ActorLogin = tostring(Actor.loginName)
      | summarize
          RevokedCount = count(),
          TargetTypes = make_set(tostring(Target.type)),
          TargetIds = make_set(tostring(Target.id)),
          FirstEvent = min(TimeGenerated),
          LastEvent = max(TimeGenerated)
        by ActorLogin, bin(TimeGenerated, 1h)
      | where RevokedCount >= 5
      | project TimeGenerated = LastEvent, ActorLogin, RevokedCount, TargetTypes, TargetIds, FirstEvent, LastEvent

Declared entities

Account

Related content

Links established from declared identifiers and solution manifests.

Source provenance

GitHub

Displayed values come from files in Azure/Azure-Sentinel. They describe the published template, not your workspace configuration.

Source identifier
f817e2fa-6fa0-fc25-5369-cef9b58771af
Additional source files 2Solutions/Tailscale (CCF)/Analytic Rules/TailscaleMasscredentialrevocationinshortwindow.yamlsource ↗Solutions/Tailscale (CCF)/Data/Solution_Tailscale.jsonsolution-membership ↗
GSTEP / CATALOG TRACKING

Added to catalog : 16 Sept 2026 · 05:49 UTC
Last change observed : 16 Sept 2026 · 05:49 UTC

GSTEP sync dates, separate from the source content’s publication dates.