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 ( |
| Fields | |
|---|---|
metadata |
Entity metadata such as timestamp, product, etc. |
entity |
Noun in the UDM event that this entity represents. |
relations[] |
One or more relationships between the entity (a) and other entities, including the relationship type and related entity. |
additional |
Important entity data that cannot be adequately represented within the formal sections of the Entity. |
metric |
Stores statistical metrics about the entity. Used if metadata.entity_type is METRIC. |
riskScore |
Stores information related to the entity's risk score. |
EntityMetadata
Information about the Entity and the product where the entity was created. Next Tag: 18
| JSON representation |
|---|
{ "productEntityId": string, "collectedTimestamp": string, "creationTimestamp": string, "interval": { object ( |
| Fields | |
|---|---|
productEntityId |
A vendor-specific identifier that uniquely identifies the entity (e.g. a GUID, LDAP, OID, or similar). |
collectedTimestamp |
GMT timestamp when the entity information was collected by the vendor's local collection infrastructure. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
creationTimestamp |
GMT timestamp when the entity described by the productEntityId was created on the system where data was collected. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
interval |
Valid existence time range for the version of the entity represented by this entity data. |
vendorName |
Vendor name of the product that produced the entity information. |
productName |
Product name that produced the entity information. |
feed |
Vendor feed name for a threat indicator feed. |
productVersion |
Version of the product that produced the entity information. |
entityType |
Entity type. If an entity has multiple possible types, this specifies the most specific type. |
description |
Human-readable description of the entity. |
threat[] |
Metadata provided by a threat intelligence feed that identified the entity as malicious. |
sourceType |
The source of the entity. |
sourceLabels[] |
Entity source metadata labels. |
eventMetadata |
Metadata field from the event. |
structuredFields |
Structured fields extracted from the log. |
extracted |
Flattened fields extracted from the log. |
atiPrioritization |
Prioritization factors used by ATI curated rules. |
Relation
Defines the relationship between the entity (a) and another entity (b).
| JSON representation |
|---|
{ "entity": { object ( |
| Fields | |
|---|---|
entity |
Entity (b) that the primary entity (a) is related to. |
entityType |
Type of the related entity (b) in this relationship. |
relationship |
Type of relationship. |
direction |
Directionality of relationship between primary entity (a) and the related entity (b). |
uid |
UID of the relationship. A base64-encoded string. |
entityLabel |
Label to identify the Noun of the relation. |
Metric
Stores precomputed aggregated analytic data for an entity.
| JSON representation |
|---|
{ "firstSeen": string, "lastSeen": string, "sumMeasure": { object ( |
| Fields | |
|---|---|
firstSeen |
Timestamp of the first time the entity was seen in the environment. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
lastSeen |
Time stamp of the last time last time the entity was seen in the environment. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
sumMeasure |
Sum of all precomputed measures for the given metric. |
totalEvents |
Total number of events used to calculate the given precomputed metric. |
metricName |
Name of the analytic. |
dimensions[] |
All group by clauses used to calculate the metric. |
exportWindow |
Export window for which the metric was exported. |
Measure
Describes the precomputed measure.
| JSON representation |
|---|
{
"value": number,
"aggregateFunction": enum ( |
| Fields | |
|---|---|
value |
Value of the aggregated measure. |
aggregateFunction |
Function used to calculate the aggregated measure. |