Skip to content

Issues and triage Since v0.2 ​

An issue is a weakness of one scan target that is kept from one assessment to the next. Every finished scan is merged into the target's issues, and a finding with the same key is the same issue. Issues carry a state, one severity, a developer fix and a history.

Before you begin ​

  • Role: global administrator.
  • At least one finished assessment.

How findings become issues ​

The key is the kind, the class, the variant (for example reflected or stored cross-site scripting), the request method, the place and the parameter.

  • In a place, path segments that are identifiers (numbers, UUIDs, long hex strings) are written {id}, so /user/1 and /user/2 are one place.
  • Passive observations that name a class (a cookie without the Secure flag, a missing framing header, missing anti-forgery tokens) are one issue for the whole application, however many pages show them. Two scanners that report the same gap are one issue.
  • Other passive observations are one issue per scanner rule. Technology notes are not issues.

Passive classes come from the scanner's own rule. rules/mappings/scanner-rules.yaml lists the ZAP rule numbers and Nuclei template names that report exactly one catalog class. They were read from the pinned scanner data (ZAP 2.17.0, Nuclei templates 10.5.1), and a test re-checks them when the scanners are installed. Brute force and unrestricted upload have no rule in the pinned scanners, so no scan raises them yet. Their fix text is still in the catalog.

What an issue shows ​

Its state, the weakness number with its reason (see Finding classification), the one severity with a stated reason (the class estimate, or the scanner's own rating when the class has none), the places, the scanners and rules, the stack the application seems to use, and its history.

Real scans only produce state reported at level reported. Other states (exploitable, protected_fix_pending, fixed, regressed and so on) are set by later steps (see The proof loop).

  • A scan that does not find an issue again counts a miss on it and changes nothing else, because a missing finding is not proof of a fix.
  • A fixed issue that is found again becomes regressed.
  • When a later scan reports the same scanner rule at the same place under another class (a corrected mapping), the old issue is marked reclassified and points at the new one (superseded_by, one history entry). It keeps its state and history, and the mark goes away if it is ever found under its own key again.

Protections that are gone ​

An issue lists the protections applied for it. When the active configuration no longer holds one (a later version, or an imported or re-applied configuration, removed the patch or its application without a rollback here), the protection shows as removed. The next assessment pass of the target stores that with a history entry, and a pass through this product no longer counts it. Apply it again if it is still needed.

Browse issues ​

text
1. Open Security testing > Issues.
2. Use the counters by state and by severity as quick filters:
   click one to filter, click it again to clear.
3. Filter by scan target, state, kind or class, or search by name, class,
   CWE, scanner, target or path (the search runs in the browser).
4. Click a column heading to sort. Select a row to open the issue.
sh
waap assess issues -target shop-uat -state reported -kind attack
waap assess issue -id ID

An issue page has a header that is always visible (name, severity, state, CWE link, class, target, first and last seen, and a plain "what this means and what to do next" line) and five tabs. The tab is kept in the address (#tab=fix).

TabWhat it shows
OverviewPlaces, attack value, what the scan saw, why it matters, next-step buttons.
How to fixCause, where, principles, an example for one stack at a time, how to check it, references.
Protect nowThe protection proposal and applied protections, then the check results. See Protect from findings.
Evidence and mappingThe three-part explanation, OWASP, ATT&CK and CAPEC entries (links only to https addresses), the copyable curl command for the test copy only (for a target with Connect to set it carries --connect-to), scanners and rules.
HistoryThe decision form and the timeline.

Triage an issue ​

You can mark an issue accepted risk or false alarm. A reason (up to 500 characters, plain text) is required. The decision, the reason and who made it go into the issue's history and the audit log.

text
1. Open the issue and select Decide (or open the History tab).
2. Choose accepted risk, false alarm or reopen.
3. Enter the reason and confirm.
sh
waap assess triage -id ID -as accepted_risk -reason "internal tool, behind VPN"
waap assess triage -id ID -as reopen -reason "now exposed"

A triaged issue keeps its decision when later scans find it again. It changes only when someone reopens it (again with a reason), which returns it to the state it had before. A triaged issue takes no protection until it is reopened.

The developer fix ​

Every issue has fix text from the catalog rules/mappings/fixes.yaml, written for developers. It gives the usual cause (said as likely, because a scan cannot see code), where to look (filled in from the request the scanner used), the principles, how to fix it in PHP, Java, Node, Python and .NET, how to check the fix, and links to OWASP cheat sheets and the CWE entry.

The stack the application seems to use is guessed from response headers, session cookie names and file endings the scan saw, and its text is listed first. All five are always shown. Findings with no class get the general entry for their kind (attack, exposure, passive).

sh
waap assess fixes
waap assess issue -id ID -stack node

A test fails when a catalog class has no fix entry or a stack lacks text. To change the text in a source checkout, edit fixes.yaml and run go test ./internal/assess.

Limits ​

LimitValue
Triage reasonup to 500 characters, required
Issues kept per target2000
Issues after assessments are prunedstay; only the last 20 assessments are kept

Issues are replicated and backed up with the other assessment data.