PyTenable Save Abandoned

Python Library for interfacing into Tenable's platform APIs

Project README

Welcome to pyTenable's documentation!

.. image:: :target: .. image:: :target: .. image:: :target: .. image:: :target: .. image:: :target: .. image:: :target:

pyTenable is intended to be a pythonic interface into the Tenable application APIs. Further by providing a common interface and a common structure between all of the various applications, we can ease the transition from the vastly different APIs between some of the products.


To install the most recent published version to pypi, its simply a matter of installing via pip:

.. code-block:: bash

pip install pytenable

If you're looking for bleeding-edge, then feel free to install directly from the github repository like so:

.. code-block:: bash

pip install git+git://

Getting Started

Lets assume that we want to get the list of scans that have been run on our application. Performing this action is as simple as the following:

.. code-block:: python

from import TenableIO tio = TenableIO('TIO_ACCESS_KEY', 'TIO_SECRET_KEY') for scan in tio.scans.list(): print('{status}: {id}/{uuid} - {name}'.format(**scan))

Getting started with is equally as easy:

.. code-block:: python

from import TenableSC sc = TenableSC('SECURITYCENTER_NETWORK_ADDRESS') sc.login('SC_USERNAME', 'SC_PASSWORD') for vuln in sc.analysis.vulns(): print('{ip}:{pluginID}:{pluginName}'.format(**vuln))

For more detailed information on whats available, please refer to the pyTenable Documentation <>_


Enabling logging for pyTenable is a simple matter of enabling debug logs through the python logging package. An easy example is detailed here:

.. code-block:: python

import logging logging.basicConfig(level=logging.DEBUG)


The project is licensed under the MIT license.

Open Source Agenda is not affiliated with "PyTenable" Project. README Source: tenable/pyTenable
Open Issues
Last Commit
10 months ago

Open Source Agenda Badge

Open Source Agenda Rating