Skip to content

Assessments ​

An assessment scans a scan target with the configured scanners. These commands plan and run an assessment, show its progress and findings, manage the resulting issues, apply protections from them, and export reports.

Global administrators only. Common flags: -runtime-dir DIR and -json. Exit codes: 0 done, 1 failed (also a plan with blockers), 2 usage. Text from scanners and targets is shown with control characters escaped. Scans send real attacks: only use test copies.

waap assess check ​

Lists which scanners are installed: nuclei, zap, katana, dalfox, sqlmap and testssl.

sh
waap assess check

waap assess plan ​

Shows the route, limits, login type, scanners, warnings and blockers for a target. Nothing starts.

sh
waap assess plan -target N

waap assess start ​

Plans, then starts an assessment.

sh
waap assess start -target N -confirm-uat [-agent -confirm-agent]
  • Without -confirm-uat, it prints the plan and exits 2.
  • -agent adds the autonomous agent stage (see waap assess pentagi). It needs -confirm-agent, because the agent runs real tools, scoped by prompt text only. It is refused with the refusing gate's reason when a gate says no.
  • It fails if the plan has blockers, or if another assessment is running.

waap assess list ​

Lists assessments, newest first, with finding counts per kind.

sh
waap assess list

waap assess status ​

Shows the state, the current stage, the coverage, and each scanner's result and warnings.

sh
waap assess status -id ID [-json]

Coverage covers pages, parameters, forms, requests, login health, excluded, out of scope, and over budget. The agent's row shows requests not counted, because its traffic is not counted.

A scanner row has this form:

scanner ENGINE STAGE STATE RESULT requests N NOTE

RESULT is N findings (or 1 finding). For the spider (katana), it is N URLs found, because the spider reports pages, not findings.

A running assessment also gets one progress line: percent, stage N of M, elapsed time, the current stage against its time limit, and "about N min left, at most M min". The typical value appears only when earlier runs of the target give one. "time left: unknown" appears when a stage has no known limit. -json has the same numbers under progress.

waap assess findings ​

Shows what was found, with the scanners that found it.

sh
waap assess findings -id ID [-kind attack|exposure|passive|info] [-json]

-json has the descriptions, fix advice, references and tags.

waap assess cancel ​

Stops the running assessment.

sh
waap assess cancel -id ID

waap assess resume ​

Runs an interrupted, cancelled or failed assessment's last pass again.

sh
waap assess resume -id ID

waap assess protect ​

Adds the pass through this product to a finished assessment: the proof loop. It plans, then runs the scanners through the linked application's listener, with each attack issue's proof and benign control. Events are read by request ID. It updates the issues' checks and states.

sh
waap assess protect -id ID -confirm-uat
  • Without -confirm-uat, it prints the plan and exits 2.
  • It exits 1 when the target has no route through this product: no linked application, or the target's host is not one of its host names. It also exits 1 when a pass is running.

waap assess verify ​

Adds the direct fix check after the developer's fix. Issues it reaches and no longer finds, whose benign control still answers, become fixed.

sh
waap assess verify -id ID -confirm-uat

Running protect or verify again replaces that pass. status then shows the issues checked and moved, the refused normal requests with their request IDs, and the bypass warning.

waap assess issues ​

Lists issues, worst first. Issues are the weaknesses a target keeps across its assessments (admin guide, "Issues, triage and the developer fix").

sh
waap assess issues [-target N] [-state S] [-kind attack|exposure|passive] [-class C] [-json]

Each row shows the state, severity, CWE, class, place (and how many more), and name. -json has everything.

waap assess issue ​

Shows one issue.

sh
waap assess issue -id ID [-stack php|java|node|python|dotnet]

The output includes:

  • the weakness and why
  • severity and its reason
  • places
  • decision
  • the latest check: pass, result, reason, the proof's status, request ID and rules, the benign control, and bypass
  • the latest check through this product, when a later fix check is the latest (through:, with its bypass)
  • reclassified: when a later scan reports the same rule and place as another issue
  • each protection's state: applied, rolled_back, or removed when the active configuration no longer holds it
  • the stacks it seems to use
  • the developer fix: likely stack first, or only the stack asked for
  • the three-part explanation and its history

waap assess triage ​

Records a decision on an issue. The reason is required: up to 500 characters, no control characters. The decision is audited. reopen returns the issue to the state it had before the decision.

sh
waap assess triage -id ID -as accepted_risk|false_alarm|reopen -reason TEXT

Exit 1 with the server's message when the decision is refused.

waap assess fixes ​

Lists the developer-fix catalog: every class and the generic kinds.

sh
waap assess fixes [-class C] [-stack S]

Protect now ​

These commands apply protections proposed from an issue (admin guide, "Protect now, and exclusions"). Global administrators only. Nothing applies by itself. Text from scans and requests is shown with control characters escaped.

waap assess recommend ​

Shows the protection proposed for an issue, and why, with its notes (broader path, detect mode). For issues with nothing to apply, it shows the plain statement. -json has the changes.

sh
waap assess recommend -id ID [-app APP] [-json]

waap assess apply ​

Shows the proposal, the preflight (normal requests tried and each conflict) and the changes. Then it applies what it showed as a new policy version.

sh
waap assess apply -id ID [-app APP] [-m WHY] [-dry-run] [-override REASON]
  • -dry-run stops after the preview.
  • A preflight conflict exits 1 unless -override gives a reason (up to 500 characters; audited).
  • The command prints the command that rolls it back.

waap assess unapply ​

Takes a protection out, as a new version.

sh
waap assess unapply -id ID -protection PID [-m WHY] [-dry-run]

waap assess create-app ​

Makes an application in detect mode, and its server pool, from a scan target, and links the target.

sh
waap assess create-app -target N [-name APP] [-listener L] [-m WHY] [-dry-run]

-listener is needed when several virtual servers exist.

waap assess exclude ​

Sorts refused normal requests into correct refusals of sensitive files and candidates. Refused normal requests are those the assessment's pass through this product recorded (at most 50), or the request IDs of events. The command proposes narrow exclusions, with their conflicts. With -apply it adds them as one version.

sh
waap assess exclude (-assessment ID | -events ID,ID) [-apply] [-m WHY] [-override REASON]

Reports ​

Admin guide, "Reports, comparison, PDF and SARIF". Global administrators only. Every export is audited with its format, audience and content hash.

A report can hold real data from the target. The file is written with mode 0600, and it should not leave the team.

waap assess report ​

Writes the report of one assessment.

sh
waap assess report -id ID [-format json|html|pdf|sarif|text] [-audience executive|developer|full] [-o FILE]
  • Default format json, default audience full.
  • pdf needs -o.
  • text prints with control characters escaped. The other formats print raw unless -o is given.
  • With -o, the command prints the file size and the content hash.
  • Exit 1 for an unknown assessment, format or audience.

waap assess compare ​

Compares two assessments of one target: new, no longer found and still found issues, and the coverage of each.

sh
waap assess compare -a EARLIER -b LATER [-format json|html|text] [-o FILE]

Exit 1 when the targets differ.