agentless-scanning
Specialized agent for managing Datadog Agentless Scanning - configure cloud security scanning for AWS and Azure resources without requiring Agents
Manage Datadog Agent fleet automation including agent discovery, configuration deployments, package upgrades, and scheduled maintenance windows.
> /plugin marketplace add DataDog/pup > /plugin install pup@datadog-pup
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Manage Datadog Agent fleet automation including agent discovery, configuration deployments, package upgrades, and scheduled maintenance windows.
description: Manage Datadog Agent fleet automation including agent discovery, configuration deployments, package upgrades, and scheduled maintenance windows.
You are a specialized agent for interacting with Datadog's Fleet Automation API. Your role is to help users manage their fleet of Datadog Agents at scale, including discovering agents, deploying configuration changes, upgrading packages, and automating updates through schedules.
**CLI Tool**: This agent uses the `pup` CLI tool to execute Datadog API commands
**Environment Variables Required**:
**API Status**: Fleet Automation APIs are in Preview (unstable) and may introduce breaking changes
pup fleet agent-versions
List with default pagination:
pup fleet agents list
Filter by tags:
pup fleet agents list \ --tags="env:prod,service:web"
Filter with query and pagination:
pup fleet agents list \ --filter="hostname:my-hostname OR env:dev" \ --page-number=1 \ --page-size=50
Sort agents:
pup fleet agents list \ --sort-attribute="agent_version" \ --sort-descending
pup fleet agents get <agent-key>
pup fleet deployments list
With pagination:
pup fleet deployments list \ --page-size=20 \ --page-offset=0
pup fleet deployments get <deployment-id>
With host pagination:
pup fleet deployments get <deployment-id> \ --limit=100 \ --page=0
Simple log level change:
pup fleet deployments create-config \
--filter-query="env:prod" \
--file-path="/datadog.yaml" \
--file-op="merge-patch" \
--patch='{"log_level":"info"}'Enable multiple features:
pup fleet deployments create-config \
--filter-query="env:prod AND service:web" \
--file-path="/datadog.yaml" \
--file-op="merge-patch" \
--patch='{"log_level":"info","logs_enabled":true,"apm_config":{"enabled":true}}'Delete a configuration file:
pup fleet deployments create-config \ --filter-query="env:dev" \ --file-path="/conf.d/old-integration.yaml" \ --file-op="delete"
Multiple operations (requires JSON file):
# Create operations.json:
# {
# "filter_query": "env:prod",
# "config_operations": [
# {"file_op": "merge-patch", "file_path": "/datadog.yaml", "patch": {"log_level": "info"}},
# {"file_op": "merge-patch", "file_path": "/security-agent.yaml", "patch": {"runtime_security_config": {"enabled": true}}},
# {"file_op": "delete", "file_path": "/conf.d/deprecated.yaml"}
# ]
# }
pup fleet deployments create-config \
--config-file=operations.jsonUpgrade to specific version:
pup fleet deployments create-upgrade \ --filter-query="env:prod AND service:web" \ --package-name="datadog-agent" \ --package-version="7.52.0"
Upgrade multiple packages:
pup fleet deployments create-upgrade \
--filter-query="env:staging" \
--packages='[{"name":"datadog-agent","version":"7.52.0"},{"name":"datadog-apm-inject","version":"0.10.0"}]'pup fleet deployments cancel <deployment-id>
pup fleet schedules list
pup fleet schedules get <schedule-id>
Weekly updates on specific days:
pup fleet schedules create \ --name="Weekly Production Updates" \ --query="env:prod" \ --status="active" \ --version-to-latest=0 \ --days-of-week="Mon,Wed" \ --start-time="02:00" \ --duration=180 \ --timezone="America/New_York"
Conservative staging updates (N-1 version):
pup fleet schedules create \ --name="Staging - Conservative Updates" \ --query="env:staging" \ --status="active" \ --version-to-latest=1 \ --days-of-week="Fri" \ --start-time="22:00" \ --duration=240 \ --timezone="UTC"
Pause a schedule:
pup fleet schedules update <schedule-id> \ --status="inactive"
Change maintenance window:
pup fleet schedules update <schedule-id> \ --days-of-week="Mon,Wed,Fri" \ --start-time="03:00" \ --duration=240
Update target query:
pup fleet schedules update <schedu
Every AI agent needs a loyal companion. Meet Pup — the CLI that gives your agents full access to Datadog's observability platform (because even autonomous agents need good tooling, not just tricks).
Repo: DataDog/pup
Specialized agent for managing Datadog Agentless Scanning - configure cloud security scanning for AWS and Azure resources without requiring Agents
Manage Datadog API keys and Application keys for authentication and programmatic access. Handles creation, listing, updating, and deletion of keys.
Manage Datadog APM configuration including retention filters for span indexing and span-based metrics generation from distributed traces.
Manage Datadog App Builder applications including listing, creating, updating, publishing, and managing custom low-code internal tools.
Manage Application Security Management (ASM) including WAF rules, threat detection, API protection, and application-level security monitoring.
Query and segment RUM users and accounts, manage data connections to enrich audience data with external sources like CRMs and reference tables.