Source code for tenable.tenableone.attack_path.api
"""Attack Path===========The following sub-package allows for interaction with the Tenable OneAttack Path APIs... rst-class:: hide-signature.. autoclass:: AttackPathAPI :members:.. toctree:: :hidden: :glob: export/index findings/index vectors/index"""fromtenable.base.endpointimportAPIEndpointfromtenable.tenableone.attack_path.export.apiimportExportAPIfromtenable.tenableone.attack_path.findings.apiimportFindingsAPIfromtenable.tenableone.attack_path.vectors.apiimportVectorsAPI
[docs]classAttackPathAPI(APIEndpoint):@propertydefexport(self):""" The interface object for the :doc:`Tenable One Attack Path Export APIs <export/index>`. """returnExportAPI(self._api)@propertydeffindings(self):""" The interface object for the :doc:`Tenable One Attack Path Findings APIs <findings/index>`. """returnFindingsAPI(self._api)@propertydefvectors(self):""" The interface object for the :doc:`Tenable One Attack Path Vectors APIs <vectors/index>`. """returnVectorsAPI(self._api)