| Crates.io | nessus-cli |
| lib.rs | nessus-cli |
| version | 0.1.1 |
| created_at | 2026-01-18 20:21:46.785623+00 |
| updated_at | 2026-01-18 20:34:07.874927+00 |
| description | CLI for launching Nessus scans using the nessus-launcher library. |
| homepage | https://github.com/alexw216/nessus-cli |
| repository | https://github.com/alexw216/nessus-cli |
| max_upload_size | |
| id | 2053022 |
| size | 58,654 |
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.
.env configuration supporttracing)nessus-launcher async Rust libraryInstall 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.