CLI

openwaf-cloud ctl manages zones, DNS records, edge settings, rules and certificates from the command line, with simulation and confirmation on every change.

openwaf-cloud ctl is OpenWAF's command-line client. It talks only to the public API with an API token, so it has exactly the permissions of that token and goes through the same validation, versioning and audit log as the dashboard. It is built for scripted, repeatable operations: every change takes a reason, is simulated first and shows its diff, and can wait until every edge node has applied it.

export OPENWAF_API_URL=https://dash.openwaf.dev
export OPENWAF_TOKEN_FILE=~/.config/openwaf/token
openwaf-cloud ctl zones list
openwaf-cloud ctl zones set example.com waf_level=high --reason "Raise WAF level" --wait

Commands

Command familyWhat it covers
zonesZones, their edge settings, history, diffs, reverts, propagation and merges.
recordsDNS records.
rulesEdge rules: IP, country, WAF exceptions and simple rate limits.
ratelimitPer-path rate limiting rules of a zone or a name.
certsEdge certificates and the certificate status of each site.
origin-certs and origin-tlsOrigin certificates from the OpenWAF Origin CA and TLS to the origin.
cacheCache purges.
aiAI agents and crawlers, MCP Shield, the AI bot catalog and agent readiness.
rumReal user monitoring (Core Web Vitals).
dnsWhat the edge DNS answers for a delegated zone.
auditThe organisation's audit log.
clientsAn agency's end clients.
brandThe organisation's brand.
whitelabelYour own dashboard domain and name servers.

Last updated:

↑↓ to navigate↵ to openesc to close