google-cloud-chronicle-v1 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/chronicle/v1/entity_pb.rb +6 -1
- data/lib/google/cloud/chronicle/v1/event_pb.rb +24 -0
- data/lib/google/cloud/chronicle/v1/rest.rb +1 -0
- data/lib/google/cloud/chronicle/v1/search_pb.rb +64 -0
- data/lib/google/cloud/chronicle/v1/search_service/client.rb +643 -0
- data/lib/google/cloud/chronicle/v1/search_service/credentials.rb +49 -0
- data/lib/google/cloud/chronicle/v1/search_service/operations.rb +843 -0
- data/lib/google/cloud/chronicle/v1/search_service/paths.rb +94 -0
- data/lib/google/cloud/chronicle/v1/search_service/rest/client.rb +586 -0
- data/lib/google/cloud/chronicle/v1/search_service/rest/operations.rb +927 -0
- data/lib/google/cloud/chronicle/v1/search_service/rest/service_stub.rb +204 -0
- data/lib/google/cloud/chronicle/v1/search_service/rest.rb +53 -0
- data/lib/google/cloud/chronicle/v1/search_service.rb +56 -0
- data/lib/google/cloud/chronicle/v1/search_services_pb.rb +47 -0
- data/lib/google/cloud/chronicle/v1/simulated_data_pb.rb +21 -0
- data/lib/google/cloud/chronicle/v1/version.rb +1 -1
- data/lib/google/cloud/chronicle/v1.rb +1 -0
- data/proto_docs/backstory/collection.rb +371 -0
- data/proto_docs/backstory/data_access.rb +59 -0
- data/proto_docs/backstory/entity.rb +639 -0
- data/proto_docs/backstory/entity_risk.rb +98 -0
- data/proto_docs/backstory/id.rb +73 -0
- data/proto_docs/backstory/udm.rb +7008 -0
- data/proto_docs/google/cloud/chronicle/v1/entity.rb +38 -0
- data/proto_docs/google/cloud/chronicle/v1/event.rb +42 -0
- data/proto_docs/google/cloud/chronicle/v1/search.rb +593 -0
- data/proto_docs/google/cloud/chronicle/v1/simulated_data.rb +40 -0
- data/proto_docs/google/protobuf/struct.rb +108 -0
- data/proto_docs/google/type/latlng.rb +38 -0
- metadata +45 -1
|
@@ -0,0 +1,639 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Backstory
|
|
22
|
+
# Information about the Entity and the product where the entity was created.
|
|
23
|
+
# @!attribute [rw] product_entity_id
|
|
24
|
+
# @return [::String]
|
|
25
|
+
# A vendor-specific identifier that uniquely identifies the entity
|
|
26
|
+
# (e.g. a GUID, LDAP, OID, or similar).
|
|
27
|
+
# @!attribute [rw] collected_timestamp
|
|
28
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
29
|
+
# GMT timestamp when the entity information was collected by the vendor's
|
|
30
|
+
# local collection infrastructure.
|
|
31
|
+
# @!attribute [rw] creation_timestamp
|
|
32
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
33
|
+
# GMT timestamp when the entity described by the product_entity_id was
|
|
34
|
+
# created on the system where data was collected.
|
|
35
|
+
# @!attribute [rw] interval
|
|
36
|
+
# @return [::Google::Type::Interval]
|
|
37
|
+
# Valid existence time range for the version of the entity represented by
|
|
38
|
+
# this entity data.
|
|
39
|
+
# @!attribute [rw] vendor_name
|
|
40
|
+
# @return [::String]
|
|
41
|
+
# Vendor name of the product that produced the entity information.
|
|
42
|
+
# @!attribute [rw] product_name
|
|
43
|
+
# @return [::String]
|
|
44
|
+
# Product name that produced the entity information.
|
|
45
|
+
# @!attribute [rw] feed
|
|
46
|
+
# @return [::String]
|
|
47
|
+
# Vendor feed name for a threat indicator feed.
|
|
48
|
+
# @!attribute [rw] product_version
|
|
49
|
+
# @return [::String]
|
|
50
|
+
# Version of the product that produced the entity information.
|
|
51
|
+
# @!attribute [rw] entity_type
|
|
52
|
+
# @return [::Google::Backstory::EntityMetadata::EntityType]
|
|
53
|
+
# Entity type.
|
|
54
|
+
# If an entity has multiple possible types, this specifies the most specific
|
|
55
|
+
# type.
|
|
56
|
+
# @!attribute [rw] description
|
|
57
|
+
# @return [::String]
|
|
58
|
+
# Human-readable description of the entity.
|
|
59
|
+
# @!attribute [rw] threat
|
|
60
|
+
# @return [::Array<::Google::Backstory::SecurityResult>]
|
|
61
|
+
# Metadata provided by a threat intelligence feed that identified the
|
|
62
|
+
# entity as malicious.
|
|
63
|
+
# @!attribute [rw] source_type
|
|
64
|
+
# @return [::Google::Backstory::EntityMetadata::SourceType]
|
|
65
|
+
# The source of the entity.
|
|
66
|
+
# @!attribute [rw] source_labels
|
|
67
|
+
# @return [::Array<::Google::Backstory::Label>]
|
|
68
|
+
# Entity source metadata labels.
|
|
69
|
+
# @!attribute [rw] event_metadata
|
|
70
|
+
# @return [::Google::Backstory::Metadata]
|
|
71
|
+
# Metadata field from the event.
|
|
72
|
+
# @!attribute [rw] structured_fields
|
|
73
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
|
74
|
+
# @return [::Google::Protobuf::Struct]
|
|
75
|
+
# Structured fields extracted from the log.
|
|
76
|
+
# @!attribute [rw] extracted
|
|
77
|
+
# @return [::Google::Protobuf::Struct]
|
|
78
|
+
# Flattened fields extracted from the log.
|
|
79
|
+
# @!attribute [rw] ati_prioritization
|
|
80
|
+
# @return [::Google::Backstory::AtiPrioritization]
|
|
81
|
+
# Prioritization factors used by ATI curated rules.
|
|
82
|
+
class EntityMetadata
|
|
83
|
+
include ::Google::Protobuf::MessageExts
|
|
84
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
85
|
+
|
|
86
|
+
# Describes the type of entity.
|
|
87
|
+
# An unknown event type.
|
|
88
|
+
module EntityType
|
|
89
|
+
# `@hide_from_doc`
|
|
90
|
+
UNKNOWN_ENTITYTYPE = 0
|
|
91
|
+
|
|
92
|
+
# An asset, such as workstation, laptop, phone, virtual machine, etc.
|
|
93
|
+
ASSET = 1
|
|
94
|
+
|
|
95
|
+
# User.
|
|
96
|
+
USER = 10_000
|
|
97
|
+
|
|
98
|
+
# Group.
|
|
99
|
+
GROUP = 10_001
|
|
100
|
+
|
|
101
|
+
# Resource.
|
|
102
|
+
RESOURCE = 2
|
|
103
|
+
|
|
104
|
+
# An external IP address.
|
|
105
|
+
IP_ADDRESS = 3
|
|
106
|
+
|
|
107
|
+
# A CIDR block.
|
|
108
|
+
CIDR_BLOCK = 9
|
|
109
|
+
|
|
110
|
+
# A file.
|
|
111
|
+
FILE = 4
|
|
112
|
+
|
|
113
|
+
# A domain.
|
|
114
|
+
DOMAIN_NAME = 5
|
|
115
|
+
|
|
116
|
+
# A url.
|
|
117
|
+
URL = 6
|
|
118
|
+
|
|
119
|
+
# A mutex.
|
|
120
|
+
MUTEX = 7
|
|
121
|
+
|
|
122
|
+
# A metric.
|
|
123
|
+
METRIC = 8
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# Describes the source of an entity.
|
|
127
|
+
module SourceType
|
|
128
|
+
# Default source type
|
|
129
|
+
SOURCE_TYPE_UNSPECIFIED = 0
|
|
130
|
+
|
|
131
|
+
# Entities ingested from customers (e.g. AD_CONTEXT, DLP_CONTEXT)
|
|
132
|
+
ENTITY_CONTEXT = 1
|
|
133
|
+
|
|
134
|
+
# Entities derived from customer data such as prevalence, artifact
|
|
135
|
+
# first/last seen, or asset/user first seen stats.
|
|
136
|
+
DERIVED_CONTEXT = 2
|
|
137
|
+
|
|
138
|
+
# Global contextual entities such as WHOIS or Safe Browsing.
|
|
139
|
+
GLOBAL_CONTEXT = 3
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# AtiPrioritization contains various fields used to calculate a priority score
|
|
144
|
+
# for an entity identified as a threat.
|
|
145
|
+
# @!attribute [rw] gti_verdict
|
|
146
|
+
# @return [::Integer]
|
|
147
|
+
# The confidence score from "GTI verdict" source.
|
|
148
|
+
# @!attribute [rw] gti_severity
|
|
149
|
+
# @return [::Integer]
|
|
150
|
+
# The confidence score from "GTI severity" source.
|
|
151
|
+
# @!attribute [rw] gti_threat_score
|
|
152
|
+
# @return [::Integer]
|
|
153
|
+
# The confidence score from "GTI threat score" source.
|
|
154
|
+
# @!attribute [rw] mandiant_analyst_confidence
|
|
155
|
+
# @return [::Integer]
|
|
156
|
+
# The confidence score from "Mandiant Analyst Intel" source.
|
|
157
|
+
# @!attribute [rw] gti_update_time
|
|
158
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
159
|
+
# Timestamp of the latest update for GTI verdict, severity, or threat score.
|
|
160
|
+
# @!attribute [rw] active_ir
|
|
161
|
+
# @return [::Boolean]
|
|
162
|
+
# Whether one or more Mandiant incident response customers had this indicator
|
|
163
|
+
# in their environment.
|
|
164
|
+
# @!attribute [rw] active_ir_first_tagged_time
|
|
165
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
166
|
+
# The timestamp of the first time an active IR was applied to this entity.
|
|
167
|
+
# @!attribute [rw] global_customer_count
|
|
168
|
+
# @return [::Integer]
|
|
169
|
+
# Global customer count over the last 30 days
|
|
170
|
+
# @!attribute [rw] global_hit_count
|
|
171
|
+
# @return [::Integer]
|
|
172
|
+
# Global hit count over the last 30 days
|
|
173
|
+
# @!attribute [rw] exclusive
|
|
174
|
+
# @return [::Boolean]
|
|
175
|
+
# Whether the indicator is being used by a maximum of one threat actor.
|
|
176
|
+
# @!attribute [rw] osint
|
|
177
|
+
# @return [::Boolean]
|
|
178
|
+
# Whether the indicator details are available in open source.
|
|
179
|
+
# @!attribute [rw] scanner
|
|
180
|
+
# @return [::Boolean]
|
|
181
|
+
# Whether the indicator is a scanner.
|
|
182
|
+
# @!attribute [rw] reviewed
|
|
183
|
+
# @return [::Boolean]
|
|
184
|
+
# Whether the indicator verdict has passed review.
|
|
185
|
+
# @!attribute [rw] attributed_malware
|
|
186
|
+
# @return [::Array<::Google::Backstory::SecurityResult::Association>]
|
|
187
|
+
# Malware families associated with this indicator.
|
|
188
|
+
# @!attribute [rw] attributed_threat_actors
|
|
189
|
+
# @return [::Array<::Google::Backstory::SecurityResult::Association>]
|
|
190
|
+
# Threat actors associated with this indicator.
|
|
191
|
+
class AtiPrioritization
|
|
192
|
+
include ::Google::Protobuf::MessageExts
|
|
193
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
# An Entity provides additional context about an item in a UDM event. For
|
|
197
|
+
# example, a PROCESS_LAUNCH event describes that user 'abc@example.corp'
|
|
198
|
+
# launched process 'shady.exe'.
|
|
199
|
+
# The event does not include information that user 'abc@example.com' is a
|
|
200
|
+
# recently terminated employee who administers a server storing finance data.
|
|
201
|
+
# Information stored in one or more Entities can add this additional context.
|
|
202
|
+
# @!attribute [rw] metadata
|
|
203
|
+
# @return [::Google::Backstory::EntityMetadata]
|
|
204
|
+
# Entity metadata such as timestamp, product, etc.
|
|
205
|
+
# @!attribute [rw] entity
|
|
206
|
+
# @return [::Google::Backstory::Noun]
|
|
207
|
+
# Noun in the UDM event that this entity represents.
|
|
208
|
+
# @!attribute [rw] relations
|
|
209
|
+
# @return [::Array<::Google::Backstory::Relation>]
|
|
210
|
+
# One or more relationships between the entity (a) and other entities,
|
|
211
|
+
# including the relationship type and related entity.
|
|
212
|
+
# @!attribute [rw] additional
|
|
213
|
+
# @return [::Google::Protobuf::Struct]
|
|
214
|
+
# Important entity data that cannot be adequately represented within
|
|
215
|
+
# the formal sections of the Entity.
|
|
216
|
+
# @!attribute [rw] risk_score
|
|
217
|
+
# @return [::Google::Backstory::EntityRisk]
|
|
218
|
+
# Stores information related to the entity's risk score.
|
|
219
|
+
# @!attribute [rw] metric
|
|
220
|
+
# @return [::Google::Backstory::Metric]
|
|
221
|
+
# Stores statistical metrics about the entity. Used if metadata.entity_type
|
|
222
|
+
# is METRIC.
|
|
223
|
+
class Entity
|
|
224
|
+
include ::Google::Protobuf::MessageExts
|
|
225
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
# Defines the relationship between the entity (a) and another entity (b).
|
|
229
|
+
# @!attribute [rw] entity
|
|
230
|
+
# @return [::Google::Backstory::Noun]
|
|
231
|
+
# Entity (b) that the primary entity (a) is related to.
|
|
232
|
+
# @!attribute [rw] entity_type
|
|
233
|
+
# @return [::Google::Backstory::EntityMetadata::EntityType]
|
|
234
|
+
# Type of the related entity (b) in this relationship.
|
|
235
|
+
# @!attribute [rw] relationship
|
|
236
|
+
# @return [::Google::Backstory::Relation::Relationship]
|
|
237
|
+
# Type of relationship.
|
|
238
|
+
# @!attribute [rw] direction
|
|
239
|
+
# @return [::Google::Backstory::Relation::Directionality]
|
|
240
|
+
# Directionality of relationship between primary entity (a) and the
|
|
241
|
+
# related entity (b).
|
|
242
|
+
# @!attribute [rw] uid
|
|
243
|
+
# @return [::String]
|
|
244
|
+
# UID of the relationship.
|
|
245
|
+
# @!attribute [rw] entity_label
|
|
246
|
+
# @return [::Google::Backstory::Relation::EntityLabel]
|
|
247
|
+
# Label to identify the Noun of the relation.
|
|
248
|
+
class Relation
|
|
249
|
+
include ::Google::Protobuf::MessageExts
|
|
250
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
251
|
+
|
|
252
|
+
# Type of relationship between the primary entity (a) and related entity (b).
|
|
253
|
+
module Relationship
|
|
254
|
+
# Default value
|
|
255
|
+
RELATIONSHIP_UNSPECIFIED = 0
|
|
256
|
+
|
|
257
|
+
# Related entity is owned by the primary entity (e.g. user owns device
|
|
258
|
+
# asset).
|
|
259
|
+
OWNS = 1
|
|
260
|
+
|
|
261
|
+
# Related entity is administered by the primary entity (e.g. user
|
|
262
|
+
# administers a group).
|
|
263
|
+
ADMINISTERS = 2
|
|
264
|
+
|
|
265
|
+
# Primary entity is a member of the related entity (e.g. user is a member
|
|
266
|
+
# of a group).
|
|
267
|
+
MEMBER = 3
|
|
268
|
+
|
|
269
|
+
# Primary entity may have executed the related entity.
|
|
270
|
+
EXECUTES = 4
|
|
271
|
+
|
|
272
|
+
# Primary entity may have been downloaded from the related entity.
|
|
273
|
+
DOWNLOADED_FROM = 5
|
|
274
|
+
|
|
275
|
+
# Primary entity contacts the related entity.
|
|
276
|
+
CONTACTS = 6
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
# Describes the relationship model as directed or undirected.
|
|
280
|
+
module Directionality
|
|
281
|
+
# Default value.
|
|
282
|
+
DIRECTIONALITY_UNSPECIFIED = 0
|
|
283
|
+
|
|
284
|
+
# Modeled in both directions. Primary entity (a) to related entity (b) and
|
|
285
|
+
# related entity (b) to primary entity (a).
|
|
286
|
+
BIDIRECTIONAL = 1
|
|
287
|
+
|
|
288
|
+
# Modeled in a single direction. Primary entity (a) to related entity (b).
|
|
289
|
+
UNIDIRECTIONAL = 2
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
# Entity label of the relation.
|
|
293
|
+
module EntityLabel
|
|
294
|
+
# Default value.
|
|
295
|
+
ENTITY_LABEL_UNSPECIFIED = 0
|
|
296
|
+
|
|
297
|
+
# The Noun represents a principal type object.
|
|
298
|
+
PRINCIPAL = 1
|
|
299
|
+
|
|
300
|
+
# The Noun represents a target type object.
|
|
301
|
+
TARGET = 2
|
|
302
|
+
|
|
303
|
+
# The Noun represents an observer type object.
|
|
304
|
+
OBSERVER = 3
|
|
305
|
+
|
|
306
|
+
# The Noun represents src type object.
|
|
307
|
+
SRC = 4
|
|
308
|
+
|
|
309
|
+
# The Noun represents a network type object.
|
|
310
|
+
NETWORK = 5
|
|
311
|
+
|
|
312
|
+
# The Noun represents a SecurityResult object.
|
|
313
|
+
SECURITY_RESULT = 6
|
|
314
|
+
|
|
315
|
+
# The Noun represents an intermediary type object.
|
|
316
|
+
INTERMEDIARY = 7
|
|
317
|
+
end
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
# Stores precomputed aggregated analytic data for an entity.
|
|
321
|
+
# @!attribute [rw] first_seen
|
|
322
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
323
|
+
# Timestamp of the first time the entity was seen in the environment.
|
|
324
|
+
# @!attribute [rw] last_seen
|
|
325
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
326
|
+
# Time stamp of the last time last time the entity was seen in the
|
|
327
|
+
# environment.
|
|
328
|
+
# @!attribute [rw] sum_measure
|
|
329
|
+
# @return [::Google::Backstory::Metric::Measure]
|
|
330
|
+
# Sum of all precomputed measures for the given metric.
|
|
331
|
+
# @!attribute [rw] total_events
|
|
332
|
+
# @return [::Integer]
|
|
333
|
+
# Total number of events used to calculate the given precomputed metric.
|
|
334
|
+
# @!attribute [rw] metric_name
|
|
335
|
+
# @return [::Google::Backstory::Metric::MetricName]
|
|
336
|
+
# Name of the analytic.
|
|
337
|
+
# @!attribute [rw] dimensions
|
|
338
|
+
# @return [::Array<::Google::Backstory::Metric::Dimension>]
|
|
339
|
+
# All group by clauses used to calculate the metric.
|
|
340
|
+
# @!attribute [rw] export_window
|
|
341
|
+
# @return [::Integer]
|
|
342
|
+
# Export window for which the metric was exported.
|
|
343
|
+
# @!attribute [rw] display_name
|
|
344
|
+
# @return [::String]
|
|
345
|
+
# Display name of the custom metric. Google-authored metrics do not have a
|
|
346
|
+
# display name.
|
|
347
|
+
# @!attribute [rw] outcome_variables
|
|
348
|
+
# @return [::Array<::Google::Backstory::FindingVariable>]
|
|
349
|
+
# List of outcome variables used in the custom metric.
|
|
350
|
+
# @!attribute [rw] match_variables
|
|
351
|
+
# @return [::Array<::Google::Backstory::FindingVariable>]
|
|
352
|
+
# List of match variables used in the custom metric.
|
|
353
|
+
# @!attribute [rw] time_range
|
|
354
|
+
# @return [::Google::Type::Interval]
|
|
355
|
+
# Time range for which the custom metric was calculated.
|
|
356
|
+
class Metric
|
|
357
|
+
include ::Google::Protobuf::MessageExts
|
|
358
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
359
|
+
|
|
360
|
+
# Describes the precomputed measure.
|
|
361
|
+
# @!attribute [rw] value
|
|
362
|
+
# @return [::Float]
|
|
363
|
+
# Value of the aggregated measure.
|
|
364
|
+
# @!attribute [rw] aggregate_function
|
|
365
|
+
# @return [::Google::Backstory::Metric::AggregateFunction]
|
|
366
|
+
# Function used to calculate the aggregated measure.
|
|
367
|
+
class Measure
|
|
368
|
+
include ::Google::Protobuf::MessageExts
|
|
369
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
370
|
+
end
|
|
371
|
+
|
|
372
|
+
# Mathematic function used to calculate the value.
|
|
373
|
+
module AggregateFunction
|
|
374
|
+
# Default value.
|
|
375
|
+
AGGREGATE_FUNCTION_UNSPECIFIED = 0
|
|
376
|
+
|
|
377
|
+
# Minimum.
|
|
378
|
+
MIN = 1
|
|
379
|
+
|
|
380
|
+
# Maximum.
|
|
381
|
+
MAX = 2
|
|
382
|
+
|
|
383
|
+
# Count.
|
|
384
|
+
COUNT = 3
|
|
385
|
+
|
|
386
|
+
# Sum.
|
|
387
|
+
SUM = 4
|
|
388
|
+
|
|
389
|
+
# Average.
|
|
390
|
+
AVG = 5
|
|
391
|
+
|
|
392
|
+
# Standard Deviation.
|
|
393
|
+
STDDEV = 6
|
|
394
|
+
end
|
|
395
|
+
|
|
396
|
+
# The name of the precomputed analytic.
|
|
397
|
+
module MetricName
|
|
398
|
+
# Default
|
|
399
|
+
METRIC_NAME_UNSPECIFIED = 0
|
|
400
|
+
|
|
401
|
+
# Total received network bytes.
|
|
402
|
+
NETWORK_BYTES_INBOUND = 1
|
|
403
|
+
|
|
404
|
+
# Total network sent bytes.
|
|
405
|
+
NETWORK_BYTES_OUTBOUND = 2
|
|
406
|
+
|
|
407
|
+
# Total network sent bytes and received bytes.
|
|
408
|
+
NETWORK_BYTES_TOTAL = 3
|
|
409
|
+
|
|
410
|
+
# Successful authentication attempts.
|
|
411
|
+
AUTH_ATTEMPTS_SUCCESS = 4
|
|
412
|
+
|
|
413
|
+
# Failed authentication attempts.
|
|
414
|
+
AUTH_ATTEMPTS_FAIL = 5
|
|
415
|
+
|
|
416
|
+
# Total authentication attempts.
|
|
417
|
+
AUTH_ATTEMPTS_TOTAL = 6
|
|
418
|
+
|
|
419
|
+
# Total number of sent bytes for DNS events.
|
|
420
|
+
DNS_BYTES_OUTBOUND = 7
|
|
421
|
+
|
|
422
|
+
# Total number of events having non-null received bytes.
|
|
423
|
+
NETWORK_FLOWS_INBOUND = 8
|
|
424
|
+
|
|
425
|
+
# Total number of events having non-null sent bytes.
|
|
426
|
+
NETWORK_FLOWS_OUTBOUND = 9
|
|
427
|
+
|
|
428
|
+
# Total events having non-null sent or received bytes.
|
|
429
|
+
NETWORK_FLOWS_TOTAL = 10
|
|
430
|
+
|
|
431
|
+
# DNS query success count - Number of events with response_code = 0.
|
|
432
|
+
DNS_QUERIES_SUCCESS = 11
|
|
433
|
+
|
|
434
|
+
# Number of events with response_code != 0.
|
|
435
|
+
DNS_QUERIES_FAIL = 12
|
|
436
|
+
|
|
437
|
+
# Total number of DNS queries made.
|
|
438
|
+
DNS_QUERIES_TOTAL = 13
|
|
439
|
+
|
|
440
|
+
# Number of successfule file executions.
|
|
441
|
+
FILE_EXECUTIONS_SUCCESS = 14
|
|
442
|
+
|
|
443
|
+
# Number of failed file executions.
|
|
444
|
+
FILE_EXECUTIONS_FAIL = 15
|
|
445
|
+
|
|
446
|
+
# Total number file executions.
|
|
447
|
+
FILE_EXECUTIONS_TOTAL = 16
|
|
448
|
+
|
|
449
|
+
# Number of successful HTTP queries.
|
|
450
|
+
HTTP_QUERIES_SUCCESS = 17
|
|
451
|
+
|
|
452
|
+
# Number of failed HTTP queries.
|
|
453
|
+
HTTP_QUERIES_FAIL = 18
|
|
454
|
+
|
|
455
|
+
# Total number of HTTP queries.
|
|
456
|
+
HTTP_QUERIES_TOTAL = 19
|
|
457
|
+
|
|
458
|
+
# Total number of emails sent in Google Workspace.
|
|
459
|
+
WORKSPACE_EMAILS_SENT_TOTAL = 20
|
|
460
|
+
|
|
461
|
+
# Total number of download actions in Google Workspace.
|
|
462
|
+
WORKSPACE_TOTAL_DOWNLOAD_ACTIONS = 21
|
|
463
|
+
|
|
464
|
+
# Total number of change actions in Google Workspace.
|
|
465
|
+
WORKSPACE_TOTAL_CHANGE_ACTIONS = 22
|
|
466
|
+
|
|
467
|
+
# Total number of authentication attempts in Google Workspace.
|
|
468
|
+
WORKSPACE_AUTH_ATTEMPTS_TOTAL = 23
|
|
469
|
+
|
|
470
|
+
# Number of outbound network bytes (total sent) in Google Workspace.
|
|
471
|
+
WORKSPACE_NETWORK_BYTES_OUTBOUND = 24
|
|
472
|
+
|
|
473
|
+
# Total number of network bytes (both sent and received) in Google
|
|
474
|
+
# Workspace.
|
|
475
|
+
WORKSPACE_NETWORK_BYTES_TOTAL = 25
|
|
476
|
+
|
|
477
|
+
# Track number of alerts fired by EDR/SENTINEL/MICROSOFT_GRAPH.
|
|
478
|
+
ALERT_EVENT_NAME_COUNT = 26
|
|
479
|
+
|
|
480
|
+
# Analytic tracking successful resource creations.
|
|
481
|
+
RESOURCE_CREATION_TOTAL = 27
|
|
482
|
+
|
|
483
|
+
# Analytic tracking successful resource creations.
|
|
484
|
+
RESOURCE_CREATION_SUCCESS = 28
|
|
485
|
+
|
|
486
|
+
# Analytic tracking successful resource reads.
|
|
487
|
+
RESOURCE_READ_SUCCESS = 29
|
|
488
|
+
|
|
489
|
+
# Analytic tracking failed resource reads.
|
|
490
|
+
RESOURCE_READ_FAIL = 30
|
|
491
|
+
|
|
492
|
+
# Analytic tracking successful resource deletions.
|
|
493
|
+
RESOURCE_DELETION_SUCCESS = 31
|
|
494
|
+
|
|
495
|
+
# Analytic tracking failed resource creations.
|
|
496
|
+
RESOURCE_CREATION_FAIL = 32
|
|
497
|
+
|
|
498
|
+
# Analytic tracking failed resource deletions.
|
|
499
|
+
RESOURCE_DELETION_FAIL = 33
|
|
500
|
+
|
|
501
|
+
# Analytic tracking total resource deletions.
|
|
502
|
+
RESOURCE_DELETION_TOTAL = 34
|
|
503
|
+
|
|
504
|
+
# Analytic tracking total resource reads.
|
|
505
|
+
RESOURCE_READ_TOTAL = 35
|
|
506
|
+
|
|
507
|
+
# Analytic tracking failed resource writes.
|
|
508
|
+
RESOURCE_WRITTEN_FAIL = 36
|
|
509
|
+
|
|
510
|
+
# Analytic tracking successful resource writes.
|
|
511
|
+
RESOURCE_WRITTEN_SUCCESS = 37
|
|
512
|
+
|
|
513
|
+
# Analytic tracking total resource writes.
|
|
514
|
+
RESOURCE_WRITTEN_TOTAL = 38
|
|
515
|
+
|
|
516
|
+
# UDM data summary tracking unique values of dimensions.
|
|
517
|
+
UDM_DATA_PRESENCE_SUMMARY = 39
|
|
518
|
+
end
|
|
519
|
+
|
|
520
|
+
# Describes field used as the dimension when grouping data to calculate the
|
|
521
|
+
# aggregate metric.
|
|
522
|
+
module Dimension
|
|
523
|
+
# Default
|
|
524
|
+
DIMENSION_UNSPECIFIED = 0
|
|
525
|
+
|
|
526
|
+
# Principal Device
|
|
527
|
+
PRINCIPAL_DEVICE = 1
|
|
528
|
+
|
|
529
|
+
# Target User
|
|
530
|
+
TARGET_USER = 2
|
|
531
|
+
|
|
532
|
+
# Target Device
|
|
533
|
+
TARGET_DEVICE = 3
|
|
534
|
+
|
|
535
|
+
# Principal User
|
|
536
|
+
PRINCIPAL_USER = 4
|
|
537
|
+
|
|
538
|
+
# Target IP
|
|
539
|
+
TARGET_IP = 5
|
|
540
|
+
|
|
541
|
+
# Principal File Hash
|
|
542
|
+
PRINCIPAL_FILE_HASH = 6
|
|
543
|
+
|
|
544
|
+
# Principal Country
|
|
545
|
+
PRINCIPAL_COUNTRY = 7
|
|
546
|
+
|
|
547
|
+
# Security Category
|
|
548
|
+
SECURITY_CATEGORY = 8
|
|
549
|
+
|
|
550
|
+
# Network ASN
|
|
551
|
+
NETWORK_ASN = 9
|
|
552
|
+
|
|
553
|
+
# Client Certificate Hash
|
|
554
|
+
CLIENT_CERTIFICATE_HASH = 10
|
|
555
|
+
|
|
556
|
+
# DNS Query Type
|
|
557
|
+
DNS_QUERY_TYPE = 11
|
|
558
|
+
|
|
559
|
+
# DNS Domain
|
|
560
|
+
DNS_DOMAIN = 12
|
|
561
|
+
|
|
562
|
+
# HTTP User Agent
|
|
563
|
+
HTTP_USER_AGENT = 13
|
|
564
|
+
|
|
565
|
+
# Event Type
|
|
566
|
+
EVENT_TYPE = 14
|
|
567
|
+
|
|
568
|
+
# Product Name
|
|
569
|
+
PRODUCT_NAME = 15
|
|
570
|
+
|
|
571
|
+
# Product Event Type
|
|
572
|
+
PRODUCT_EVENT_TYPE = 16
|
|
573
|
+
|
|
574
|
+
# Parent Folder Path
|
|
575
|
+
PARENT_FOLDER_PATH = 17
|
|
576
|
+
|
|
577
|
+
# Target resource Name
|
|
578
|
+
TARGET_RESOURCE_NAME = 18
|
|
579
|
+
|
|
580
|
+
# Principal Application.
|
|
581
|
+
PRINCIPAL_APPLICATION = 19
|
|
582
|
+
|
|
583
|
+
# Target Application.
|
|
584
|
+
TARGET_APPLICATION = 20
|
|
585
|
+
|
|
586
|
+
# Email To Address.
|
|
587
|
+
EMAIL_TO_ADDRESS = 21
|
|
588
|
+
|
|
589
|
+
# Email From Address.
|
|
590
|
+
EMAIL_FROM_ADDRESS = 22
|
|
591
|
+
|
|
592
|
+
# Mail Id.
|
|
593
|
+
MAIL_ID = 23
|
|
594
|
+
|
|
595
|
+
# Principal IP.
|
|
596
|
+
PRINCIPAL_IP = 24
|
|
597
|
+
|
|
598
|
+
# Security Action.
|
|
599
|
+
SECURITY_ACTION = 25
|
|
600
|
+
|
|
601
|
+
# Security Rule Id.
|
|
602
|
+
SECURITY_RULE_ID = 28
|
|
603
|
+
|
|
604
|
+
# Target Network Organization name.
|
|
605
|
+
TARGET_NETWORK_ORGANIZATION_NAME = 29
|
|
606
|
+
|
|
607
|
+
# Principal Network Organization name.
|
|
608
|
+
PRINCIPAL_NETWORK_ORGANIZATION_NAME = 30
|
|
609
|
+
|
|
610
|
+
# Principal Process File Path.
|
|
611
|
+
PRINCIPAL_PROCESS_FILE_PATH = 31
|
|
612
|
+
|
|
613
|
+
# Principal Process File SHA256 Hash.
|
|
614
|
+
PRINCIPAL_PROCESS_FILE_HASH = 32
|
|
615
|
+
|
|
616
|
+
# Security Result rule name.
|
|
617
|
+
SECURITY_RESULT_RULE_NAME = 33
|
|
618
|
+
|
|
619
|
+
# Target Resource label key.
|
|
620
|
+
TARGET_RESOURCE_LABEL_KEY = 34
|
|
621
|
+
|
|
622
|
+
# Vendor name.
|
|
623
|
+
VENDOR_NAME = 35
|
|
624
|
+
|
|
625
|
+
# Target Resource type.
|
|
626
|
+
TARGET_RESOURCE_TYPE = 36
|
|
627
|
+
|
|
628
|
+
# Target Location name.
|
|
629
|
+
TARGET_LOCATION_NAME = 37
|
|
630
|
+
|
|
631
|
+
# Log type.
|
|
632
|
+
LOG_TYPE = 38
|
|
633
|
+
|
|
634
|
+
# Target Hostname.
|
|
635
|
+
TARGET_HOSTNAME = 39
|
|
636
|
+
end
|
|
637
|
+
end
|
|
638
|
+
end
|
|
639
|
+
end
|