Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit b213e13

Browse files
committed
Update generated library to version: 6.6.22
1 parent 914abd6 commit b213e13

File tree

13 files changed

+635
-593
lines changed

13 files changed

+635
-593
lines changed

api-files/console-swagger.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/AssetGroupApi.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All URIs are relative to *https://localhost:3780*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**add_asset_group_tag**](AssetGroupApi.md#add_asset_group_tag) | **PUT** /api/3/asset_groups/{id}/tags/{tagId} | Asset Group Tag
7+
[**add_asset_group_tag**](AssetGroupApi.md#add_asset_group_tag) | **PUT** /api/3/asset_groups/{id}/tags/{tagId} | Resources and operations for managing asset groups.
88
[**add_asset_group_user**](AssetGroupApi.md#add_asset_group_user) | **PUT** /api/3/asset_groups/{id}/users/{userId} | Asset Group User
99
[**add_asset_to_asset_group**](AssetGroupApi.md#add_asset_to_asset_group) | **PUT** /api/3/asset_groups/{id}/assets/{assetId} | Asset Group Asset
1010
[**create_asset_group**](AssetGroupApi.md#create_asset_group) | **POST** /api/3/asset_groups | Asset Groups
@@ -19,7 +19,7 @@ Method | HTTP request | Description
1919
[**remove_all_asset_group_tags**](AssetGroupApi.md#remove_all_asset_group_tags) | **DELETE** /api/3/asset_groups/{id}/tags | Asset Group Tags
2020
[**remove_all_assets_from_asset_group**](AssetGroupApi.md#remove_all_assets_from_asset_group) | **DELETE** /api/3/asset_groups/{id}/assets | Asset Group Assets
2121
[**remove_asset_from_asset_group**](AssetGroupApi.md#remove_asset_from_asset_group) | **DELETE** /api/3/asset_groups/{id}/assets/{assetId} | Asset Group Asset
22-
[**remove_asset_group_tag**](AssetGroupApi.md#remove_asset_group_tag) | **DELETE** /api/3/asset_groups/{id}/tags/{tagId} | Asset Group Tag
22+
[**remove_asset_group_tag**](AssetGroupApi.md#remove_asset_group_tag) | **DELETE** /api/3/asset_groups/{id}/tags/{tagId} | Resources and operations for managing asset groups.
2323
[**remove_asset_group_user**](AssetGroupApi.md#remove_asset_group_user) | **DELETE** /api/3/asset_groups/{id}/users/{userId} | Asset Group User
2424
[**set_asset_group_search_criteria**](AssetGroupApi.md#set_asset_group_search_criteria) | **PUT** /api/3/asset_groups/{id}/search_criteria | Asset Group Search Criteria
2525
[**set_asset_group_tags**](AssetGroupApi.md#set_asset_group_tags) | **PUT** /api/3/asset_groups/{id}/tags | Asset Group Tags
@@ -31,7 +31,7 @@ Method | HTTP request | Description
3131
# **add_asset_group_tag**
3232
> Links add_asset_group_tag(id, tag_id)
3333
34-
Asset Group Tag
34+
Resources and operations for managing asset groups.
3535

3636
Adds a tag to an asset group.
3737

@@ -49,7 +49,7 @@ id = 56 # int | The identifier of the asset group.
4949
tag_id = 56 # int | The identifier of the tag.
5050

5151
try:
52-
# Asset Group Tag
52+
# Resources and operations for managing asset groups.
5353
api_response = api_instance.add_asset_group_tag(id, tag_id)
5454
pprint(api_response)
5555
except ApiException as e:
@@ -771,7 +771,7 @@ No authorization required
771771
# **remove_asset_group_tag**
772772
> Links remove_asset_group_tag(id, tag_id)
773773
774-
Asset Group Tag
774+
Resources and operations for managing asset groups.
775775

776776
Removes a tag from an asset group.
777777

@@ -789,7 +789,7 @@ id = 56 # int | The identifier of the asset group.
789789
tag_id = 56 # int | The identifier of the tag.
790790

791791
try:
792-
# Asset Group Tag
792+
# Resources and operations for managing asset groups.
793793
api_response = api_instance.remove_asset_group_tag(id, tag_id)
794794
pprint(api_response)
795795
except ApiException as e:

docs/SiteApi.md

Lines changed: 205 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ All URIs are relative to *https://localhost:3780*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7+
[**add_excluded_targets**](SiteApi.md#add_excluded_targets) | **POST** /api/3/sites/{id}/excluded_targets | Site Excluded Targets
8+
[**add_included_targets**](SiteApi.md#add_included_targets) | **POST** /api/3/sites/{id}/included_targets | Site Included Targets
79
[**add_site_tag**](SiteApi.md#add_site_tag) | **PUT** /api/3/sites/{id}/tags/{tagId} | Site Tag
810
[**add_site_user**](SiteApi.md#add_site_user) | **POST** /api/3/sites/{id}/users | Site Users Access
911
[**create_site**](SiteApi.md#create_site) | **POST** /api/3/sites | Sites
@@ -58,7 +60,9 @@ Method | HTTP request | Description
5860
[**remove_all_included_asset_groups**](SiteApi.md#remove_all_included_asset_groups) | **DELETE** /api/3/sites/{id}/included_asset_groups | Site Included Asset Groups
5961
[**remove_asset_from_site**](SiteApi.md#remove_asset_from_site) | **DELETE** /api/3/sites/{id}/assets/{assetId} | Site Asset
6062
[**remove_excluded_asset_group**](SiteApi.md#remove_excluded_asset_group) | **DELETE** /api/3/sites/{id}/excluded_asset_groups/{assetGroupId} | Site Excluded Asset Group
63+
[**remove_excluded_targets**](SiteApi.md#remove_excluded_targets) | **DELETE** /api/3/sites/{id}/excluded_targets | Site Excluded Targets
6164
[**remove_included_asset_group**](SiteApi.md#remove_included_asset_group) | **DELETE** /api/3/sites/{id}/included_asset_groups/{assetGroupId} | Site Included Asset Group
65+
[**remove_included_targets**](SiteApi.md#remove_included_targets) | **DELETE** /api/3/sites/{id}/included_targets | Site Included Targets
6266
[**remove_site_assets**](SiteApi.md#remove_site_assets) | **DELETE** /api/3/sites/{id}/assets | Site Assets
6367
[**remove_site_tag**](SiteApi.md#remove_site_tag) | **DELETE** /api/3/sites/{id}/tags/{tagId} | Site Tag
6468
[**remove_site_user**](SiteApi.md#remove_site_user) | **DELETE** /api/3/sites/{id}/users/{userId} | Site User Access
@@ -86,6 +90,106 @@ Method | HTTP request | Description
8690
[**update_site_syslog_alert**](SiteApi.md#update_site_syslog_alert) | **PUT** /api/3/sites/{id}/alerts/syslog/{alertId} | Site Syslog Alert
8791

8892

93+
# **add_excluded_targets**
94+
> ReferenceWithSiteIDLink add_excluded_targets(id, scan_targets_to_add=scan_targets_to_add)
95+
96+
Site Excluded Targets
97+
98+
Adds one or more addresses to the site's list of excluded scan targets.
99+
100+
### Example
101+
```python
102+
from __future__ import print_function
103+
import time
104+
import rapid7vmconsole
105+
from rapid7vmconsole.rest import ApiException
106+
from pprint import pprint
107+
108+
# create an instance of the API class
109+
api_instance = rapid7vmconsole.SiteApi()
110+
id = 56 # int | The identifier of the site.
111+
scan_targets_to_add = [rapid7vmconsole.list[str]()] # list[str] | List of addresses to add to the site's excluded scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. (optional)
112+
113+
try:
114+
# Site Excluded Targets
115+
api_response = api_instance.add_excluded_targets(id, scan_targets_to_add=scan_targets_to_add)
116+
pprint(api_response)
117+
except ApiException as e:
118+
print("Exception when calling SiteApi->add_excluded_targets: %s\n" % e)
119+
```
120+
121+
### Parameters
122+
123+
Name | Type | Description | Notes
124+
------------- | ------------- | ------------- | -------------
125+
**id** | **int**| The identifier of the site. |
126+
**scan_targets_to_add** | **list[str]**| List of addresses to add to the site's excluded scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. | [optional]
127+
128+
### Return type
129+
130+
[**ReferenceWithSiteIDLink**](ReferenceWithSiteIDLink.md)
131+
132+
### Authorization
133+
134+
No authorization required
135+
136+
### HTTP request headers
137+
138+
- **Content-Type**: application/json
139+
- **Accept**: application/json;charset=UTF-8
140+
141+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
142+
143+
# **add_included_targets**
144+
> ReferenceWithSiteIDLink add_included_targets(id, scan_targets_to_add=scan_targets_to_add)
145+
146+
Site Included Targets
147+
148+
Adds one or more addresses to the site's list of included scan targets.
149+
150+
### Example
151+
```python
152+
from __future__ import print_function
153+
import time
154+
import rapid7vmconsole
155+
from rapid7vmconsole.rest import ApiException
156+
from pprint import pprint
157+
158+
# create an instance of the API class
159+
api_instance = rapid7vmconsole.SiteApi()
160+
id = 56 # int | The identifier of the site.
161+
scan_targets_to_add = [rapid7vmconsole.list[str]()] # list[str] | List of addresses to add to the site's included scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. (optional)
162+
163+
try:
164+
# Site Included Targets
165+
api_response = api_instance.add_included_targets(id, scan_targets_to_add=scan_targets_to_add)
166+
pprint(api_response)
167+
except ApiException as e:
168+
print("Exception when calling SiteApi->add_included_targets: %s\n" % e)
169+
```
170+
171+
### Parameters
172+
173+
Name | Type | Description | Notes
174+
------------- | ------------- | ------------- | -------------
175+
**id** | **int**| The identifier of the site. |
176+
**scan_targets_to_add** | **list[str]**| List of addresses to add to the site's included scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. | [optional]
177+
178+
### Return type
179+
180+
[**ReferenceWithSiteIDLink**](ReferenceWithSiteIDLink.md)
181+
182+
### Authorization
183+
184+
No authorization required
185+
186+
### HTTP request headers
187+
188+
- **Content-Type**: application/json
189+
- **Accept**: application/json;charset=UTF-8
190+
191+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
192+
89193
# **add_site_tag**
90194
> Links add_site_tag(id, tag_id)
91195
@@ -777,7 +881,7 @@ No authorization required
777881
778882
Site
779883

780-
site.delete.description
884+
Deletes the site with the specified identifier.
781885

782886
### Example
783887
```python
@@ -2734,6 +2838,56 @@ No authorization required
27342838

27352839
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
27362840

2841+
# **remove_excluded_targets**
2842+
> Links remove_excluded_targets(id, scan_targets_to_remove=scan_targets_to_remove)
2843+
2844+
Site Excluded Targets
2845+
2846+
Removes one or more addresses from the site's list of excluded scan targets.
2847+
2848+
### Example
2849+
```python
2850+
from __future__ import print_function
2851+
import time
2852+
import rapid7vmconsole
2853+
from rapid7vmconsole.rest import ApiException
2854+
from pprint import pprint
2855+
2856+
# create an instance of the API class
2857+
api_instance = rapid7vmconsole.SiteApi()
2858+
id = 56 # int | The identifier of the site.
2859+
scan_targets_to_remove = [rapid7vmconsole.list[str]()] # list[str] | List of address to remove from the sites excluded scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. (optional)
2860+
2861+
try:
2862+
# Site Excluded Targets
2863+
api_response = api_instance.remove_excluded_targets(id, scan_targets_to_remove=scan_targets_to_remove)
2864+
pprint(api_response)
2865+
except ApiException as e:
2866+
print("Exception when calling SiteApi->remove_excluded_targets: %s\n" % e)
2867+
```
2868+
2869+
### Parameters
2870+
2871+
Name | Type | Description | Notes
2872+
------------- | ------------- | ------------- | -------------
2873+
**id** | **int**| The identifier of the site. |
2874+
**scan_targets_to_remove** | **list[str]**| List of address to remove from the sites excluded scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. | [optional]
2875+
2876+
### Return type
2877+
2878+
[**Links**](Links.md)
2879+
2880+
### Authorization
2881+
2882+
No authorization required
2883+
2884+
### HTTP request headers
2885+
2886+
- **Content-Type**: application/json
2887+
- **Accept**: application/json;charset=UTF-8
2888+
2889+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
2890+
27372891
# **remove_included_asset_group**
27382892
> Links remove_included_asset_group(id, asset_group_id)
27392893
@@ -2784,6 +2938,56 @@ No authorization required
27842938

27852939
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
27862940

2941+
# **remove_included_targets**
2942+
> Links remove_included_targets(id, scan_targets_to_remove=scan_targets_to_remove)
2943+
2944+
Site Included Targets
2945+
2946+
Removes one or more addresses from the site's list of included scan targets.
2947+
2948+
### Example
2949+
```python
2950+
from __future__ import print_function
2951+
import time
2952+
import rapid7vmconsole
2953+
from rapid7vmconsole.rest import ApiException
2954+
from pprint import pprint
2955+
2956+
# create an instance of the API class
2957+
api_instance = rapid7vmconsole.SiteApi()
2958+
id = 56 # int | The identifier of the site.
2959+
scan_targets_to_remove = [rapid7vmconsole.list[str]()] # list[str] | List of address to remove from the sites included scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. (optional)
2960+
2961+
try:
2962+
# Site Included Targets
2963+
api_response = api_instance.remove_included_targets(id, scan_targets_to_remove=scan_targets_to_remove)
2964+
pprint(api_response)
2965+
except ApiException as e:
2966+
print("Exception when calling SiteApi->remove_included_targets: %s\n" % e)
2967+
```
2968+
2969+
### Parameters
2970+
2971+
Name | Type | Description | Notes
2972+
------------- | ------------- | ------------- | -------------
2973+
**id** | **int**| The identifier of the site. |
2974+
**scan_targets_to_remove** | **list[str]**| List of address to remove from the sites included scan targets. Each address is a string that can represent either a hostname, ipv4 address, ipv4 address range, ipv6 address, or CIDR notation. | [optional]
2975+
2976+
### Return type
2977+
2978+
[**Links**](Links.md)
2979+
2980+
### Authorization
2981+
2982+
No authorization required
2983+
2984+
### HTTP request headers
2985+
2986+
- **Content-Type**: application/json
2987+
- **Accept**: application/json;charset=UTF-8
2988+
2989+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
2990+
27872991
# **remove_site_assets**
27882992
> Links remove_site_assets(id)
27892993

git_push.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if [ "$git_repo_id" = "" ]; then
1818
fi
1919

2020
if [ "$release_note" = "" ]; then
21-
release_note="Update generated library to version: 6.6.10"
21+
release_note="Update generated library to version: 6.6.22"
2222
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
2323
fi
2424

rapid7vmconsole/api/asset_group_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def __init__(self, api_client=None):
3232
self.api_client = api_client
3333

3434
def add_asset_group_tag(self, id, tag_id, **kwargs): # noqa: E501
35-
"""Asset Group Tag # noqa: E501
35+
"""Resources and operations for managing asset groups. # noqa: E501
3636
3737
Adds a tag to an asset group. # noqa: E501
3838
This method makes a synchronous HTTP request by default. To make an
@@ -55,7 +55,7 @@ def add_asset_group_tag(self, id, tag_id, **kwargs): # noqa: E501
5555
return data
5656

5757
def add_asset_group_tag_with_http_info(self, id, tag_id, **kwargs): # noqa: E501
58-
"""Asset Group Tag # noqa: E501
58+
"""Resources and operations for managing asset groups. # noqa: E501
5959
6060
Adds a tag to an asset group. # noqa: E501
6161
This method makes a synchronous HTTP request by default. To make an
@@ -1563,7 +1563,7 @@ def remove_asset_from_asset_group_with_http_info(self, id, asset_id, **kwargs):
15631563
collection_formats=collection_formats)
15641564

15651565
def remove_asset_group_tag(self, id, tag_id, **kwargs): # noqa: E501
1566-
"""Asset Group Tag # noqa: E501
1566+
"""Resources and operations for managing asset groups. # noqa: E501
15671567
15681568
Removes a tag from an asset group. # noqa: E501
15691569
This method makes a synchronous HTTP request by default. To make an
@@ -1586,7 +1586,7 @@ def remove_asset_group_tag(self, id, tag_id, **kwargs): # noqa: E501
15861586
return data
15871587

15881588
def remove_asset_group_tag_with_http_info(self, id, tag_id, **kwargs): # noqa: E501
1589-
"""Asset Group Tag # noqa: E501
1589+
"""Resources and operations for managing asset groups. # noqa: E501
15901590
15911591
Removes a tag from an asset group. # noqa: E501
15921592
This method makes a synchronous HTTP request by default. To make an

0 commit comments

Comments
 (0)