Reference documentation and code samples for the Google Cloud Chronicle Client class UDM.
A Unified Data Model event.
Generated from protobuf message google.backstory.UDM
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ metadata |
Metadata
Event metadata such as timestamp, source product, etc. |
↳ additional |
Google\Protobuf\Struct
Any important vendor-specific event data that cannot be adequately represented within the formal sections of the UDM model. |
↳ principal |
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 |
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 |
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 |
array<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 |
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 |
array<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. |
↳ security_result |
array<SecurityResult>
A list of security results. |
↳ network |
Network
All network details go here, including sub-messages with details on each protocol (for example, DHCP, DNS, or HTTP). |
↳ extensions |
Extensions
All other first-class, event-specific metadata goes in this message. Do not place protocol metadata in Extensions; put it in Network. |
↳ extracted |
Google\Protobuf\Struct
Flattened fields extracted from the log. |
↳ grouped |
GroupedFields
Related UDM fields that are grouped together. |
getMetadata
Event metadata such as timestamp, source product, etc.
| Returns | |
|---|---|
| Type | Description |
Metadata|null |
|
hasMetadata
clearMetadata
setMetadata
Event metadata such as timestamp, source product, etc.
| Parameter | |
|---|---|
| Name | Description |
var |
Metadata
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAdditional
Any important vendor-specific event data that cannot be adequately represented within the formal sections of the UDM model.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Struct|null |
|
hasAdditional
clearAdditional
setAdditional
Any important vendor-specific event data that cannot be adequately represented within the formal sections of the UDM model.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Struct
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPrincipal
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.
| Returns | |
|---|---|
| Type | Description |
Noun|null |
|
hasPrincipal
clearPrincipal
setPrincipal
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.
| Parameter | |
|---|---|
| Name | Description |
var |
Noun
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSrc
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.
| Returns | |
|---|---|
| Type | Description |
Noun|null |
|
hasSrc
clearSrc
setSrc
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.
| Parameter | |
|---|---|
| Name | Description |
var |
Noun
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTarget
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.
| Returns | |
|---|---|
| Type | Description |
Noun|null |
|
hasTarget
clearTarget
setTarget
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.
| Parameter | |
|---|---|
| Name | Description |
var |
Noun
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIntermediary
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).
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Noun> |
|
setIntermediary
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).
| Parameter | |
|---|---|
| Name | Description |
var |
array<Noun>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getObserver
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.
| Returns | |
|---|---|
| Type | Description |
Noun|null |
|
hasObserver
clearObserver
setObserver
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.
| Parameter | |
|---|---|
| Name | Description |
var |
Noun
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAbout
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.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Noun> |
|
setAbout
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.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Noun>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSecurityResult
A list of security results.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<SecurityResult> |
|
setSecurityResult
A list of security results.
| Parameter | |
|---|---|
| Name | Description |
var |
array<SecurityResult>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNetwork
All network details go here, including sub-messages with details on each protocol (for example, DHCP, DNS, or HTTP).
| Returns | |
|---|---|
| Type | Description |
Network|null |
|
hasNetwork
clearNetwork
setNetwork
All network details go here, including sub-messages with details on each protocol (for example, DHCP, DNS, or HTTP).
| Parameter | |
|---|---|
| Name | Description |
var |
Network
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExtensions
All other first-class, event-specific metadata goes in this message.
Do not place protocol metadata in Extensions; put it in Network.
| Returns | |
|---|---|
| Type | Description |
Extensions|null |
|
hasExtensions
clearExtensions
setExtensions
All other first-class, event-specific metadata goes in this message.
Do not place protocol metadata in Extensions; put it in Network.
| Parameter | |
|---|---|
| Name | Description |
var |
Extensions
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExtracted
Flattened fields extracted from the log.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Struct|null |
|
hasExtracted
clearExtracted
setExtracted
Flattened fields extracted from the log.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Struct
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGrouped
Related UDM fields that are grouped together.
| Returns | |
|---|---|
| Type | Description |
GroupedFields|null |
|
hasGrouped
clearGrouped
setGrouped
Related UDM fields that are grouped together.
| Parameter | |
|---|---|
| Name | Description |
var |
GroupedFields
|
| Returns | |
|---|---|
| Type | Description |
$this |
|