Skip to content
Kitbay

dd-audit-key-compromise

MITUpdated on Nov 9, 2026185GitHub stars

A Datadog skill for investigating a Datadog API key that may have been leaked.

What the skill teaches

A Datadog skill for investigating a Datadog API key that may have been leaked. The agent builds a timeline of what the key did from Audit Trail, breaks activity down by country, IP and network, lists the API endpoints called, checks for destructive actions, and finds when and by whom the key was created. It flags anomalies and ends with remediation steps, including revoking the key in the web app or through pup, which needs a key-management scope. It reads audit data with pup sign-in or keys with audit read scope.

Capabilities

  • Build a timeline of actions taken with an API key
  • Break down key usage by location and IP
  • List endpoints called and destructive actions
  • Give steps to revoke a compromised key