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.

pepy - Downloads PyPI Downloads Latest Release version GitHub Release Date 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.7.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tnscm-0.0.7-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tnscm-0.0.7.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for tnscm-0.0.7.tar.gz
Algorithm Hash digest
SHA256 470333f5709b2740e8e83dacd87e5ea2bf88efe40146b6b97969ebff5d3cea66
MD5 2010bc8bae776dc6cfc275f1d853ba0d
BLAKE2b-256 284056bfa7736e20c551716856370ff3412b22fe5b6661f1ba572b201ec3cb60

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tnscm-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for tnscm-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c1ceade43fd6b6ce9bf52c0e9f2cccc19fe7849e29e96fadd5c2a627d40e684c
MD5 cd1bd50bdc771aca9f42501fc70d405b
BLAKE2b-256 266b18302ae8b3a32b52ffbc8e77eb9b14ce9a43d29736b57b7bc03555185efe

See more details on using hashes here.

Supported by

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