Skip to content

Commit 1d4a4d0

Browse files
Update SDK to version v3.55.0
- Generated from OpenAPI spec version v3.55.0 - Auto-generated by GitHub Actions
1 parent 09a3534 commit 1d4a4d0

701 files changed

Lines changed: 6486 additions & 5628 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.sdk-version

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

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Class | Method | HTTP request | Description
5656
*AnalysesCoreApi* | [**insert_analysis_log**](docs/AnalysesCoreApi.md#insert_analysis_log) | **POST** /v2/analyses/{analysis_id}/logs | Insert a log entry for an analysis
5757
*AnalysesCoreApi* | [**list_analyses**](docs/AnalysesCoreApi.md#list_analyses) | **GET** /v2/analyses/list | Gets the most recent analyses
5858
*AnalysesCoreApi* | [**lookup_binary_id**](docs/AnalysesCoreApi.md#lookup_binary_id) | **GET** /v2/analyses/lookup/{binary_id} | Gets the analysis ID from binary ID
59+
*AnalysesCoreApi* | [**put_analysis_strings**](docs/AnalysesCoreApi.md#put_analysis_strings) | **PUT** /v2/analyses/{analysis_id}/strings | Add strings to the analysis
5960
*AnalysesCoreApi* | [**requeue_analysis**](docs/AnalysesCoreApi.md#requeue_analysis) | **POST** /v2/analyses/{analysis_id}/requeue | Requeue Analysis
6061
*AnalysesCoreApi* | [**update_analysis**](docs/AnalysesCoreApi.md#update_analysis) | **PATCH** /v2/analyses/{analysis_id} | Update Analysis
6162
*AnalysesCoreApi* | [**update_analysis_tags**](docs/AnalysesCoreApi.md#update_analysis_tags) | **PATCH** /v2/analyses/{analysis_id}/tags | Update Analysis Tags
@@ -178,6 +179,7 @@ Class | Method | HTTP request | Description
178179
- [AnalysisStage](docs/AnalysisStage.md)
179180
- [AnalysisStageStatus](docs/AnalysisStageStatus.md)
180181
- [AnalysisStagesResponse](docs/AnalysisStagesResponse.md)
182+
- [AnalysisStringInput](docs/AnalysisStringInput.md)
181183
- [AnalysisStringsResponse](docs/AnalysisStringsResponse.md)
182184
- [AnalysisStringsStatusResponse](docs/AnalysisStringsStatusResponse.md)
183185
- [AnalysisTags](docs/AnalysisTags.md)
@@ -417,6 +419,7 @@ Class | Method | HTTP request | Description
417419
- [ProcessDumpsData](docs/ProcessDumpsData.md)
418420
- [ProcessRegistry](docs/ProcessRegistry.md)
419421
- [ProcessTree](docs/ProcessTree.md)
422+
- [PutAnalysisStringsRequest](docs/PutAnalysisStringsRequest.md)
420423
- [QueuedSecurityChecksTaskResponse](docs/QueuedSecurityChecksTaskResponse.md)
421424
- [ReAnalysisForm](docs/ReAnalysisForm.md)
422425
- [Recent](docs/Recent.md)
@@ -442,6 +445,7 @@ Class | Method | HTTP request | Description
442445
- [StatusInput](docs/StatusInput.md)
443446
- [StatusOutput](docs/StatusOutput.md)
444447
- [StringFunctions](docs/StringFunctions.md)
448+
- [StringSource](docs/StringSource.md)
445449
- [Structure](docs/Structure.md)
446450
- [StructureMember](docs/StructureMember.md)
447451
- [Symbols](docs/Symbols.md)

docs/AnalysesCommentsApi.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ Name | Type | Description | Notes
8989
| Status code | Description | Response headers |
9090
|-------------|-------------|------------------|
9191
**201** | Successful Response | - |
92-
**422** | Invalid request parameters | - |
9392
**400** | Bad Request | - |
93+
**422** | Invalid request parameters | - |
9494

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

@@ -172,9 +172,9 @@ Name | Type | Description | Notes
172172
| Status code | Description | Response headers |
173173
|-------------|-------------|------------------|
174174
**200** | Successful Response | - |
175-
**422** | Invalid request parameters | - |
176-
**403** | You can only delete your own comments | - |
177175
**400** | Bad Request | - |
176+
**403** | You can only delete your own comments | - |
177+
**422** | Invalid request parameters | - |
178178

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

@@ -339,9 +339,9 @@ Name | Type | Description | Notes
339339
| Status code | Description | Response headers |
340340
|-------------|-------------|------------------|
341341
**200** | Successful Response | - |
342-
**422** | Invalid request parameters | - |
343-
**403** | You can only update your own comments | - |
344342
**400** | Bad Request | - |
343+
**403** | You can only update your own comments | - |
344+
**422** | Invalid request parameters | - |
345345

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

docs/AnalysesCoreApi.md

Lines changed: 94 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Method | HTTP request | Description
1515
[**insert_analysis_log**](AnalysesCoreApi.md#insert_analysis_log) | **POST** /v2/analyses/{analysis_id}/logs | Insert a log entry for an analysis
1616
[**list_analyses**](AnalysesCoreApi.md#list_analyses) | **GET** /v2/analyses/list | Gets the most recent analyses
1717
[**lookup_binary_id**](AnalysesCoreApi.md#lookup_binary_id) | **GET** /v2/analyses/lookup/{binary_id} | Gets the analysis ID from binary ID
18+
[**put_analysis_strings**](AnalysesCoreApi.md#put_analysis_strings) | **PUT** /v2/analyses/{analysis_id}/strings | Add strings to the analysis
1819
[**requeue_analysis**](AnalysesCoreApi.md#requeue_analysis) | **POST** /v2/analyses/{analysis_id}/requeue | Requeue Analysis
1920
[**update_analysis**](AnalysesCoreApi.md#update_analysis) | **PATCH** /v2/analyses/{analysis_id} | Update Analysis
2021
[**update_analysis_tags**](AnalysesCoreApi.md#update_analysis_tags) | **PATCH** /v2/analyses/{analysis_id}/tags | Update Analysis Tags
@@ -181,9 +182,9 @@ Name | Type | Description | Notes
181182
| Status code | Description | Response headers |
182183
|-------------|-------------|------------------|
183184
**201** | Successful Response | - |
184-
**422** | Invalid request parameters | - |
185-
**404** | Not Found | - |
186185
**400** | Bad Request | - |
186+
**404** | Not Found | - |
187+
**422** | Invalid request parameters | - |
187188

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

@@ -263,9 +264,9 @@ Name | Type | Description | Notes
263264
| Status code | Description | Response headers |
264265
|-------------|-------------|------------------|
265266
**200** | Successful Response | - |
266-
**422** | Invalid request parameters | - |
267-
**404** | Not Found | - |
268267
**403** | Forbidden | - |
268+
**404** | Not Found | - |
269+
**422** | Invalid request parameters | - |
269270

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

@@ -937,6 +938,89 @@ Name | Type | Description | Notes
937938

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

941+
# **put_analysis_strings**
942+
> BaseResponse put_analysis_strings(analysis_id, put_analysis_strings_request)
943+
944+
Add strings to the analysis
945+
946+
Add strings to the analysis. Rejects if any string already exists at the given vaddr.
947+
948+
### Example
949+
950+
* Api Key Authentication (APIKey):
951+
952+
```python
953+
import revengai
954+
from revengai.models.base_response import BaseResponse
955+
from revengai.models.put_analysis_strings_request import PutAnalysisStringsRequest
956+
from revengai.rest import ApiException
957+
from pprint import pprint
958+
959+
# Defining the host is optional and defaults to https://api.reveng.ai
960+
# See configuration.py for a list of all supported configuration parameters.
961+
configuration = revengai.Configuration(
962+
host = "https://api.reveng.ai"
963+
)
964+
965+
# The client must configure the authentication and authorization parameters
966+
# in accordance with the API server security policy.
967+
# Examples for each auth method are provided below, use the example that
968+
# satisfies your auth use case.
969+
970+
# Configure API key authorization: APIKey
971+
configuration.api_key['APIKey'] = os.environ["API_KEY"]
972+
973+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
974+
# configuration.api_key_prefix['APIKey'] = 'Bearer'
975+
976+
# Enter a context with an instance of the API client
977+
with revengai.ApiClient(configuration) as api_client:
978+
# Create an instance of the API class
979+
api_instance = revengai.AnalysesCoreApi(api_client)
980+
analysis_id = 56 # int |
981+
put_analysis_strings_request = revengai.PutAnalysisStringsRequest() # PutAnalysisStringsRequest |
982+
983+
try:
984+
# Add strings to the analysis
985+
api_response = api_instance.put_analysis_strings(analysis_id, put_analysis_strings_request)
986+
print("The response of AnalysesCoreApi->put_analysis_strings:\n")
987+
pprint(api_response)
988+
except Exception as e:
989+
print("Exception when calling AnalysesCoreApi->put_analysis_strings: %s\n" % e)
990+
```
991+
992+
993+
994+
### Parameters
995+
996+
997+
Name | Type | Description | Notes
998+
------------- | ------------- | ------------- | -------------
999+
**analysis_id** | **int**| |
1000+
**put_analysis_strings_request** | [**PutAnalysisStringsRequest**](PutAnalysisStringsRequest.md)| |
1001+
1002+
### Return type
1003+
1004+
[**BaseResponse**](BaseResponse.md)
1005+
1006+
### Authorization
1007+
1008+
[APIKey](../README.md#APIKey)
1009+
1010+
### HTTP request headers
1011+
1012+
- **Content-Type**: application/json
1013+
- **Accept**: application/json
1014+
1015+
### HTTP response details
1016+
1017+
| Status code | Description | Response headers |
1018+
|-------------|-------------|------------------|
1019+
**201** | Successful Response | - |
1020+
**422** | Invalid request parameters | - |
1021+
1022+
[[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)
1023+
9401024
# **requeue_analysis**
9411025
> BaseResponseCreated requeue_analysis(analysis_id, re_analysis_form, x_rev_eng_application=x_rev_eng_application)
9421026
@@ -1018,9 +1102,9 @@ Name | Type | Description | Notes
10181102
| Status code | Description | Response headers |
10191103
|-------------|-------------|------------------|
10201104
**201** | Successful Response | - |
1021-
**422** | Invalid request parameters | - |
1022-
**404** | Not Found | - |
10231105
**400** | Bad Request | - |
1106+
**404** | Not Found | - |
1107+
**422** | Invalid request parameters | - |
10241108

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

@@ -1191,7 +1275,7 @@ Name | Type | Description | Notes
11911275
[[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)
11921276

11931277
# **upload_file**
1194-
> BaseResponseUploadResponse upload_file(upload_file_type, file, packed_password=packed_password, force_overwrite=force_overwrite)
1278+
> BaseResponseUploadResponse upload_file(file, upload_file_type, packed_password=packed_password, force_overwrite=force_overwrite)
11951279
11961280
Upload File
11971281

@@ -1227,14 +1311,14 @@ configuration.api_key['APIKey'] = os.environ["API_KEY"]
12271311
with revengai.ApiClient(configuration) as api_client:
12281312
# Create an instance of the API class
12291313
api_instance = revengai.AnalysesCoreApi(api_client)
1230-
upload_file_type = revengai.UploadFileType() # UploadFileType |
12311314
file = None # bytearray |
1315+
upload_file_type = revengai.UploadFileType() # UploadFileType |
12321316
packed_password = 'packed_password_example' # str | (optional)
12331317
force_overwrite = False # bool | (optional) (default to False)
12341318

12351319
try:
12361320
# Upload File
1237-
api_response = api_instance.upload_file(upload_file_type, file, packed_password=packed_password, force_overwrite=force_overwrite)
1321+
api_response = api_instance.upload_file(file, upload_file_type, packed_password=packed_password, force_overwrite=force_overwrite)
12381322
print("The response of AnalysesCoreApi->upload_file:\n")
12391323
pprint(api_response)
12401324
except Exception as e:
@@ -1248,8 +1332,8 @@ with revengai.ApiClient(configuration) as api_client:
12481332

12491333
Name | Type | Description | Notes
12501334
------------- | ------------- | ------------- | -------------
1251-
**upload_file_type** | [**UploadFileType**](UploadFileType.md)| |
12521335
**file** | **bytearray**| |
1336+
**upload_file_type** | [**UploadFileType**](UploadFileType.md)| |
12531337
**packed_password** | **str**| | [optional]
12541338
**force_overwrite** | **bool**| | [optional] [default to False]
12551339

docs/AnalysesSecurityChecksApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ Name | Type | Description | Notes
8383
| Status code | Description | Response headers |
8484
|-------------|-------------|------------------|
8585
**202** | Successful Response | - |
86-
**422** | Invalid request parameters | - |
8786
**409** | Security checks already extracted or queued | - |
87+
**422** | Invalid request parameters | - |
8888

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

docs/AnalysesXRefsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ Name | Type | Description | Notes
8585
| Status code | Description | Response headers |
8686
|-------------|-------------|------------------|
8787
**200** | Successful Response | - |
88-
**422** | Invalid request parameters | - |
8988
**404** | Xref or analysis cache not found | - |
89+
**422** | Invalid request parameters | - |
9090

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

docs/AnalysisBulkAddTagsRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**tags** | **List[str]** | |
98
**analysis_ids** | **List[int]** | |
9+
**tags** | **List[str]** | |
1010

1111
## Example
1212

docs/AnalysisBulkAddTagsResponseItem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**analysis_id** | **int** | |
9-
**message** | **str** | |
109
**error** | **str** | | [optional]
10+
**message** | **str** | |
1111

1212
## Example
1313

docs/AnalysisConfig.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**scrape_third_party_config** | [**ScrapeThirdPartyConfig**](ScrapeThirdPartyConfig.md) | Settings to scrape third party sources | [optional]
8+
**advanced_analysis** | **bool** | Enables an advanced security analysis. | [optional] [default to False]
9+
**generate_capabilities** | **bool** | A configuration option for generating capabilities of a binary | [optional] [default to False]
910
**generate_cves** | **bool** | A configuration option for fetching CVEs data. | [optional] [default to False]
1011
**generate_sbom** | **bool** | A configuration option for generating software bill of materials data. | [optional] [default to False]
11-
**generate_capabilities** | **bool** | A configuration option for generating capabilities of a binary | [optional] [default to False]
1212
**no_cache** | **bool** | When enabled, skips using cached data within the processing. | [optional] [default to False]
13-
**advanced_analysis** | **bool** | Enables an advanced security analysis. | [optional] [default to False]
1413
**sandbox_config** | [**SandboxOptions**](SandboxOptions.md) | Including a sandbox config enables the dynamic execution sandbox | [optional]
14+
**scrape_third_party_config** | [**ScrapeThirdPartyConfig**](ScrapeThirdPartyConfig.md) | Settings to scrape third party sources | [optional]
1515

1616
## Example
1717

docs/AnalysisCreateRequest.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8+
**analysis_config** | [**AnalysisConfig**](AnalysisConfig.md) | The analysis config enables the configuration of optional analysis stages | [optional]
9+
**analysis_scope** | [**AnalysisScope**](AnalysisScope.md) | The scope of the analysis determines who can access it | [optional]
10+
**auto_run_agents** | [**AutoRunAgents**](AutoRunAgents.md) | | [optional]
11+
**binary_config** | [**BinaryConfig**](BinaryConfig.md) | The binary config can override automatically determined values such as ISA, Platform, File Format, etc | [optional]
12+
**debug_hash** | **str** | | [optional]
813
**filename** | **str** | The name of the file |
914
**sha_256_hash** | **str** | The name of the file |
10-
**tags** | [**List[Tag]**](Tag.md) | List of community tags to assign to an analysis | [optional] [default to []]
11-
**analysis_scope** | [**AnalysisScope**](AnalysisScope.md) | The scope of the analysis determines who can access it | [optional]
1215
**symbols** | [**Symbols**](Symbols.md) | | [optional]
13-
**debug_hash** | **str** | | [optional]
14-
**analysis_config** | [**AnalysisConfig**](AnalysisConfig.md) | The analysis config enables the configuration of optional analysis stages | [optional]
15-
**binary_config** | [**BinaryConfig**](BinaryConfig.md) | The binary config can override automatically determined values such as ISA, Platform, File Format, etc | [optional]
16-
**auto_run_agents** | [**AutoRunAgents**](AutoRunAgents.md) | | [optional]
16+
**tags** | [**List[Tag]**](Tag.md) | List of community tags to assign to an analysis | [optional] [default to []]
1717

1818
## Example
1919

0 commit comments

Comments
 (0)