56 results available
Sign in
Skills directory

dd-audit

datadog-labs

·

Last changed
Hardened

This skill has been hardened by Chainguard

Last changed

This version passed the hardening gate. Hardening applied 4 targeted changes and preserved all other text. Classified findings before hardening: 0. Classified findings closed: 0. Classified findings remaining: 0. Unclassified scanner findings remaining: 0. Review findings closed: 1. Review findings remaining: 13.


Open before hardening

None

Open after hardening

None


Expand
File
Group
Subtype
Severity
Status

No findings available

0 findings


SKILL.md

Datadog Audit Trail

Investigate user activity, configuration changes, access patterns, and compliance evidence using pup audit-logs.

Sub-Skills

Sub-skillUse when

security-investigation

"Who changed X?", "What did this user do?", "Show me deletions in the last 24h"

key-compromise

"Was this API key compromised?", "What did key XYZ do?", "Investigate suspicious key activity"

cost-spike-investigation

"Why did my bill go up?", "What caused this usage spike?", "Investigate LLM cost increase"

compliance-report

"Generate SOC 2 evidence", "PCI audit log", "User provisioning report for auditor"

ai-activity-audit

"What did the AI assistant do?", "Audit MCP tool calls", "AI governance report"

Prerequisites

pup auth login   # OAuth2 (recommended)
# or set DD_API_KEY + DD_APP_KEY with audit_logs_read scope

Commands

# List recent events
pup audit-logs list --from 1h --limit 100

# Search with a query
pup audit-logs search --query "@action:deleted" --from 24h

Event Schema Quick Reference

FieldDescriptionExample values

@usr.email

Actor email

alice@example.com

@evt.actor.type

How action was taken

USER, API_KEY, SUPPORT_USER

@action

Verb

created, modified, deleted, accessed, login

@evt.name

Event category

Dashboard, Monitor, Authentication, Access Management

@asset.type

Resource type

dashboard, monitor, api_key, role, user

@asset.id

Resource identifier

abc-123

@metadata.api_key.id

API key used (if applicable)

key_abc123

@metadata.app_key.id

App key used (if applicable)

app_abc123

@network.client.ip

Client IP address

1.2.3.4

@network.client.geoip.country.name

Country

United States

@network.client.geoip.as.name

ASN name

Amazon.com

@http.url_details.path

API endpoint path

/api/v1/dashboard/xyz

Search Syntax

Same Lucene-style syntax as Log Explorer:

QueryMeaning

@evt.name:Dashboard

Exact field match

@action:deleted

Action filter

@usr.email:alice@example.com

Specific user

@evt.name:Monitor AND @action:modified

Compound

-@action:deleted

Negation

@usr.email:*

Field exists

@network.client.ip:1.2.3.4

IP filter

Retention

Default retention is 90 days. If querying beyond 90 days, archive to S3/GCS/Azure Blob must be configured. Always check whether the requested time window falls within retention before running a query.

Troubleshooting

ProblemCauseFix

403 Forbidden

Missing audit_logs_read scope

Add scope to app key in Datadog UI

Empty results

Time window outside retention

Check archive config; default max is 90 days

Timeout

Query too broad

Narrow time window or add more filters

No IP data

Internal action or pre-enrichment event

Not all events have geo data

References

  • Audit Trail API
  • Audit Trail documentation
  • Search syntax

Install

Install with chainctl
chainctl skill install public/datadog-labs/dd-audit:latest
Get started with chainctl
View source

Harden your own skills

Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.

Provenance

Upstream sourcehttps://github.com/datadog-labs/agent-skills
Upstream commit0d12930fb2864a3be0cd1ff785dabb80fa768e17
OCI reference

skills.cgr.dev/public/github.com/datadog-labs/dd-audit:latest

License

MIT

Files

HARDENING.md

LICENSE

SKILL.md

ai-activity-audit/SKILL.md

compliance-report/SKILL.md

compliance-report/references/control-mapping.md

cost-spike-investigation/SKILL.md

key-compromise/SKILL.md

security-investigation/SKILL.md


The trusted source for open source

Talk to an expert
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
© 2026 Chainguard, Inc. All Rights Reserved.
Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.