Reports Definition

The following methods allow for interaction into the Tenable.sc ReportsDefinition API.

Methods available on sc.report_definition:

class ReportDefinitionAPI(api: APISession)[source]
launch(id)[source]

Launches a Report definition. report-definition: launch :param id: The report definition identifier to launch. :type id: int

Returns:

A report ID resource for the newly launched report definition.

Return type:

dict

Examples

>>> running = sc.report_definition.launch(1)
>>> print('The Scan Result ID is {}'.format(
...     running['scanResult']['id']))