Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .sdk-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.11.0
v2.11.7
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ Class | Method | HTTP request | Description
*CollectionsApi* | [**update_collection**](docs/CollectionsApi.md#update_collection) | **PATCH** /v2/collections/{collection_id} | Updates a collection
*CollectionsApi* | [**update_collection_binaries**](docs/CollectionsApi.md#update_collection_binaries) | **PATCH** /v2/collections/{collection_id}/binaries | Updates a collection binaries
*CollectionsApi* | [**update_collection_tags**](docs/CollectionsApi.md#update_collection_tags) | **PATCH** /v2/collections/{collection_id}/tags | Updates a collection tags
*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
*ExternalSourcesApi* | [**create_external_task_mb**](docs/ExternalSourcesApi.md#create_external_task_mb) | **POST** /v2/analysis/{analysis_id}/external/mb | Pulls data from VirusTotal
*ExternalSourcesApi* | [**create_external_task_vt**](docs/ExternalSourcesApi.md#create_external_task_vt) | **POST** /v2/analysis/{analysis_id}/external/vt | Pulls data from VirusTotal
*ExternalSourcesApi* | [**get_mb_data**](docs/ExternalSourcesApi.md#get_mb_data) | **GET** /v2/analysis/{analysis_id}/external/mb | Get MalwareBazaar data
Expand Down Expand Up @@ -232,6 +233,7 @@ Class | Method | HTTP request | Description
- [BaseResponseListDieMatch](docs/BaseResponseListDieMatch.md)
- [BaseResponseListFunctionNameHistory](docs/BaseResponseListFunctionNameHistory.md)
- [BaseResponseListSBOM](docs/BaseResponseListSBOM.md)
- [BaseResponseListTagOriginBoxPlotConfidence](docs/BaseResponseListTagOriginBoxPlotConfidence.md)
- [BaseResponseListUserActivityResponse](docs/BaseResponseListUserActivityResponse.md)
- [BaseResponseLoginResponse](docs/BaseResponseLoginResponse.md)
- [BaseResponseLogs](docs/BaseResponseLogs.md)
Expand Down Expand Up @@ -264,6 +266,7 @@ Class | Method | HTTP request | Description
- [BinaryTaskStatus](docs/BinaryTaskStatus.md)
- [Block](docs/Block.md)
- [BlockCommentsGenerationForFunctionResponse](docs/BlockCommentsGenerationForFunctionResponse.md)
- [BoxPlotConfidence](docs/BoxPlotConfidence.md)
- [CalleeFunctionInfo](docs/CalleeFunctionInfo.md)
- [CalleesCallerFunctionsResponse](docs/CalleesCallerFunctionsResponse.md)
- [CallerFunctionInfo](docs/CallerFunctionInfo.md)
Expand Down Expand Up @@ -379,6 +382,7 @@ Class | Method | HTTP request | Description
- [NetworkOverviewMetadata](docs/NetworkOverviewMetadata.md)
- [NetworkOverviewResponse](docs/NetworkOverviewResponse.md)
- [Order](docs/Order.md)
- [Origin](docs/Origin.md)
- [PDBDebugModel](docs/PDBDebugModel.md)
- [PEModel](docs/PEModel.md)
- [PaginationModel](docs/PaginationModel.md)
Expand Down Expand Up @@ -422,9 +426,12 @@ Class | Method | HTTP request | Description
- [TTPSElement](docs/TTPSElement.md)
- [TTPSOccurance](docs/TTPSOccurance.md)
- [Tag](docs/Tag.md)
- [TagConfidenceBody](docs/TagConfidenceBody.md)
- [TagOriginBoxPlotConfidence](docs/TagOriginBoxPlotConfidence.md)
- [TagResponse](docs/TagResponse.md)
- [TagSearchResponse](docs/TagSearchResponse.md)
- [TagSearchResult](docs/TagSearchResult.md)
- [Tags](docs/Tags.md)
- [TaskResponse](docs/TaskResponse.md)
- [TaskStatus](docs/TaskStatus.md)
- [TimestampModel](docs/TimestampModel.md)
Expand Down
33 changes: 33 additions & 0 deletions docs/BaseResponseListTagOriginBoxPlotConfidence.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# BaseResponseListTagOriginBoxPlotConfidence


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**status** | **bool** | Response status on whether the request succeeded | [optional] [default to True]
**data** | [**List[TagOriginBoxPlotConfidence]**](TagOriginBoxPlotConfidence.md) | | [optional]
**message** | **str** | | [optional]
**errors** | [**List[ErrorModel]**](ErrorModel.md) | | [optional]
**meta** | [**MetaModel**](MetaModel.md) | Metadata | [optional]

## Example

```python
from revengai.models.base_response_list_tag_origin_box_plot_confidence import BaseResponseListTagOriginBoxPlotConfidence

# TODO update the JSON string below
json = "{}"
# create an instance of BaseResponseListTagOriginBoxPlotConfidence from a JSON string
base_response_list_tag_origin_box_plot_confidence_instance = BaseResponseListTagOriginBoxPlotConfidence.from_json(json)
# print the JSON string representation of the object
print(BaseResponseListTagOriginBoxPlotConfidence.to_json())

# convert the object into a dict
base_response_list_tag_origin_box_plot_confidence_dict = base_response_list_tag_origin_box_plot_confidence_instance.to_dict()
# create an instance of BaseResponseListTagOriginBoxPlotConfidence from a dict
base_response_list_tag_origin_box_plot_confidence_from_dict = BaseResponseListTagOriginBoxPlotConfidence.from_dict(base_response_list_tag_origin_box_plot_confidence_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


36 changes: 36 additions & 0 deletions docs/BoxPlotConfidence.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# BoxPlotConfidence

Format for confidence - returned in the box plot format

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**min** | **float** | |
**max** | **float** | |
**average** | **float** | |
**upper_quartile** | **float** | |
**lower_quartile** | **float** | |
**positive_count** | **int** | |
**negative_count** | **int** | |

## Example

```python
from revengai.models.box_plot_confidence import BoxPlotConfidence

# TODO update the JSON string below
json = "{}"
# create an instance of BoxPlotConfidence from a JSON string
box_plot_confidence_instance = BoxPlotConfidence.from_json(json)
# print the JSON string representation of the object
print(BoxPlotConfidence.to_json())

# convert the object into a dict
box_plot_confidence_dict = box_plot_confidence_instance.to_dict()
# create an instance of BoxPlotConfidence from a dict
box_plot_confidence_from_dict = BoxPlotConfidence.from_dict(box_plot_confidence_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


92 changes: 92 additions & 0 deletions docs/ConfidenceApi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# revengai.ConfidenceApi

All URIs are relative to *https://api.reveng.ai*

Method | HTTP request | Description
------------- | ------------- | -------------
[**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


# **get_analysis_tag_score**
> BaseResponseListTagOriginBoxPlotConfidence get_analysis_tag_score(analysis_id, tag_confidence_body)

Calculate Tag Confidence Score for an Analysis

Accepts a analysis ID and a list of tags, returns the confidence score for each tag in the list

### Example

* Api Key Authentication (APIKey):

```python
import revengai
from revengai.models.base_response_list_tag_origin_box_plot_confidence import BaseResponseListTagOriginBoxPlotConfidence
from revengai.models.tag_confidence_body import TagConfidenceBody
from revengai.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://api.reveng.ai
# See configuration.py for a list of all supported configuration parameters.
configuration = revengai.Configuration(
host = "https://api.reveng.ai"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: APIKey
configuration.api_key['APIKey'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['APIKey'] = 'Bearer'

# Enter a context with an instance of the API client
with revengai.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = revengai.ConfidenceApi(api_client)
analysis_id = 56 # int | The analysis to calculate the tag scores for
tag_confidence_body = revengai.TagConfidenceBody() # TagConfidenceBody |

try:
# Calculate Tag Confidence Score for an Analysis
api_response = api_instance.get_analysis_tag_score(analysis_id, tag_confidence_body)
print("The response of ConfidenceApi->get_analysis_tag_score:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ConfidenceApi->get_analysis_tag_score: %s\n" % e)
```



### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**analysis_id** | **int**| The analysis to calculate the tag scores for |
**tag_confidence_body** | [**TagConfidenceBody**](TagConfidenceBody.md)| |

### Return type

[**BaseResponseListTagOriginBoxPlotConfidence**](BaseResponseListTagOriginBoxPlotConfidence.md)

### Authorization

[APIKey](../README.md#APIKey)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** | Successful Response | - |
**422** | Invalid request parameters | - |

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

24 changes: 24 additions & 0 deletions docs/Origin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Origin


## Enum

* `REV_ENG_MINUS_MALWARE` (value: `'RevEng-Malware'`)

* `REV_ENG_MINUS_LIBRARY` (value: `'RevEng-Library'`)

* `REV_ENG_MINUS_BENIGN` (value: `'RevEng-Benign'`)

* `REVENG` (value: `'RevEng'`)

* `REV_ENG_MINUS_HEURISTIC` (value: `'RevEng-Heuristic'`)

* `REV_ENG_MINUS_UNKNOWN` (value: `'RevEng-Unknown'`)

* `VIRUSTOTAL` (value: `'VirusTotal'`)

* `MALWAREBAZAAR` (value: `'MalwareBazaar'`)

[[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 changes: 29 additions & 0 deletions docs/TagConfidenceBody.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# TagConfidenceBody


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**tags** | [**List[Tags]**](Tags.md) | |

## Example

```python
from revengai.models.tag_confidence_body import TagConfidenceBody

# TODO update the JSON string below
json = "{}"
# create an instance of TagConfidenceBody from a JSON string
tag_confidence_body_instance = TagConfidenceBody.from_json(json)
# print the JSON string representation of the object
print(TagConfidenceBody.to_json())

# convert the object into a dict
tag_confidence_body_dict = tag_confidence_body_instance.to_dict()
# create an instance of TagConfidenceBody from a dict
tag_confidence_body_from_dict = TagConfidenceBody.from_dict(tag_confidence_body_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


30 changes: 30 additions & 0 deletions docs/TagOriginBoxPlotConfidence.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# TagOriginBoxPlotConfidence


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**tag** | [**Tags**](Tags.md) | |
**box_plot** | [**BoxPlotConfidence**](BoxPlotConfidence.md) | |

## Example

```python
from revengai.models.tag_origin_box_plot_confidence import TagOriginBoxPlotConfidence

# TODO update the JSON string below
json = "{}"
# create an instance of TagOriginBoxPlotConfidence from a JSON string
tag_origin_box_plot_confidence_instance = TagOriginBoxPlotConfidence.from_json(json)
# print the JSON string representation of the object
print(TagOriginBoxPlotConfidence.to_json())

# convert the object into a dict
tag_origin_box_plot_confidence_dict = tag_origin_box_plot_confidence_instance.to_dict()
# create an instance of TagOriginBoxPlotConfidence from a dict
tag_origin_box_plot_confidence_from_dict = TagOriginBoxPlotConfidence.from_dict(tag_origin_box_plot_confidence_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


30 changes: 30 additions & 0 deletions docs/Tags.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Tags


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**tag** | **str** | The tag name |
**origin** | [**Origin**](Origin.md) | The origin of the tag |

## Example

```python
from revengai.models.tags import Tags

# TODO update the JSON string below
json = "{}"
# create an instance of Tags from a JSON string
tags_instance = Tags.from_json(json)
# print the JSON string representation of the object
print(Tags.to_json())

# convert the object into a dict
tags_dict = tags_instance.to_dict()
# create an instance of Tags from a dict
tags_from_dict = Tags.from_dict(tags_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


Loading