Skip to content

Commit 3909d65

Browse files
Update SDK to version v2.66.0
- Generated from OpenAPI spec version v2.66.0 - Auto-generated by GitHub Actions
1 parent 584cd6a commit 3909d65

21 files changed

Lines changed: 1020 additions & 1057 deletions

.sdk-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2.63.0
1+
v2.66.0

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Class | Method | HTTP request | Description
6565
*AnalysesDynamicExecutionApi* | [**get_process_registry**](docs/AnalysesDynamicExecutionApi.md#get_process_registry) | **GET** /v2/analyses/{analysis_id}/dynamic-execution/process-registry | Get the dynamic execution results for process registry
6666
*AnalysesDynamicExecutionApi* | [**get_process_tree**](docs/AnalysesDynamicExecutionApi.md#get_process_tree) | **GET** /v2/analyses/{analysis_id}/dynamic-execution/process-tree | Get the dynamic execution results for process tree
6767
*AnalysesDynamicExecutionApi* | [**get_ttps**](docs/AnalysesDynamicExecutionApi.md#get_ttps) | **GET** /v2/analyses/{analysis_id}/dynamic-execution/ttps | Get the dynamic execution results for ttps
68+
*AnalysesResultsMetadataApi* | [**get_analysis_functions_paginated**](docs/AnalysesResultsMetadataApi.md#get_analysis_functions_paginated) | **GET** /v2/analyses/{analysis_id}/functions | Get functions from analysis
6869
*AnalysesResultsMetadataApi* | [**get_capabilities**](docs/AnalysesResultsMetadataApi.md#get_capabilities) | **GET** /v2/analyses/{analysis_id}/capabilities | Gets the capabilities from the analysis
6970
*AnalysesResultsMetadataApi* | [**get_communities**](docs/AnalysesResultsMetadataApi.md#get_communities) | **GET** /v2/analyses/{analysis_id}/communities | Gets the communities found in the analysis
7071
*AnalysesResultsMetadataApi* | [**get_functions_list**](docs/AnalysesResultsMetadataApi.md#get_functions_list) | **GET** /v2/analyses/{analysis_id}/functions/list | Gets functions from analysis
@@ -93,10 +94,7 @@ Class | Method | HTTP request | Description
9394
*CollectionsApi* | [**update_collection**](docs/CollectionsApi.md#update_collection) | **PATCH** /v2/collections/{collection_id} | Updates a collection
9495
*CollectionsApi* | [**update_collection_binaries**](docs/CollectionsApi.md#update_collection_binaries) | **PATCH** /v2/collections/{collection_id}/binaries | Updates a collection binaries
9596
*CollectionsApi* | [**update_collection_tags**](docs/CollectionsApi.md#update_collection_tags) | **PATCH** /v2/collections/{collection_id}/tags | Updates a collection tags
96-
*ExternalSourcesApi* | [**create_external_task_mb**](docs/ExternalSourcesApi.md#create_external_task_mb) | **POST** /v2/analysis/{analysis_id}/external/mb | Pulls data from VirusTotal
9797
*ExternalSourcesApi* | [**create_external_task_vt**](docs/ExternalSourcesApi.md#create_external_task_vt) | **POST** /v2/analysis/{analysis_id}/external/vt | Pulls data from VirusTotal
98-
*ExternalSourcesApi* | [**get_mb_data**](docs/ExternalSourcesApi.md#get_mb_data) | **GET** /v2/analysis/{analysis_id}/external/mb | Get MalwareBazaar data
99-
*ExternalSourcesApi* | [**get_mb_task_status**](docs/ExternalSourcesApi.md#get_mb_task_status) | **GET** /v2/analysis/{analysis_id}/external/mb/status | Check the status of MalwareBazaar data retrieval
10098
*ExternalSourcesApi* | [**get_vt_data**](docs/ExternalSourcesApi.md#get_vt_data) | **GET** /v2/analysis/{analysis_id}/external/vt | Get VirusTotal data
10199
*ExternalSourcesApi* | [**get_vt_task_status**](docs/ExternalSourcesApi.md#get_vt_task_status) | **GET** /v2/analysis/{analysis_id}/external/vt/status | Check the status of VirusTotal data retrieval
102100
*FirmwareApi* | [**get_binaries_for_firmware_task**](docs/FirmwareApi.md#get_binaries_for_firmware_task) | **GET** /v2/firmware/get-binaries/{task_id} | Upload firmware for unpacking
@@ -159,6 +157,7 @@ Class | Method | HTTP request | Description
159157
- [AnalysisFunctionMapping](docs/AnalysisFunctionMapping.md)
160158
- [AnalysisFunctionMatchingRequest](docs/AnalysisFunctionMatchingRequest.md)
161159
- [AnalysisFunctions](docs/AnalysisFunctions.md)
160+
- [AnalysisFunctionsList](docs/AnalysisFunctionsList.md)
162161
- [AnalysisRecord](docs/AnalysisRecord.md)
163162
- [AnalysisScope](docs/AnalysisScope.md)
164163
- [AnalysisStringsResponse](docs/AnalysisStringsResponse.md)
@@ -180,6 +179,7 @@ Class | Method | HTTP request | Description
180179
- [BaseResponseAnalysisDetailResponse](docs/BaseResponseAnalysisDetailResponse.md)
181180
- [BaseResponseAnalysisFunctionMapping](docs/BaseResponseAnalysisFunctionMapping.md)
182181
- [BaseResponseAnalysisFunctions](docs/BaseResponseAnalysisFunctions.md)
182+
- [BaseResponseAnalysisFunctionsList](docs/BaseResponseAnalysisFunctionsList.md)
183183
- [BaseResponseAnalysisStringsResponse](docs/BaseResponseAnalysisStringsResponse.md)
184184
- [BaseResponseAnalysisTags](docs/BaseResponseAnalysisTags.md)
185185
- [BaseResponseAnalysisUpdateTagsResponse](docs/BaseResponseAnalysisUpdateTagsResponse.md)
@@ -318,6 +318,7 @@ Class | Method | HTTP request | Description
318318
- [FunctionInfoInput](docs/FunctionInfoInput.md)
319319
- [FunctionInfoInputFuncDepsInner](docs/FunctionInfoInputFuncDepsInner.md)
320320
- [FunctionInfoOutput](docs/FunctionInfoOutput.md)
321+
- [FunctionListItem](docs/FunctionListItem.md)
321322
- [FunctionLocalVariableResponse](docs/FunctionLocalVariableResponse.md)
322323
- [FunctionMapping](docs/FunctionMapping.md)
323324
- [FunctionMappingFull](docs/FunctionMappingFull.md)

docs/AnalysesResultsMetadataApi.md

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ All URIs are relative to *https://api.reveng.ai*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7+
[**get_analysis_functions_paginated**](AnalysesResultsMetadataApi.md#get_analysis_functions_paginated) | **GET** /v2/analyses/{analysis_id}/functions | Get functions from analysis
78
[**get_capabilities**](AnalysesResultsMetadataApi.md#get_capabilities) | **GET** /v2/analyses/{analysis_id}/capabilities | Gets the capabilities from the analysis
89
[**get_communities**](AnalysesResultsMetadataApi.md#get_communities) | **GET** /v2/analyses/{analysis_id}/communities | Gets the communities found in the analysis
910
[**get_functions_list**](AnalysesResultsMetadataApi.md#get_functions_list) | **GET** /v2/analyses/{analysis_id}/functions/list | Gets functions from analysis
@@ -13,6 +14,90 @@ Method | HTTP request | Description
1314
[**get_vulnerabilities**](AnalysesResultsMetadataApi.md#get_vulnerabilities) | **GET** /v2/analyses/{analysis_id}/vulnerabilities | Gets the vulnerabilities found in the analysis
1415

1516

17+
# **get_analysis_functions_paginated**
18+
> BaseResponseAnalysisFunctionsList get_analysis_functions_paginated(analysis_id, page=page, page_size=page_size)
19+
20+
Get functions from analysis
21+
22+
Returns a paginated list of functions identified during analysis
23+
24+
### Example
25+
26+
* Api Key Authentication (APIKey):
27+
28+
```python
29+
import revengai
30+
from revengai.models.base_response_analysis_functions_list import BaseResponseAnalysisFunctionsList
31+
from revengai.rest import ApiException
32+
from pprint import pprint
33+
34+
# Defining the host is optional and defaults to https://api.reveng.ai
35+
# See configuration.py for a list of all supported configuration parameters.
36+
configuration = revengai.Configuration(
37+
host = "https://api.reveng.ai"
38+
)
39+
40+
# The client must configure the authentication and authorization parameters
41+
# in accordance with the API server security policy.
42+
# Examples for each auth method are provided below, use the example that
43+
# satisfies your auth use case.
44+
45+
# Configure API key authorization: APIKey
46+
configuration.api_key['APIKey'] = os.environ["API_KEY"]
47+
48+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
49+
# configuration.api_key_prefix['APIKey'] = 'Bearer'
50+
51+
# Enter a context with an instance of the API client
52+
with revengai.ApiClient(configuration) as api_client:
53+
# Create an instance of the API class
54+
api_instance = revengai.AnalysesResultsMetadataApi(api_client)
55+
analysis_id = 56 # int |
56+
page = 1 # int | The page number to retrieve. (optional) (default to 1)
57+
page_size = 1000 # int | Number of items per page. (optional) (default to 1000)
58+
59+
try:
60+
# Get functions from analysis
61+
api_response = api_instance.get_analysis_functions_paginated(analysis_id, page=page, page_size=page_size)
62+
print("The response of AnalysesResultsMetadataApi->get_analysis_functions_paginated:\n")
63+
pprint(api_response)
64+
except Exception as e:
65+
print("Exception when calling AnalysesResultsMetadataApi->get_analysis_functions_paginated: %s\n" % e)
66+
```
67+
68+
69+
70+
### Parameters
71+
72+
73+
Name | Type | Description | Notes
74+
------------- | ------------- | ------------- | -------------
75+
**analysis_id** | **int**| |
76+
**page** | **int**| The page number to retrieve. | [optional] [default to 1]
77+
**page_size** | **int**| Number of items per page. | [optional] [default to 1000]
78+
79+
### Return type
80+
81+
[**BaseResponseAnalysisFunctionsList**](BaseResponseAnalysisFunctionsList.md)
82+
83+
### Authorization
84+
85+
[APIKey](../README.md#APIKey)
86+
87+
### HTTP request headers
88+
89+
- **Content-Type**: Not defined
90+
- **Accept**: application/json
91+
92+
### HTTP response details
93+
94+
| Status code | Description | Response headers |
95+
|-------------|-------------|------------------|
96+
**200** | Successful Response | - |
97+
**422** | Invalid request parameters | - |
98+
99+
[[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)
100+
16101
# **get_capabilities**
17102
> BaseResponseCapabilities get_capabilities(analysis_id)
18103

docs/AnalysisFunctionsList.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# AnalysisFunctionsList
2+
3+
API response schema for paginated functions list
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**functions** | [**List[FunctionListItem]**](FunctionListItem.md) | The functions associated with the analysis |
10+
11+
## Example
12+
13+
```python
14+
from revengai.models.analysis_functions_list import AnalysisFunctionsList
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of AnalysisFunctionsList from a JSON string
19+
analysis_functions_list_instance = AnalysisFunctionsList.from_json(json)
20+
# print the JSON string representation of the object
21+
print(AnalysisFunctionsList.to_json())
22+
23+
# convert the object into a dict
24+
analysis_functions_list_dict = analysis_functions_list_instance.to_dict()
25+
# create an instance of AnalysisFunctionsList from a dict
26+
analysis_functions_list_from_dict = AnalysisFunctionsList.from_dict(analysis_functions_list_dict)
27+
```
28+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29+
30+
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# BaseResponseAnalysisFunctionsList
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**status** | **bool** | Response status on whether the request succeeded | [optional] [default to True]
9+
**data** | [**AnalysisFunctionsList**](AnalysisFunctionsList.md) | | [optional]
10+
**message** | **str** | | [optional]
11+
**errors** | [**List[ErrorModel]**](ErrorModel.md) | | [optional]
12+
**meta** | [**MetaModel**](MetaModel.md) | Metadata | [optional]
13+
14+
## Example
15+
16+
```python
17+
from revengai.models.base_response_analysis_functions_list import BaseResponseAnalysisFunctionsList
18+
19+
# TODO update the JSON string below
20+
json = "{}"
21+
# create an instance of BaseResponseAnalysisFunctionsList from a JSON string
22+
base_response_analysis_functions_list_instance = BaseResponseAnalysisFunctionsList.from_json(json)
23+
# print the JSON string representation of the object
24+
print(BaseResponseAnalysisFunctionsList.to_json())
25+
26+
# convert the object into a dict
27+
base_response_analysis_functions_list_dict = base_response_analysis_functions_list_instance.to_dict()
28+
# create an instance of BaseResponseAnalysisFunctionsList from a dict
29+
base_response_analysis_functions_list_from_dict = BaseResponseAnalysisFunctionsList.from_dict(base_response_analysis_functions_list_dict)
30+
```
31+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
32+
33+

0 commit comments

Comments
 (0)