Reference documentation and code samples for the Google Cloud Chronicle Client class Noun.
The Noun type is used to represent the different entities in an event: principal, src, target, observer, intermediary, and about. It stores attributes known about the entity. For example, if the entity is a device with multiple IP or MAC addresses, it stores the IP and MAC addresses that are relevant to the event.
Generated from protobuf message google.backstory.Noun
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ hostname |
string
Client hostname or domain name field. Hostname also doubles as the domain for remote entities. This field can be used as an entity indicator for asset entities. |
↳ domain |
Domain
Information about the domain. |
↳ artifact |
Artifact
Information about an artifact. |
↳ url_metadata |
Url
Information about the URL. |
↳ browser |
Browser
Information about an entry in the web browser's local history database. |
↳ asset_id |
string
The asset ID. This field can be used as an entity indicator for asset entities. |
↳ user |
User
Information about the user. |
↳ user_management_chain |
array<User>
Information about the user's management chain (reporting hierarchy). Note: user_management_chain is only populated when data is exported to BigQuery since recursive fields (e.g. user.managers) are not supported by BigQuery. |
↳ group |
Group
Information about the group. |
↳ process |
Process
Information about the process. |
↳ process_ancestors |
array<Process>
Information about the process's ancestors ordered from immediate ancestor (parent process) to root. Note: process_ancestors is only populated when data is exported to BigQuery since recursive fields (e.g. process.parent_process) are not supported by BigQuery. |
↳ asset |
Asset
Information about the asset. |
↳ ip |
string[]
A list of IP addresses associated with a network connection. This field can be used as an entity indicator for asset entities. |
↳ nat_ip |
string[]
A list of NAT translated IP addresses associated with a network connection. |
↳ port |
int
Source or destination network port number when a specific network connection is described within an event. |
↳ nat_port |
int
NAT external network port number when a specific network connection is described within an event. |
↳ mac |
string[]
List of MAC addresses associated with a device. This field can be used as an entity indicator for asset entities. |
↳ administrative_domain |
string
Domain which the device belongs to (for example, the Microsoft Windows domain). |
↳ namespace |
string
Namespace which the device belongs to, such as "AD forest". Uses for this field include Microsoft Windows AD forest, the name of subsidiary, or the name of acquisition. This field can be used along with an asset indicator to identify an asset. |
↳ url |
string
The URL. |
↳ file |
File
Information about the file. |
↳ email |
string
Email address. Only filled in for security_result.about |
↳ registry |
Registry
Registry information. |
↳ application |
string
The name of an application or service. Some SSO solutions only capture the name of a target application such as "Atlassian" or "Chronicle". |
↳ platform |
int
Platform. |
↳ platform_version |
string
Platform version. For example, "Microsoft Windows 1803". |
↳ platform_patch_level |
string
Platform patch level. For example, "Build 17134.48" |
↳ cloud |
Cloud
Cloud metadata. Deprecated: cloud should be populated in entity Attribute as generic metadata (e.g. asset.attribute.cloud). |
↳ location |
Location
Physical location. For cloud environments, set the region in location.name. |
↳ ip_location |
array<Location>
Deprecated: use ip_geo_artifact.location instead. |
↳ ip_geo_artifact |
array<Artifact>
Enriched geographic information corresponding to an IP address. Specifically, location and network data. |
↳ resource |
Resource
Information about the resource (e.g. scheduled task, calendar entry). This field should not be used for files, registry, or processes because these objects are already part of Noun. |
↳ resource_ancestors |
array<Resource>
Information about the resource's ancestors ordered from immediate ancestor (starting with parent resource). |
↳ labels |
array<Label>
Labels are key-value pairs. For example: key = "env", value = "prod". Deprecated: labels should be populated in entity Attribute as generic metadata (e.g. user.attribute.labels). |
↳ object_reference |
Id
Finding to which the Analyst updated the feedback. |
↳ investigation |
Investigation
Analyst feedback/investigation for alerts. |
↳ network |
Network
Network details, including sub-messages with details on each protocol (for example, DHCP, DNS, or HTTP). |
↳ security_result |
array<SecurityResult>
A list of security results. |
getHostname
Client hostname or domain name field.
Hostname also doubles as the domain for remote entities. This field can be used as an entity indicator for asset entities.
| Returns | |
|---|---|
| Type | Description |
string |
|
setHostname
Client hostname or domain name field.
Hostname also doubles as the domain for remote entities. This field can be used as an entity indicator for asset entities.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDomain
Information about the domain.
| Returns | |
|---|---|
| Type | Description |
Domain|null |
|
hasDomain
clearDomain
setDomain
Information about the domain.
| Parameter | |
|---|---|
| Name | Description |
var |
Domain
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getArtifact
Information about an artifact.
| Returns | |
|---|---|
| Type | Description |
Artifact|null |
|
hasArtifact
clearArtifact
setArtifact
Information about an artifact.
| Parameter | |
|---|---|
| Name | Description |
var |
Artifact
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUrlMetadata
Information about the URL.
| Returns | |
|---|---|
| Type | Description |
Url|null |
|
hasUrlMetadata
clearUrlMetadata
setUrlMetadata
Information about the URL.
| Parameter | |
|---|---|
| Name | Description |
var |
Url
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBrowser
Information about an entry in the web browser's local history database.
| Returns | |
|---|---|
| Type | Description |
Browser|null |
|
hasBrowser
clearBrowser
setBrowser
Information about an entry in the web browser's local history database.
| Parameter | |
|---|---|
| Name | Description |
var |
Browser
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAssetId
The asset ID.
This field can be used as an entity indicator for asset entities.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAssetId
The asset ID.
This field can be used as an entity indicator for asset entities.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUser
Information about the user.
| Returns | |
|---|---|
| Type | Description |
User|null |
|
hasUser
clearUser
setUser
Information about the user.
| Parameter | |
|---|---|
| Name | Description |
var |
User
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUserManagementChain
Information about the user's management chain (reporting hierarchy).
Note: user_management_chain is only populated when data is exported to BigQuery since recursive fields (e.g. user.managers) are not supported by BigQuery.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<User> |
|
setUserManagementChain
Information about the user's management chain (reporting hierarchy).
Note: user_management_chain is only populated when data is exported to BigQuery since recursive fields (e.g. user.managers) are not supported by BigQuery.
| Parameter | |
|---|---|
| Name | Description |
var |
array<User>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGroup
Information about the group.
| Returns | |
|---|---|
| Type | Description |
Group|null |
|
hasGroup
clearGroup
setGroup
Information about the group.
| Parameter | |
|---|---|
| Name | Description |
var |
Group
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProcess
Information about the process.
| Returns | |
|---|---|
| Type | Description |
Process|null |
|
hasProcess
clearProcess
setProcess
Information about the process.
| Parameter | |
|---|---|
| Name | Description |
var |
Process
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProcessAncestors
Information about the process's ancestors ordered from immediate ancestor (parent process) to root.
Note: process_ancestors is only populated when data is exported to BigQuery since recursive fields (e.g. process.parent_process) are not supported by BigQuery.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Process> |
|
setProcessAncestors
Information about the process's ancestors ordered from immediate ancestor (parent process) to root.
Note: process_ancestors is only populated when data is exported to BigQuery since recursive fields (e.g. process.parent_process) are not supported by BigQuery.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Process>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAsset
Information about the asset.
| Returns | |
|---|---|
| Type | Description |
Asset|null |
|
hasAsset
clearAsset
setAsset
Information about the asset.
| Parameter | |
|---|---|
| Name | Description |
var |
Asset
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIp
A list of IP addresses associated with a network connection.
This field can be used as an entity indicator for asset entities.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setIp
A list of IP addresses associated with a network connection.
This field can be used as an entity indicator for asset entities.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNatIp
A list of NAT translated IP addresses associated with a network connection.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setNatIp
A list of NAT translated IP addresses associated with a network connection.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPort
Source or destination network port number when a specific network connection is described within an event.
| Returns | |
|---|---|
| Type | Description |
int |
|
setPort
Source or destination network port number when a specific network connection is described within an event.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNatPort
NAT external network port number when a specific network connection is described within an event.
| Returns | |
|---|---|
| Type | Description |
int |
|
setNatPort
NAT external network port number when a specific network connection is described within an event.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMac
List of MAC addresses associated with a device.
This field can be used as an entity indicator for asset entities.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<string> |
|
setMac
List of MAC addresses associated with a device.
This field can be used as an entity indicator for asset entities.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAdministrativeDomain
Domain which the device belongs to (for example, the Microsoft Windows domain).
| Returns | |
|---|---|
| Type | Description |
string |
|
setAdministrativeDomain
Domain which the device belongs to (for example, the Microsoft Windows domain).
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNamespace
Namespace which the device belongs to, such as "AD forest".
Uses for this field include Microsoft Windows AD forest, the name of subsidiary, or the name of acquisition. This field can be used along with an asset indicator to identify an asset.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNamespace
Namespace which the device belongs to, such as "AD forest".
Uses for this field include Microsoft Windows AD forest, the name of subsidiary, or the name of acquisition. This field can be used along with an asset indicator to identify an asset.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUrl
The URL.
| Returns | |
|---|---|
| Type | Description |
string |
|
setUrl
The URL.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFile
Information about the file.
| Returns | |
|---|---|
| Type | Description |
File|null |
|
hasFile
clearFile
setFile
Information about the file.
| Parameter | |
|---|---|
| Name | Description |
var |
File
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEmail
Email address.
Only filled in for security_result.about
| Returns | |
|---|---|
| Type | Description |
string |
|
setEmail
Email address.
Only filled in for security_result.about
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRegistry
Registry information.
| Returns | |
|---|---|
| Type | Description |
Registry|null |
|
hasRegistry
clearRegistry
setRegistry
Registry information.
| Parameter | |
|---|---|
| Name | Description |
var |
Registry
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getApplication
The name of an application or service.
Some SSO solutions only capture the name of a target application such as "Atlassian" or "Chronicle".
| Returns | |
|---|---|
| Type | Description |
string |
|
setApplication
The name of an application or service.
Some SSO solutions only capture the name of a target application such as "Atlassian" or "Chronicle".
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPlatform
Platform.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Platform. |
setPlatform
Platform.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Platform. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPlatformVersion
Platform version. For example, "Microsoft Windows 1803".
| Returns | |
|---|---|
| Type | Description |
string |
|
setPlatformVersion
Platform version. For example, "Microsoft Windows 1803".
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPlatformPatchLevel
Platform patch level.
For example, "Build 17134.48"
| Returns | |
|---|---|
| Type | Description |
string |
|
setPlatformPatchLevel
Platform patch level.
For example, "Build 17134.48"
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCloud
Cloud metadata.
Deprecated: cloud should be populated in entity Attribute as generic metadata (e.g. asset.attribute.cloud).
| Returns | |
|---|---|
| Type | Description |
Cloud|null |
|
hasCloud
clearCloud
setCloud
Cloud metadata.
Deprecated: cloud should be populated in entity Attribute as generic metadata (e.g. asset.attribute.cloud).
| Parameter | |
|---|---|
| Name | Description |
var |
Cloud
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLocation
Physical location. For cloud environments, set the region in location.name.
| Returns | |
|---|---|
| Type | Description |
Location|null |
|
hasLocation
clearLocation
setLocation
Physical location. For cloud environments, set the region in location.name.
| Parameter | |
|---|---|
| Name | Description |
var |
Location
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIpLocation
Deprecated: use ip_geo_artifact.location instead.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Location> |
|
setIpLocation
Deprecated: use ip_geo_artifact.location instead.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Location>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIpGeoArtifact
Enriched geographic information corresponding to an IP address.
Specifically, location and network data.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Artifact> |
|
setIpGeoArtifact
Enriched geographic information corresponding to an IP address.
Specifically, location and network data.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Artifact>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResource
Information about the resource (e.g. scheduled task, calendar entry).
This field should not be used for files, registry, or processes because these objects are already part of Noun.
| Returns | |
|---|---|
| Type | Description |
Resource|null |
|
hasResource
clearResource
setResource
Information about the resource (e.g. scheduled task, calendar entry).
This field should not be used for files, registry, or processes because these objects are already part of Noun.
| Parameter | |
|---|---|
| Name | Description |
var |
Resource
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResourceAncestors
Information about the resource's ancestors ordered from immediate ancestor (starting with parent resource).
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Resource> |
|
setResourceAncestors
Information about the resource's ancestors ordered from immediate ancestor (starting with parent resource).
| Parameter | |
|---|---|
| Name | Description |
var |
array<Resource>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLabels
Labels are key-value pairs.
For example: key = "env", value = "prod". Deprecated: labels should be populated in entity Attribute as generic metadata (e.g. user.attribute.labels).
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Label> |
|
setLabels
Labels are key-value pairs.
For example: key = "env", value = "prod". Deprecated: labels should be populated in entity Attribute as generic metadata (e.g. user.attribute.labels).
| Parameter | |
|---|---|
| Name | Description |
var |
array<Label>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getObjectReference
Finding to which the Analyst updated the feedback.
| Returns | |
|---|---|
| Type | Description |
Id|null |
|
hasObjectReference
clearObjectReference
setObjectReference
Finding to which the Analyst updated the feedback.
| Parameter | |
|---|---|
| Name | Description |
var |
Id
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInvestigation
Analyst feedback/investigation for alerts.
| Returns | |
|---|---|
| Type | Description |
Investigation|null |
|
hasInvestigation
clearInvestigation
setInvestigation
Analyst feedback/investigation for alerts.
| Parameter | |
|---|---|
| Name | Description |
var |
Investigation
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNetwork
Network details, including sub-messages with details on each protocol (for example, DHCP, DNS, or HTTP).
| Returns | |
|---|---|
| Type | Description |
Network|null |
|
hasNetwork
clearNetwork
setNetwork
Network details, including sub-messages with details on each protocol (for example, DHCP, DNS, or HTTP).
| Parameter | |
|---|---|
| Name | Description |
var |
Network
|
| 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 |
|