Reference documentation and code samples for the Google Cloud Chronicle Client class EntityMetadata.
Information about the Entity and the product where the entity was created.
Generated from protobuf message google.backstory.EntityMetadata
Namespace
Google \ BackstoryMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ product_entity_id |
string
A vendor-specific identifier that uniquely identifies the entity (e.g. a GUID, LDAP, OID, or similar). |
↳ collected_timestamp |
Google\Protobuf\Timestamp
GMT timestamp when the entity information was collected by the vendor's local collection infrastructure. |
↳ creation_timestamp |
Google\Protobuf\Timestamp
GMT timestamp when the entity described by the product_entity_id was created on the system where data was collected. |
↳ interval |
Google\Type\Interval
Valid existence time range for the version of the entity represented by this entity data. |
↳ vendor_name |
string
Vendor name of the product that produced the entity information. |
↳ product_name |
string
Product name that produced the entity information. |
↳ feed |
string
Vendor feed name for a threat indicator feed. |
↳ product_version |
string
Version of the product that produced the entity information. |
↳ entity_type |
int
Entity type. If an entity has multiple possible types, this specifies the most specific type. |
↳ description |
string
Human-readable description of the entity. |
↳ threat |
array<SecurityResult>
Metadata provided by a threat intelligence feed that identified the entity as malicious. |
↳ source_type |
int
The source of the entity. |
↳ source_labels |
array<Label>
Entity source metadata labels. |
↳ event_metadata |
Metadata
Metadata field from the event. |
↳ structured_fields |
Google\Protobuf\Struct
Structured fields extracted from the log. |
↳ extracted |
Google\Protobuf\Struct
Flattened fields extracted from the log. |
↳ ati_prioritization |
AtiPrioritization
Prioritization factors used by ATI curated rules. |
getProductEntityId
A vendor-specific identifier that uniquely identifies the entity (e.g. a GUID, LDAP, OID, or similar).
| Returns | |
|---|---|
| Type | Description |
string |
|
setProductEntityId
A vendor-specific identifier that uniquely identifies the entity (e.g. a GUID, LDAP, OID, or similar).
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCollectedTimestamp
GMT timestamp when the entity information was collected by the vendor's local collection infrastructure.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCollectedTimestamp
clearCollectedTimestamp
setCollectedTimestamp
GMT timestamp when the entity information was collected by the vendor's local collection infrastructure.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreationTimestamp
GMT timestamp when the entity described by the product_entity_id was created on the system where data was collected.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreationTimestamp
clearCreationTimestamp
setCreationTimestamp
GMT timestamp when the entity described by the product_entity_id was created on the system where data was collected.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getInterval
Valid existence time range for the version of the entity represented by this entity data.
| Returns | |
|---|---|
| Type | Description |
Google\Type\Interval|null |
|
hasInterval
clearInterval
setInterval
Valid existence time range for the version of the entity represented by this entity data.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Type\Interval
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVendorName
Vendor name of the product that produced the entity information.
| Returns | |
|---|---|
| Type | Description |
string |
|
setVendorName
Vendor name of the product that produced the entity information.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProductName
Product name that produced the entity information.
| Returns | |
|---|---|
| Type | Description |
string |
|
setProductName
Product name that produced the entity information.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFeed
Vendor feed name for a threat indicator feed.
| Returns | |
|---|---|
| Type | Description |
string |
|
setFeed
Vendor feed name for a threat indicator feed.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProductVersion
Version of the product that produced the entity information.
| Returns | |
|---|---|
| Type | Description |
string |
|
setProductVersion
Version of the product that produced the entity information.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEntityType
Entity type.
If an entity has multiple possible types, this specifies the most specific type.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type EntityType. |
setEntityType
Entity type.
If an entity has multiple possible types, this specifies the most specific type.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type EntityType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Human-readable description of the entity.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Human-readable description of the entity.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getThreat
Metadata provided by a threat intelligence feed that identified the entity as malicious.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<SecurityResult> |
|
setThreat
Metadata provided by a threat intelligence feed that identified the entity as malicious.
| Parameter | |
|---|---|
| Name | Description |
var |
array<SecurityResult>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSourceType
The source of the entity.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type SourceType. |
setSourceType
The source of the entity.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type SourceType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSourceLabels
Entity source metadata labels.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<Label> |
|
setSourceLabels
Entity source metadata labels.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Label>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEventMetadata
Metadata field from the event.
| Returns | |
|---|---|
| Type | Description |
Metadata|null |
|
hasEventMetadata
clearEventMetadata
setEventMetadata
Metadata field from the event.
| Parameter | |
|---|---|
| Name | Description |
var |
Metadata
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStructuredFields
Structured fields extracted from the log.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Struct|null |
|
hasStructuredFields
clearStructuredFields
setStructuredFields
Structured fields extracted from the log.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Struct
|
| 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 |
|
getAtiPrioritization
Prioritization factors used by ATI curated rules.
| Returns | |
|---|---|
| Type | Description |
AtiPrioritization|null |
|
hasAtiPrioritization
clearAtiPrioritization
setAtiPrioritization
Prioritization factors used by ATI curated rules.
| Parameter | |
|---|---|
| Name | Description |
var |
AtiPrioritization
|
| Returns | |
|---|---|
| Type | Description |
$this |
|