Skip to content

Commit 2584696

Browse files
authored
Merge pull request #34 from RevEngAI/sdk-update-v2.11.7
🤖 Update SDK to version v2.11.7
2 parents 085fea2 + 1cdb0bf commit 2584696

28 files changed

Lines changed: 1576 additions & 5 deletions

.sdk-version

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

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ Class | Method | HTTP request | Description
9494
*CollectionsApi* | [**update_collection**](docs/CollectionsApi.md#update_collection) | **PATCH** /v2/collections/{collection_id} | Updates a collection
9595
*CollectionsApi* | [**update_collection_binaries**](docs/CollectionsApi.md#update_collection_binaries) | **PATCH** /v2/collections/{collection_id}/binaries | Updates a collection binaries
9696
*CollectionsApi* | [**update_collection_tags**](docs/CollectionsApi.md#update_collection_tags) | **PATCH** /v2/collections/{collection_id}/tags | Updates a collection tags
97+
*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
9798
*ExternalSourcesApi* | [**create_external_task_mb**](docs/ExternalSourcesApi.md#create_external_task_mb) | **POST** /v2/analysis/{analysis_id}/external/mb | Pulls data from VirusTotal
9899
*ExternalSourcesApi* | [**create_external_task_vt**](docs/ExternalSourcesApi.md#create_external_task_vt) | **POST** /v2/analysis/{analysis_id}/external/vt | Pulls data from VirusTotal
99100
*ExternalSourcesApi* | [**get_mb_data**](docs/ExternalSourcesApi.md#get_mb_data) | **GET** /v2/analysis/{analysis_id}/external/mb | Get MalwareBazaar data
@@ -232,6 +233,7 @@ Class | Method | HTTP request | Description
232233
- [BaseResponseListDieMatch](docs/BaseResponseListDieMatch.md)
233234
- [BaseResponseListFunctionNameHistory](docs/BaseResponseListFunctionNameHistory.md)
234235
- [BaseResponseListSBOM](docs/BaseResponseListSBOM.md)
236+
- [BaseResponseListTagOriginBoxPlotConfidence](docs/BaseResponseListTagOriginBoxPlotConfidence.md)
235237
- [BaseResponseListUserActivityResponse](docs/BaseResponseListUserActivityResponse.md)
236238
- [BaseResponseLoginResponse](docs/BaseResponseLoginResponse.md)
237239
- [BaseResponseLogs](docs/BaseResponseLogs.md)
@@ -264,6 +266,7 @@ Class | Method | HTTP request | Description
264266
- [BinaryTaskStatus](docs/BinaryTaskStatus.md)
265267
- [Block](docs/Block.md)
266268
- [BlockCommentsGenerationForFunctionResponse](docs/BlockCommentsGenerationForFunctionResponse.md)
269+
- [BoxPlotConfidence](docs/BoxPlotConfidence.md)
267270
- [CalleeFunctionInfo](docs/CalleeFunctionInfo.md)
268271
- [CalleesCallerFunctionsResponse](docs/CalleesCallerFunctionsResponse.md)
269272
- [CallerFunctionInfo](docs/CallerFunctionInfo.md)
@@ -379,6 +382,7 @@ Class | Method | HTTP request | Description
379382
- [NetworkOverviewMetadata](docs/NetworkOverviewMetadata.md)
380383
- [NetworkOverviewResponse](docs/NetworkOverviewResponse.md)
381384
- [Order](docs/Order.md)
385+
- [Origin](docs/Origin.md)
382386
- [PDBDebugModel](docs/PDBDebugModel.md)
383387
- [PEModel](docs/PEModel.md)
384388
- [PaginationModel](docs/PaginationModel.md)
@@ -422,9 +426,12 @@ Class | Method | HTTP request | Description
422426
- [TTPSElement](docs/TTPSElement.md)
423427
- [TTPSOccurance](docs/TTPSOccurance.md)
424428
- [Tag](docs/Tag.md)
429+
- [TagConfidenceBody](docs/TagConfidenceBody.md)
430+
- [TagOriginBoxPlotConfidence](docs/TagOriginBoxPlotConfidence.md)
425431
- [TagResponse](docs/TagResponse.md)
426432
- [TagSearchResponse](docs/TagSearchResponse.md)
427433
- [TagSearchResult](docs/TagSearchResult.md)
434+
- [Tags](docs/Tags.md)
428435
- [TaskResponse](docs/TaskResponse.md)
429436
- [TaskStatus](docs/TaskStatus.md)
430437
- [TimestampModel](docs/TimestampModel.md)
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# BaseResponseListTagOriginBoxPlotConfidence
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** | [**List[TagOriginBoxPlotConfidence]**](TagOriginBoxPlotConfidence.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_list_tag_origin_box_plot_confidence import BaseResponseListTagOriginBoxPlotConfidence
18+
19+
# TODO update the JSON string below
20+
json = "{}"
21+
# create an instance of BaseResponseListTagOriginBoxPlotConfidence from a JSON string
22+
base_response_list_tag_origin_box_plot_confidence_instance = BaseResponseListTagOriginBoxPlotConfidence.from_json(json)
23+
# print the JSON string representation of the object
24+
print(BaseResponseListTagOriginBoxPlotConfidence.to_json())
25+
26+
# convert the object into a dict
27+
base_response_list_tag_origin_box_plot_confidence_dict = base_response_list_tag_origin_box_plot_confidence_instance.to_dict()
28+
# create an instance of BaseResponseListTagOriginBoxPlotConfidence from a dict
29+
base_response_list_tag_origin_box_plot_confidence_from_dict = BaseResponseListTagOriginBoxPlotConfidence.from_dict(base_response_list_tag_origin_box_plot_confidence_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+

docs/BoxPlotConfidence.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# BoxPlotConfidence
2+
3+
Format for confidence - returned in the box plot format
4+
5+
## Properties
6+
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
9+
**min** | **float** | |
10+
**max** | **float** | |
11+
**average** | **float** | |
12+
**upper_quartile** | **float** | |
13+
**lower_quartile** | **float** | |
14+
**positive_count** | **int** | |
15+
**negative_count** | **int** | |
16+
17+
## Example
18+
19+
```python
20+
from revengai.models.box_plot_confidence import BoxPlotConfidence
21+
22+
# TODO update the JSON string below
23+
json = "{}"
24+
# create an instance of BoxPlotConfidence from a JSON string
25+
box_plot_confidence_instance = BoxPlotConfidence.from_json(json)
26+
# print the JSON string representation of the object
27+
print(BoxPlotConfidence.to_json())
28+
29+
# convert the object into a dict
30+
box_plot_confidence_dict = box_plot_confidence_instance.to_dict()
31+
# create an instance of BoxPlotConfidence from a dict
32+
box_plot_confidence_from_dict = BoxPlotConfidence.from_dict(box_plot_confidence_dict)
33+
```
34+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
35+
36+

docs/ConfidenceApi.md

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# revengai.ConfidenceApi
2+
3+
All URIs are relative to *https://api.reveng.ai*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**get_analysis_tag_score**](ConfidenceApi.md#get_analysis_tag_score) | **POST** /v2/confidence/analysis/{analysis_id}/tag_score | Calculate Tag Confidence Score for an Analysis
8+
9+
10+
# **get_analysis_tag_score**
11+
> BaseResponseListTagOriginBoxPlotConfidence get_analysis_tag_score(analysis_id, tag_confidence_body)
12+
13+
Calculate Tag Confidence Score for an Analysis
14+
15+
Accepts a analysis ID and a list of tags, returns the confidence score for each tag in the list
16+
17+
### Example
18+
19+
* Api Key Authentication (APIKey):
20+
21+
```python
22+
import revengai
23+
from revengai.models.base_response_list_tag_origin_box_plot_confidence import BaseResponseListTagOriginBoxPlotConfidence
24+
from revengai.models.tag_confidence_body import TagConfidenceBody
25+
from revengai.rest import ApiException
26+
from pprint import pprint
27+
28+
# Defining the host is optional and defaults to https://api.reveng.ai
29+
# See configuration.py for a list of all supported configuration parameters.
30+
configuration = revengai.Configuration(
31+
host = "https://api.reveng.ai"
32+
)
33+
34+
# The client must configure the authentication and authorization parameters
35+
# in accordance with the API server security policy.
36+
# Examples for each auth method are provided below, use the example that
37+
# satisfies your auth use case.
38+
39+
# Configure API key authorization: APIKey
40+
configuration.api_key['APIKey'] = os.environ["API_KEY"]
41+
42+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
43+
# configuration.api_key_prefix['APIKey'] = 'Bearer'
44+
45+
# Enter a context with an instance of the API client
46+
with revengai.ApiClient(configuration) as api_client:
47+
# Create an instance of the API class
48+
api_instance = revengai.ConfidenceApi(api_client)
49+
analysis_id = 56 # int | The analysis to calculate the tag scores for
50+
tag_confidence_body = revengai.TagConfidenceBody() # TagConfidenceBody |
51+
52+
try:
53+
# Calculate Tag Confidence Score for an Analysis
54+
api_response = api_instance.get_analysis_tag_score(analysis_id, tag_confidence_body)
55+
print("The response of ConfidenceApi->get_analysis_tag_score:\n")
56+
pprint(api_response)
57+
except Exception as e:
58+
print("Exception when calling ConfidenceApi->get_analysis_tag_score: %s\n" % e)
59+
```
60+
61+
62+
63+
### Parameters
64+
65+
66+
Name | Type | Description | Notes
67+
------------- | ------------- | ------------- | -------------
68+
**analysis_id** | **int**| The analysis to calculate the tag scores for |
69+
**tag_confidence_body** | [**TagConfidenceBody**](TagConfidenceBody.md)| |
70+
71+
### Return type
72+
73+
[**BaseResponseListTagOriginBoxPlotConfidence**](BaseResponseListTagOriginBoxPlotConfidence.md)
74+
75+
### Authorization
76+
77+
[APIKey](../README.md#APIKey)
78+
79+
### HTTP request headers
80+
81+
- **Content-Type**: application/json
82+
- **Accept**: application/json
83+
84+
### HTTP response details
85+
86+
| Status code | Description | Response headers |
87+
|-------------|-------------|------------------|
88+
**200** | Successful Response | - |
89+
**422** | Invalid request parameters | - |
90+
91+
[[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)
92+

docs/Origin.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Origin
2+
3+
4+
## Enum
5+
6+
* `REV_ENG_MINUS_MALWARE` (value: `'RevEng-Malware'`)
7+
8+
* `REV_ENG_MINUS_LIBRARY` (value: `'RevEng-Library'`)
9+
10+
* `REV_ENG_MINUS_BENIGN` (value: `'RevEng-Benign'`)
11+
12+
* `REVENG` (value: `'RevEng'`)
13+
14+
* `REV_ENG_MINUS_HEURISTIC` (value: `'RevEng-Heuristic'`)
15+
16+
* `REV_ENG_MINUS_UNKNOWN` (value: `'RevEng-Unknown'`)
17+
18+
* `VIRUSTOTAL` (value: `'VirusTotal'`)
19+
20+
* `MALWAREBAZAAR` (value: `'MalwareBazaar'`)
21+
22+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
23+
24+

docs/TagConfidenceBody.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# TagConfidenceBody
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**tags** | [**List[Tags]**](Tags.md) | |
9+
10+
## Example
11+
12+
```python
13+
from revengai.models.tag_confidence_body import TagConfidenceBody
14+
15+
# TODO update the JSON string below
16+
json = "{}"
17+
# create an instance of TagConfidenceBody from a JSON string
18+
tag_confidence_body_instance = TagConfidenceBody.from_json(json)
19+
# print the JSON string representation of the object
20+
print(TagConfidenceBody.to_json())
21+
22+
# convert the object into a dict
23+
tag_confidence_body_dict = tag_confidence_body_instance.to_dict()
24+
# create an instance of TagConfidenceBody from a dict
25+
tag_confidence_body_from_dict = TagConfidenceBody.from_dict(tag_confidence_body_dict)
26+
```
27+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
28+
29+

docs/TagOriginBoxPlotConfidence.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# TagOriginBoxPlotConfidence
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**tag** | [**Tags**](Tags.md) | |
9+
**box_plot** | [**BoxPlotConfidence**](BoxPlotConfidence.md) | |
10+
11+
## Example
12+
13+
```python
14+
from revengai.models.tag_origin_box_plot_confidence import TagOriginBoxPlotConfidence
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of TagOriginBoxPlotConfidence from a JSON string
19+
tag_origin_box_plot_confidence_instance = TagOriginBoxPlotConfidence.from_json(json)
20+
# print the JSON string representation of the object
21+
print(TagOriginBoxPlotConfidence.to_json())
22+
23+
# convert the object into a dict
24+
tag_origin_box_plot_confidence_dict = tag_origin_box_plot_confidence_instance.to_dict()
25+
# create an instance of TagOriginBoxPlotConfidence from a dict
26+
tag_origin_box_plot_confidence_from_dict = TagOriginBoxPlotConfidence.from_dict(tag_origin_box_plot_confidence_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+

docs/Tags.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Tags
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**tag** | **str** | The tag name |
9+
**origin** | [**Origin**](Origin.md) | The origin of the tag |
10+
11+
## Example
12+
13+
```python
14+
from revengai.models.tags import Tags
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of Tags from a JSON string
19+
tags_instance = Tags.from_json(json)
20+
# print the JSON string representation of the object
21+
print(Tags.to_json())
22+
23+
# convert the object into a dict
24+
tags_dict = tags_instance.to_dict()
25+
# create an instance of Tags from a dict
26+
tags_from_dict = Tags.from_dict(tags_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+

0 commit comments

Comments
 (0)