@@ -25,8 +25,8 @@ def download_vulns(self, path=None, num_assets=50, severity=None, state=None, pl
25
25
:param since: The start date (in Unix time) for the range of new or updated vulnerability data you want
26
26
to export. If your request omits this parameter, exported data includes all vulnerabilities, regardless of
27
27
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)]}
30
30
:param cidr_range: Restricts search for vulnerabilities to assets assigned an IP address within the specified
31
31
CIDR range. For example, 0.0.0.0/0 restricts the search to 0.0.0.1 and 255.255.255.254.
32
32
: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
116
116
:param has_plugin_results: If true, returns all assets that have plugin results. If false, returns all assets
117
117
that do not have plugin results. An asset may not have plugin results if the asset details originated from a
118
118
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)]}
121
121
:param file_open_mode: The open mode to the file output. Default to "wb".
122
122
:return: The list of exported assets if path is `None` else the list of `chunk_id`s.
123
123
"""
0 commit comments