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 @@
v1.89.4
v1.91.1
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ Class | Method | HTTP request | Description
*AnalysesResultsMetadataApi* | [**get_pdf**](docs/AnalysesResultsMetadataApi.md#get_pdf) | **GET** /v2/analyses/{analysis_id}/pdf | Gets the PDF found in the analysis
*AnalysesResultsMetadataApi* | [**get_sbom**](docs/AnalysesResultsMetadataApi.md#get_sbom) | **GET** /v2/analyses/{analysis_id}/sbom | Gets the software-bill-of-materials (SBOM) found in the analysis
*AnalysesResultsMetadataApi* | [**get_tags**](docs/AnalysesResultsMetadataApi.md#get_tags) | **GET** /v2/analyses/{analysis_id}/tags | Get function tags with maliciousness score
*AnalysesResultsMetadataApi* | [**get_threat_score**](docs/AnalysesResultsMetadataApi.md#get_threat_score) | **GET** /v2/analyses/{analysis_id}/threat_score | Gets the threat score found in the analysis
*AnalysesResultsMetadataApi* | [**get_vulnerabilities**](docs/AnalysesResultsMetadataApi.md#get_vulnerabilities) | **GET** /v2/analyses/{analysis_id}/vulnerabilities | Gets the vulnerabilities found in the analysis
*AnalysesSecurityChecksApi* | [**create_scurity_checks_task**](docs/AnalysesSecurityChecksApi.md#create_scurity_checks_task) | **POST** /v2/analyses/{analysis_id}/security-checks | Queues a security check process
*AnalysesSecurityChecksApi* | [**get_security_checks**](docs/AnalysesSecurityChecksApi.md#get_security_checks) | **GET** /v2/analyses/{analysis_id}/security-checks | Get Security Checks
Expand Down Expand Up @@ -151,8 +150,6 @@ Class | Method | HTTP request | Description
*FunctionsRenamingHistoryApi* | [**get_function_name_history**](docs/FunctionsRenamingHistoryApi.md#get_function_name_history) | **GET** /v2/functions/history/{function_id} | Get Function Name History
*FunctionsRenamingHistoryApi* | [**rename_function_id**](docs/FunctionsRenamingHistoryApi.md#rename_function_id) | **POST** /v2/functions/rename/{function_id} | Rename Function
*FunctionsRenamingHistoryApi* | [**revert_function_name**](docs/FunctionsRenamingHistoryApi.md#revert_function_name) | **POST** /v2/functions/history/{function_id}/{history_id} | Revert the function name
*FunctionsThreatScoreApi* | [**get_all_function_threat_scores**](docs/FunctionsThreatScoreApi.md#get_all_function_threat_scores) | **GET** /v2/analyses/{analysis_id}/functions/threat_score | Gets the threat score for all functions
*FunctionsThreatScoreApi* | [**get_individual_function_threat_score**](docs/FunctionsThreatScoreApi.md#get_individual_function_threat_score) | **GET** /v2/analyses/{analysis_id}/functions/{function_id}/threat_score | Gets the threat score analysis
*ModelsApi* | [**get_models**](docs/ModelsApi.md#get_models) | **GET** /v2/models | Gets models
*SearchApi* | [**search_binaries**](docs/SearchApi.md#search_binaries) | **GET** /v2/search/binaries | Binaries search
*SearchApi* | [**search_collections**](docs/SearchApi.md#search_collections) | **GET** /v2/search/collections | Collections search
Expand All @@ -177,7 +174,6 @@ Class | Method | HTTP request | Description
- [AnalysisScope](docs/AnalysisScope.md)
- [AnalysisStringsResponse](docs/AnalysisStringsResponse.md)
- [AnalysisTags](docs/AnalysisTags.md)
- [AnalysisThreatScoreData](docs/AnalysisThreatScoreData.md)
- [AnalysisUpdateRequest](docs/AnalysisUpdateRequest.md)
- [AnalysisUpdateTagsRequest](docs/AnalysisUpdateTagsRequest.md)
- [AnalysisUpdateTagsResponse](docs/AnalysisUpdateTagsResponse.md)
Expand All @@ -201,7 +197,6 @@ Class | Method | HTTP request | Description
- [BaseResponseAnalysisFunctions](docs/BaseResponseAnalysisFunctions.md)
- [BaseResponseAnalysisStringsResponse](docs/BaseResponseAnalysisStringsResponse.md)
- [BaseResponseAnalysisTags](docs/BaseResponseAnalysisTags.md)
- [BaseResponseAnalysisThreatScoreData](docs/BaseResponseAnalysisThreatScoreData.md)
- [BaseResponseAnalysisUpdateTagsResponse](docs/BaseResponseAnalysisUpdateTagsResponse.md)
- [BaseResponseBasic](docs/BaseResponseBasic.md)
- [BaseResponseBinaryAdditionalResponse](docs/BaseResponseBinaryAdditionalResponse.md)
Expand All @@ -228,15 +223,13 @@ Class | Method | HTTP request | Description
- [BaseResponseDict](docs/BaseResponseDict.md)
- [BaseResponseDynamicExecutionStatus](docs/BaseResponseDynamicExecutionStatus.md)
- [BaseResponseExternalResponse](docs/BaseResponseExternalResponse.md)
- [BaseResponseFunctionAnalysisThreatScoreData](docs/BaseResponseFunctionAnalysisThreatScoreData.md)
- [BaseResponseFunctionBlocksResponse](docs/BaseResponseFunctionBlocksResponse.md)
- [BaseResponseFunctionCapabilityResponse](docs/BaseResponseFunctionCapabilityResponse.md)
- [BaseResponseFunctionDataTypes](docs/BaseResponseFunctionDataTypes.md)
- [BaseResponseFunctionDataTypesList](docs/BaseResponseFunctionDataTypesList.md)
- [BaseResponseFunctionSearchResponse](docs/BaseResponseFunctionSearchResponse.md)
- [BaseResponseFunctionStringsResponse](docs/BaseResponseFunctionStringsResponse.md)
- [BaseResponseFunctionTaskResponse](docs/BaseResponseFunctionTaskResponse.md)
- [BaseResponseFunctionThreatScore](docs/BaseResponseFunctionThreatScore.md)
- [BaseResponseFunctionsDetailResponse](docs/BaseResponseFunctionsDetailResponse.md)
- [BaseResponseGenerateFunctionDataTypes](docs/BaseResponseGenerateFunctionDataTypes.md)
- [BaseResponseGenerationStatusList](docs/BaseResponseGenerationStatusList.md)
Expand Down Expand Up @@ -337,7 +330,6 @@ Class | Method | HTTP request | Description
- [FileHashes](docs/FileHashes.md)
- [FileMetadata](docs/FileMetadata.md)
- [Filters](docs/Filters.md)
- [FunctionAnalysisThreatScoreData](docs/FunctionAnalysisThreatScoreData.md)
- [FunctionBatchAnn](docs/FunctionBatchAnn.md)
- [FunctionBlockDestinationResponse](docs/FunctionBlockDestinationResponse.md)
- [FunctionBlockResponse](docs/FunctionBlockResponse.md)
Expand Down Expand Up @@ -374,7 +366,6 @@ Class | Method | HTTP request | Description
- [FunctionStringsResponse](docs/FunctionStringsResponse.md)
- [FunctionTaskResponse](docs/FunctionTaskResponse.md)
- [FunctionTaskStatus](docs/FunctionTaskStatus.md)
- [FunctionThreatScore](docs/FunctionThreatScore.md)
- [FunctionTypeInput](docs/FunctionTypeInput.md)
- [FunctionTypeOutput](docs/FunctionTypeOutput.md)
- [FunctionsDetailResponse](docs/FunctionsDetailResponse.md)
Expand Down
81 changes: 0 additions & 81 deletions docs/AnalysesResultsMetadataApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Method | HTTP request | Description
[**get_pdf**](AnalysesResultsMetadataApi.md#get_pdf) | **GET** /v2/analyses/{analysis_id}/pdf | Gets the PDF found in the analysis
[**get_sbom**](AnalysesResultsMetadataApi.md#get_sbom) | **GET** /v2/analyses/{analysis_id}/sbom | Gets the software-bill-of-materials (SBOM) found in the analysis
[**get_tags**](AnalysesResultsMetadataApi.md#get_tags) | **GET** /v2/analyses/{analysis_id}/tags | Get function tags with maliciousness score
[**get_threat_score**](AnalysesResultsMetadataApi.md#get_threat_score) | **GET** /v2/analyses/{analysis_id}/threat_score | Gets the threat score found in the analysis
[**get_vulnerabilities**](AnalysesResultsMetadataApi.md#get_vulnerabilities) | **GET** /v2/analyses/{analysis_id}/vulnerabilities | Gets the vulnerabilities found in the analysis


Expand Down Expand Up @@ -503,86 +502,6 @@ Name | Type | Description | Notes

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

# **get_threat_score**
> BaseResponseAnalysisThreatScoreData get_threat_score(analysis_id, authorization=authorization)

Gets the threat score found in the analysis

### Example

* Api Key Authentication (APIKey):

```python
import revengai
from revengai.models.base_response_analysis_threat_score_data import BaseResponseAnalysisThreatScoreData
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.AnalysesResultsMetadataApi(api_client)
analysis_id = 56 # int |
authorization = 'authorization_example' # str | API Key bearer token (optional)

try:
# Gets the threat score found in the analysis
api_response = api_instance.get_threat_score(analysis_id, authorization=authorization)
print("The response of AnalysesResultsMetadataApi->get_threat_score:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AnalysesResultsMetadataApi->get_threat_score: %s\n" % e)
```



### Parameters


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**analysis_id** | **int**| |
**authorization** | **str**| API Key bearer token | [optional]

### Return type

[**BaseResponseAnalysisThreatScoreData**](BaseResponseAnalysisThreatScoreData.md)

### Authorization

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

### 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 | - |

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

# **get_vulnerabilities**
> BaseResponseVulnerabilities get_vulnerabilities(analysis_id, authorization=authorization)

Expand Down
35 changes: 0 additions & 35 deletions docs/AnalysisThreatScoreData.md

This file was deleted.

33 changes: 0 additions & 33 deletions docs/BaseResponseAnalysisThreatScoreData.md

This file was deleted.

33 changes: 0 additions & 33 deletions docs/BaseResponseFunctionAnalysisThreatScoreData.md

This file was deleted.

33 changes: 0 additions & 33 deletions docs/BaseResponseFunctionThreatScore.md

This file was deleted.

35 changes: 0 additions & 35 deletions docs/FunctionAnalysisThreatScoreData.md

This file was deleted.

29 changes: 0 additions & 29 deletions docs/FunctionThreatScore.md

This file was deleted.

Loading