# Entity

- [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/Entity#SCHEMA_REPRESENTATION)

An Entity provides additional context about an item in a UDM event. 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 |
|---|
| ``` { "metadata": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/EntityMetadata`) }, "entity": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Noun`) }, "relations": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Relation`) } ], "additional": { object }, "metric": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Metric`) }, "riskScore": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/EntityRisk`) } } ``` |

| Fields ||
|---|---|
| `metadata` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/EntityMetadata`)`` Entity metadata such as timestamp, product, etc. |
| `entity` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Noun`)`` Noun in the UDM event that this entity represents. |
| `relations[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Relation`)`` One or more relationships between the entity (a) and other entities, including the relationship type and related entity. |
| `additional` | ``object (`https://protobuf.dev/reference/protobuf/google.protobuf#struct` format)`` Important entity data that cannot be adequately represented within the formal sections of the Entity. |
| `metric` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Metric`)`` Stores statistical metrics about the entity. Used if metadata.entity_type is METRIC. |
| `riskScore` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/EntityRisk`)`` Stores information related to the entity's risk score. |