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 @@
v3.131.0
v3.131.1
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>ai.reveng</groupId>
<artifactId>sdk</artifactId>
<version>3.131.0</version>
<version>3.131.1</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -31,7 +31,7 @@ repositories {
}

dependencies {
implementation "ai.reveng:sdk:3.131.0"
implementation "ai.reveng:sdk:3.131.1"
}
```

Expand Down Expand Up @@ -125,9 +125,7 @@ Class | Method | HTTP request | Description
*AnalysesResultsMetadataApi* | [**getAnalysisFunctionsPaginated**](docs/AnalysesResultsMetadataApi.md#getAnalysisFunctionsPaginated) | **GET** /v2/analyses/{analysis_id}/functions | Get functions from analysis
*AnalysesResultsMetadataApi* | [**getCapabilities**](docs/AnalysesResultsMetadataApi.md#getCapabilities) | **GET** /v2/analyses/{analysis_id}/capabilities | Gets the capabilities from the analysis
*AnalysesResultsMetadataApi* | [**getFunctionsList**](docs/AnalysesResultsMetadataApi.md#getFunctionsList) | **GET** /v2/analyses/{analysis_id}/functions/list | Gets functions from analysis
*AnalysesResultsMetadataApi* | [**getSbom**](docs/AnalysesResultsMetadataApi.md#getSbom) | **GET** /v2/analyses/{analysis_id}/sbom | Gets the software-bill-of-materials (SBOM) found in the analysis
*AnalysesResultsMetadataApi* | [**getTags**](docs/AnalysesResultsMetadataApi.md#getTags) | **GET** /v2/analyses/{analysis_id}/tags | Get function tags with maliciousness score
*AnalysesResultsMetadataApi* | [**getVulnerabilities**](docs/AnalysesResultsMetadataApi.md#getVulnerabilities) | **GET** /v2/analyses/{analysis_id}/vulnerabilities | Gets the vulnerabilities found in the analysis
*AnalysesXRefsApi* | [**getXrefByVaddr**](docs/AnalysesXRefsApi.md#getXrefByVaddr) | **GET** /v2/analyses/{analysis_id}/xrefs/{vaddr} | [Beta] Look up xrefs by virtual address
*AuthenticationUsersApi* | [**getUser**](docs/AuthenticationUsersApi.md#getUser) | **GET** /v2/users/{user_id} | Get a user&#39;s public information
*AuthenticationUsersApi* | [**getUserActivity**](docs/AuthenticationUsersApi.md#getUserActivity) | **GET** /v2/users/activity | Get auth user activity
Expand Down Expand Up @@ -346,7 +344,6 @@ Class | Method | HTTP request | Description
- [BaseResponseListCommentResponse](docs/BaseResponseListCommentResponse.md)
- [BaseResponseListDieMatch](docs/BaseResponseListDieMatch.md)
- [BaseResponseListFunctionNameHistory](docs/BaseResponseListFunctionNameHistory.md)
- [BaseResponseListSBOM](docs/BaseResponseListSBOM.md)
- [BaseResponseListUserActivityResponse](docs/BaseResponseListUserActivityResponse.md)
- [BaseResponseLogs](docs/BaseResponseLogs.md)
- [BaseResponseModelsResponse](docs/BaseResponseModelsResponse.md)
Expand All @@ -363,7 +360,6 @@ Class | Method | HTTP request | Description
- [BaseResponseTriageReportResponse](docs/BaseResponseTriageReportResponse.md)
- [BaseResponseUnionGetAiDecompilationRatingResponseNoneType](docs/BaseResponseUnionGetAiDecompilationRatingResponseNoneType.md)
- [BaseResponseUploadResponse](docs/BaseResponseUploadResponse.md)
- [BaseResponseVulnerabilities](docs/BaseResponseVulnerabilities.md)
- [BaseResponseXrefResponse](docs/BaseResponseXrefResponse.md)
- [Basic](docs/Basic.md)
- [BatchBinaryMatchResult](docs/BatchBinaryMatchResult.md)
Expand Down Expand Up @@ -645,8 +641,6 @@ Class | Method | HTTP request | Description
- [ReportInfo](docs/ReportInfo.md)
- [ReportOptions](docs/ReportOptions.md)
- [RevokeBody](docs/RevokeBody.md)
- [SBOM](docs/SBOM.md)
- [SBOMPackage](docs/SBOMPackage.md)
- [SSOProvider](docs/SSOProvider.md)
- [SSOProvidersOutputBody](docs/SSOProvidersOutputBody.md)
- [SandboxOptions](docs/SandboxOptions.md)
Expand Down Expand Up @@ -744,8 +738,6 @@ Class | Method | HTTP request | Description
- [V2FunctionHeader](docs/V2FunctionHeader.md)
- [V2FunctionInfo](docs/V2FunctionInfo.md)
- [V2FunctionType](docs/V2FunctionType.md)
- [Vulnerabilities](docs/Vulnerabilities.md)
- [Vulnerability](docs/Vulnerability.md)
- [WarningEvent](docs/WarningEvent.md)
- [WorkflowProgress](docs/WorkflowProgress.md)
- [Workspace](docs/Workspace.md)
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'

group = 'ai.reveng'
version = '3.131.0'
version = '3.131.1'



Expand Down Expand Up @@ -171,7 +171,7 @@ mavenPublishing {
publishToMavenCentral(true)
signAllPublications()

coordinates("ai.reveng", "sdk", "3.131.0")
coordinates("ai.reveng", "sdk", "3.131.1")

pom {
name = "sdk"
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "ai.reveng",
name := "sdk",
version := "3.131.0",
version := "3.131.1",
scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
compile / javacOptions ++= Seq("-Xlint:deprecation"),
Expand Down
146 changes: 0 additions & 146 deletions docs/AnalysesResultsMetadataApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ All URIs are relative to *https://api.reveng.ai*
| [**getAnalysisFunctionsPaginated**](AnalysesResultsMetadataApi.md#getAnalysisFunctionsPaginated) | **GET** /v2/analyses/{analysis_id}/functions | Get functions from analysis |
| [**getCapabilities**](AnalysesResultsMetadataApi.md#getCapabilities) | **GET** /v2/analyses/{analysis_id}/capabilities | Gets the capabilities from the analysis |
| [**getFunctionsList**](AnalysesResultsMetadataApi.md#getFunctionsList) | **GET** /v2/analyses/{analysis_id}/functions/list | Gets functions from analysis |
| [**getSbom**](AnalysesResultsMetadataApi.md#getSbom) | **GET** /v2/analyses/{analysis_id}/sbom | Gets the software-bill-of-materials (SBOM) found in the analysis |
| [**getTags**](AnalysesResultsMetadataApi.md#getTags) | **GET** /v2/analyses/{analysis_id}/tags | Get function tags with maliciousness score |
| [**getVulnerabilities**](AnalysesResultsMetadataApi.md#getVulnerabilities) | **GET** /v2/analyses/{analysis_id}/vulnerabilities | Gets the vulnerabilities found in the analysis |


<a id="getAnalysisFunctionsPaginated"></a>
Expand Down Expand Up @@ -248,78 +246,6 @@ public class Example {
| **200** | Successful Response | - |
| **422** | Invalid request parameters | - |

<a id="getSbom"></a>
# **getSbom**
> BaseResponseListSBOM getSbom(analysisId)

Gets the software-bill-of-materials (SBOM) found in the analysis

### Example
```java
// Import classes:
import ai.reveng.invoker.ApiClient;
import ai.reveng.invoker.ApiException;
import ai.reveng.invoker.Configuration;
import ai.reveng.invoker.auth.*;
import ai.reveng.invoker.models.*;
import ai.reveng.api.AnalysesResultsMetadataApi;

public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.reveng.ai");

// Configure API key authorization: APIKey
ApiKeyAuth APIKey = (ApiKeyAuth) defaultClient.getAuthentication("APIKey");
APIKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//APIKey.setApiKeyPrefix("Token");

// Configure HTTP bearer authorization: bearerAuth
HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
bearerAuth.setBearerToken("BEARER TOKEN");

AnalysesResultsMetadataApi apiInstance = new AnalysesResultsMetadataApi(defaultClient);
Integer analysisId = 56; // Integer |
try {
BaseResponseListSBOM result = apiInstance.getSbom(analysisId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AnalysesResultsMetadataApi#getSbom");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
```

### Parameters

| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **analysisId** | **Integer**| | |

### Return type

[**BaseResponseListSBOM**](BaseResponseListSBOM.md)

### Authorization

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

### HTTP request headers

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

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Successful Response | - |
| **422** | Invalid request parameters | - |

<a id="getTags"></a>
# **getTags**
> BaseResponseAnalysisTags getTags(analysisId)
Expand Down Expand Up @@ -392,75 +318,3 @@ public class Example {
| **200** | Successful Response | - |
| **422** | Invalid request parameters | - |

<a id="getVulnerabilities"></a>
# **getVulnerabilities**
> BaseResponseVulnerabilities getVulnerabilities(analysisId)

Gets the vulnerabilities found in the analysis

### Example
```java
// Import classes:
import ai.reveng.invoker.ApiClient;
import ai.reveng.invoker.ApiException;
import ai.reveng.invoker.Configuration;
import ai.reveng.invoker.auth.*;
import ai.reveng.invoker.models.*;
import ai.reveng.api.AnalysesResultsMetadataApi;

public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.reveng.ai");

// Configure API key authorization: APIKey
ApiKeyAuth APIKey = (ApiKeyAuth) defaultClient.getAuthentication("APIKey");
APIKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//APIKey.setApiKeyPrefix("Token");

// Configure HTTP bearer authorization: bearerAuth
HttpBearerAuth bearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("bearerAuth");
bearerAuth.setBearerToken("BEARER TOKEN");

AnalysesResultsMetadataApi apiInstance = new AnalysesResultsMetadataApi(defaultClient);
Integer analysisId = 56; // Integer |
try {
BaseResponseVulnerabilities result = apiInstance.getVulnerabilities(analysisId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AnalysesResultsMetadataApi#getVulnerabilities");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
```

### Parameters

| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **analysisId** | **Integer**| | |

### Return type

[**BaseResponseVulnerabilities**](BaseResponseVulnerabilities.md)

### Authorization

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

### HTTP request headers

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

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Successful Response | - |
| **422** | Invalid request parameters | - |

2 changes: 0 additions & 2 deletions docs/AnalysisConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**scrapeThirdPartyConfig** | [**ScrapeThirdPartyConfig**](ScrapeThirdPartyConfig.md) | Settings to scrape third party sources | [optional] |
|**generateCves** | **Boolean** | A configuration option for fetching CVEs data. | [optional] |
|**generateSbom** | **Boolean** | A configuration option for generating software bill of materials data. | [optional] |
|**generateCapabilities** | **Boolean** | A configuration option for generating capabilities of a binary | [optional] |
|**noCache** | **Boolean** | When enabled, skips using cached data within the processing. | [optional] |
|**advancedAnalysis** | **Boolean** | Enables an advanced security analysis. | [optional] |
Expand Down
1 change: 0 additions & 1 deletion docs/AnalysisDetailResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
|**dashboardUrl** | **String** | URL to view this analysis in the dashboard | |
|**debug** | **Boolean** | | |
|**modelName** | **String** | | |
|**sbom** | **Map&lt;String, Object&gt;** | | [optional] |
|**sha256Hash** | **String** | | |
|**autoRunAgents** | [**AutoRunAgents**](AutoRunAgents.md) | | |
|**requestedConfig** | [**AnalysisConfigSnapshot**](AnalysisConfigSnapshot.md) | Snapshot of the configuration the analysis was submitted with. | |
Expand Down
17 changes: 0 additions & 17 deletions docs/BaseResponseListSBOM.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/BaseResponseVulnerabilities.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/ReAnalysisForm.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Form Model for receiving the analysis request
|**tags** | **List&lt;String&gt;** | Tags associated with the analysis | [optional] |
|**commandLineArgs** | **String** | Command line arguments for dynamic execution | [optional] |
|**priority** | **Integer** | Priority of the analysis | [optional] |
|**essential** | **Boolean** | Only runs essential parts of the analysis, skips tags/sbom/cves etc. | [optional] |
|**essential** | **Boolean** | Only runs essential parts of the analysis, skips tags etc. | [optional] |
|**modelName** | **String** | Model name allows reprocessing using a different model | [optional] |
|**noCache** | **Boolean** | When enabled, skips using cached data within the processing. | [optional] |

Expand Down
14 changes: 0 additions & 14 deletions docs/SBOM.md

This file was deleted.

14 changes: 0 additions & 14 deletions docs/SBOMPackage.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/Vulnerabilities.md

This file was deleted.

36 changes: 0 additions & 36 deletions docs/Vulnerability.md

This file was deleted.

Loading