Datadog API Credentials

ID

datadog_key

Severity

low

Vendor

Datadog

Family

API Token

Description

Datadog is an observability service for cloud-scale applications, providing monitoring of servers, databases, tools, and services, through a SaaS-based data analytics platform.

It provides access to its services through authenticated request to a REST API.

Security

Any hardcoded Datadog API Key is a potential secret reported by this detector.

Accidentally checking-in the key to source control repositories could compromise your Datadog account.

Examples

DOG_API_KEY=6jJZ8nqXOFZdg16ULricw7UIzLXwT696

Mitigation / Fix

  1. Remove the API Key from the source code or committed configuration file.

  2. Follow your policy for handling leaked secrets, which typically require revoking the secret in the target system(s). Go to the Integration/API tab in the application to revoke the API Key.

  3. If under a git repository, you may remove unwanted files from the repository history using tools like git filter-repo or BFG Repo-Cleaner. You may follow the procedure listed here for GitHub.

You should consider any sensitive data in commits with secrets as compromised.

Remember that secrets may be removed from history in your projects, but not in other users' cloned or forked repositories.