Skip to content

Add zone WAF, bot-management, and rulesets commands#1

Merged
jsierles merged 1 commit into
mainfrom
chore/zones-waf-commands
Jul 8, 2026
Merged

Add zone WAF, bot-management, and rulesets commands#1
jsierles merged 1 commit into
mainfrom
chore/zones-waf-commands

Conversation

@jsierles

@jsierles jsierles commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add zones bot-management get for Bot Management / AI bot protection settings
  • Add zones rulesets list|get for managed and custom ruleset inventory
  • Add zones waf analytics (GraphQL firewallEventsAdaptiveGroups) for block summaries by rule and host
  • Document token scopes and extend bin/build smoke tests

Test plan

  • go test ./...
  • bin/build
  • CFCLI_LOCAL=1 bin/cf zones bot-management get --zone-name bandzoogle.com
  • CFCLI_LOCAL=1 bin/cf zones rulesets list --zone-name bandzoogle.com
  • CFCLI_LOCAL=1 bin/cf zones waf analytics --zone-name bandzoogle.com --since 7d

Expose read-only Bot Management settings, ruleset inventory, and GraphQL
firewall block analytics so agents can inspect Cloudflare WAF without ad-hoc API calls.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jsierles
jsierles merged commit cf7328e into main Jul 8, 2026
2 checks passed
@jsierles
jsierles deleted the chore/zones-waf-commands branch July 8, 2026 14: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