Skip to main content

quick_scan

Function quick_scan 

Source
pub async fn quick_scan(
    session: &SshSession,
    host_id: String,
    tx: Sender<CoreEvent>,
) -> Result<()>
Expand description

Performs a Quick Scan on the given SSH session.

Quick Scan:

  1. Executes the probe script (single SSH command)
  2. Parses the output into sections
  3. Detects which services are present using the service registry
  4. Sends DiscoveryQuickScanDone event with minimal service info

This is fast (~2-3 seconds) and designed to run on first connection.

ยงErrors

Returns an error if the SSH command fails or times out. Parsing errors are handled gracefully.