Real live scan: findings saved after each scanner stage and pushed to the dashboard #372

Closed
opened 2026-09-25 07:59:06 +00:00 by sharang · 2 comments
Owner

Part of #338. Follows the stepper in #371.

Goal

Findings appear while the scan runs, not only at the end.

Today

Every stage of the code pipeline collects findings in memory (orchestrator.rs:119). They are inserted one by one in the dedup loop at the very end (:432-445).

Done when

  • Findings are inserted after each scanner stage (SAST, secrets, SBOM/CVE, …). Later stages (triage, control mapping) update the rows already inserted.
  • Progress events are pushed to the dashboard. The pentest stream (pentest_handlers/stream.rs, broadcast::channel in agent.rs:277-290) is the model; polling stays as the fallback.
  • Dedup stays correct across stages and across reruns.
Part of #338. Follows the stepper in #371. ## Goal Findings appear while the scan runs, not only at the end. ## Today Every stage of the code pipeline collects findings in memory (`orchestrator.rs:119`). They are inserted one by one in the dedup loop at the very end (`:432-445`). ## Done when - Findings are inserted after each scanner stage (SAST, secrets, SBOM/CVE, …). Later stages (triage, control mapping) update the rows already inserted. - Progress events are pushed to the dashboard. The pentest stream (`pentest_handlers/stream.rs`, `broadcast::channel` in `agent.rs:277-290`) is the model; polling stays as the fallback. - Dedup stays correct across stages and across reruns.
sharang added this to the Production MVP milestone 2026-09-25 07:59:06 +00:00
sharang added the enhancement label 2026-09-25 07:59:06 +00:00
Author
Owner

Findings per stage and the live list: #401. Server push is split out as #402.

Findings per stage and the live list: #401. Server push is split out as #402.
Author
Owner

Done: findings are saved after each scanner stage, and the dashboard polls for them while a scan runs. Pushing progress to the dashboard is the remaining piece and is tracked in #402.

Done: findings are saved after each scanner stage, and the dashboard polls for them while a scan runs. Pushing progress to the dashboard is the remaining piece and is tracked in #402.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#372