Skip to content

Commit 8a669e8

Browse files
authored
Merge pull request #220 from RevEngAI/sdk-update-v4.67.1
🤖 Update SDK to version v4.67.1
2 parents 27d3fe1 + 153dea7 commit 8a669e8

25 files changed

Lines changed: 769 additions & 73 deletions

‎.sdk-version‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v4.64.0
1+
v4.67.1

‎README.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,7 @@ Class | Method | HTTP request | Description
562562
- [Display](docs/Display.md)
563563
- [DnsQuery](docs/DnsQuery.md)
564564
- [DrakvufFileMetadata](docs/DrakvufFileMetadata.md)
565+
- [DynamicExecutionMetadata](docs/DynamicExecutionMetadata.md)
565566
- [DynamicExecutionStatus](docs/DynamicExecutionStatus.md)
566567
- [DynamicExecutionStatusResponse](docs/DynamicExecutionStatusResponse.md)
567568
- [ELFImportModel](docs/ELFImportModel.md)
@@ -769,10 +770,12 @@ Class | Method | HTTP request | Description
769770
- [NetworkingScanResult](docs/NetworkingScanResult.md)
770771
- [NetworkingVerification](docs/NetworkingVerification.md)
771772
- [OIDCCallbackInputBody](docs/OIDCCallbackInputBody.md)
773+
- [OperandXref](docs/OperandXref.md)
772774
- [OperationBinaryExportMetadataBinaryExportResult](docs/OperationBinaryExportMetadataBinaryExportResult.md)
773775
- [OperationCreateMetadataCreateResult](docs/OperationCreateMetadataCreateResult.md)
774776
- [OperationCryptoExplainMetadataCryptoExplainResult](docs/OperationCryptoExplainMetadataCryptoExplainResult.md)
775777
- [OperationCryptoScanMetadataCryptoScanResult](docs/OperationCryptoScanMetadataCryptoScanResult.md)
778+
- [OperationDynamicExecutionMetadataDynamicExecutionResult](docs/OperationDynamicExecutionMetadataDynamicExecutionResult.md)
776779
- [OperationExecutionExplainMetadataExecutionExplainResult](docs/OperationExecutionExplainMetadataExecutionExplainResult.md)
777780
- [OperationExecutionScanMetadataExecutionScanResult](docs/OperationExecutionScanMetadataExecutionScanResult.md)
778781
- [OperationFilesystemAnalyseMetadataFilesystemAnalyseResult](docs/OperationFilesystemAnalyseMetadataFilesystemAnalyseResult.md)
@@ -854,6 +857,7 @@ Class | Method | HTTP request | Description
854857
- [ResultBody](docs/ResultBody.md)
855858
- [RevokeBody](docs/RevokeBody.md)
856859
- [RuleKind](docs/RuleKind.md)
860+
- [RunDynamicExecutionInputBody](docs/RunDynamicExecutionInputBody.md)
857861
- [SSOProvider](docs/SSOProvider.md)
858862
- [SSOProvidersOutputBody](docs/SSOProvidersOutputBody.md)
859863
- [SandboxConfig](docs/SandboxConfig.md)

‎docs/DisassemblyOutputBody.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**function_id** | **int** | |
1010
**global_variables** | **object** | | [optional]
1111
**local_variables** | **object** | | [optional]
12+
**operand_xrefs** | [**List[OperandXref]**](OperandXref.md) | Instruction operands that reference a pointer slot, sorted by instruction_vaddr, target_vaddr, pointed_vaddr. | [optional]
1213
**params** | **object** | | [optional]
1314
**return_type** | **str** | | [optional]
1415
**returns** | **bool** | |

‎docs/DynamicExecutionMetadata.md‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# DynamicExecutionMetadata
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**logs** | [**AnalysisLogs**](AnalysisLogs.md) | Sandbox status log messages captured during the run. Empty when none have been captured yet. |
9+
**status** | **str** | Run status. UNINITIALISED means this analysis has never had a run triggered. |
10+
11+
## Example
12+
13+
```python
14+
from revengai.models.dynamic_execution_metadata import DynamicExecutionMetadata
15+
16+
# TODO update the JSON string below
17+
json = "{}"
18+
# create an instance of DynamicExecutionMetadata from a JSON string
19+
dynamic_execution_metadata_instance = DynamicExecutionMetadata.from_json(json)
20+
# print the JSON string representation of the object
21+
print(DynamicExecutionMetadata.to_json())
22+
23+
# convert the object into a dict
24+
dynamic_execution_metadata_dict = dynamic_execution_metadata_instance.to_dict()
25+
# create an instance of DynamicExecutionMetadata from a dict
26+
dynamic_execution_metadata_from_dict = DynamicExecutionMetadata.from_dict(dynamic_execution_metadata_dict)
27+
```
28+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
29+
30+

‎docs/OperandXref.md‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# OperandXref
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**instruction_vaddr** | **int** | Vaddr of the instruction containing the operand. |
9+
**pointed_vaddr** | **int** | Address stored in the pointer slot. Resolve this to a function, import or global to name the reference. |
10+
**target_vaddr** | **int** | Vaddr of the pointer slot the operand references. |
11+
12+
## Example
13+
14+
```python
15+
from revengai.models.operand_xref import OperandXref
16+
17+
# TODO update the JSON string below
18+
json = "{}"
19+
# create an instance of OperandXref from a JSON string
20+
operand_xref_instance = OperandXref.from_json(json)
21+
# print the JSON string representation of the object
22+
print(OperandXref.to_json())
23+
24+
# convert the object into a dict
25+
operand_xref_dict = operand_xref_instance.to_dict()
26+
# create an instance of OperandXref from a dict
27+
operand_xref_from_dict = OperandXref.from_dict(operand_xref_dict)
28+
```
29+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
30+
31+
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# OperationDynamicExecutionMetadataDynamicExecutionResult
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**done** | **bool** | Whether the operation has reached a terminal state. |
9+
**error** | [**Status**](Status.md) | Failure detail, populated only when done is true and the operation failed. | [optional]
10+
**metadata** | [**DynamicExecutionMetadata**](DynamicExecutionMetadata.md) | In-flight information and details. | [optional]
11+
**name** | **str** | API resource name. |
12+
**response** | **object** | | [optional]
13+
14+
## Example
15+
16+
```python
17+
from revengai.models.operation_dynamic_execution_metadata_dynamic_execution_result import OperationDynamicExecutionMetadataDynamicExecutionResult
18+
19+
# TODO update the JSON string below
20+
json = "{}"
21+
# create an instance of OperationDynamicExecutionMetadataDynamicExecutionResult from a JSON string
22+
operation_dynamic_execution_metadata_dynamic_execution_result_instance = OperationDynamicExecutionMetadataDynamicExecutionResult.from_json(json)
23+
# print the JSON string representation of the object
24+
print(OperationDynamicExecutionMetadataDynamicExecutionResult.to_json())
25+
26+
# convert the object into a dict
27+
operation_dynamic_execution_metadata_dynamic_execution_result_dict = operation_dynamic_execution_metadata_dynamic_execution_result_instance.to_dict()
28+
# create an instance of OperationDynamicExecutionMetadataDynamicExecutionResult from a dict
29+
operation_dynamic_execution_metadata_dynamic_execution_result_from_dict = OperationDynamicExecutionMetadataDynamicExecutionResult.from_dict(operation_dynamic_execution_metadata_dynamic_execution_result_dict)
30+
```
31+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
32+
33+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# RunDynamicExecutionInputBody
2+
3+
4+
## Properties
5+
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**archive_entry_path** | **str** | Relative path of the entry inside the archive to execute | [optional]
9+
**archive_password** | **str** | Password for an encrypted archive | [optional]
10+
**archive_sha_256_hash** | **str** | SHA-256 of the archive object to send to the sandbox instead of the analysed binary | [optional]
11+
**command_line_args** | **str** | Command-line arguments passed to the sample when the sandbox launches it | [optional]
12+
**start_method** | **str** | How the sandbox launches the sample. Defaults to the sandbox's standard behaviour when omitted. | [optional]
13+
**timeout** | **int** | Maximum sandbox execution time in seconds | [optional] [default to 120]
14+
15+
## Example
16+
17+
```python
18+
from revengai.models.run_dynamic_execution_input_body import RunDynamicExecutionInputBody
19+
20+
# TODO update the JSON string below
21+
json = "{}"
22+
# create an instance of RunDynamicExecutionInputBody from a JSON string
23+
run_dynamic_execution_input_body_instance = RunDynamicExecutionInputBody.from_json(json)
24+
# print the JSON string representation of the object
25+
print(RunDynamicExecutionInputBody.to_json())
26+
27+
# convert the object into a dict
28+
run_dynamic_execution_input_body_dict = run_dynamic_execution_input_body_instance.to_dict()
29+
# create an instance of RunDynamicExecutionInputBody from a dict
30+
run_dynamic_execution_input_body_from_dict = RunDynamicExecutionInputBody.from_dict(run_dynamic_execution_input_body_dict)
31+
```
32+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
33+
34+

‎revengai/__init__.py‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
""" # noqa: E501
1414

1515

16-
__version__ = "v4.64.0"
16+
__version__ = "v4.67.1"
1717

1818
# Define package exports
1919
__all__ = [
@@ -321,6 +321,7 @@
321321
"Display",
322322
"DnsQuery",
323323
"DrakvufFileMetadata",
324+
"DynamicExecutionMetadata",
324325
"DynamicExecutionStatus",
325326
"DynamicExecutionStatusResponse",
326327
"ELFImportModel",
@@ -528,10 +529,12 @@
528529
"NetworkingScanResult",
529530
"NetworkingVerification",
530531
"OIDCCallbackInputBody",
532+
"OperandXref",
531533
"OperationBinaryExportMetadataBinaryExportResult",
532534
"OperationCreateMetadataCreateResult",
533535
"OperationCryptoExplainMetadataCryptoExplainResult",
534536
"OperationCryptoScanMetadataCryptoScanResult",
537+
"OperationDynamicExecutionMetadataDynamicExecutionResult",
535538
"OperationExecutionExplainMetadataExecutionExplainResult",
536539
"OperationExecutionScanMetadataExecutionScanResult",
537540
"OperationFilesystemAnalyseMetadataFilesystemAnalyseResult",
@@ -613,6 +616,7 @@
613616
"ResultBody",
614617
"RevokeBody",
615618
"RuleKind",
619+
"RunDynamicExecutionInputBody",
616620
"SSOProvider",
617621
"SSOProvidersOutputBody",
618622
"SandboxConfig",
@@ -1098,6 +1102,7 @@
10981102
from revengai.models.display import Display as Display
10991103
from revengai.models.dns_query import DnsQuery as DnsQuery
11001104
from revengai.models.drakvuf_file_metadata import DrakvufFileMetadata as DrakvufFileMetadata
1105+
from revengai.models.dynamic_execution_metadata import DynamicExecutionMetadata as DynamicExecutionMetadata
11011106
from revengai.models.dynamic_execution_status import DynamicExecutionStatus as DynamicExecutionStatus
11021107
from revengai.models.dynamic_execution_status_response import DynamicExecutionStatusResponse as DynamicExecutionStatusResponse
11031108
from revengai.models.elf_import_model import ELFImportModel as ELFImportModel
@@ -1305,10 +1310,12 @@
13051310
from revengai.models.networking_scan_result import NetworkingScanResult as NetworkingScanResult
13061311
from revengai.models.networking_verification import NetworkingVerification as NetworkingVerification
13071312
from revengai.models.oidc_callback_input_body import OIDCCallbackInputBody as OIDCCallbackInputBody
1313+
from revengai.models.operand_xref import OperandXref as OperandXref
13081314
from revengai.models.operation_binary_export_metadata_binary_export_result import OperationBinaryExportMetadataBinaryExportResult as OperationBinaryExportMetadataBinaryExportResult
13091315
from revengai.models.operation_create_metadata_create_result import OperationCreateMetadataCreateResult as OperationCreateMetadataCreateResult
13101316
from revengai.models.operation_crypto_explain_metadata_crypto_explain_result import OperationCryptoExplainMetadataCryptoExplainResult as OperationCryptoExplainMetadataCryptoExplainResult
13111317
from revengai.models.operation_crypto_scan_metadata_crypto_scan_result import OperationCryptoScanMetadataCryptoScanResult as OperationCryptoScanMetadataCryptoScanResult
1318+
from revengai.models.operation_dynamic_execution_metadata_dynamic_execution_result import OperationDynamicExecutionMetadataDynamicExecutionResult as OperationDynamicExecutionMetadataDynamicExecutionResult
13121319
from revengai.models.operation_execution_explain_metadata_execution_explain_result import OperationExecutionExplainMetadataExecutionExplainResult as OperationExecutionExplainMetadataExecutionExplainResult
13131320
from revengai.models.operation_execution_scan_metadata_execution_scan_result import OperationExecutionScanMetadataExecutionScanResult as OperationExecutionScanMetadataExecutionScanResult
13141321
from revengai.models.operation_filesystem_analyse_metadata_filesystem_analyse_result import OperationFilesystemAnalyseMetadataFilesystemAnalyseResult as OperationFilesystemAnalyseMetadataFilesystemAnalyseResult
@@ -1390,6 +1397,7 @@
13901397
from revengai.models.result_body import ResultBody as ResultBody
13911398
from revengai.models.revoke_body import RevokeBody as RevokeBody
13921399
from revengai.models.rule_kind import RuleKind as RuleKind
1400+
from revengai.models.run_dynamic_execution_input_body import RunDynamicExecutionInputBody as RunDynamicExecutionInputBody
13931401
from revengai.models.sso_provider import SSOProvider as SSOProvider
13941402
from revengai.models.sso_providers_output_body import SSOProvidersOutputBody as SSOProvidersOutputBody
13951403
from revengai.models.sandbox_config import SandboxConfig as SandboxConfig

‎revengai/api/analyses_bulk_actions_api.py‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def bulk_add_analysis_tags(
5858
_headers: Optional[Dict[StrictStr, Any]] = None,
5959
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
6060
) -> BaseResponseAnalysisBulkAddTagsResponse:
61-
"""Bulk Add Analysis Tags
61+
"""(Deprecated) Bulk Add Analysis Tags
6262
6363
Updates analysis tags for multiple analyses. User must be the owner.
6464
@@ -85,6 +85,7 @@ def bulk_add_analysis_tags(
8585
:type _host_index: int, optional
8686
:return: Returns the result object.
8787
""" # noqa: E501
88+
warnings.warn("PATCH /v2/analyses/tags/add is deprecated.", DeprecationWarning)
8889

8990
_param = self._bulk_add_analysis_tags_serialize(
9091
analysis_bulk_add_tags_request=analysis_bulk_add_tags_request,
@@ -126,7 +127,7 @@ def bulk_add_analysis_tags_with_http_info(
126127
_headers: Optional[Dict[StrictStr, Any]] = None,
127128
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
128129
) -> ApiResponse[BaseResponseAnalysisBulkAddTagsResponse]:
129-
"""Bulk Add Analysis Tags
130+
"""(Deprecated) Bulk Add Analysis Tags
130131
131132
Updates analysis tags for multiple analyses. User must be the owner.
132133
@@ -153,6 +154,7 @@ def bulk_add_analysis_tags_with_http_info(
153154
:type _host_index: int, optional
154155
:return: Returns the result object.
155156
""" # noqa: E501
157+
warnings.warn("PATCH /v2/analyses/tags/add is deprecated.", DeprecationWarning)
156158

157159
_param = self._bulk_add_analysis_tags_serialize(
158160
analysis_bulk_add_tags_request=analysis_bulk_add_tags_request,
@@ -194,7 +196,7 @@ def bulk_add_analysis_tags_without_preload_content(
194196
_headers: Optional[Dict[StrictStr, Any]] = None,
195197
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
196198
) -> RESTResponseType:
197-
"""Bulk Add Analysis Tags
199+
"""(Deprecated) Bulk Add Analysis Tags
198200
199201
Updates analysis tags for multiple analyses. User must be the owner.
200202
@@ -221,6 +223,7 @@ def bulk_add_analysis_tags_without_preload_content(
221223
:type _host_index: int, optional
222224
:return: Returns the result object.
223225
""" # noqa: E501
226+
warnings.warn("PATCH /v2/analyses/tags/add is deprecated.", DeprecationWarning)
224227

225228
_param = self._bulk_add_analysis_tags_serialize(
226229
analysis_bulk_add_tags_request=analysis_bulk_add_tags_request,

0 commit comments

Comments
 (0)