18 lines
648 B
JSON
18 lines
648 B
JSON
{
|
|
"id": "stellaops.secrets.datadog-api-key",
|
|
"version": "1.0.0",
|
|
"name": "Datadog API Key",
|
|
"description": "Detects Datadog API keys",
|
|
"type": "regex",
|
|
"pattern": "(?i)(?:datadog[_-]?api[_-]?key|DD_API_KEY)['\"]?\\s*[:=]\\s*['\"]?([a-f0-9]{32})['\"]?",
|
|
"severity": "high",
|
|
"confidence": "medium",
|
|
"keywords": ["DD_API_KEY", "datadog_api_key", "datadog"],
|
|
"filePatterns": ["*.yml", "*.yaml", "*.json", "*.env", "*.properties", "*.config"],
|
|
"enabled": true,
|
|
"tags": ["datadog", "monitoring", "observability", "credentials", "api-key"],
|
|
"references": [
|
|
"https://docs.datadoghq.com/account_management/api-app-keys/"
|
|
]
|
|
}
|