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:
- Executes the probe script (single SSH command)
- Parses the output into sections
- Detects which services are present using the service registry
- 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.