Datadog API Key

Detects Datadog API keys, which are 32 hexadecimal characters with no fixed prefix. Because a bare 32-hex string is generic, this pattern requires a nearby Datadog label to confirm the match. A leaked key grants metric, log and event ingestion access.

Type
regex
Engine
universal
Confidence
medium
Confidence justification
Medium confidence: Datadog keys are an undifferentiated 32-hex string, so detection relies on an adjacent Datadog label; without context the value is indistinguishable from an MD5 hash or other 32-hex token.
Jurisdictions
global
Regulations
Criminal Code Act 1995 (Cth)
Frameworks
CIS Controls, ISO 27001, NIST CSF, SOC 2
Data categories
credentials, security
Scope
wide
Risk rating
8
Platform compatibility
Purview: Compatible, GCP DLP: Unsupported, Macie: Unsupported, Zscaler: Compatible, Palo Alto: Unsupported, Netskope: Unsupported

Pattern

(?i)(?:datadog|dd[-_]?api[-_]?key|DD_API_KEY)[\s\S]{0,40}?(?<![a-f0-9])[a-f0-9]{32}(?![a-f0-9])

Corroborative evidence keywords

datadog, datadoghq, DD_API_KEY, dd-api-key, api key, app key, agent

Proximity: 300 characters

Should match

Should not match

Known false positives

References