Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assets->Host Assets functions #614

Open
MAngel666 opened this issue Aug 27, 2022 · 10 comments
Open

Assets->Host Assets functions #614

MAngel666 opened this issue Aug 27, 2022 · 10 comments
Assignees
Labels
enhancement New features/functionality Tenable.sc Tenable.sc Package

Comments

@MAngel666
Copy link

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

@dandamudi1414 dandamudi1414 added question This is a DX or General question Tenable.io Tenable.io Package labels Aug 29, 2022
@dandamudi1414
Copy link
Collaborator

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.

@MAngel666
Copy link
Author

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

@MAngel666
Copy link
Author

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

@dandamudi1414 dandamudi1414 removed the Tenable.io Tenable.io Package label Sep 1, 2022
@aseemsavio aseemsavio added the Tenable.sc Tenable.sc Package label Sep 29, 2022
@MAngel666
Copy link
Author

Hi does it mean it is solved?

@inayathulla inayathulla reopened this Dec 5, 2022
@inayathulla
Copy link
Collaborator

@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 inayathulla self-assigned this Dec 5, 2022
@MAngel666
Copy link
Author

@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.

@SteveMcGrath
Copy link
Contributor

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

@MAngel666
Copy link
Author

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
Copy link
Author

MAngel666 commented Dec 5, 2022

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

@MAngel666 MAngel666 mentioned this issue Sep 22, 2023
@aseemsavio
Copy link
Collaborator

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

@SteveMcGrath SteveMcGrath added enhancement New features/functionality and removed question This is a DX or General question labels Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features/functionality Tenable.sc Tenable.sc Package
Projects
None yet
Development

No branches or pull requests

5 participants