Scanner deep dive
Datadog Analyzer
Open sourceWhat does this analyzer do?
- Purpose
- It helps explain what a credential may be able to do. Atlas describes the analyzer’s code and hasn’t tested a credential here.
- How does it assess access?
- How the analyzer decides what a Datadog key can do depends on which kind it is: Application key provided or API key only. Access method details · First method source (requests.go:288–307)
Some keys have a preset permission list
The analyzer assigns these permissions without asking Datadog which ones the key has. Its actual access can be narrower.
- What can I look up?
- Explore the permissions and resource types named in the code.
Built on 2 detectors
The detector finds and verifies the key. This analyzer maps it.
1 · Detector finds
Candidates near “datadog”, “ddog-gov”, 2 patterns.
Datadog Apikeydatadogapikey.go:40 (opens TruffleHog source on GitHub)
2 · Detector verifies
GET %s/api/v1/validate
200 means verified.
How it verifiesdatadogapikey.go:91 (opens TruffleHog source on GitHub)datadogapikey.go:108 (opens TruffleHog source on GitHub)
3 · This analyzer maps
68 permission names on each User.
Tests each permissionAssumes a partial set
1 · Detector finds
Candidates near “datadog”, “ddog-gov”, 3 patterns.
Datadog Tokendatadogtoken.go:106 (opens TruffleHog source on GitHub)
2 · Detector verifies
GET %s/api/v2/users
200 means verified.
How it verifiesdatadogtoken.go:175 (opens TruffleHog source on GitHub)datadogtoken.go:194 (opens TruffleHog source on GitHub)
3 · This analyzer maps
68 permission names on each User.
Tests each permissionAssumes a partial set
Access model · AI-assisted classification · No credential tested
How Datadog Analyzer decides what a key can do
This describes how TruffleHog’s code assigns permissions. It is not a statement of what the provider actually grants a particular key.
- Tests each permissionWhen:
Runs the HTTP test for each scope listed in scopes.json.
Reviewed classification: Runs the HTTP test defined for each scope in scopes.json.
Tries each permission against the provider and records whether it was allowed or denied.
- Assumes a partial setWhen:
Gives the key the scopes that have no HTTP test. Code comment: “API key is not finely grained, so we assign some default permissions.”
Reviewed classification: Assigns the scopes that have no HTTP test. Comment: "API key is not finely grained, so we assign some default permissions".
Gives the key a set list of some permissions without checking them.
Pinned revision db665f0c24c6 · Confidence high · Classified 2026-11-16
Compare all 44 analyzersParsed source walkthrough · No credential tested
Follow Datadog Analyzer from inputs to evidence
After a related detector successfully validates a candidate, this analyzer is an optional next layer. The steps below explain code found in this package. They do not run it or establish the access of a credential.
- Input field names
- 3
- Direct HTTP request sites
- 3
- Go implementation files scanned
- 3
- Configured JSON definitions
- 72
1. Understand the inputs
These names are read from the analyzer’s credential-info map. A name can be required, optional, or conditional; this inventory does not resolve that control flow. Field values are never shown.
2. Inspect the request definitions
A request site is a Go request-construction call, not an individual permission check. One helper may build many requests. 0 of 3 sites have a directly written address; dynamic addresses remain unresolved. Use the configured-check reader below for the normalized JSON response rules; other response interpretation still needs source review.
Browse 3 request sites
GET · Dynamic address — inspect source
Inspect source · requests.go:81This identifies a request definition. No response rule, granted permission, or resource binding is inferred from its method or address.
Method unresolved · Dynamic address — inspect source
Inspect source · requests.go:127This identifies a request definition. No response rule, granted permission, or resource binding is inferred from its method or address.
GET · Dynamic address — inspect source
Inspect source · requests.go:193This identifies a request definition. No response rule, granted permission, or resource binding is inferred from its method or address.
This package also contains 2 JSON/YAML configuration files. Their definitions are not counted as Go request sites. Use the configured-check reader below.
Explore configured checks
Each check below is a request defined in this analyzer’s embedded JSON, with the response codes it treats as access granted or denied. Nothing on this page sends a request.
- A check is labelled with a permission name, but one check is not proof that a key has that permission.
- The runner checks the “granted” codes first, then the “denied” codes. Any other code is reported as an error, not as a result.
- Payload values are not shown. The HTTP method alone doesn’t say whether a request changes anything.
Filters update results immediately. Counts show matches with the other filters applied.
72 matching results
Showing 1–10 of 72 matching definitions · 72 in this configuration
dashboards_readGET
GET /v1/dashboard
Relative path; the code picks the host.
- Granted when
- 200, 429
- Denied when
- 403
dashboards_writePOST
POST /v1/dashboard
Relative path; the code picks the host.
- Granted when
- 200, 400, 429
- Denied when
- 403
dashboards_public_sharePOST
POST /v1/dashboard/public
Relative path; the code picks the host.
- Granted when
- 200, 400, 404, 429
- Denied when
- 403
monitors_readGET
GET /v1/monitor
Relative path; the code picks the host.
- Granted when
- 200, 400, 429
- Denied when
- 403
monitors_writePOST
POST /v1/monitor
Relative path; the code picks the host.
- Granted when
- 200, 400, 429
- Denied when
- 403
logs_modify_indexesDELETE
DELETE /v1/logs/config/indexes/does-not-exist
Relative path; the code picks the host.
- Granted when
- 200, 400, 404, 429
- Denied when
- 403
logs_write_pipelinesDELETE
DELETE /v1/logs/config/pipelines/does-not-exist
Relative path; the code picks the host.
- Granted when
- 200, 400, 404, 429
- Denied when
- 403
logs_write_archivesDELETE
DELETE /v2/logs/config/archives/does-not-exist
Relative path; the code picks the host.
- Granted when
- 200, 400, 404, 429
- Denied when
- 403
logs_generate_metricsPOST
POST /v2/logs/config/metrics
Relative path; the code picks the host.
- Granted when
- 200, 400, 429
- Denied when
- 403
monitors_downtimePOST
POST /v1/downtime
Relative path; the code picks the host.
- Granted when
- 200, 400, 429
- Denied when
- 403
Pinned revision 23255461ddf3.
3. Read the result and its limits
Explore the permission names and resource types below. They are independent source lists. This walkthrough does not connect every request to a permission or resource, and does not infer access from an HTTP success.
Inspect 2 binding construction sites
These links point to Binding literals or BindAllPermissions helper calls. The permission-to-resource relationships and conditions have not been normalized.
Pinned revision 23255461ddf3 · analyzer-workflow-sites-v1. Comments, string contents, tests and testdata are excluded from code-site matching. SDK resolution, call order, response rules, required inputs and permission/resource bindings remain outside this parser.
Permissions and resources
How the result is built: one key, the resources it reaches, and the permissions recorded on each.
1 key
A verified Datadog key
From the detector
Resource types
- User
Filled in only when a key is analyzed
68 permission names on each
- dashboards_read
- dashboards_write
- dashboards_public_share
- monitors_read
- monitors_write
- logs_modify_indexes
- logs_write_pipelines
- logs_write_archives
- logs_generate_metrics
- monitors_downtime
- logs_read_data
- logs_read_archives
- +56 more in the list below
68 permission names · 1 resource types · 69/69 names explained
Permission names describe actions or scopes checked by this analyzer. Resource types describe the kinds of objects it can report. They are separate source lists; a permission-to-resource binding has not been extracted. Available access depends on the credential and provider response.
Showing 69 of 69 capability names
Where the explanations come from
- Provider docs (68): official provider documentation
- Atlas wording (1): Atlas wording, not the provider’s text (written with AI, not yet reviewed)
Resource types
Showing 1 of 1 matching resource types.
UserExplanation available
The Datadog user the key belongs to.
Atlas wording
Permissions
Grouped by name prefix for easier browsing. These display groups are not official provider categories or permission-to-resource bindings.
Name prefix “security” 8 names
security_monitoring_rules_readExplanation available
security_monitoring_rules_writeExplanation available
security_monitoring_signals_readExplanation available
security_monitoring_signals_writeExplanation available
security_monitoring_filters_readExplanation available
security_monitoring_filters_writeExplanation available
security_monitoring_notification_profiles_readExplanation available
security_monitoring_notification_profiles_writeExplanation available
Name prefix “synthetics” 7 names
synthetics_private_location_readExplanation available
synthetics_private_location_writeExplanation available
Create and delete private locations in addition to having access to the associated installation guidelines.
Provider docs
synthetics_global_variable_readExplanation available
synthetics_global_variable_writeExplanation available
synthetics_readExplanation available
synthetics_writeExplanation available
synthetics_default_settings_readExplanation available
Name prefix “apm” 6 names
apm_readExplanation available
apm_retention_filter_readExplanation available
Read trace retention filters. A user with this permission can view the retention filters page, list of filters, their statistics, and creation info.
Provider docs
apm_retention_filter_writeExplanation available
Create, edit, and delete trace retention filters. A user with this permission can create new retention filters, and update or delete to existing retention filters.
Provider docs
apm_generate_metricsExplanation available
apm_pipelines_writeExplanation available
apm_pipelines_readExplanation available
Name prefix “logs” 6 names
logs_modify_indexesExplanation available
Read and modify all indexes in your account. This includes the ability to grant the Logs Read Index Data and Logs Write Exclusion Filters permission to other roles, for some or all indexes.
Provider docs
logs_write_pipelinesExplanation available
Add and change log pipeline configurations, including the ability to grant the Logs Write Processors permission to other roles, for some or all pipelines.
Provider docs
logs_write_archivesExplanation available
logs_generate_metricsExplanation available
logs_read_dataExplanation available
Read log data. In order to read log data, a user must have both this permission and Logs Read Index Data. This permission can be restricted with restriction queries. Restrictions are limited to the Log Management product.
Provider docs
logs_read_archivesExplanation available
Name prefix “dashboards” 3 names
dashboards_readExplanation available
dashboards_writeExplanation available
dashboards_public_shareExplanation available
Create, modify and delete shared dashboards with share type 'Public'. These dashboards can be accessed by anyone on the internet.
Provider docs
Name prefix “incident” 3 names
incident_readExplanation available
incident_writeExplanation available
incident_settings_writeExplanation available
Name prefix “monitors” 3 names
monitors_readExplanation available
monitors_writeExplanation available
monitors_downtimeExplanation available
Set downtimes to mute monitors. A user can only silence monitors they created or have Muter or Editor access to.
Provider docs
Name prefix “org” 3 names
org_app_keys_readExplanation available
org_app_keys_writeExplanation available
Manage Application Keys owned by all users in the organization.
Provider docs
org_managementExplanation available
Edit org configurations, including authentication and certain security preferences such as configuring SAML, renaming an org, configuring allowed login methods, creating child orgs, subscribing & unsubscribing from apps in the marketplace, and enabling & disabling Remote Configuration for the entire organization.
Provider docs
Name prefix “slos” 3 names
slos_readExplanation available
slos_writeExplanation available
slos_correctionsExplanation available
Apply, edit, and delete SLO status corrections. A user with this permission can make status corrections, even if they do not have permission to edit those SLOs.
Provider docs
Name prefix “user” 3 names
user_access_inviteExplanation available
user_app_keysExplanation available
user_access_manageExplanation available
Disable users, manage user roles, manage SAML-to-role mappings, and configure logs restriction queries.
Provider docs
Name prefix “workflows” 3 names
workflows_readExplanation available
workflows_writeExplanation available
workflows_runExplanation available
Name prefix “api” 2 names
api_keys_readExplanation available
List and retrieve the key values of all API Keys in your organization.
Provider docs
api_keys_writeExplanation available
Name prefix “connections” 2 names
connections_readExplanation available
List and view available connections. Connections contain secrets that cannot be revealed.
Provider docs
connections_writeExplanation available
Name prefix “data” 2 names
data_scanner_readExplanation available
View Sensitive Data Scanner configurations and scanning results.
Provider docs
data_scanner_writeExplanation available
Name prefix “notebooks” 2 names
notebooks_readExplanation available
notebooks_writeExplanation available
Name prefix “rum” 2 names
rum_apps_writeExplanation available
Create, edit, and delete RUM applications. Creating a RUM application automatically generates a Client Token. In order to create Client Tokens directly, a user needs the Client Tokens Write permission.
Provider docs
rum_apps_readExplanation available
Other names 10 names
usage_readExplanation available
metric_tags_writeExplanation available
audit_logs_readExplanation available
service_account_writeExplanation available
Create, disable, and use Service Accounts in your organization.
Provider docs
observability_pipelines_readExplanation available
aws_configurations_manageExplanation available
azure_configurations_manageExplanation available
gcp_configurations_manageExplanation available
manage_integrationsExplanation available
monitor_config_policy_writeExplanation available
Under the hoodSource facts, registration, field evidence and source changes
Start with the detector. Add the analyzer next.
Step 1: Detect
Related detectors find credential candidates. A match alone does not establish that the credential works. Open the detector first to learn its matching and verification rules.
Step 2: Verify
The detector checks the candidate under its verification rules. Successful verification establishes the condition accepted by that detector; it does not establish every permission. The status below is extraction evidence, not a live result.
Datadog Apikey · Verification parsed
The normalized parser found verification logic at this record’s revision. No credential was tested.
GET %s/api/v1/validate
Datadog Token · Verification parsed
The normalized parser found verification logic at this record’s revision. No credential was tested.
GET %s/api/v2/users
Step 3: Analyze
After successful detector verification, analysis is an additional layer for gathering access context. The source contains an Analyze function; its results depend on the credential, the checks that run and their outcomes.
Explore access capabilitiesStep 4: Interpret the evidence
Open an individual check to learn what it attempts and how its result is interpreted. Follow the source evidence before concluding what access it establishes. Missing permission or resource relationships remain unknown.
Next: follow the source walkthroughDetailed check definitions are not connected to this page yet. The walkthrough identifies input and request sites; response rules and permission/resource bindings still need source review.
This is a source-based workflow, not a live validation result. The catalog has not executed these detectors or analyzers. Related packages are linked by the catalog’s recorded relationship evidence.
Source overview · No credential tested
Understand what Datadog Analyzer can check
Counts below describe names found in analyzer source. They do not confirm access for a particular credential.
- Permission names
- 68
- Unique names recorded in this analyzer
- Resource types
- 1
- Kinds of objects, not a count of objects found
- Names needing explanation
- 0
- Names without a catalog summary
69 of 69 names have a summary. A summary is not proof of access or a review approval.
How should I read these results?
- Recorded in source
- The parser found a name or behavior in code. It has not tested your credential.
- Explained in the catalog
- A summary describes a recorded name. Check its source label and reference before relying on the interpretation.
- Confirmed by a test
- This would require a recorded run and its responses. No such result is shown on this page. An HTTP success alone does not establish every permission.
- Whether this analyzer package contains an Analyze function.
Yes
- Self-discovery means the package runs after verify to list identity or permissions. Other means no Analyze function was extracted.
Self-discovery
- Related detectors
2
- Permission or scope strings declared in the analyzer Go. These are not a live grant.
68
- Resource names the analyzer source says it can list. These are not a live inventory.
1
- The GitHub repository this catalog was parsed from. This app reads trufflesecurity/trufflehog.
- trufflesecurity/trufflehog
- The Go file the parser read for this page. The link opens that file at the pinned catalog commit.
- pkg/analyzer/analyzers/datadog/datadog.go
- The last commit that changed this folder’s code (tests don’t count), when GitHub history was fetched. Otherwise it is the ingest commit that reparsed the folder. It can be older than the catalog pin.
- 2921dcc
Last commit that changed this folder’s code. Test-only changes don’t count.
- Active means this folder was still in the latest ingest. A folder that disappeared is dropped from the catalog.
Active
- The date of the ingest that still contained this folder. This is not the day the Go file was edited.
Nov 25, 2026
This folder was still in the catalog at this ingest.
- The date of the newest queued diff for this record. With no diff, this falls back to the ingest time.
Nov 25, 2026
- Whether a human still needs to look at a queued diff or an uncertain extracted field.
No queued diffs
What this analyzer does
Analyze() exists in source. 68 permission names are enumerated in source. Resource types in source: User.
An Analyze function was found in the source. The entries below describe the access context recorded for this package.
Description generated from parsed flags
Registration
Named in pkg/analyzer/cli.go. A detector joins from this file only when its folder matches one of these keys.
- datadog
Parsed from analyzer registration
Related detectors and validation evidence
- Datadog Apikey
pkg/detectors/datadogapikey·Verification parsed
Enriches after verify. Joined by an explicit credential-type map. The analyzer does not verify the secret.
- Datadog Token
pkg/detectors/datadogtoken·Verification parsed
Enriches after verify. Joined by an explicit credential-type map. The analyzer does not verify the secret.
Roles
No role map extracted from this analyzer’s Go.
Package files
- datadog.go
- models.go
- permissions.yaml
- requests.go
Field evidence
Parsed fields keep a provenance row beside the value. Extracted rows stay visible. Needs review means a heuristic verify flag or a URL whose host is still a template. Unknown means the parser did not find that field — never a negative capability claim.
description · Needs review · medium
Analyze() exists in source. 68 permission names are enumerated in source. Resource types in source: User.
Derived from parser flags. This sentence is not a source comment.
keyTypes · Unknown · unknown
None extracted
permissions · Extracted · high
dashboards_read, dashboards_write, dashboards_public_share, monitors_read, monitors_write, logs_modify_indexes, logs_write_pipelines, logs_write_archives, logs_generate_metrics, monitors_downtime, logs_read_data, logs_read_archives, security_monitoring_rules_read, security_monitoring_rules_write, security_monitoring_signals_read, security_monitoring_signals_write, user_access_invite, user_app_keys, org_app_keys_read, org_app_keys_write, user_access_manage, synthetics_private_location_read, synthetics_private_location_write, usage_read, metric_tags_write, audit_logs_read, api_keys_read, api_keys_write, synthetics_global_variable_read, synthetics_global_variable_write, synthetics_read, synthetics_write, synthetics_default_settings_read, service_account_write, apm_read, apm_retention_filter_read, apm_retention_filter_write, rum_apps_write, data_scanner_read, data_scanner_write, org_management, security_monitoring_filters_read, security_monitoring_filters_write, incident_read, incident_write, incident_settings_write, rum_apps_read, security_monitoring_notification_profiles_read, security_monitoring_notification_profiles_write, apm_generate_metrics, apm_pipelines_write, apm_pipelines_read, observability_pipelines_read, workflows_read, workflows_write, workflows_run, connections_read, connections_write, notebooks_read, notebooks_write, aws_configurations_manage, azure_configurations_manage, gcp_configurations_manage, manage_integrations, slos_read, slos_write, slos_corrections, monitor_config_policy_write
resources · Extracted · high
User
roles · Unknown · unknown
None extracted
files · Extracted · high
datadog.go, models.go, permissions.yaml, requests.go
hasAnalyze · Extracted · high
Yes
hasRoleField · Unknown · unknown
No
analyzerType · Extracted · high
self_discovery
What changed in the source
Stored source differences and their review status. No stored difference does not establish that upstream is unchanged.
No stored diffs for this analyzer yet.
Change log
What changed in this analyzer
No changes recorded since Nov 11, 2026, when the change log starts.