Skip to main content

TNSCM (Tenable Nessus CLI Manager) by LimberDuck

Project description

TNSCM

TNSCM (Tenable Nessus CLI Manager) by LimberDuck is a CLI tool which enables you to perform certain actions on Nessus by (C) Tenable, Inc. via Nessus API.

Latest Release version GitHub Release Date PyPI - Downloads

License Repo size Code size Supported platform

Main features

Initial version of TNSCM lets you perform actions like:

  • plugin family list
  • policy
    • list
    • delete
  • scan
    • list
    • delete
  • server info
    • status
    • licensed IPs
    • version
  • advanced settings list
  • user list

To filter data to specific values you can use JMESPath.

Installation

Note: It's advisable to use python virtual environment for below instructions. Read more about python virtual environment in The Hitchhiker’s Guide to Python!

Read about virtualenvwrapper in The Hitchhiker’s Guide to Python!: virtualenvwrapper provides a set of commands which makes working with virtual environments much more pleasant.

  1. Install TNSCM

    pip install tnscm

    To upgrade to newer version run:

    pip install -U tnscm

  2. Run TNSCM

    tnscm

Commands

option / command plugin policy scan server settings user
--help yes yes yes yes yes yes
--list yes yes yes yes
--list-family yes
--delete yes yes
--filter yes yes yes yes yes
--format yes yes yes yes yes
--status yes
--ips yes
--version yes

Example filters

To check possible keys and values by returning only first entry:

--filter "[] | [0]" --format json

To get only name and id columns:

--filter "[].{id: id, name: name}"

To sort by id column:

--filter "sort_by([], &id)[].{id: id, name: name}"

To filter returned data to these items which name contain exampl:

--filter "[? contains(name, 'exampl')].{id: id, name: name}"

To filter returned data to these items which name contain exampl1 or exampl2:

--filter "[? contains(name, 'exampl1') || contains(name, 'exampl2')].{id: id, name: name}"

To filter returned data to item which id is equal to number 10:

--filter '[?id==`10`].{id: id, name: name}'

To filter returned data to item which name is equal to string test name:

--filter "[?name == 'test name'].{id: id, name: name}"

To filter returned data to items which name is different than string test name:

--filter "[?name != 'test name'].{id: id, name: name}"

Meta

Change log

See CHANGELOG.

Licence

MIT: LICENSE.

Authors

Damian Krawczyk created TNSCM (Tenable Nessus CLI Manager) by LimberDuck.

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

tnscm-0.0.4.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

tnscm-0.0.4-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file tnscm-0.0.4.tar.gz.

File metadata

  • Download URL: tnscm-0.0.4.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for tnscm-0.0.4.tar.gz
Algorithm Hash digest
SHA256 60fa70d6417dbeb48d246373639a601152c7d9c8b10273f97c31e9d1a2d0ff17
MD5 378fd718ff801f65fd6cae37d166034d
BLAKE2b-256 2439404745a43b06f84954c0d6a25e6d9612bea311afb3e0c81f1df7b85de5a0

See more details on using hashes here.

File details

Details for the file tnscm-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: tnscm-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for tnscm-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 edb2977d3cae7581c0f2739b699e28f2e3c81881a3b095880b99a4c156c85a3f
MD5 5102c9f6910870bcfa3e06f8cd3ce2e6
BLAKE2b-256 793dd06961dc222344a4aa3d7d9397c15d294d5db1d9b1c7ffd0f7bcc22274a1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page