Giter Site home page Giter Site logo

tio's Introduction

tio

tio is a simple and limited CLI to Tenable.IO, written in Python.

Basic usage:

python3 tio.py [command] [flags]

Features:

  1. Show scan configuration and history of each configured scan.
  2. Export specific scan to local disk in csv/pdf/html/nessus. Note: PDF & HTML option only available within 90 days of the scan.
  3. Show server information.
  4. Foundational work to expand features in the future.

Dependencies to run this script are:

  1. Linux or Unix Operating System. Will not work on Windows in present form.
  2. Python 3
  3. PyTenable Python module Install by using: pip3 install pytenable

API Requirement:

Script automatically checks for the presence of API keys at ~/.tio/client.json. If API keys are not present, the user is prompted for keys on first use and saved. Note: Secure your keys! In present form they will be stored unencypted on your local drive.

Examples:

python3 tio.py info

python3 tio.py info -s 1337 Note, syntax uses history_id to be consistent with Pytenable API documentation, despite returned information is displayed as "id".

python3 tio.py export -s 1337 -hid 12345678 latest_scan pdf html nessus csv

python3 tio.py server

To Do:

  1. Add color!
  2. Provide user friendly error message when pdf or html format is requested for scan older than 90 days. Tenable.io will not generate pdf/html for scans older than 90 days.

Reference:

https://pytenable.readthedocs.io/en/stable/

https://github.com/tenable/pyTenable

tio's People

Contributors

richlamdev avatar

Watchers

 avatar

Forkers

rlam13

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.