pyTenable icon indicating copy to clipboard operation
pyTenable copied to clipboard

Assets->Host Assets functions

Open MAngel666 opened this issue 2 years ago • 10 comments

The new "view" Host Assets should be accessible as function with all informations.

MAngel666 avatar Aug 27 '22 06:08 MAngel666

Host Assets data Function is already available in the pyTenable ( search_host)

assets = tio.v3.explore.assets.search_host();

Wiki : https://pytenable.readthedocs.io/en/stable/api/io/v3/explore/assets.html.

dandamudi1414 avatar Aug 29 '22 10:08 dandamudi1414

AttributeError: 'TenableSC' object has no attribute 'assets'

MAngel666 avatar Aug 30 '22 13:08 MAngel666

It was a question to Tenable.SC not Tenable.IO

MAngel666 avatar Aug 31 '22 07:08 MAngel666

Hi does it mean it is solved?

MAngel666 avatar Dec 05 '22 07:12 MAngel666

@MAngel666, Kindly elaborate, what exactly you are looking into. Is there any specific end point you are able to access in API and not being exposed in pyTenable ?

Moreover, you can find pyTenable exposed methods here and Tenable.SC API exposed methods here

inayathulla avatar Dec 05 '22 07:12 inayathulla

@inayathulla there is a "Host Assets" List in Tenable.SC. Pretty new feature, not more marked as beta since last version of SC (5.23.1). You can reach it with /#hosts I can see there a host/asset the findings and installed software. It would be cool to get these informations via API/pyTenable.

MAngel666 avatar Dec 05 '22 19:12 MAngel666

The "Assets" API in Tenable.sc is located under the (more correct) "asset_lists" module. As for the "hosts" API, its still marked as beta and may change, hence why it isnt in the lib yet. It isn't considered stable enough for general use: https://docs.tenable.com/tenablesc/api/Hosts.htm

SteveMcGrath avatar Dec 05 '22 19:12 SteveMcGrath

aha so if it would be stable in API you will implement it in pyTenable? Until then, it ist possible to get these informations about a host? (installed software, findings etc) I get some informations with repositories.device_info but not all...

MAngel666 avatar Dec 05 '22 19:12 MAngel666

where can I get answers for my questions? Is there a mailing group or forum for pyTenable?

MAngel666 avatar Dec 05 '22 20:12 MAngel666

This API is stable now. Will share the plan for adding the item to pyTenable shortly.

aseemsavio avatar Nov 22 '23 04:11 aseemsavio