# UDM

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

A Unified Data Model event.

| JSON representation |
|---|
| ``` { "metadata": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Metadata`) }, "additional": { object }, "principal": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Noun`) }, "src": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Noun`) }, "target": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Noun`) }, "intermediary": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Noun`) } ], "observer": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Noun`) }, "about": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Noun`) } ], "securityResult": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/SecurityResult`) } ], "network": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Network`) }, "extensions": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Extensions`) }, "extracted": { object }, "grouped": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/GroupedFields`) } } ``` |

| Fields ||
|---|---|
| `metadata` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Metadata`)`` Event metadata such as timestamp, source product, etc. |
| `additional` | ``object (`https://protobuf.dev/reference/protobuf/google.protobuf#struct` format)`` Any important vendor-specific event data that cannot be adequately represented within the formal sections of the UDM model. |
| `principal` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Noun`)`` Represents the acting entity that originates the activity described in the event. The principal must include at least one machine detail (hostname, MACs, IPs, port, product-specific identifiers like an EDR asset ID) or user detail (for example, username), and optionally include process details. It must NOT include any of the following fields: email, files, registry keys or values. |
| `src` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Noun`)`` Represents a source entity being acted upon by the participant along with the device or process context for the source object (the machine where the source object resides). For example, if user U copies file A on machine X to file B on machine Y, both file A and machine X would be specified in the src portion of the UDM event. |
| `target` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Noun`)`` Represents a target entity being referenced by the event or an object on the target entity. For example, in a firewall connection from device A to device B, A is described as the principal and B is described as the target. For a process injection by process C into target process D, process C is described as the principal and process D is described as the target. |
| `intermediary[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Noun`)`` Represents details on one or more intermediate entities processing activity described in the event. This includes device details about a proxy server or SMTP relay server. If an active event (that has a principal and possibly target) passes through any intermediaries, they're added here. Intermediaries can impact the overall action, for example blocking or modifying an ongoing request. A rule of thumb here is that 'principal', 'target', and description of the initial action should be the same regardless of the intermediary or its action. A successful network connection from A-\>B should look the same in principal/target/intermediary as one blocked by firewall C: principal: A, target: B (intermediary: C). |
| `observer` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Noun`)`` Represents an observer entity (for example, a packet sniffer or network-based vulnerability scanner), which is not a direct intermediary, but which observes and reports on the event in question. |
| `about[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Noun`)`` Represents entities referenced by the event that are not otherwise described in principal, src, target, intermediary or observer. For example, it could be used to track email file attachments, domains/URLs/IPs embedded within an email body, and DLLs that are loaded during a PROCESS_LAUNCH event. |
| `securityResult[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/SecurityResult`)`` A list of security results. |
| `network` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Network`)`` All network details go here, including sub-messages with details on each protocol (for example, DHCP, DNS, or HTTP). |
| `extensions` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Extensions`)`` All other first-class, event-specific metadata goes in this message. Do not place protocol metadata in Extensions; put it in Network. |
| `extracted` | ``object (`https://protobuf.dev/reference/protobuf/google.protobuf#struct` format)`` Flattened fields extracted from the log. |
| `grouped` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/GroupedFields`)`` Related UDM fields that are grouped together. |