Method: entities.import

Full name: projects.locations.instances.entities.import

ImportEntities import the entities. Note that, All entities need to be valid for the request to be successful. An error in one entity will cause the entire request to be rejected.

HTTP request

POST https://chronicle.googleapis.com/v1alpha/{parent}/entities:import

Path parameters

Parameters
parent

string

Required. The parent, which owns this collection of entities.

Request body

The request body contains data with the following structure:

JSON representation
{

  // Union field source can be only one of the following:
  "inline_source": {
    object (EntitiesInlineSource)
  }
  // End of list of possible types for union field source.
}
Fields

Union field source.

source can be only one of the following:

inline_source

object (EntitiesInlineSource)

Required. Entities to be imported are specified inline.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • chronicle.entities.import

For more information, see the IAM documentation.

EntitiesInlineSource

An import source with the entities to import included inline.

JSON representation
{
  "entities": [
    {
      object (Entity)
    }
  ],
  "log_type": string
}
Fields
entities[]

object (Entity)

Required. The entities being imported.

log_type

string

Required. The logtype of the log this entity is created from.