Appearance
CLI reference
Every waap command and flag. waap -h lists the commands, and waap <command> -h lists the flags. For the quick start, see docs/running.md. For tasks by feature, see Protect and the other sections. For problems, see Troubleshooting.
Conventions
- Server commands (
run,control,inspect) run the product. Administration commands talk to the running Spalto on the same machine over its owner-only admin socket (control.sockin-runtime-dir). Only the account that runs Spalto (or root) can use them. They have no network access and no login: shell access to the node is the authority. -runtime-dir DIR: every administration command accepts it. It must match the running Spalto's. Default:$TMPDIR/waap.-json: prints the answer as JSON instead of a table. Most administration commands accept it.- Durations use Go syntax:
90s,15m,1h,720h. - Times (
-since,-until) are a duration back from now (24h), or RFC 3339 (2026-10-24T09:00:00Z). - Exit codes:
0success,1failure (including a failedaudit verify),2wrong usage. - Errors go to stderr. Results go to stdout.
Flag order
Go flag parsing stops at the first non-flag argument. Put every flag before positional arguments and KEY=VALUE pairs, for example waap apps set -app shop -m "note" policy.mode=block.
Pages
| Page | What it covers |
|---|---|
| Build commands | Make targets for benchmarks, SBOMs, releases and packages, and the waap version, sbom and licenses commands. |
| Server commands | waap run, control, inspect, setup, validate, devcert, geoip and the internal Envoy guard. |
| Applications, listeners and proxies | Applications and their settings, certificates and CAs, listeners (virtual servers), VIPs and trusted proxies. |
| Configuration overview and warnings | The overview, warnings, an application's picture, its request path and a request trace. |
| Server pools | Pools: list, get, health, fields, add, set, remove, rename, merge and CA. |
| Access rules, rate limits and exceptions | Reading and replacing the rule lists, and rate-limit suggestions. |
| Configuration | Configuration versions: list, show, diff, apply, diverged versions, pull and rollback. |
| Security events | Listing, grouping, showing and exporting events, plus explain and except. |
| Traffic log | Listing, showing and exporting the per-request traffic log. |
| Analytics, saved filters and dashboards | Analytics queries, saved filters and dashboards. |
| API protection | API posture, settings, descriptions, identity, XML and SOAP, WS-Security, learned schemas, attestation, rewrites, ownership, flows, LLM endpoints, SSRF, MCP and API keys. |
| Bot mitigation | Bot settings, the response ladder, challenges, CAPTCHA, signature agents, the catalog and shared fingerprint and file lists. |
| ICAP antivirus servers | ICAP servers for file scanning, including their test, CA and client certificate. |
| Response protection | Security headers, the response scope, and custom block and error pages. |
| Cookie protection | Cookie settings, protected cookies, script tracking, the cookie inventory and keys. |
| Session protection | Session binding settings, mismatches and session keys. |
| CSRF, CORS, data leaks, uploads and virtual patches | CSRF, CORS, data leak prevention, file upload checks and virtual patches. |
| Assessment scan targets | Scan targets, their scan logins, and the optional PentAGI agent. |
| Assessments | Planning, running and watching assessments, issues, triage, protections and reports. |
| Validation | waap prove: scanning UAT copies, switching to block, and reporting. |
| Bans and lists | Bans and address lists. |
| Settings shared by every application | Node-wide settings for events, traffic, GeoIP, analytics, management, HA and the analyst, and the bot catalog. |
| SIEM export | SIEM destinations, their CA and client certificates. |
| Accounts and audit | First administrator, accounts, passwords, the audit log and its verification. |
| Backup and restore | Encrypted backups and restore onto a fresh data directory. |
| Upgrade (waap upgrade) | Checking, backing up, migrating and rolling back an upgrade. |
| High availability | Forming, joining, inspecting, leaving and switching over a pair of nodes. |
| Positive model learning | The positive model: settings, learned model, violations, suggestions, approval, previews and manual rules. |
| Security analyst (waap analyst) | The offline AI analyst: questions, summaries, digests, providers, local models and settings. |
| Mapping data (make update-mappings) | Regenerating the CWE, CAPEC and ATT&CK mapping files. |