Important

The Nessus Package is currently a Technology Preview

Plugins

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

class PluginsAPI(api: restfly.session.APISession)[source]
families() List[Dict][source]

Returns the list of plugin families.

Example

>>> families = nessus.plugins.families()
family_details(family_id: int) Dict[source]

Returns the details for a given plugin family.

Parameters

family_id (int) – The id of the family to return

Example

>>> family = nessus.plugins.family_details(fam_id)
list()[source]

Returns an iterable to walk through each plugin.

Example

>>> for plugin in nessus.plugins.list():
...     print(plugin)
plugin_details(plugin_id: int) Dict[source]

Returns the details for a given plugin id.

Parameters

plugin_id (int) – The id of the plugin to return

Example

>>> plugin = nessus.plugins.plugin_details(19506)