Indicators exported to CSV

You can get a CSV file containing information about indicators exported from the database according to parameters specified in the indicators export task.

To get the CSV file,

Send the GET request to https://%CyberTrace_WebAddress%/ioc_exports/%iocexport_name%.

Here, %CyberTrace_WebAddress% is the address of Kaspersky CyberTrace, and %iocexport_name% is the name of the indicators export task.

Request headers

This request has the following headers.

Request headers

Name

Value

Description

Authorization

string (base 64)

If authorization is enabled for the indicators export task, this string must contain the credentials specified in the settings of the indicators export task.

Request body

This request has an empty body.

Request example

The following is an example of a request.

GET https://192.0.2.57/ioc_exports/ExampleExport

Authorization: Basic dXNlcjpwYXNzd29yZA==

Response headers

The response has the following headers.

Response headers

Name

Value

Description

Content-Type

text/csv

Response content type.

Content-Length

integer

Response body size, in bytes.

Content-Disposition

attachment;filename={ioc_export}.csv

Indicates that response content must be treated as attachment.

Response body

The response body contains a CSV string with exported indicators data.

#Column1;Column2

"Value_1_1";"Value_1_2"

"Value_2_1";"Value_2_2"

The settings of the indicators export task specify if the first line of the response must be included in the response. The first line starts with '#', followed by column names. The column names are also specified in the settings of the indicators export task.

Response example

The following is an example of a response.

НТТР/1.1 200 ОК

Date:Mon, 23 Dec 2019 09:56:10 UTC

Content-Type: text/csv

Content-Length: 99

Content-Disposition: attachment;filename=ExampleExport.csv

#ioc_type;ioc_value

"MD5";"FEAF2058298C1E174C2B79AFFC7CF4DF"

"SHA1";"D01D17F6B13C7255A234F558ED85078EA5DD3F3D"

Error responses

For more information about possible response statuses, see section "Response statuses".

An error response does not contain an error description.

Error response example

The following is an example of an error response.

НТТР/1.1 500 Internal Server Error

Date:Mon, 23 Dec 2019 09:56:10 UTC

Content-Type: text/csv

Content-Length: 0

Page top