Filters

The following methods allow for interaction into the Tenable Vulnerability Management filters API endpoints.

Methods available on tio.filters:

class FiltersAPI(api: APISession)[source]

This will contain all methods related to filters

access_group_asset_rules_filters(normalize=True)[source]

Returns access group rules filters.

filters: access-control-rules-filters

Returns:

Filter resource dictionary

Return type:

dict

Examples

>>> filters = tio.filters.access_group_rules_filters()
access_group_asset_rules_filters_v2(normalize=True)[source]

Returns access group rules filters v2.

filters: access_group_asset_rules_filters_v2

Returns:

Filter resource dictionary

Return type:

dict

Examples

>>> filters = tio.filters.access_group_rules_filters_v2()
access_group_filters(normalize=True)[source]

Returns access group filters.

filters: access-group-filters

Returns:

Filter resource dictionary

Return type:

dict

Examples

>>> filters = tio.filters.access_group_filters()
access_group_filters_v2(normalize=True)[source]

Returns access group filters v2.

filters: access_group_filters_v2

Returns:

Filter resource dictionary

Return type:

dict

Examples

>>> filters = tio.filters.access_group_filters_v2()
agents_filters(normalize=True)[source]

Returns agent filters.

filters: agents-filters

Returns:

Filter resource dictionary

Return type:

dict

Examples

>>> filters = tio.filters.agents_filters()
asset_tag_filters()[source]

Returns a list of filters that you can use to create the rules for applying dynamic tags.

tag: list asset tag filters

Returns:

Filter resource dictionary

Return type:

dict

Examples

>>> tio.filters.asset_tag_filters()
credentials_filters(normalize=True)[source]

Returns the individual scan filters.

filters: credentials

Returns:

Filter resource dictionary

Return type:

dict

Examples

>>> filters = tio.filters.scan_filters()
networks_filters()[source]

Returns the networks filters.

Returns:

Filter resource dictionary

Return type:

dict

Examples

>>> filters = tio.filters.network_filters()
scan_filters(normalize=True)[source]

Returns the individual scan filters.

Returns:

Filter resource dictionary

Return type:

dict

Examples

>>> filters = tio.filters.scan_filters()
workbench_asset_filters(normalize=True)[source]

Returns the asset workbench filters.

workbenches: assets-filters

Returns:

Filter resource dictionary

Return type:

dict

Examples

>>> filters = tio.filters.workbench_asset_filters()
workbench_vuln_filters(normalize=True)[source]

Returns the vulnerability workbench filters

workbenches: vulnerabilities-filters

Returns:

Filter resource dictionary

Return type:

dict

Examples

>>> filters = tio.filters.workbench_vuln_filters()