Full name: projects.locations.instances.customLists.import
Imports multiple custom list entries from a CSV file. Use this method for bulk-uploading. Supports overriding existing records.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{parent}/customLists:import Path parameters
| Parameters | |
|---|---|
parent |
Required. The instance to list CustomLists for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "data": string, "overrideExistingRecords": boolean } |
| Fields | |
|---|---|
data |
Required. The data to import. This is a csv file as base64 encoded string. |
overrideExistingRecords |
Required. A boolean flag to determine whether to override existing custom lists during import. |
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://www.googleapis.com/auth/chronicle.readonly
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
chronicle.customLists.update
For more information, see the IAM documentation.