Kaspersky Research Sandbox provides an API to obtain Sandbox task execution results. For information about limitations for abridged reports, see the Abridged (short) reports for files section.
Request
Request method: GET
Endpoint: https://<server name>/api/v1/sandbox/tasks/{task ID}/report
Parameters
Obtaining task execution results parameters
Parameter |
Data type |
Occurrence |
Description |
---|---|---|---|
|
string |
Required |
Object execution task ID (GUID) you want to obtain results of. |
|
string |
Required |
Format of the report. Available values:
Default value: |
|
string |
Optional |
Format of the MITRE ATT&CK classification report. Available values:
Default value: |
cURL command sample: $ curl --user <user name> --request GET 'https://<server name>/api/v1/sandbox/tasks/<task ID>/report' You will be asked to enter your password. The password is not displayed while you type it. |
Responses
Endpoint returns the task execution results in the specified format.
200 OK
Sandbox task results are obtained successfully.
For the detailed description of the file contents, please see Exporting execution results to JSON archive and Exporting execution results to CSV archive sections.
If you request only static analysis results (pre_scan=true
), the response contains the following information:
Please note, in the current Kaspersky Research Sandbox version, the loaded-pe-images.json and loaded-pe-images.csv files have been renamed to loaded-images.json and loaded-image.csv accordingly.
400 Bad Request
Failed to obtain Sandbox task results due to incorrect query.
400 Bad Request response parameters
Parameter |
Data type |
Description |
---|---|---|
|
string |
Error ID. |
|
string |
Error description. |
|
string |
Additional information, if available. |
Error examples: Incorrect {"code":6,"message":"task not found"} Incorrect {"code":29,"message":"bad task id"} |
401 Unauthorized
Failed to obtain Sandbox task results due to incorrect user credentials.
404 Not Found
Task with specified ID not found.
500 Internal Server Error
Failed to obtain Sandbox task results due to an internal server error.
Page top