getInvestigationFileUrl
You can use this method to check the status of a task started through the collectInvestigationPackage, startCommandExecutionOnEndpoint, or startRetrieveInvestigationFileFromEndpoint method. Once the task has been completed, you can also retrieve the download URL for the investigation package, log file, or investigation file uploaded in GravityZone using one of those methods.
API URL: CONTROL_CENTER_APIs_ACCESS_URL/v1.0/jsonrpc/investigation.
Important
This method requires:
Advanced Investigation and Manage Networks rights.
A license that includes the EDR feature.
As an alternative to this method, you can download the investigation package, log file, or investigation file uploaded via
collectInvestigationPackage,startCommandExecutionOnEndpoint, orstartRetrieveInvestigationFileFromEndpointdirectly from GravityZone Control Center. Open the endpoint details from the Network section and go to the Investigation tab.
Parameters
Parameter | Description | Included in request | Type | Value requirements |
|---|---|---|---|---|
| The ID of the endpoint for which the file or package retrieval was previously initiated using | Mandatory | String | The string should be a valid managed endpoint ID containing exactly 24 hexadecimal characters. |
| The investigation activity ID returned by | Mandatory | String | Must be the valid ID of a The string should contain exactly 24 hexadecimal characters. |
These are common parameters, available across all public API methods:
Parameter | Description | Included in request | Type | Value requirements |
|---|---|---|---|---|
| This parameter adds an identifier to the request, linking it to its corresponding response. The target replies with the same value in the response, allowing easy call tracking. | Mandatory | String | No additional requirements. |
| The name of the method you are using to send the request. | Mandatory | String | Must be a valid method name. |
| The version of JSON-RPC used by the request and the response. | Mandatory | String | The only possible value is |
| An object containing the configuration of the request. | Mandatory | Object | No additional requirements. |
Return value
Attribute | Type | Description |
|---|---|---|
| Object | The current status of the Refer to |
Objects
result
Tip
Result information is updated progressively as the endpoint executes the task. The task might still be running when this method is called. Therefore, perform the API call at regular intervals until status is success or failed.
Attribute | Type | Description |
|---|---|---|
| String | The current status of the Possible values:
ImportantThe |
| ||
| Integer | An error code describing the failure reason. Possible values:
TipIf any of these errors persist and no clear cause or resolution can be identified, contact Bitdefender Enterprise Support. |
| ||
| String | The full HTTPS URL of the archive containing the collected investigation file, log file, or investigation package. |
| String | The storage bucket name. |
| String | The identifier of the file within the bucket. |
Example
Request:
{
"jsonrpc": "2.0",
"method": "getInvestigationFileUrl",
"id": "787b5e36-89a8-4353-88b9-6b7a32e9c87f",
"params": {
"targetId": "559bd17ab1a43d241b7b23c6",
"activityId": "559bd17ab1a43d241b7b23c6"
}
}Response: