nessus-cli-0.1.1 is not a library.
nessus-cli

A fast, reliable commandβline interface for launching Nessus scans using the
nessus-launcher Rust library.
This CLI is designed for automation, CI pipelines, and operational workflows where
you need a clean, scriptable interface to Nessus.
β¨ Features
- π Launch one or many Nessus scans
- π Automatic retry with exponential backoff
- β‘ Parallel execution
- π§©
.env configuration support
- π Structured logging (
tracing)
- π Built on the
nessus-launcher async Rust library
- π§ͺ Fully scriptable for CI/CD
π¦ Installation
Install from crates.io:
cargo install nessus-cli
Verify installation:
nessus-cli --help
π Quick Start
Launch scans directly
nessus-cli --scan 5 --scan 8
Or configure via .env
Create a .env file:
NESSUS_HOST=https://nessus.example.com
NESSUS_USERNAME=admin
NESSUS_PASSWORD=secret
DEFAULT_SCAN_IDS=5,8,11
Then simply run:
nessus-cli
π§ Command-Line Options
nessus-cli [OPTIONS]
Common flags
Flag Description
--scan Launch a specific scan (repeatable)
--parallel Override parallelism level
--retries Override retry count
--delay Override retry backoff delay
-v, --verbose Increase log verbosity
-h, --help Show help message
π§© Example: Launch Multiple Scans
nessus-cli \
--scan 12 \
--scan 15 \
--scan 22 \
--parallel 3 \
--retries 5
π Configuration
The CLI automatically loads environment variables from:
.env file (if present)
system environment variables
Supported variables:
NESSUS_HOST=
NESSUS_USERNAME=
NESSUS_PASSWORD=
DEFAULT_SCAN_IDS=
PARALLELISM=
RETRY_COUNT=
RETRY_DELAY_MS=
π Project Structure
nessus-cli/
βββ Cargo.toml
βββ src/
βββ main.rs
The CLI is a separate crate built on top of the nessus-launcher library.
π Documentation
Full CLI documentation:
https://docs.rs/nessus-cli
Library documentation:
https://docs.rs/nessus-launcher (docs.rs in Bing)
π License
This project is licensed under the MIT License.
See LICENSE for details.