In this section, we review python modules for interacting with the Nessus Vulnerabilities scanner.
Accessing the Nessus API with Python
Installing the nessrest Python module
Nessus provides an API to access it programmatically from Python. Tenable provides a REST API that we can use any library that allows HTTP requests. We also have the possibility to use specific libraries in Python, such as nessrest: https://github.com/tenable/nessrest.
To use this module in our Python script, import it as we did for other modules after installation. We can install the nessrest module with pip:
$ pip install nessrest
If we try to build the project from the github source code, the dependencies can be satisfied via
pip install -r requirements...