Appearance
Security analyst (waap analyst)
The security analyst is an offline AI assistant that answers questions about events, issues and configuration changes (admin guide, section 27). It is read-only: nothing here changes the configuration.
Every command takes the common flags (-runtime-dir DIR, and -json where it prints a record). Exit codes: 0 done, 1 failed, 2 usage.
Text that comes from requests is printed with control characters escaped.
A refusal says why:
disabled: the analyst is off.model_unavailable: the model is not reachable.queue_full: the queue is full. Try again shortly.not_active: this node is a pair's standby. The active node's management address is shown when known. Use that node.
waap analyst ask
Asks a question.
sh
waap analyst ask [-app A] [-since D] [-until T] [-follow-up ID] QUESTION...| Flag | What it does |
|---|---|
-app A | Limits the question to one application. |
-since D | Start of the window: a duration such as 24h, or an RFC 3339 time. |
-until T | End of the window: an RFC 3339 time. |
-follow-up ID | Continues one of your own conversations. The ID is printed in brackets after each answer, and listed by waap analyst conversations list. The model sees the last three questions and answers of that thread, so "explain that in more detail" works. Without -app, the thread's application is kept. |
-json | Prints the whole conversation record instead. |
The answer streams to the terminal. Progress lines for look-ups go to standard error. Then the citations are listed as verified or NOT VERIFIED. Any draft exception is printed as a preview, with the command to apply it after review.
sh
waap analyst ask -app shop -since 24h "Why were so many requests blocked on /login?"waap analyst explain
Explains one security event, or one assessment issue. Exactly one of the two flags is required. -issue needs a global administrator, as the assessment issue commands do.
sh
waap analyst explain -event ID | -issue IDwaap analyst summary
Gives an incident summary of an application. The default window is the last 24 hours.
sh
waap analyst summary -app A [-since D] [-until T]waap analyst changes
Shows what changed in the configuration around a change in blocks. It correlates versions and audit records.
sh
waap analyst changes -app A [-since D] [-until T]waap analyst conversations
Lists, reads or deletes your past questions. An administrator sees everyone's within scope.
sh
waap analyst conversations [list [-limit N]] | get ID | delete IDlistis the default.get IDprints one conversation with its answer.delete IDremoves it.
waap analyst digests
Lists or writes daily digests.
sh
waap analyst digests [list [-app A] [-limit N] [-full]] | run [-app A]listshows daily digests. The default is 14.-fullprints their text, not only the day. The STATE column isokorfailed (N tries). A digest the model failed to write is stored with its reason (shown by-full). The schedule retries it at most twice that day, 30 minutes apart.runwrites the digest now, in the background. It needs the operator role. It covers all configured applications, or only-app. It replaces the day's digest. It is always allowed, and a failed run never replaces a good digest.
waap analyst providers
Lists the model providers in the catalog: id, name, kind (local or cloud), cost (free, free_tier, paid or mixed), what leaves the network, and each model with its cost and what it is best at. Read-only. Use the id as analyst.provider.
Azure OpenAI, AWS Bedrock and Google Vertex are listed but refused for now.
sh
waap analyst providers [-json]waap analyst detect
Administrators only. Looks on the control node for llama-server and .gguf model files, in the usual model directories (including /var/lib/waap/models), and prints them.
With -endpoint (loopback host:port, unix:/path or https://host:port), it also asks that server for its models. This works for Ollama, LM Studio or vLLM.
-ca-file and -api-key-file are absolute paths on the control node, for an https or keyed server. The command changes nothing.
sh
waap analyst detect [-endpoint E] [-ca-file F] [-api-key-file F]waap analyst status
Shows whether the analyst is on, the runtime and endpoint, the model, whether it answers, the supervisor (running, healthy, restarts, last problem, "port in use by another process"), the queue and the last answer's timing.
With a token below admin, only Enabled, Model, Reachable and Queue are printed. The server leaves the rest out.
sh
waap analyst status [-json]waap analyst test
Asks the model a tiny question, and prints how long it took. Global administrators only.
sh
waap analyst testwaap analyst model list
Lists the models this version knows: qwen3-4b, qwen3-8b and qwen3-14b, with size, licence and pinned SHA-256. It works on the local machine and does not need a running control plane.
sh
waap analyst model listwaap analyst model fetch
Downloads a model over https, checks its size and SHA-256, then moves the file into -dir (default /var/lib/waap/models). A mismatch discards the file. It works on the local machine and does not need a running control plane.
sh
waap analyst model fetch -dir DIR NAMEwaap analyst model import
Checks a model file you brought, identified by size and then SHA-256, and copies it into -dir. Use it where the machine has no internet access.
sh
waap analyst model import -dir DIR FILEBoth fetch and import print the waap settings set analyst ... line to use next.
Analyst settings
Read the analyst settings with waap settings get analyst. Change them with waap settings set. Changing them needs the global administrator role. Reading them needs only a signed-in user.
sh
waap settings set [-m WHY] [-dry-run] analyst KEY=VALUE...Keys:
enabledprovider: a catalog id. Empty keepsruntime.cloud.opt_in: true allows data, with secrets masked, to be sent to a cloud provider.runtime:managedorexternalendpoint,model,ca_fileapi_key_file: for an external runtime or a cloud provider. It is a file holding the bearer key. The key is never printed.managed.binary,managed.model_file,managed.threads,managed.contextlimits.tool_calls,limits.rows,limits.tool_bytes,limits.answer_tokens,limits.timeout,limits.tool_timeout,limits.queue,limits.paralleldigest.enableddigest.at: HH:MM, local timedigest.apps: comma-separated applications. Empty means all.
Defaults and meanings: admin guide, section 27.
sh
waap settings set -m "bigger tool results" analyst limits.rows=50 limits.tool_bytes=16KiBThe analyst section can only be changed by an administrator, by any route. waap config apply, import, rollback and pull by an operator are refused (403) when they would change it. The same applies to management and ha.