Skip to content

Commit 7f09a7f

Browse files
authored
Merge pull request #203 from RevEngAI/sdk-update-v3.131.1
πŸ€– Update SDK to version v3.131.1
2 parents 9b6abd0 + 82aff57 commit 7f09a7f

26 files changed

Lines changed: 10 additions & 1585 deletions

β€Ž.sdk-versionβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v3.131.0
1+
v3.131.1

β€ŽREADME.mdβ€Ž

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,7 @@ Class | Method | HTTP request | Description
9090
*AnalysesResultsMetadataApi* | [**get_analysis_functions_paginated**](docs/AnalysesResultsMetadataApi.md#get_analysis_functions_paginated) | **GET** /v2/analyses/{analysis_id}/functions | Get functions from analysis
9191
*AnalysesResultsMetadataApi* | [**get_capabilities**](docs/AnalysesResultsMetadataApi.md#get_capabilities) | **GET** /v2/analyses/{analysis_id}/capabilities | Gets the capabilities from the analysis
9292
*AnalysesResultsMetadataApi* | [**get_functions_list**](docs/AnalysesResultsMetadataApi.md#get_functions_list) | **GET** /v2/analyses/{analysis_id}/functions/list | Gets functions from analysis
93-
*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
9493
*AnalysesResultsMetadataApi* | [**get_tags**](docs/AnalysesResultsMetadataApi.md#get_tags) | **GET** /v2/analyses/{analysis_id}/tags | Get function tags with maliciousness score
95-
*AnalysesResultsMetadataApi* | [**get_vulnerabilities**](docs/AnalysesResultsMetadataApi.md#get_vulnerabilities) | **GET** /v2/analyses/{analysis_id}/vulnerabilities | Gets the vulnerabilities found in the analysis
9694
*AnalysesXRefsApi* | [**get_xref_by_vaddr**](docs/AnalysesXRefsApi.md#get_xref_by_vaddr) | **GET** /v2/analyses/{analysis_id}/xrefs/{vaddr} | [Beta] Look up xrefs by virtual address
9795
*AuthenticationUsersApi* | [**get_user**](docs/AuthenticationUsersApi.md#get_user) | **GET** /v2/users/{user_id} | Get a user's public information
9896
*AuthenticationUsersApi* | [**get_user_activity**](docs/AuthenticationUsersApi.md#get_user_activity) | **GET** /v2/users/activity | Get auth user activity
@@ -311,7 +309,6 @@ Class | Method | HTTP request | Description
311309
- [BaseResponseListCommentResponse](docs/BaseResponseListCommentResponse.md)
312310
- [BaseResponseListDieMatch](docs/BaseResponseListDieMatch.md)
313311
- [BaseResponseListFunctionNameHistory](docs/BaseResponseListFunctionNameHistory.md)
314-
- [BaseResponseListSBOM](docs/BaseResponseListSBOM.md)
315312
- [BaseResponseListUserActivityResponse](docs/BaseResponseListUserActivityResponse.md)
316313
- [BaseResponseLogs](docs/BaseResponseLogs.md)
317314
- [BaseResponseModelsResponse](docs/BaseResponseModelsResponse.md)
@@ -328,7 +325,6 @@ Class | Method | HTTP request | Description
328325
- [BaseResponseTriageReportResponse](docs/BaseResponseTriageReportResponse.md)
329326
- [BaseResponseUnionGetAiDecompilationRatingResponseNoneType](docs/BaseResponseUnionGetAiDecompilationRatingResponseNoneType.md)
330327
- [BaseResponseUploadResponse](docs/BaseResponseUploadResponse.md)
331-
- [BaseResponseVulnerabilities](docs/BaseResponseVulnerabilities.md)
332328
- [BaseResponseXrefResponse](docs/BaseResponseXrefResponse.md)
333329
- [Basic](docs/Basic.md)
334330
- [BatchBinaryMatchResult](docs/BatchBinaryMatchResult.md)
@@ -609,8 +605,6 @@ Class | Method | HTTP request | Description
609605
- [ReportInfo](docs/ReportInfo.md)
610606
- [ReportOptions](docs/ReportOptions.md)
611607
- [RevokeBody](docs/RevokeBody.md)
612-
- [SBOM](docs/SBOM.md)
613-
- [SBOMPackage](docs/SBOMPackage.md)
614608
- [SSOProvider](docs/SSOProvider.md)
615609
- [SSOProvidersOutputBody](docs/SSOProvidersOutputBody.md)
616610
- [SandboxOptions](docs/SandboxOptions.md)
@@ -709,8 +703,6 @@ Class | Method | HTTP request | Description
709703
- [V2FunctionInfo](docs/V2FunctionInfo.md)
710704
- [V2FunctionInfoFuncDepsInner](docs/V2FunctionInfoFuncDepsInner.md)
711705
- [V2FunctionType](docs/V2FunctionType.md)
712-
- [Vulnerabilities](docs/Vulnerabilities.md)
713-
- [Vulnerability](docs/Vulnerability.md)
714706
- [WarningEvent](docs/WarningEvent.md)
715707
- [WorkflowProgress](docs/WorkflowProgress.md)
716708
- [Workspace](docs/Workspace.md)

β€Ždocs/AnalysesResultsMetadataApi.mdβ€Ž

Lines changed: 0 additions & 170 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ Method | HTTP request | Description
77
[**get_analysis_functions_paginated**](AnalysesResultsMetadataApi.md#get_analysis_functions_paginated) | **GET** /v2/analyses/{analysis_id}/functions | Get functions from analysis
88
[**get_capabilities**](AnalysesResultsMetadataApi.md#get_capabilities) | **GET** /v2/analyses/{analysis_id}/capabilities | Gets the capabilities from the analysis
99
[**get_functions_list**](AnalysesResultsMetadataApi.md#get_functions_list) | **GET** /v2/analyses/{analysis_id}/functions/list | Gets functions from analysis
10-
[**get_sbom**](AnalysesResultsMetadataApi.md#get_sbom) | **GET** /v2/analyses/{analysis_id}/sbom | Gets the software-bill-of-materials (SBOM) found in the analysis
1110
[**get_tags**](AnalysesResultsMetadataApi.md#get_tags) | **GET** /v2/analyses/{analysis_id}/tags | Get function tags with maliciousness score
12-
[**get_vulnerabilities**](AnalysesResultsMetadataApi.md#get_vulnerabilities) | **GET** /v2/analyses/{analysis_id}/vulnerabilities | Gets the vulnerabilities found in the analysis
1311

1412

1513
# **get_analysis_functions_paginated**
@@ -284,90 +282,6 @@ Name | Type | Description | Notes
284282

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

287-
# **get_sbom**
288-
> BaseResponseListSBOM get_sbom(analysis_id)
289-
290-
Gets the software-bill-of-materials (SBOM) found in the analysis
291-
292-
### Example
293-
294-
* Api Key Authentication (APIKey):
295-
* Bearer Authentication (bearerAuth):
296-
297-
```python
298-
import revengai
299-
from revengai.models.base_response_list_sbom import BaseResponseListSBOM
300-
from revengai.rest import ApiException
301-
from pprint import pprint
302-
303-
# Defining the host is optional and defaults to https://api.reveng.ai
304-
# See configuration.py for a list of all supported configuration parameters.
305-
configuration = revengai.Configuration(
306-
host = "https://api.reveng.ai"
307-
)
308-
309-
# The client must configure the authentication and authorization parameters
310-
# in accordance with the API server security policy.
311-
# Examples for each auth method are provided below, use the example that
312-
# satisfies your auth use case.
313-
314-
# Configure API key authorization: APIKey
315-
configuration.api_key['APIKey'] = os.environ["API_KEY"]
316-
317-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
318-
# configuration.api_key_prefix['APIKey'] = 'Bearer'
319-
320-
# Configure Bearer authorization: bearerAuth
321-
configuration = revengai.Configuration(
322-
access_token = os.environ["BEARER_TOKEN"]
323-
)
324-
325-
# Enter a context with an instance of the API client
326-
with revengai.ApiClient(configuration) as api_client:
327-
# Create an instance of the API class
328-
api_instance = revengai.AnalysesResultsMetadataApi(api_client)
329-
analysis_id = 56 # int |
330-
331-
try:
332-
# Gets the software-bill-of-materials (SBOM) found in the analysis
333-
api_response = api_instance.get_sbom(analysis_id)
334-
print("The response of AnalysesResultsMetadataApi->get_sbom:\n")
335-
pprint(api_response)
336-
except Exception as e:
337-
print("Exception when calling AnalysesResultsMetadataApi->get_sbom: %s\n" % e)
338-
```
339-
340-
341-
342-
### Parameters
343-
344-
345-
Name | Type | Description | Notes
346-
------------- | ------------- | ------------- | -------------
347-
**analysis_id** | **int**| |
348-
349-
### Return type
350-
351-
[**BaseResponseListSBOM**](BaseResponseListSBOM.md)
352-
353-
### Authorization
354-
355-
[APIKey](../README.md#APIKey), [bearerAuth](../README.md#bearerAuth)
356-
357-
### HTTP request headers
358-
359-
- **Content-Type**: Not defined
360-
- **Accept**: application/json
361-
362-
### HTTP response details
363-
364-
| Status code | Description | Response headers |
365-
|-------------|-------------|------------------|
366-
**200** | Successful Response | - |
367-
**422** | Invalid request parameters | - |
368-
369-
[[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)
370-
371285
# **get_tags**
372286
> BaseResponseAnalysisTags get_tags(analysis_id)
373287
@@ -452,87 +366,3 @@ Name | Type | Description | Notes
452366

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

455-
# **get_vulnerabilities**
456-
> BaseResponseVulnerabilities get_vulnerabilities(analysis_id)
457-
458-
Gets the vulnerabilities found in the analysis
459-
460-
### Example
461-
462-
* Api Key Authentication (APIKey):
463-
* Bearer Authentication (bearerAuth):
464-
465-
```python
466-
import revengai
467-
from revengai.models.base_response_vulnerabilities import BaseResponseVulnerabilities
468-
from revengai.rest import ApiException
469-
from pprint import pprint
470-
471-
# Defining the host is optional and defaults to https://api.reveng.ai
472-
# See configuration.py for a list of all supported configuration parameters.
473-
configuration = revengai.Configuration(
474-
host = "https://api.reveng.ai"
475-
)
476-
477-
# The client must configure the authentication and authorization parameters
478-
# in accordance with the API server security policy.
479-
# Examples for each auth method are provided below, use the example that
480-
# satisfies your auth use case.
481-
482-
# Configure API key authorization: APIKey
483-
configuration.api_key['APIKey'] = os.environ["API_KEY"]
484-
485-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
486-
# configuration.api_key_prefix['APIKey'] = 'Bearer'
487-
488-
# Configure Bearer authorization: bearerAuth
489-
configuration = revengai.Configuration(
490-
access_token = os.environ["BEARER_TOKEN"]
491-
)
492-
493-
# Enter a context with an instance of the API client
494-
with revengai.ApiClient(configuration) as api_client:
495-
# Create an instance of the API class
496-
api_instance = revengai.AnalysesResultsMetadataApi(api_client)
497-
analysis_id = 56 # int |
498-
499-
try:
500-
# Gets the vulnerabilities found in the analysis
501-
api_response = api_instance.get_vulnerabilities(analysis_id)
502-
print("The response of AnalysesResultsMetadataApi->get_vulnerabilities:\n")
503-
pprint(api_response)
504-
except Exception as e:
505-
print("Exception when calling AnalysesResultsMetadataApi->get_vulnerabilities: %s\n" % e)
506-
```
507-
508-
509-
510-
### Parameters
511-
512-
513-
Name | Type | Description | Notes
514-
------------- | ------------- | ------------- | -------------
515-
**analysis_id** | **int**| |
516-
517-
### Return type
518-
519-
[**BaseResponseVulnerabilities**](BaseResponseVulnerabilities.md)
520-
521-
### Authorization
522-
523-
[APIKey](../README.md#APIKey), [bearerAuth](../README.md#bearerAuth)
524-
525-
### HTTP request headers
526-
527-
- **Content-Type**: Not defined
528-
- **Accept**: application/json
529-
530-
### HTTP response details
531-
532-
| Status code | Description | Response headers |
533-
|-------------|-------------|------------------|
534-
**200** | Successful Response | - |
535-
**422** | Invalid request parameters | - |
536-
537-
[[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)
538-

β€Ždocs/AnalysisConfig.mdβ€Ž

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**scrape_third_party_config** | [**ScrapeThirdPartyConfig**](ScrapeThirdPartyConfig.md) | Settings to scrape third party sources | [optional]
9-
**generate_cves** | **bool** | A configuration option for fetching CVEs data. | [optional] [default to False]
10-
**generate_sbom** | **bool** | A configuration option for generating software bill of materials data. | [optional] [default to False]
119
**generate_capabilities** | **bool** | A configuration option for generating capabilities of a binary | [optional] [default to False]
1210
**no_cache** | **bool** | When enabled, skips using cached data within the processing. | [optional] [default to False]
1311
**advanced_analysis** | **bool** | Enables an advanced security analysis. | [optional] [default to False]

β€Ždocs/AnalysisDetailResponse.mdβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Name | Type | Description | Notes
1818
**dashboard_url** | **str** | URL to view this analysis in the dashboard |
1919
**debug** | **bool** | |
2020
**model_name** | **str** | |
21-
**sbom** | **Dict[str, object]** | | [optional]
2221
**sha_256_hash** | **str** | |
2322
**auto_run_agents** | [**AutoRunAgents**](AutoRunAgents.md) | |
2423
**requested_config** | [**AnalysisConfigSnapshot**](AnalysisConfigSnapshot.md) | Snapshot of the configuration the analysis was submitted with. |

β€Ždocs/BaseResponseListSBOM.mdβ€Ž

Lines changed: 0 additions & 33 deletions
This file was deleted.

β€Ždocs/BaseResponseVulnerabilities.mdβ€Ž

Lines changed: 0 additions & 33 deletions
This file was deleted.

β€Ždocs/ReAnalysisForm.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
**tags** | **List[str]** | Tags associated with the analysis | [optional] [default to []]
1010
**command_line_args** | **str** | Command line arguments for dynamic execution | [optional] [default to '']
1111
**priority** | **int** | Priority of the analysis | [optional] [default to 0]
12-
**essential** | **bool** | Only runs essential parts of the analysis, skips tags/sbom/cves etc. | [optional] [default to True]
12+
**essential** | **bool** | Only runs essential parts of the analysis, skips tags etc. | [optional] [default to True]
1313
**model_name** | **str** | | [optional]
1414
**no_cache** | **bool** | When enabled, skips using cached data within the processing. | [optional] [default to False]
1515

β€Ždocs/SBOM.mdβ€Ž

Lines changed: 0 additions & 30 deletions
This file was deleted.

β€Ždocs/SBOMPackage.mdβ€Ž

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
Β (0)