Skip to content
This repository was archived by the owner on Aug 7, 2020. It is now read-only.

Commit 7eed6f6

Browse files
Merge pull request #125 from tenable/task/as-44
Update doc string for exporting by tag
2 parents d6f5f2e + ea15023 commit 7eed6f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tenable_io/helpers/export.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ def download_vulns(self, path=None, num_assets=50, severity=None, state=None, pl
2525
:param since: The start date (in Unix time) for the range of new or updated vulnerability data you want
2626
to export. If your request omits this parameter, exported data includes all vulnerabilities, regardless of
2727
date.
28-
:param tags: Returns all assets with the specified tags. The filter is defined as "tag",
29-
a period ("."), and the tag category name. Should be specified as a dict of {tag_category_name:[tag_value(s)]}
28+
:param tags: Returns all assets with the specified tags. The filter is defined as a dict with catgeory name as
29+
the key and a list of values as the value. Ex: {tag_category_name:[tag_value(s)]}
3030
:param cidr_range: Restricts search for vulnerabilities to assets assigned an IP address within the specified
3131
CIDR range. For example, 0.0.0.0/0 restricts the search to 0.0.0.1 and 255.255.255.254.
3232
:param first_found: The start date (in Unix time) for the range of vulnerability data you want to export,
@@ -116,8 +116,8 @@ def download_assets(self, path=None, chunk_size=100, created_at=None, updated_at
116116
:param has_plugin_results: If true, returns all assets that have plugin results. If false, returns all assets
117117
that do not have plugin results. An asset may not have plugin results if the asset details originated from a
118118
connector, an API import, or a discovery scan, rather than a vulnerabilities scan.
119-
:param tags: Returns all assets with the specified tags. The filter is defined as "tag",
120-
a period ("."), and the tag category name. Should be specified as a dict of {tag_category_name:[tag_value(s)]}
119+
:param tags: Returns all assets with the specified tags. The filter is defined as a dict with catgeory name as
120+
the key and a list of values as the value. Ex: {tag_category_name:[tag_value(s)]}
121121
:param file_open_mode: The open mode to the file output. Default to "wb".
122122
:return: The list of exported assets if path is `None` else the list of `chunk_id`s.
123123
"""

0 commit comments

Comments
 (0)