Expand description
§nessus-launcher
A high-level Rust library for launching Nessus scans with:
- Automatic retry with exponential backoff
- Parallel scan launching
- Structured logging via
tracing - Configuration via environment variables /
.env
§Quick example
use nessus_launcher::{NessusClient, NessusConfig, Result};
#[tokio::main]
async fn main() -> Result<()> {
let config = NessusConfig::from_env()?;
let client = NessusClient::new(config)?;
// Launch scans 5 and 8 in parallel
client.launch_scans_parallel(vec![5, 8]).await?;
Ok(())
}Structs§
- Nessus
Client - A high-level asynchronous client for interacting with a Nessus server.
- Nessus
Config - Configuration for connecting to a Nessus server.
Enums§
- Nessus
Error - The error type for all operations in
nessus-launcher.
Type Aliases§
- Result
- A convenient result type used throughout the library.