- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- EntitiesInlineSource
- Entity
- Try it!
Full name: projects.locations.instances.entities.import
entities.import 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.africa-south1.rep.googleapis.com/v1beta/{parent}/entities:import
Path parameters
Parameters | |
---|---|
parent |
Required. The parent, which owns this collection of entities. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field
|
|
inlineSource |
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 ( |
Fields | |
---|---|
entities[] |
Required. The entities being imported. |
logType |
Required. The logtype of the log this entity is created from. |
Entity
An Entity provides additional context about an entity in a UDM event (asset, user, etc.). For example, a PROCESS_LAUNCH event describes that user 'abc@example.corp' launched process 'shady.exe'. The event does not include information that user 'abc@example.com' is a recently terminated employee who administers a server storing finance data. Information stored in one or more Entities can add this additional context.
JSON representation |
---|
{ "name": string, "metadata": { object ( |
Fields | |
---|---|
name |
The resource name of the entity. Format: |
metadata |
Entity metadata such as timestamp, product, etc. |
entity |
Noun in the UDM event that this entity represents. |
additional |
Important entity data that cannot be adequately represented within the formal sections of the Entity. |
riskScore |
Represents the entity risk scores resource |
metric |
Metric details of the entity. Used if EntityType is METRIC. |
relations[] |
One or more relationships between the entity (a) and other entities, including the relationship type and related entity. |