- Resource: Entity
- EntityMetadata
- EntityType
- SourceType
- EntityRisk
- RiskDelta
- Metric
- Measure
- AggregateFunction
- MetricName
- Dimension
- Relation
- Relationship
- Directionality
- EntityLabel
- Methods
Resource: Entity
An Entity provides additional context about an entity in a UDM event (asset, user, etc.). 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 |
---|
{ "name": string, "metadata": { object ( |
Fields | |
---|---|
name |
The resource name of the entity. Format: projects/{project}/locations/{location}/instances/{instance}/entities/{entity} |
metadata |
Entity metadata such as timestamp, product, etc. |
entity |
Noun in the UDM event that this entity represents. |
additional |
Important entity data that cannot be adequately represented within the formal sections of the Entity. |
risk_score |
Represents the entity risk scores resource |
metric |
Metric details of the entity. Used if EntityType is METRIC. |
relations[] |
One or more relationships between the entity (a) and other entities, including the relationship type and related entity. |
EntityMetadata
JSON representation |
---|
{ "product_entity_id": string, "collected_timestamp": string, "creation_timestamp": string, "interval": { object ( |
Fields | |
---|---|
product_entity_id |
|
collected_timestamp |
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
creation_timestamp |
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
interval |
|
vendor_name |
|
product_name |
|
feed |
|
product_version |
|
entity_type |
|
description |
|
threat[] |
|
source_type |
|
source_labels[] |
|
event_metadata |
|
EntityType
Enums | |
---|---|
UNKNOWN_ENTITYTYPE |
|
ASSET |
|
USER |
|
GROUP |
|
RESOURCE |
|
IP_ADDRESS |
|
FILE |
|
DOMAIN_NAME |
|
URL |
|
MUTEX |
|
METRIC |
SourceType
Enums | |
---|---|
SOURCE_TYPE_UNSPECIFIED |
|
ENTITY_CONTEXT |
|
DERIVED_CONTEXT |
|
GLOBAL_CONTEXT |
EntityRisk
JSON representation |
---|
{ "risk_version": string, "risk_window": { object ( |
Fields | |
---|---|
risk_version |
|
risk_window |
|
DEPRECATED_risk_score |
|
detections_count |
|
first_detection_time |
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
last_detection_time |
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
risk_score |
|
normalized_risk_score |
|
risk_window_size |
A duration in seconds with up to nine fractional digits, ending with ' |
risk_delta |
|
raw_risk_delta |
|
RiskDelta
JSON representation |
---|
{ "previous_range_end_time": string, "risk_score_delta": integer, "previous_risk_score": integer, "risk_score_numeric_delta": integer } |
Fields | |
---|---|
previous_range_end_time |
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
risk_score_delta |
|
previous_risk_score |
|
risk_score_numeric_delta |
|
Metric
JSON representation |
---|
{ "first_seen": string, "last_seen": string, "sum_measure": { object ( |
Fields | |
---|---|
first_seen |
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
last_seen |
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
sum_measure |
|
total_events |
|
metric_name |
|
dimensions[] |
|
export_window |
|
Measure
JSON representation |
---|
{
"value": number,
"aggregate_function": enum ( |
Fields | |
---|---|
value |
|
aggregate_function |
|
AggregateFunction
Enums | |
---|---|
AGGREGATE_FUNCTION_UNSPECIFIED |
|
MIN |
|
MAX |
|
COUNT |
|
SUM |
|
AVG |
|
STDDEV |
MetricName
Enums | |
---|---|
METRIC_NAME_UNSPECIFIED |
|
NETWORK_BYTES_INBOUND |
|
NETWORK_BYTES_OUTBOUND |
|
NETWORK_BYTES_TOTAL |
|
AUTH_ATTEMPTS_SUCCESS |
|
AUTH_ATTEMPTS_FAIL |
|
AUTH_ATTEMPTS_TOTAL |
|
DNS_BYTES_OUTBOUND |
|
NETWORK_FLOWS_INBOUND |
|
NETWORK_FLOWS_OUTBOUND |
|
NETWORK_FLOWS_TOTAL |
|
DNS_QUERIES_SUCCESS |
|
DNS_QUERIES_FAIL |
|
DNS_QUERIES_TOTAL |
|
FILE_EXECUTIONS_SUCCESS |
|
FILE_EXECUTIONS_FAIL |
|
FILE_EXECUTIONS_TOTAL |
|
HTTP_QUERIES_SUCCESS |
|
HTTP_QUERIES_FAIL |
|
HTTP_QUERIES_TOTAL |
|
WORKSPACE_EMAILS_SENT_TOTAL |
|
WORKSPACE_TOTAL_DOWNLOAD_ACTIONS |
|
WORKSPACE_TOTAL_CHANGE_ACTIONS |
|
WORKSPACE_AUTH_ATTEMPTS_TOTAL |
|
WORKSPACE_NETWORK_BYTES_OUTBOUND |
|
WORKSPACE_NETWORK_BYTES_TOTAL |
|
ALERT_EVENT_NAME_COUNT |
Dimension
Enums | |
---|---|
DIMENSION_UNSPECIFIED |
|
PRINCIPAL_DEVICE |
|
TARGET_USER |
|
TARGET_DEVICE |
|
PRINCIPAL_USER |
|
TARGET_IP |
|
PRINCIPAL_FILE_HASH |
|
PRINCIPAL_COUNTRY |
|
SECURITY_CATEGORY |
|
NETWORK_ASN |
|
CLIENT_CERTIFICATE_HASH |
|
DNS_QUERY_TYPE |
|
DNS_DOMAIN |
|
HTTP_USER_AGENT |
|
EVENT_TYPE |
|
PRODUCT_NAME |
|
PRODUCT_EVENT_TYPE |
|
PARENT_FOLDER_PATH |
|
TARGET_RESOURCE_NAME |
|
PRINCIPAL_APPLICATION |
|
TARGET_APPLICATION |
|
EMAIL_TO_ADDRESS |
|
EMAIL_FROM_ADDRESS |
|
MAIL_ID |
|
PRINCIPAL_IP |
|
SECURITY_ACTION |
|
SECURITY_RULE_ID |
|
TARGET_NETWORK_ORGANIZATION_NAME |
|
PRINCIPAL_NETWORK_ORGANIZATION_NAME |
|
PRINCIPAL_PROCESS_FILE_PATH |
|
PRINCIPAL_PROCESS_FILE_HASH |
|
SECURITY_RESULT_RULE_NAME |
Relation
JSON representation |
---|
{ "entity": { object ( |
Fields | |
---|---|
entity |
|
entity_type |
|
relationship |
|
direction |
|
uid |
A base64-encoded string. |
entity_label |
|
Relationship
Enums | |
---|---|
RELATIONSHIP_UNSPECIFIED |
|
OWNS |
|
ADMINISTERS |
|
MEMBER |
|
EXECUTES |
|
DOWNLOADED_FROM |
|
CONTACTS |
Directionality
Enums | |
---|---|
DIRECTIONALITY_UNSPECIFIED |
|
BIDIRECTIONAL |
|
UNIDIRECTIONAL |
EntityLabel
Enums | |
---|---|
ENTITY_LABEL_UNSPECIFIED |
|
PRINCIPAL |
|
TARGET |
|
OBSERVER |
|
SRC |
|
NETWORK |
|
SECURITY_RESULT |
|
INTERMEDIARY |
Methods |
|
---|---|
|
Gets an entity by name. |
|
ImportEntities import the entities. |
|
Modify base entity risk score for an entity. |
|
Query modifications to base entity risk score for an entity. |