Skip to content

Commit 4e8fb68

Browse files
Update SDK to version v2.8.0
- Generated from OpenAPI spec version v2.8.0 - Auto-generated by GitHub Actions
1 parent c178195 commit 4e8fb68

File tree

78 files changed

+25
-5865
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+25
-5865
lines changed

.sdk-version

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

README.md

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ Class | Method | HTTP request | Description
4747
*AnalysesCommentsApi* | [**update_analysis_comment**](docs/AnalysesCommentsApi.md#update_analysis_comment) | **PATCH** /v2/analyses/{analysis_id}/comments/{comment_id} | Update a comment
4848
*AnalysesCoreApi* | [**create_analysis**](docs/AnalysesCoreApi.md#create_analysis) | **POST** /v2/analyses | Create Analysis
4949
*AnalysesCoreApi* | [**delete_analysis**](docs/AnalysesCoreApi.md#delete_analysis) | **DELETE** /v2/analyses/{analysis_id} | Delete Analysis
50-
*AnalysesCoreApi* | [**find_similar_functions_batch**](docs/AnalysesCoreApi.md#find_similar_functions_batch) | **POST** /v2/analyses/{analysis_id}/similarity/functions | Batch Symbol ANN using Analysis ID
5150
*AnalysesCoreApi* | [**get_analysis_basic_info**](docs/AnalysesCoreApi.md#get_analysis_basic_info) | **GET** /v2/analyses/{analysis_id}/basic | Gets basic analysis information
5251
*AnalysesCoreApi* | [**get_analysis_function_map**](docs/AnalysesCoreApi.md#get_analysis_function_map) | **GET** /v2/analyses/{analysis_id}/func_maps | Get Analysis Function Map
5352
*AnalysesCoreApi* | [**get_analysis_logs**](docs/AnalysesCoreApi.md#get_analysis_logs) | **GET** /v2/analyses/{analysis_id}/logs | Gets the logs of an analysis
@@ -95,10 +94,6 @@ Class | Method | HTTP request | Description
9594
*CollectionsApi* | [**update_collection**](docs/CollectionsApi.md#update_collection) | **PATCH** /v2/collections/{collection_id} | Updates a collection
9695
*CollectionsApi* | [**update_collection_binaries**](docs/CollectionsApi.md#update_collection_binaries) | **PATCH** /v2/collections/{collection_id}/binaries | Updates a collection binaries
9796
*CollectionsApi* | [**update_collection_tags**](docs/CollectionsApi.md#update_collection_tags) | **PATCH** /v2/collections/{collection_id}/tags | Updates a collection tags
98-
*ConfidenceApi* | [**get_analysis_tag_score**](docs/ConfidenceApi.md#get_analysis_tag_score) | **POST** /v2/confidence/analysis/{analysis_id}/tag_score | Calculate Tag Confidence Score for an Analysis
99-
*ConfidenceApi* | [**get_analysis_threat_score**](docs/ConfidenceApi.md#get_analysis_threat_score) | **GET** /v2/confidence/analysis/{analysis_id}/threat_score | Calculate Threat Score for Binary
100-
*ConfidenceApi* | [**get_functions_name_score**](docs/ConfidenceApi.md#get_functions_name_score) | **POST** /v2/confidence/functions/name_score | Calculate function name confidence for a set of Functions
101-
*ConfidenceApi* | [**get_functions_threat_score**](docs/ConfidenceApi.md#get_functions_threat_score) | **POST** /v2/confidence/functions/threat_score | Calculate Threat Score for a set of Functions
10297
*ExternalSourcesApi* | [**create_external_task_mb**](docs/ExternalSourcesApi.md#create_external_task_mb) | **POST** /v2/analysis/{analysis_id}/external/mb | Pulls data from VirusTotal
10398
*ExternalSourcesApi* | [**create_external_task_vt**](docs/ExternalSourcesApi.md#create_external_task_vt) | **POST** /v2/analysis/{analysis_id}/external/vt | Pulls data from VirusTotal
10499
*ExternalSourcesApi* | [**get_mb_data**](docs/ExternalSourcesApi.md#get_mb_data) | **GET** /v2/analysis/{analysis_id}/external/mb | Get MalwareBazaar data
@@ -131,7 +126,6 @@ Class | Method | HTTP request | Description
131126
*FunctionsCoreApi* | [**get_function_capabilities**](docs/FunctionsCoreApi.md#get_function_capabilities) | **GET** /v2/functions/{function_id}/capabilities | Retrieve a functions capabilities
132127
*FunctionsCoreApi* | [**get_function_details**](docs/FunctionsCoreApi.md#get_function_details) | **GET** /v2/functions/{function_id} | Get function details
133128
*FunctionsCoreApi* | [**get_function_strings**](docs/FunctionsCoreApi.md#get_function_strings) | **GET** /v2/functions/{function_id}/strings | Get string information found in the function
134-
*FunctionsCoreApi* | [**get_similar_functions**](docs/FunctionsCoreApi.md#get_similar_functions) | **GET** /v2/functions/{function_id}/similar-functions | Get list of similar functions
135129
*FunctionsDataTypesApi* | [**generate_function_data_types_for_analysis**](docs/FunctionsDataTypesApi.md#generate_function_data_types_for_analysis) | **POST** /v2/analyses/{analysis_id}/functions/data_types | Generate Function Data Types
136130
*FunctionsDataTypesApi* | [**generate_function_data_types_for_functions**](docs/FunctionsDataTypesApi.md#generate_function_data_types_for_functions) | **POST** /v2/functions/data_types | Generate Function Data Types for an arbitrary list of functions
137131
*FunctionsDataTypesApi* | [**get_function_data_types**](docs/FunctionsDataTypesApi.md#get_function_data_types) | **GET** /v2/analyses/{analysis_id}/functions/{function_id}/data_types | Get Function Data Types
@@ -158,7 +152,6 @@ Class | Method | HTTP request | Description
158152

159153
## Documentation For Models
160154

161-
- [ANNFunction](docs/ANNFunction.md)
162155
- [Addr](docs/Addr.md)
163156
- [AiDecompilationRating](docs/AiDecompilationRating.md)
164157
- [AiUnstripRequest](docs/AiUnstripRequest.md)
@@ -205,7 +198,6 @@ Class | Method | HTTP request | Description
205198
- [BaseResponseBlockCommentsGenerationForFunctionResponse](docs/BaseResponseBlockCommentsGenerationForFunctionResponse.md)
206199
- [BaseResponseBlockCommentsOverviewGenerationResponse](docs/BaseResponseBlockCommentsOverviewGenerationResponse.md)
207200
- [BaseResponseBool](docs/BaseResponseBool.md)
208-
- [BaseResponseBoxPlotConfidence](docs/BaseResponseBoxPlotConfidence.md)
209201
- [BaseResponseCalleesCallerFunctionsResponse](docs/BaseResponseCalleesCallerFunctionsResponse.md)
210202
- [BaseResponseCapabilities](docs/BaseResponseCapabilities.md)
211203
- [BaseResponseCheckSecurityChecksTaskResponse](docs/BaseResponseCheckSecurityChecksTaskResponse.md)
@@ -238,16 +230,12 @@ Class | Method | HTTP request | Description
238230
- [BaseResponseListCollectionResults](docs/BaseResponseListCollectionResults.md)
239231
- [BaseResponseListCommentResponse](docs/BaseResponseListCommentResponse.md)
240232
- [BaseResponseListDieMatch](docs/BaseResponseListDieMatch.md)
241-
- [BaseResponseListFunctionBoxPlotConfidence](docs/BaseResponseListFunctionBoxPlotConfidence.md)
242233
- [BaseResponseListFunctionNameHistory](docs/BaseResponseListFunctionNameHistory.md)
243234
- [BaseResponseListSBOM](docs/BaseResponseListSBOM.md)
244-
- [BaseResponseListSimilarFunctionsResponse](docs/BaseResponseListSimilarFunctionsResponse.md)
245-
- [BaseResponseListTagOriginBoxPlotConfidence](docs/BaseResponseListTagOriginBoxPlotConfidence.md)
246235
- [BaseResponseListUserActivityResponse](docs/BaseResponseListUserActivityResponse.md)
247236
- [BaseResponseLoginResponse](docs/BaseResponseLoginResponse.md)
248237
- [BaseResponseLogs](docs/BaseResponseLogs.md)
249238
- [BaseResponseModelsResponse](docs/BaseResponseModelsResponse.md)
250-
- [BaseResponseNearestNeighborAnalysis](docs/BaseResponseNearestNeighborAnalysis.md)
251239
- [BaseResponseNetworkOverviewResponse](docs/BaseResponseNetworkOverviewResponse.md)
252240
- [BaseResponseParams](docs/BaseResponseParams.md)
253241
- [BaseResponseProcessDumps](docs/BaseResponseProcessDumps.md)
@@ -276,7 +264,6 @@ Class | Method | HTTP request | Description
276264
- [BinaryTaskStatus](docs/BinaryTaskStatus.md)
277265
- [Block](docs/Block.md)
278266
- [BlockCommentsGenerationForFunctionResponse](docs/BlockCommentsGenerationForFunctionResponse.md)
279-
- [BoxPlotConfidence](docs/BoxPlotConfidence.md)
280267
- [CalleeFunctionInfo](docs/CalleeFunctionInfo.md)
281268
- [CalleesCallerFunctionsResponse](docs/CalleesCallerFunctionsResponse.md)
282269
- [CallerFunctionInfo](docs/CallerFunctionInfo.md)
@@ -332,7 +319,6 @@ Class | Method | HTTP request | Description
332319
- [FunctionBlockResponse](docs/FunctionBlockResponse.md)
333320
- [FunctionBlocksResponse](docs/FunctionBlocksResponse.md)
334321
- [FunctionBoundary](docs/FunctionBoundary.md)
335-
- [FunctionBoxPlotConfidence](docs/FunctionBoxPlotConfidence.md)
336322
- [FunctionCapabilityResponse](docs/FunctionCapabilityResponse.md)
337323
- [FunctionCommentCreateRequest](docs/FunctionCommentCreateRequest.md)
338324
- [FunctionDataTypes](docs/FunctionDataTypes.md)
@@ -351,9 +337,7 @@ Class | Method | HTTP request | Description
351337
- [FunctionMatchingFilters](docs/FunctionMatchingFilters.md)
352338
- [FunctionMatchingRequest](docs/FunctionMatchingRequest.md)
353339
- [FunctionMatchingResultWithBestMatch](docs/FunctionMatchingResultWithBestMatch.md)
354-
- [FunctionNameConfidenceBody](docs/FunctionNameConfidenceBody.md)
355340
- [FunctionNameHistory](docs/FunctionNameHistory.md)
356-
- [FunctionNameInput](docs/FunctionNameInput.md)
357341
- [FunctionParamResponse](docs/FunctionParamResponse.md)
358342
- [FunctionRename](docs/FunctionRename.md)
359343
- [FunctionRenameMap](docs/FunctionRenameMap.md)
@@ -390,13 +374,11 @@ Class | Method | HTTP request | Description
390374
- [ModelName](docs/ModelName.md)
391375
- [ModelsResponse](docs/ModelsResponse.md)
392376
- [NameConfidence](docs/NameConfidence.md)
393-
- [NearestNeighbor](docs/NearestNeighbor.md)
394377
- [NetworkOverviewDns](docs/NetworkOverviewDns.md)
395378
- [NetworkOverviewDnsAnswer](docs/NetworkOverviewDnsAnswer.md)
396379
- [NetworkOverviewMetadata](docs/NetworkOverviewMetadata.md)
397380
- [NetworkOverviewResponse](docs/NetworkOverviewResponse.md)
398381
- [Order](docs/Order.md)
399-
- [Origin](docs/Origin.md)
400382
- [PDBDebugModel](docs/PDBDebugModel.md)
401383
- [PEModel](docs/PEModel.md)
402384
- [PaginationModel](docs/PaginationModel.md)
@@ -423,7 +405,6 @@ Class | Method | HTTP request | Description
423405
- [SecurityChecksResult](docs/SecurityChecksResult.md)
424406
- [SecurityModel](docs/SecurityModel.md)
425407
- [SeverityType](docs/SeverityType.md)
426-
- [SimilarFunctionsResponse](docs/SimilarFunctionsResponse.md)
427408
- [SingleCodeCertificateModel](docs/SingleCodeCertificateModel.md)
428409
- [SingleCodeSignatureModel](docs/SingleCodeSignatureModel.md)
429410
- [SinglePDBEntryModel](docs/SinglePDBEntryModel.md)
@@ -441,15 +422,11 @@ Class | Method | HTTP request | Description
441422
- [TTPSElement](docs/TTPSElement.md)
442423
- [TTPSOccurance](docs/TTPSOccurance.md)
443424
- [Tag](docs/Tag.md)
444-
- [TagConfidenceBody](docs/TagConfidenceBody.md)
445-
- [TagOriginBoxPlotConfidence](docs/TagOriginBoxPlotConfidence.md)
446425
- [TagResponse](docs/TagResponse.md)
447426
- [TagSearchResponse](docs/TagSearchResponse.md)
448427
- [TagSearchResult](docs/TagSearchResult.md)
449-
- [Tags](docs/Tags.md)
450428
- [TaskResponse](docs/TaskResponse.md)
451429
- [TaskStatus](docs/TaskStatus.md)
452-
- [ThreatScoreFunctionBody](docs/ThreatScoreFunctionBody.md)
453430
- [TimestampModel](docs/TimestampModel.md)
454431
- [TypeDefinition](docs/TypeDefinition.md)
455432
- [UpdateFunctionDataTypes](docs/UpdateFunctionDataTypes.md)

docs/ANNFunction.md

Lines changed: 0 additions & 35 deletions
This file was deleted.

docs/AnalysesCoreApi.md

Lines changed: 0 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**create_analysis**](AnalysesCoreApi.md#create_analysis) | **POST** /v2/analyses | Create Analysis
88
[**delete_analysis**](AnalysesCoreApi.md#delete_analysis) | **DELETE** /v2/analyses/{analysis_id} | Delete Analysis
9-
[**find_similar_functions_batch**](AnalysesCoreApi.md#find_similar_functions_batch) | **POST** /v2/analyses/{analysis_id}/similarity/functions | Batch Symbol ANN using Analysis ID
109
[**get_analysis_basic_info**](AnalysesCoreApi.md#get_analysis_basic_info) | **GET** /v2/analyses/{analysis_id}/basic | Gets basic analysis information
1110
[**get_analysis_function_map**](AnalysesCoreApi.md#get_analysis_function_map) | **GET** /v2/analyses/{analysis_id}/func_maps | Get Analysis Function Map
1211
[**get_analysis_logs**](AnalysesCoreApi.md#get_analysis_logs) | **GET** /v2/analyses/{analysis_id}/logs | Gets the logs of an analysis
@@ -186,89 +185,6 @@ Name | Type | Description | Notes
186185

187186
[[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)
188187

189-
# **find_similar_functions_batch**
190-
> BaseResponseNearestNeighborAnalysis find_similar_functions_batch(analysis_id, ann_function)
191-
192-
Batch Symbol ANN using Analysis ID
193-
194-
Takes a analysis ID and returns the nearest functions within the database that match those functions
195-
196-
### Example
197-
198-
* Api Key Authentication (APIKey):
199-
200-
```python
201-
import revengai
202-
from revengai.models.ann_function import ANNFunction
203-
from revengai.models.base_response_nearest_neighbor_analysis import BaseResponseNearestNeighborAnalysis
204-
from revengai.rest import ApiException
205-
from pprint import pprint
206-
207-
# Defining the host is optional and defaults to https://api.reveng.ai
208-
# See configuration.py for a list of all supported configuration parameters.
209-
configuration = revengai.Configuration(
210-
host = "https://api.reveng.ai"
211-
)
212-
213-
# The client must configure the authentication and authorization parameters
214-
# in accordance with the API server security policy.
215-
# Examples for each auth method are provided below, use the example that
216-
# satisfies your auth use case.
217-
218-
# Configure API key authorization: APIKey
219-
configuration.api_key['APIKey'] = os.environ["API_KEY"]
220-
221-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
222-
# configuration.api_key_prefix['APIKey'] = 'Bearer'
223-
224-
# Enter a context with an instance of the API client
225-
with revengai.ApiClient(configuration) as api_client:
226-
# Create an instance of the API class
227-
api_instance = revengai.AnalysesCoreApi(api_client)
228-
analysis_id = 56 # int |
229-
ann_function = revengai.ANNFunction() # ANNFunction |
230-
231-
try:
232-
# Batch Symbol ANN using Analysis ID
233-
api_response = api_instance.find_similar_functions_batch(analysis_id, ann_function)
234-
print("The response of AnalysesCoreApi->find_similar_functions_batch:\n")
235-
pprint(api_response)
236-
except Exception as e:
237-
print("Exception when calling AnalysesCoreApi->find_similar_functions_batch: %s\n" % e)
238-
```
239-
240-
241-
242-
### Parameters
243-
244-
245-
Name | Type | Description | Notes
246-
------------- | ------------- | ------------- | -------------
247-
**analysis_id** | **int**| |
248-
**ann_function** | [**ANNFunction**](ANNFunction.md)| |
249-
250-
### Return type
251-
252-
[**BaseResponseNearestNeighborAnalysis**](BaseResponseNearestNeighborAnalysis.md)
253-
254-
### Authorization
255-
256-
[APIKey](../README.md#APIKey)
257-
258-
### HTTP request headers
259-
260-
- **Content-Type**: application/json
261-
- **Accept**: application/json
262-
263-
### HTTP response details
264-
265-
| Status code | Description | Response headers |
266-
|-------------|-------------|------------------|
267-
**200** | Successful Response | - |
268-
**422** | Invalid request parameters | - |
269-
270-
[[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)
271-
272188
# **get_analysis_basic_info**
273189
> BaseResponseBasic get_analysis_basic_info(analysis_id)
274190

docs/BaseResponseBoxPlotConfidence.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

docs/BaseResponseListFunctionBoxPlotConfidence.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)