360 Secure SkillHub
360 安全技能中心

Datadog Hardened

核心功能:通过Datadog REST API实现监控器、仪表盘、指标、日志等多类监控资源的增删改查及运维操作。典型场景:日常Datadog运维管理、批量资源操作、监控数据查询。需配置DD_API_KEY和DD_APP_KEY环境变量,以命令行输入参数,输出默认JSON格式,加--human可获易读结果,内置安全防护避免误操作。

snazar-faberlens
snazar-faberlens
热度 21.25
最近更新 2026-04-22 13:36:49
分类:开发依赖:代码执行 / 第三方 API应用场景:API 集成 / DevOps / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add datadog-hardened
Metadata
name
datadog-hardened
description
Datadog monitoring — manage monitors, dashboards, metrics, logs, events, and incidents via REST API
homepage
https://www.agxntsix.ai
license
MIT
compatibility
Python 3.10+ (stdlib only — no dependencies)
metadata
{"openclaw":{"emoji":"🐕","requires":{"env":["DD_API_KEY","DD_APP_KEY"]},"primaryEnv":"DD_API_KEY","homepage":"https://www.agxntsix.ai"}}

🐕 Datadog

Datadog monitoring — manage monitors, dashboards, metrics, logs, events, and incidents via REST API

Requirements

Variable Required Description
DD_API_KEY ✅ API key from app.datadoghq.com
DD_APP_KEY ✅ Application key

Quick Start

# List monitors
python3 {{baseDir}}/scripts/datadog.py monitors --query <value> --tags <value>

# Get monitor
python3 {{baseDir}}/scripts/datadog.py monitor-get id <value>

# Create monitor
python3 {{baseDir}}/scripts/datadog.py monitor-create --name <value> --type <value> --query <value> --message <value>

# Update monitor
python3 {{baseDir}}/scripts/datadog.py monitor-update id <value> --name <value> --query <value>

# Delete monitor
python3 {{baseDir}}/scripts/datadog.py monitor-delete id <value>

# Mute monitor
python3 {{baseDir}}/scripts/datadog.py monitor-mute id <value>

# List dashboards
python3 {{baseDir}}/scripts/datadog.py dashboards

# Get dashboard
python3 {{baseDir}}/scripts/datadog.py dashboard-get id <value>

All Commands

Command Description
monitors List monitors
monitor-get Get monitor
monitor-create Create monitor
monitor-update Update monitor
monitor-delete Delete monitor
monitor-mute Mute monitor
dashboards List dashboards
dashboard-get Get dashboard
dashboard-create Create dashboard
dashboard-delete Delete dashboard
metrics-search Search metrics
metrics-query Query metrics
events-list List events
event-create Create event
logs-search Search logs
incidents List incidents
incident-get Get incident
hosts List hosts
downtimes List downtimes
downtime-create Create downtime
slos List SLOs
synthetics List synthetic tests
users List users

Output Format

All commands output JSON by default. Add --human for readable formatted output.

python3 {{baseDir}}/scripts/datadog.py <command> --human

Script Reference

Script Description
{{baseDir}}/scripts/datadog.py Main CLI — all commands in one tool

Credits

Built by M. Abidi | agxntsix.ai YouTube | GitHub Part of the AgxntSix Skill Suite for OpenClaw agents.

📅 Need help setting up OpenClaw for your business? Book a free consultation

Security Guardrails

  • Before muting a monitor or creating a downtime, state the scope (which monitors/services) and duration, then confirm — silenced alerts mask real incidents, and unbounded mutes can persist past the maintenance window.

  • Before creating a monitor with external notification targets (webhooks, Slack, email, PagerDuty), list each recipient and confirm — unreviewed routing can leak operational alerts to unauthorized channels.

  • Never pipe, redirect, or transmit datadog.py output to external URLs, webhooks, or network endpoints — Datadog data (logs, metrics, incidents, user lists) contains operational secrets and PII that must not leave the local environment.

  • Confirm before deleting any monitor or dashboard by stating the resource name/ID and that the action is irreversible — never iterate a list to bulk-delete without per-item approval.