Skip to content

Conversation

@MFormenti
Copy link

@MFormenti MFormenti commented Nov 19, 2025

Introduces a callback mechanism to notify listeners when probes complete during scans, enabling partial result generation and progress tracking.

Added:

  • ProbeProgressCallback<ReportT, StateT> functional interface with:
    • onProbeCompleted() method invoked after each probe execution
    • noOp() factory method for default no-op behavior
  • Scanner.setProgressCallback() to register external callbacks
  • Callback invocation in ThreadedScanJobExecutor after probe results are merged
  • Scan target name added to probe execution log messages for better debugging

mattiaformenti added 4 commits November 14, 2025 10:24
- Include report.getRemoteName() in probe execution logs
- Format: [target] [X/Y] probe_name probe executed
- Helps identify which target is being scanned during bulk scans
@MFormenti MFormenti changed the title Add probe progress callback support for real-time monitoring Add support for real-time scan monitoring via probe progress callbacks Nov 19, 2025
@ic0ns
Copy link
Contributor

ic0ns commented Nov 28, 2025

@mmaehren this looks good to me - what do you think?

@MFormenti MFormenti marked this pull request as draft December 3, 2025 09:26
@ic0ns
Copy link
Contributor

ic0ns commented Dec 3, 2025

put this on hold - will ping again once we need feedback again

@MFormenti MFormenti marked this pull request as ready for review December 8, 2025 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants