Skip to content

Add appsec WAF commands for Datadog ASM inventory#1

Merged
jsierles merged 1 commit into
mainfrom
feat/appsec-waf-commands
Jul 10, 2026
Merged

Add appsec WAF commands for Datadog ASM inventory#1
jsierles merged 1 commit into
mainfrom
feat/appsec-waf-commands

Conversation

@jsierles

Copy link
Copy Markdown
Contributor

We need to inventory Datadog in-app WAF rules and passlist/exclusion filters from the CLI (for Cloudflare migration work) without relying on the Datadog UI. Built-in rule hits are already in AppSec spans; config APIs need dedicated commands.

Changes

  • Add appsec custom-rules list|get and exclusion-filters list|get (requires appsec_protect_read)
  • Add appsec blocked-rules summary aggregating rule hits from @appsec.blocked spans (apm_read)
  • Document permissions in scopes; README examples; unit tests for aggregation

Assisted-by: Cursor (gpt-5.5-medium)

Expose custom rules, exclusion filters, and blocked-rule summaries
so agents can inventory in-app WAF config without the Datadog UI.

Assisted-by: Cursor (gpt-5.5-medium)
Co-authored-by: Cursor <cursoragent@cursor.com>
@jsierles
jsierles merged commit a8502db into main Jul 10, 2026
3 checks passed
@jsierles
jsierles deleted the feat/appsec-waf-commands branch July 10, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant