Appearance
Assessment scan targets
Scan targets are the web applications an assessment may scan, protected by Spalto or not. This page covers registering targets, storing their scan logins, and the optional PentAGI agent that can run an autonomous test on a target.
Global administrators only. Common flags: -runtime-dir DIR, -json, -m WHY, -dry-run. Exit codes: 0 done, 1 failed, 2 usage.
waap assess target
Manages the scan targets.
sh
waap assess target get
waap assess target set -f FILE [-m WHY] [-dry-run]
waap assess target add -name N -url URL [-scope HOSTS] [-address HOST:PORT] [-tls-verify=false] [-evidence reported|confirmed] [-app APP] [-allow-scan] [-note TEXT] [-m WHY] [-dry-run]
waap assess target update -name N [flags of add]
waap assess target remove -name Nget: the targets as YAML, then a table with the address, whether scanning is allowed, the login type, whether a secret is stored, the evidence level, and the application. Text from targets is shown with control characters escaped.set -f FILE: replaces every target with the records in FILE (a YAML or JSON list). Use this for seeds, login settings, limits and scanners.add: adds one target. Without-allow-scan, scans stay refused.-evidencedefaults toreported.confirmedis stored for later: replay confirmation is not in this version, so findings stayreported.demonstratedis refused until it exists.update -name N: with the same flags asadd. Only the flags given change.remove -name N: removes the target and its stored login.
sh
waap assess target add -name shop-uat -url https://shop-uat.example -app shop -allow-scanwaap assess login
Stores the target's login secret. The secret is read from standard input, never from an argument, up to 16 KiB. It can never be read back.
sh
waap assess login -target N (-password-stdin | -cookie-stdin | -header-stdin | -status | -remove)-statussays whether a secret is stored.-removedeletes it.
waap assess pentagi
The optional autonomous pentest agent, PentAGI. Global administrators only. Common flags: -runtime-dir DIR and -json. Exit codes: 0 done, 1 failed (also a failed test), 2 usage.
Text from the agent is shown with control characters escaped. The API token is never a flag value and is never printed.
Installing PentAGI itself is not a waap command. Use make pentagi CMD=install|start|stop|status|passwd|fingerprint|logs|uninstall (scripts/pentagi.sh, see the admin guide).
waap assess pentagi get
Shows the settings, where the model runs, whether the token is stored, and the last connection test.
sh
waap assess pentagi get [-json]waap assess pentagi set
Changes the agent settings. Only the flags given change. The result is validated like any configuration.
sh
waap assess pentagi set [-enabled=BOOL] [-url URL] [-ca-file FILE] [-fingerprint HEX] [-api graphql|rest] [-provider ID] [-max-minutes N] [-answer-minutes N] [-idle-minutes N] [-llm-where local|cloud] [-ack-authorized-use=BOOL] [-ack-cloud=BOOL] [-token-name NAME] [-m WHY] [-dry-run]-answer-minutes(1 to 240, default 15) is how long the agent's question waits for an answer.-idle-minutes(0 to 240, default 0) is how long a flow whose tasks ended stays open for a follow-up task.
waap assess pentagi providers
Lists the LLM provider catalog: id, name, local or cloud, and cost.
sh
waap assess pentagi providerswaap assess pentagi token
Stores the API token, or shows or removes it. The token is read from standard input or a file: up to 4096 bytes, with a trailing line break dropped. It cannot be read back.
sh
waap assess pentagi token (-stdin | -file FILE)
waap assess pentagi token -status
waap assess pentagi token -removewaap assess pentagi test
Checks the certificate pin and the token against PentAGI's version endpoint. No flow is created.
sh
waap assess pentagi testwaap assess pentagi target
Sets the agent switch and rules for one target. Flags not given keep their value.
sh
waap assess pentagi target -name N [-allow=BOOL] [-scope TEXT] [-share-login=BOOL] [-allow-state-changes=BOOL] [-follow-up TEXT ...] [-clear-follow-ups]-allow: the agent switch for this target.-scope: scope notes.-share-login: whether the stored login secret is sent to the agent and its LLM provider. Default off, and never under maskpci.-allow-state-changes: whether the agent may use intrusive, state-changing proofs on this test copy. Default off. Allowed: submit CSRF, store XSS, change test data, with every change listed. Never allowed: DoS, bulk deletes, account lockouts, credential changes, or other hosts. Paths in the target's exclusions stay off-limits either way.-follow-up TEXT: a follow-up task. Repeat it for more, at most 10. It replaces the list.-clear-follow-ups: removes the follow-up tasks.
waap assess pentagi authorize
Records the typed confirmation that the target may be tested by the agent. HOST must equal the target URL's host exactly. Your account name and the time are recorded.
sh
waap assess pentagi authorize -target N -host HOSTwaap assess pentagi revoke
Removes the confirmation.
sh
waap assess pentagi revoke -target Nwaap assess pentagi activity
Shows what the agent ran in an assessment. Default 50 steps per page, at most 200.
sh
waap assess pentagi activity -id ID [-offset N] [-limit N]The output is one block per step: local time, tool, the agent's reason, then the command on its own lines after $, and the other arguments. A status other than finished is shown in brackets.
After the steps, it shows what the agent waits for (its question and until when, or a follow-up task), how many configured follow-up tasks and queued messages are left, and each message sent: time, answer or follow-up task, who sent it, whether it was sent or why not, and the text as sent.
The output ends with the run's LLM usage, LLM usage: N tokens in, N out, N cached in, cost X USD, then one line per model. When PentAGI gave no per-model lines, it shows one per agent type. The cost is left out when PentAGI reported none. It then shows the size of PentAGI's own report.
When there is another page, the last line prints more: -offset N. A page also ends early when its text passes 4 MiB.
waap assess pentagi report
Shows PentAGI's own final report of the assessment's agent run, in readable form.
sh
waap assess pentagi report -id ID [-raw] [-json]The readable form shows:
- a line when the agent said the target was unreachable
- its summary, without the JSON result block (headings in capitals, list items, code indented)
Findings PentAGI reported (N), with each finding's title, severity, CWE, address, parameter, evidence and numbered steps to reproduce
Every line is escaped. The content is the agent's words, unverified, with secrets masked. The output is up to 256 KiB. A cut is reported on standard error.
-raw prints the text as the agent wrote it.
With -json the fields are assessment, flow_id, text, truncated, summary, findings, dropped_findings, has_block, target_unreachable and unreachable_reason.
The command fails with exit 1 when there is no report: the agent did not run, or PentAGI gave no report text.
waap assess pentagi view
Shows the agent's flow as PentAGI shows it. It is read about every 10 seconds while the agent runs, and kept afterwards.
sh
waap assess pentagi view -id ID [-terminal] [-reload] [-json]The view shows tasks N, subtasks N, assistants N, tool calls N, duration D, the tokens and cost, each task and subtask with its status, the searches (time, web or memory, engine, query), and the findings reported so far (unverified).
-terminaladds the commands ($ ...) and their output.-jsonprints the whole view:counts,usage,tasks,terminal,searches,delegations,findings,dropped,notes, pluscan_reloadandreload_note.nothing read from PentAGI yetis shown when no read has succeeded.-reload(administrator; a finished run) reads the agent's flow from PentAGI again and stores it in place of the old view, then prints it. The noteview reloaded from PentAGI and storedgoes to standard error. It is for runs stored before line breaks were kept, which show as one line.
The command exits 1 with the reason when the agent still runs, PentAGI is not configured or its token is not stored, or PentAGI no longer has the flow. The stored view is unchanged then.
API: POST /v1/assess/runs/{id}/agent/view/reload. Audited as assess.agent.reload.
waap assess pentagi message
Queues a message for the running agent: the answer to its question, or a follow-up task when its tasks have ended. The message is sent at the agent's next wait, and is masked like the scope notes. At most 4000 bytes, and 5 queued. It fails when the agent is not running in that assessment.
sh
waap assess pentagi message -id ID -text TEXT