CLI tool to interact with Tenable's Nessus
Project description
audiness
Helper scripts to interact with Nessus instances. The CLI allows one to perform tasks on a Nessus installation without using the web interface.
Installation
The package is available in the Python Package Index.
$ pip3 install audiness --user
For Nix or NixOS users is a package available. Keep in mind that the lastest releases might only
be present in the unstable
channel.
$ nix-env -iA nixos.audiness
Setup
You have to generate API keys for your users. Click on username in the right upper corner, then
select API keys
and press the Generate
button.
Note the access key and the secrect key somewhere.
If you don't plan to run audiness
on the same host as your Nessus instance is running then it
could be required that you use port-forwarding to access the Nessus web interface through a tunnel.
$ ssh -L 8834:localhost:8834 -l your_user_name host.with.nessus
Usage
Use --help
to get a general overview or COMMAND --help
for the detailed help.
$ audiness --help
Usage: audiness [OPTIONS] COMMAND [ARGS]...
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ * --access-key TEXT Nessus API access key [env var: ACCESS_KEY] [default: None] [required] │
│ * --secret-key TEXT Nessus API secret key [env var: SECRET_KEY] [default: None] [required] │
│ --host TEXT URL to Nessus instance [default: https://localhost:8834] │
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to copy it or customize the installation. │
│ --help Show this message and exit. │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ folders │
│ scans │
│ server │
│ software │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
If you don't want to enter the access key and the secrect key then put them in the environment of your shell.
$ export ACCESS_KEY="ae0bf3d57f8f8f6bcd8d01d3aedde60937d08647da4d89a6eb4dba2a9bee5d5d"
$ export SECRET_KEY="5f671a64819221e6b5c2361016af7dcaeb30de359009fee589b3a5d85dea11b4"
License
audiness
is licensed under MIT, for more details check the LICENSE file.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file audiness-0.3.0.tar.gz
.
File metadata
- Download URL: audiness-0.3.0.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18e56cdc8352fa3d0151fb576be232ca7c17fcc39d2c4016b96ea60694471a03 |
|
MD5 | 27e67e621e36ed2bb117636b5a6cfb2f |
|
BLAKE2b-256 | 3bc108075bed65c7dda0e83381b081e2fea890a5eed8afa148762a0ca2eb9dff |
File details
Details for the file audiness-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: audiness-0.3.0-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d39db002b5d88f5667dff574f51c53ab671e9412872ddac291e8a212b0662ca5 |
|
MD5 | 605e61067db31d65f9fa23098351a670 |
|
BLAKE2b-256 | c066c348ee9356b06aee2d818e9017b16aab3e3439e6d0f5ad4f2a1c4ab24ab8 |