Source code for tenable.io.v3
"""
Version3 API
============
The following sub-package allows for interaction with the Tenable Vulnerability Management - Version3API
Methods available on ``tio.v3``:
.. rst-class:: hide-signature
.. autoclass:: Version3API
:members:
.. toctree::
:hidden:
:glob:
explore/index
access_control
"""
from tenable.base.endpoint import APIEndpoint
from tenable.io.v3.access_control import AccessControlAPI
from tenable.io.v3.explore import Explore, AssetsAPI
[docs]class Version3API(APIEndpoint):
"""
This will contain property for all resources/app under Tenable Vulnerability Management - V3.
"""
@property
def explore(self):
"""
The interface object for the
:doc:`Tenable Vulnerability Management v3 explore <explore/index>`
"""
return Explore(self._api)
@property
def access_control(self):
"""
The interface object for the
:doc:`Tenable Vulnerability Management v3 access control <access_control>`
"""
return AccessControlAPI(self._api)
@property
def assets(self):
"""
The interface object for the
:doc:`Tenable.io v3 assets <explore/assets>`
"""
return AssetsAPI(self._api)