Category

Methods described in this section relate to the category API. These methods can be accessed at TenableAD.category.

class CategoryAPI(api: restfly.session.APISession)[source]
details(category_id: str) Dict[source]

Retrieves the details of particlar category bases on category_id.

Parameters

category_id (str) – The category instance identifier.

Returns

Returns the details of a given category_id.

Return type

dict

Examples

>>> tad.category.details(category_id='5')
list() List[Dict][source]

Retrieves the list of categories in the instance.

Returns

Returns a list of categories.

Return type

list

Examples

>>> tad.category.list()