getInvestigationFileUrl
You can use this method to check the status of a task started through the collectInvestigationPackage or startRetrieveInvestigationFileFromEndpoint method and, once the task has completed, retrieve the download URL for the investigation file or investigation package uploaded in GravityZone using those methods.
API URL: CONTROL_CENTER_APIs_ACCESS_URL/v1.0/jsonrpc/investigation.
Important
To use this method, your user account, your company, and the endpoint for which the file or package retrieval was previously initiated via
collectInvestigationPackageorstartRetrieveInvestigationFileFromEndpointmust satisfy all Remote Shell session prerequisites, except for the 2FA requirement.As an alternative to this method, you can download the investigation file or package directly 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, so continue calling it 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 or 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: