GET /api/findings — List Findings
Returns paginated vulnerability findings. Query parameters:| Parameter | Type | Default | Description |
|---|---|---|---|
limit | int | 50 | Number of findings to return (max 500) |
offset | int | 0 | Offset for pagination |
domain | string | Filter by hostname (supports * wildcards) | |
severity | string | Filter by severity (comma-separated): critical, high, medium, low, info | |
scan_id | string | Filter by scan UUID | |
module_name | string | Filter by module name | |
module_type | string | Filter by module type: active or passive | |
finding_source | string | Filter by finding source: audit, spa, agent, oast, source-tools, extension | |
search | string | Search across description, module ID, matched_at | |
sort | string | found_at | Sort field: found_at, created_at, severity, module_name, module_id, confidence |
order | string | desc | Sort order: asc or desc |
GET /api/findings/:id — Get Finding Detail
Returns a single finding by its numeric ID.| Code | Condition |
|---|---|
| 400 | Invalid ID (not a number) |
| 404 | Finding not found |
| 503 | Database unavailable |
DELETE /api/findings/:id — Delete Finding
Deletes a single finding by its numeric ID. Associatedfinding_records junction rows are also removed.
| Status | Description |
|---|---|
| 200 | Finding deleted |
| 400 | Invalid ID (not a number) |
| 404 | Finding not found |
| 503 | Database not configured |
Finding Fields
additional_evidence
Type: string[] (optional, omitted when empty)
Stores extra HTTP request/response pairs associated with a finding. Each entry is a single string containing a raw request and raw response separated by the delimiter \n---------\n.
This field is populated in two ways:
- Modules and extensions — A module or JS extension can attach supplementary evidence when creating a finding (e.g., multiple payloads tried, confirmation requests, or baseline comparisons).
- Deduplication — When duplicate findings are merged (same
module_id,severity, andmatched_atURL), therequest/responsepairs from the removed duplicates are automatically collected into the surviving finding’sadditional_evidence.
\n---------\n — the first part is the request, the second is the response.