Kaspersky Research Sandbox provides an API to obtain the list of suspicious activities.
Request
Request method: GET
Endpoint for Windows and Linux environments: https://<server name>/api/v1/sandbox/tasks/{task ID}/activity-susp
Endpoint for Android environments: https://<server name>/api/v1/sandbox/tasks/{task ID}/activity-susp-android
Parameters
Obtaining suspicious activities list
Parameter |
Data type |
Occurrence |
Description |
---|---|---|---|
|
string |
Required |
Object execution task ID (GUID). |
cURL command sample for Windows and Linux: $ curl --user <user name> --request GET 'https://<server name>/api/v1/sandbox/tasks/<task ID>/activity-susp' cURL command sample for Android: $ curl --user <user name> --request GET 'https://<server name>/api/v1/sandbox/tasks/<task ID>/activity-susp-android' You will be asked to enter your password. The password is not displayed while you type it. |
Responses
Endpoint returns a JSON object that contains the suspicious activities list.
200 OK
A JSON object that contains the suspicious activities list obtained successfully.
200 OK response parameters for Windows and Linux
Parameter |
Data type |
Description |
---|---|---|
|
integer |
Unique activity ID. |
|
integer |
ID of the activity parent. |
|
string |
Suspicious activity type. Use the |
|
string |
Type of the activity ( |
|
integer |
If |
|
integer |
Numerical value for the danger level of the registered activity (integer 1–1500). |
|
string |
Color code of the activity danger zone (level). |
|
string |
Activity description. |
|
array |
List of activity key parameters that are displayed on the execution map in the Kaspersky Research Sandbox web interface. |
|
array |
Main properties of the registered activity: key fields and its values. |
|
integer |
Information about known tactics, techniques, and procedures (TTPs), and mapping with MITRE ATT&CK classification for the executed object. |
|
array |
The full list of available activity properties. |
200 OK response parameters for Android
Parameter |
Data type |
Description |
---|---|---|
|
string |
Class of the event. |
|
string |
Type of the event. |
|
string |
Date and time the event task was registered, specified in the UNIX time stamp system: the number of seconds that have elapsed since 00:00:00 (UTC), 1 January 1970. |
|
boolean |
Indicates a subset of main-components. |
|
string |
The danger zone (level) of the activity. |
|
integer |
Numerical value of the danger level of the registered activity (integer 1–1000). |
Description |
array |
Object description. May include name of the activity, it's description and a number of related properties. |
400 Bad Request
Failed to obtain a JSON object that contains the suspicious activities list 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 a JSON object that contains the suspicious activities list due to incorrect user credentials.
404 Not Found
Task with specified ID not found.
Error example: The {"code":35, "message":"task section not found"} |
500 Internal Server Error
Failed to obtain a JSON object that contains the suspicious activities due to an internal server error.
Page top