Skip to content

Commit 77cdc12

Browse files
authored
Merge pull request #28 from RevEngAI/sdk-update-v2.11.7
🤖 Update SDK to version v2.11.7
2 parents 95fcf70 + b5cdd03 commit 77cdc12

35 files changed

Lines changed: 2818 additions & 27 deletions

.sdk-version

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

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Add this dependency to your project's POM:
1616
<dependency>
1717
<groupId>ai.reveng</groupId>
1818
<artifactId>sdk</artifactId>
19-
<version>2.11.1</version>
19+
<version>2.11.7</version>
2020
<scope>compile</scope>
2121
</dependency>
2222
```
@@ -31,7 +31,7 @@ repositories {
3131
}
3232
3333
dependencies {
34-
implementation "ai.reveng:sdk:2.11.1"
34+
implementation "ai.reveng:sdk:2.11.7"
3535
}
3636
```
3737

@@ -129,6 +129,7 @@ Class | Method | HTTP request | Description
129129
*CollectionsApi* | [**updateCollection**](docs/CollectionsApi.md#updateCollection) | **PATCH** /v2/collections/{collection_id} | Updates a collection
130130
*CollectionsApi* | [**updateCollectionBinaries**](docs/CollectionsApi.md#updateCollectionBinaries) | **PATCH** /v2/collections/{collection_id}/binaries | Updates a collection binaries
131131
*CollectionsApi* | [**updateCollectionTags**](docs/CollectionsApi.md#updateCollectionTags) | **PATCH** /v2/collections/{collection_id}/tags | Updates a collection tags
132+
*ConfidenceApi* | [**getAnalysisTagScore**](docs/ConfidenceApi.md#getAnalysisTagScore) | **POST** /v2/confidence/analysis/{analysis_id}/tag_score | Calculate Tag Confidence Score for an Analysis
132133
*ExternalSourcesApi* | [**createExternalTaskMb**](docs/ExternalSourcesApi.md#createExternalTaskMb) | **POST** /v2/analysis/{analysis_id}/external/mb | Pulls data from VirusTotal
133134
*ExternalSourcesApi* | [**createExternalTaskVt**](docs/ExternalSourcesApi.md#createExternalTaskVt) | **POST** /v2/analysis/{analysis_id}/external/vt | Pulls data from VirusTotal
134135
*ExternalSourcesApi* | [**getMbData**](docs/ExternalSourcesApi.md#getMbData) | **GET** /v2/analysis/{analysis_id}/external/mb | Get MalwareBazaar data
@@ -267,6 +268,7 @@ Class | Method | HTTP request | Description
267268
- [BaseResponseListDieMatch](docs/BaseResponseListDieMatch.md)
268269
- [BaseResponseListFunctionNameHistory](docs/BaseResponseListFunctionNameHistory.md)
269270
- [BaseResponseListSBOM](docs/BaseResponseListSBOM.md)
271+
- [BaseResponseListTagOriginBoxPlotConfidence](docs/BaseResponseListTagOriginBoxPlotConfidence.md)
270272
- [BaseResponseListUserActivityResponse](docs/BaseResponseListUserActivityResponse.md)
271273
- [BaseResponseLoginResponse](docs/BaseResponseLoginResponse.md)
272274
- [BaseResponseLogs](docs/BaseResponseLogs.md)
@@ -299,6 +301,7 @@ Class | Method | HTTP request | Description
299301
- [BinaryTaskStatus](docs/BinaryTaskStatus.md)
300302
- [Block](docs/Block.md)
301303
- [BlockCommentsGenerationForFunctionResponse](docs/BlockCommentsGenerationForFunctionResponse.md)
304+
- [BoxPlotConfidence](docs/BoxPlotConfidence.md)
302305
- [CalleeFunctionInfo](docs/CalleeFunctionInfo.md)
303306
- [CalleesCallerFunctionsResponse](docs/CalleesCallerFunctionsResponse.md)
304307
- [CallerFunctionInfo](docs/CallerFunctionInfo.md)
@@ -414,6 +417,7 @@ Class | Method | HTTP request | Description
414417
- [NetworkOverviewMetadata](docs/NetworkOverviewMetadata.md)
415418
- [NetworkOverviewResponse](docs/NetworkOverviewResponse.md)
416419
- [Order](docs/Order.md)
420+
- [Origin](docs/Origin.md)
417421
- [PDBDebugModel](docs/PDBDebugModel.md)
418422
- [PEModel](docs/PEModel.md)
419423
- [PaginationModel](docs/PaginationModel.md)
@@ -457,9 +461,12 @@ Class | Method | HTTP request | Description
457461
- [TTPSElement](docs/TTPSElement.md)
458462
- [TTPSOccurance](docs/TTPSOccurance.md)
459463
- [Tag](docs/Tag.md)
464+
- [TagConfidenceBody](docs/TagConfidenceBody.md)
465+
- [TagOriginBoxPlotConfidence](docs/TagOriginBoxPlotConfidence.md)
460466
- [TagResponse](docs/TagResponse.md)
461467
- [TagSearchResponse](docs/TagSearchResponse.md)
462468
- [TagSearchResult](docs/TagSearchResult.md)
469+
- [Tags](docs/Tags.md)
463470
- [TaskResponse](docs/TaskResponse.md)
464471
- [TaskStatus](docs/TaskStatus.md)
465472
- [TimestampModel](docs/TimestampModel.md)

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ apply plugin: 'java'
1919
apply plugin: 'com.diffplug.spotless'
2020

2121
group = 'ai.reveng'
22-
version = '2.11.1'
22+
version = '2.11.7'
2323

2424

2525

@@ -171,7 +171,7 @@ mavenPublishing {
171171
publishToMavenCentral(true)
172172
signAllPublications()
173173

174-
coordinates("ai.reveng", "sdk", "2.11.1")
174+
coordinates("ai.reveng", "sdk", "2.11.7")
175175

176176
pom {
177177
name = "sdk"

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "ai.reveng",
44
name := "sdk",
5-
version := "2.11.1",
5+
version := "2.11.7",
66
scalaVersion := "2.11.12",
77
scalacOptions ++= Seq("-feature"),
88
compile / javacOptions ++= Seq("-Xlint:deprecation"),
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
3+
# BaseResponseListTagOriginBoxPlotConfidence
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**status** | **Boolean** | Response status on whether the request succeeded | [optional] |
11+
|**data** | [**List&lt;TagOriginBoxPlotConfidence&gt;**](TagOriginBoxPlotConfidence.md) | | [optional] |
12+
|**message** | **String** | | [optional] |
13+
|**errors** | [**List&lt;ErrorModel&gt;**](ErrorModel.md) | | [optional] |
14+
|**meta** | [**MetaModel**](MetaModel.md) | Metadata | [optional] |
15+
16+
17+

docs/BoxPlotConfidence.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
3+
# BoxPlotConfidence
4+
5+
Format for confidence - returned in the box plot format
6+
7+
## Properties
8+
9+
| Name | Type | Description | Notes |
10+
|------------ | ------------- | ------------- | -------------|
11+
|**min** | **BigDecimal** | | |
12+
|**max** | **BigDecimal** | | |
13+
|**average** | **BigDecimal** | | |
14+
|**upperQuartile** | **BigDecimal** | | |
15+
|**lowerQuartile** | **BigDecimal** | | |
16+
|**positiveCount** | **Integer** | | |
17+
|**negativeCount** | **Integer** | | |
18+
19+
20+

docs/ConfidenceApi.md

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# ConfidenceApi
2+
3+
All URIs are relative to *https://api.reveng.ai*
4+
5+
| Method | HTTP request | Description |
6+
|------------- | ------------- | -------------|
7+
| [**getAnalysisTagScore**](ConfidenceApi.md#getAnalysisTagScore) | **POST** /v2/confidence/analysis/{analysis_id}/tag_score | Calculate Tag Confidence Score for an Analysis |
8+
9+
10+
<a id="getAnalysisTagScore"></a>
11+
# **getAnalysisTagScore**
12+
> BaseResponseListTagOriginBoxPlotConfidence getAnalysisTagScore(analysisId, tagConfidenceBody)
13+
14+
Calculate Tag Confidence Score for an Analysis
15+
16+
Accepts a analysis ID and a list of tags, returns the confidence score for each tag in the list
17+
18+
### Example
19+
```java
20+
// Import classes:
21+
import ai.reveng.invoker.ApiClient;
22+
import ai.reveng.invoker.ApiException;
23+
import ai.reveng.invoker.Configuration;
24+
import ai.reveng.invoker.auth.*;
25+
import ai.reveng.invoker.models.*;
26+
import ai.reveng.api.ConfidenceApi;
27+
28+
public class Example {
29+
public static void main(String[] args) {
30+
ApiClient defaultClient = Configuration.getDefaultApiClient();
31+
defaultClient.setBasePath("https://api.reveng.ai");
32+
33+
// Configure API key authorization: APIKey
34+
ApiKeyAuth APIKey = (ApiKeyAuth) defaultClient.getAuthentication("APIKey");
35+
APIKey.setApiKey("YOUR API KEY");
36+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
37+
//APIKey.setApiKeyPrefix("Token");
38+
39+
ConfidenceApi apiInstance = new ConfidenceApi(defaultClient);
40+
Integer analysisId = 56; // Integer | The analysis to calculate the tag scores for
41+
TagConfidenceBody tagConfidenceBody = new TagConfidenceBody(); // TagConfidenceBody |
42+
try {
43+
BaseResponseListTagOriginBoxPlotConfidence result = apiInstance.getAnalysisTagScore(analysisId, tagConfidenceBody);
44+
System.out.println(result);
45+
} catch (ApiException e) {
46+
System.err.println("Exception when calling ConfidenceApi#getAnalysisTagScore");
47+
System.err.println("Status code: " + e.getCode());
48+
System.err.println("Reason: " + e.getResponseBody());
49+
System.err.println("Response headers: " + e.getResponseHeaders());
50+
e.printStackTrace();
51+
}
52+
}
53+
}
54+
```
55+
56+
### Parameters
57+
58+
| Name | Type | Description | Notes |
59+
|------------- | ------------- | ------------- | -------------|
60+
| **analysisId** | **Integer**| The analysis to calculate the tag scores for | |
61+
| **tagConfidenceBody** | [**TagConfidenceBody**](TagConfidenceBody.md)| | |
62+
63+
### Return type
64+
65+
[**BaseResponseListTagOriginBoxPlotConfidence**](BaseResponseListTagOriginBoxPlotConfidence.md)
66+
67+
### Authorization
68+
69+
[APIKey](../README.md#APIKey)
70+
71+
### HTTP request headers
72+
73+
- **Content-Type**: application/json
74+
- **Accept**: application/json
75+
76+
### HTTP response details
77+
| Status code | Description | Response headers |
78+
|-------------|-------------|------------------|
79+
| **200** | Successful Response | - |
80+
| **422** | Invalid request parameters | - |
81+

docs/FunctionDataTypesParams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
10-
|**functionIds** | **List&lt;Integer&gt;** | The function ID&#39;s to generate/get data types for | |
10+
|**functionIds** | **List&lt;Long&gt;** | The function ID&#39;s to generate/get data types for | |
1111

1212

1313

docs/FunctionMatchingFilters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
|------------ | ------------- | ------------- | -------------|
1010
|**binaryIds** | **List&lt;Integer&gt;** | ID&#39;s of binaries to limit the search to, if empty, search all scoped binaries | [optional] |
1111
|**collectionIds** | **List&lt;Integer&gt;** | ID&#39;s of collections to limit the search to, if empty, search all scoped collections | [optional] |
12-
|**functionIds** | **List&lt;Integer&gt;** | ID&#39;s of functions to limit the search to, if empty, search all scoped functions | [optional] |
12+
|**functionIds** | **List&lt;Long&gt;** | ID&#39;s of functions to limit the search to, if empty, search all scoped functions | [optional] |
1313
|**debugTypes** | [**List&lt;DebugTypesEnum&gt;**](#List&lt;DebugTypesEnum&gt;) | Limit the search to specific debug types, if empty, search all scoped debug &amp; non-debug functions | [optional] |
1414

1515

docs/FunctionMatchingRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
1010
|**modelId** | **Integer** | ID of the model used for function matching, used to determine the embedding model | |
11-
|**functionIds** | **List&lt;Integer&gt;** | ID&#39;s of functions to find matches for, must be at least one function ID | |
11+
|**functionIds** | **List&lt;Long&gt;** | ID&#39;s of functions to find matches for, must be at least one function ID | |
1212
|**minSimilarity** | **BigDecimal** | Minimum similarity expected for a match as a percentage, default is 90 | [optional] |
1313
|**filters** | [**FunctionMatchingFilters**](FunctionMatchingFilters.md) | | [optional] |
1414
|**resultsPerFunction** | **Integer** | Maximum number of matches to return per function, default is 1, max is 50 | [optional] |

0 commit comments

Comments
 (0)