nessus-launcher 0.1.1

A high-level Rust library for launching Nessus scans with retries, parallelism, and structured logging.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Basic example: launch a single Nessus scan.
//!
//! Run with:
//!     cargo run --example basic

use nessus_launcher::{NessusClient, NessusConfig, Result};

#[tokio::main]
async fn main() -> Result<()> {
    let config = NessusConfig::from_env()?;
    let client = NessusClient::new(config)?;

    client.launch_scans_parallel(vec![5]).await?;
    Ok(())
}