CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m34s
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Canceled after 4m44s
#998 point 4 asked to pass the target's open SAST findings to the DAST scan as hints. No DAST agent reads its hints, so that would change nothing. `DastFinding::linked_sast_finding_id` is read by the pentest report and the dashboard (file, line, snippet), but nothing set it. - New `pipeline::dast_findings::linked_code_finding`: the one finding of the target with the same CWE. No CWE, none or several with it: no link, since a CWE alone does not say which of several it is. - The DAST stage loads the target's open findings with a place in the code and a CWE (statuses open, triaged, needs_review) once per DAST target and links each DAST finding before storing it. - Docs: when a DAST finding is linked. Tests: - unit: the one match is linked; no CWE, another CWE or two candidates give no link. - `tests/dast_findings.rs`: with an open CWE-942 code finding seeded, the scan's CORS finding is stored linked to it. It fails without the link. Part 4 of #998 (point 4, agreed as linking instead of hints). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Q9inRcu428A2iNjDHPEAT9