google-cloud-security_center-v1 1.0.0 → 1.2.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/README.md +0 -1
- data/lib/google/cloud/security_center/v1/security_center/client.rb +2096 -182
- data/lib/google/cloud/security_center/v1/security_center/paths.rb +313 -0
- data/lib/google/cloud/security_center/v1/security_center/rest/client.rb +1977 -189
- data/lib/google/cloud/security_center/v1/security_center/rest/service_stub.rb +1926 -595
- data/lib/google/cloud/security_center/v1/version.rb +1 -1
- data/lib/google/cloud/securitycenter/v1/asset_pb.rb +1 -1
- data/lib/google/cloud/securitycenter/v1/attack_exposure_pb.rb +46 -0
- data/lib/google/cloud/securitycenter/v1/attack_path_pb.rb +49 -0
- data/lib/google/cloud/securitycenter/v1/bigquery_export_pb.rb +1 -1
- data/lib/google/cloud/securitycenter/v1/effective_event_threat_detection_custom_module_pb.rb +48 -0
- data/lib/google/cloud/securitycenter/v1/event_threat_detection_custom_module_pb.rb +50 -0
- data/lib/google/cloud/securitycenter/v1/event_threat_detection_custom_module_validation_errors_pb.rb +44 -0
- data/lib/google/cloud/securitycenter/v1/external_system_pb.rb +1 -1
- data/lib/google/cloud/securitycenter/v1/finding_pb.rb +6 -1
- data/lib/google/cloud/securitycenter/v1/mitre_attack_pb.rb +1 -1
- data/lib/google/cloud/securitycenter/v1/mute_config_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/notification_config_pb.rb +1 -1
- data/lib/google/cloud/securitycenter/v1/organization_settings_pb.rb +1 -1
- data/lib/google/cloud/securitycenter/v1/resource_pb.rb +13 -1
- data/lib/google/cloud/securitycenter/v1/resource_value_config_pb.rb +50 -0
- data/lib/google/cloud/securitycenter/v1/securitycenter_service_pb.rb +45 -2
- data/lib/google/cloud/securitycenter/v1/securitycenter_service_services_pb.rb +54 -0
- data/lib/google/cloud/securitycenter/v1/simulation_pb.rb +50 -0
- data/lib/google/cloud/securitycenter/v1/valued_resource_pb.rb +46 -0
- data/lib/google/cloud/securitycenter/v1/vulnerability_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +31 -10
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/cloud/securitycenter/v1/attack_exposure.rb +73 -0
- data/proto_docs/google/cloud/securitycenter/v1/attack_path.rb +147 -0
- data/proto_docs/google/cloud/securitycenter/v1/cloud_armor.rb +6 -6
- data/proto_docs/google/cloud/securitycenter/v1/effective_event_threat_detection_custom_module.rb +77 -0
- data/proto_docs/google/cloud/securitycenter/v1/event_threat_detection_custom_module.rb +88 -0
- data/proto_docs/google/cloud/securitycenter/v1/event_threat_detection_custom_module_validation_errors.rb +69 -0
- data/proto_docs/google/cloud/securitycenter/v1/finding.rb +50 -0
- data/proto_docs/google/cloud/securitycenter/v1/mitre_attack.rb +19 -1
- data/proto_docs/google/cloud/securitycenter/v1/mute_config.rb +36 -3
- data/proto_docs/google/cloud/securitycenter/v1/resource.rb +223 -0
- data/proto_docs/google/cloud/securitycenter/v1/resource_value_config.rb +125 -0
- data/proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb +626 -87
- data/proto_docs/google/cloud/securitycenter/v1/simulation.rb +46 -0
- data/proto_docs/google/cloud/securitycenter/v1/valued_resource.rb +86 -0
- data/proto_docs/google/cloud/securitycenter/v1/vulnerability.rb +3 -0
- metadata +18 -2
@@ -30,8 +30,8 @@ module Google
|
|
30
30
|
# @!attribute [rw] parent
|
31
31
|
# @return [::String]
|
32
32
|
# Required. The parent, at which bulk action needs to be applied. Its format
|
33
|
-
# is
|
34
|
-
#
|
33
|
+
# is `organizations/[organization_id]`, `folders/[folder_id]`,
|
34
|
+
# `projects/[project_id]`.
|
35
35
|
# @!attribute [rw] filter
|
36
36
|
# @return [::String]
|
37
37
|
# Expression that identifies findings that should be updated.
|
@@ -59,9 +59,26 @@ module Google
|
|
59
59
|
# @return [::String]
|
60
60
|
# This can be a mute configuration name or any identifier for mute/unmute
|
61
61
|
# of findings based on the filter.
|
62
|
+
# @!attribute [rw] mute_state
|
63
|
+
# @return [::Google::Cloud::SecurityCenter::V1::BulkMuteFindingsRequest::MuteState]
|
64
|
+
# Optional. All findings matching the given filter will have their mute state
|
65
|
+
# set to this value. The default value is `MUTED`. Setting this to
|
66
|
+
# `UNDEFINED` will clear the mute state on all matching findings.
|
62
67
|
class BulkMuteFindingsRequest
|
63
68
|
include ::Google::Protobuf::MessageExts
|
64
69
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
70
|
+
|
71
|
+
# The mute state.
|
72
|
+
module MuteState
|
73
|
+
# Unused.
|
74
|
+
MUTE_STATE_UNSPECIFIED = 0
|
75
|
+
|
76
|
+
# Matching findings will be muted (default).
|
77
|
+
MUTED = 1
|
78
|
+
|
79
|
+
# Matching findings will have their mute state cleared.
|
80
|
+
UNDEFINED = 2
|
81
|
+
end
|
65
82
|
end
|
66
83
|
|
67
84
|
# The response to a BulkMute request. Contains the LRO information.
|
@@ -74,7 +91,7 @@ module Google
|
|
74
91
|
# @!attribute [rw] parent
|
75
92
|
# @return [::String]
|
76
93
|
# Required. Resource name of the new finding's parent. Its format should be
|
77
|
-
#
|
94
|
+
# `organizations/[organization_id]/sources/[source_id]`.
|
78
95
|
# @!attribute [rw] finding_id
|
79
96
|
# @return [::String]
|
80
97
|
# Required. Unique identifier provided by the client within the parent scope.
|
@@ -93,8 +110,8 @@ module Google
|
|
93
110
|
# @!attribute [rw] parent
|
94
111
|
# @return [::String]
|
95
112
|
# Required. Resource name of the new mute configs's parent. Its format is
|
96
|
-
#
|
97
|
-
#
|
113
|
+
# `organizations/[organization_id]`, `folders/[folder_id]`, or
|
114
|
+
# `projects/[project_id]`.
|
98
115
|
# @!attribute [rw] mute_config
|
99
116
|
# @return [::Google::Cloud::SecurityCenter::V1::MuteConfig]
|
100
117
|
# Required. The mute config being created.
|
@@ -109,12 +126,119 @@ module Google
|
|
109
126
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
110
127
|
end
|
111
128
|
|
129
|
+
# Request message to create single resource value config
|
130
|
+
# @!attribute [rw] parent
|
131
|
+
# @return [::String]
|
132
|
+
# Required. Resource name of the new ResourceValueConfig's parent.
|
133
|
+
# @!attribute [rw] resource_value_config
|
134
|
+
# @return [::Google::Cloud::SecurityCenter::V1::ResourceValueConfig]
|
135
|
+
# Required. The resource value config being created.
|
136
|
+
class CreateResourceValueConfigRequest
|
137
|
+
include ::Google::Protobuf::MessageExts
|
138
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
139
|
+
end
|
140
|
+
|
141
|
+
# Request message to create multiple resource value configs
|
142
|
+
# @!attribute [rw] parent
|
143
|
+
# @return [::String]
|
144
|
+
# Required. Resource name of the new ResourceValueConfig's parent.
|
145
|
+
# The parent field in the CreateResourceValueConfigRequest
|
146
|
+
# messages must either be empty or match this field.
|
147
|
+
# @!attribute [rw] requests
|
148
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::CreateResourceValueConfigRequest>]
|
149
|
+
# Required. The resource value configs to be created.
|
150
|
+
class BatchCreateResourceValueConfigsRequest
|
151
|
+
include ::Google::Protobuf::MessageExts
|
152
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
153
|
+
end
|
154
|
+
|
155
|
+
# Response message for BatchCreateResourceValueConfigs
|
156
|
+
# @!attribute [rw] resource_value_configs
|
157
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::ResourceValueConfig>]
|
158
|
+
# The resource value configs created
|
159
|
+
class BatchCreateResourceValueConfigsResponse
|
160
|
+
include ::Google::Protobuf::MessageExts
|
161
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
162
|
+
end
|
163
|
+
|
164
|
+
# Request message to delete resource value config
|
165
|
+
# @!attribute [rw] name
|
166
|
+
# @return [::String]
|
167
|
+
# Required. Name of the ResourceValueConfig to delete
|
168
|
+
class DeleteResourceValueConfigRequest
|
169
|
+
include ::Google::Protobuf::MessageExts
|
170
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
171
|
+
end
|
172
|
+
|
173
|
+
# Request message to get resource value config
|
174
|
+
# @!attribute [rw] name
|
175
|
+
# @return [::String]
|
176
|
+
# Required. Name of the resource value config to retrieve. Its format is
|
177
|
+
# `organizations/{organization}/resourceValueConfigs/{config_id}`.
|
178
|
+
class GetResourceValueConfigRequest
|
179
|
+
include ::Google::Protobuf::MessageExts
|
180
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
181
|
+
end
|
182
|
+
|
183
|
+
# Request message to list resource value configs of a parent
|
184
|
+
# @!attribute [rw] parent
|
185
|
+
# @return [::String]
|
186
|
+
# Required. The parent, which owns the collection of resource value configs.
|
187
|
+
# Its format is
|
188
|
+
# `organizations/[organization_id]`
|
189
|
+
# @!attribute [rw] page_size
|
190
|
+
# @return [::Integer]
|
191
|
+
# The number of results to return. The service may return fewer than
|
192
|
+
# this value.
|
193
|
+
# If unspecified, at most 10 configs will be returned.
|
194
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
195
|
+
# @!attribute [rw] page_token
|
196
|
+
# @return [::String]
|
197
|
+
# A page token, received from a previous `ListResourceValueConfigs` call.
|
198
|
+
# Provide this to retrieve the subsequent page.
|
199
|
+
#
|
200
|
+
# When paginating, all other parameters provided to
|
201
|
+
# `ListResourceValueConfigs` must match the call that provided the
|
202
|
+
# page token.
|
203
|
+
#
|
204
|
+
# page_size can be specified, and the new page_size will be used.
|
205
|
+
class ListResourceValueConfigsRequest
|
206
|
+
include ::Google::Protobuf::MessageExts
|
207
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
208
|
+
end
|
209
|
+
|
210
|
+
# Response message to list resource value configs
|
211
|
+
# @!attribute [rw] resource_value_configs
|
212
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::ResourceValueConfig>]
|
213
|
+
# The resource value configs from the specified parent.
|
214
|
+
# @!attribute [rw] next_page_token
|
215
|
+
# @return [::String]
|
216
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
217
|
+
# If this field is empty, there are no subsequent pages.
|
218
|
+
class ListResourceValueConfigsResponse
|
219
|
+
include ::Google::Protobuf::MessageExts
|
220
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
221
|
+
end
|
222
|
+
|
223
|
+
# Request message to update resource value config
|
224
|
+
# @!attribute [rw] resource_value_config
|
225
|
+
# @return [::Google::Cloud::SecurityCenter::V1::ResourceValueConfig]
|
226
|
+
# Required. The resource value config being updated.
|
227
|
+
# @!attribute [rw] update_mask
|
228
|
+
# @return [::Google::Protobuf::FieldMask]
|
229
|
+
# The list of fields to be updated.
|
230
|
+
# If empty all mutable fields will be updated.
|
231
|
+
class UpdateResourceValueConfigRequest
|
232
|
+
include ::Google::Protobuf::MessageExts
|
233
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
234
|
+
end
|
235
|
+
|
112
236
|
# Request message for creating a notification config.
|
113
237
|
# @!attribute [rw] parent
|
114
238
|
# @return [::String]
|
115
239
|
# Required. Resource name of the new notification config's parent. Its format
|
116
|
-
# is
|
117
|
-
#
|
240
|
+
# is `organizations/[organization_id]`, `folders/[folder_id]`, or
|
241
|
+
# `projects/[project_id]`.
|
118
242
|
# @!attribute [rw] config_id
|
119
243
|
# @return [::String]
|
120
244
|
# Required.
|
@@ -135,9 +259,9 @@ module Google
|
|
135
259
|
# @!attribute [rw] parent
|
136
260
|
# @return [::String]
|
137
261
|
# Required. Resource name of the new custom module's parent. Its format is
|
138
|
-
#
|
139
|
-
#
|
140
|
-
#
|
262
|
+
# `organizations/{organization}/securityHealthAnalyticsSettings`,
|
263
|
+
# `folders/{folder}/securityHealthAnalyticsSettings`, or
|
264
|
+
# `projects/{project}/securityHealthAnalyticsSettings`
|
141
265
|
# @!attribute [rw] security_health_analytics_custom_module
|
142
266
|
# @return [::Google::Cloud::SecurityCenter::V1::SecurityHealthAnalyticsCustomModule]
|
143
267
|
# Required. SecurityHealthAnalytics custom module to create. The provided
|
@@ -152,7 +276,7 @@ module Google
|
|
152
276
|
# @!attribute [rw] parent
|
153
277
|
# @return [::String]
|
154
278
|
# Required. Resource name of the new source's parent. Its format should be
|
155
|
-
#
|
279
|
+
# `organizations/[organization_id]`.
|
156
280
|
# @!attribute [rw] source
|
157
281
|
# @return [::Google::Cloud::SecurityCenter::V1::Source]
|
158
282
|
# Required. The Source being created, only the display_name and description
|
@@ -166,9 +290,12 @@ module Google
|
|
166
290
|
# @!attribute [rw] name
|
167
291
|
# @return [::String]
|
168
292
|
# Required. Name of the mute config to delete. Its format is
|
169
|
-
# organizations
|
170
|
-
# folders
|
171
|
-
# projects
|
293
|
+
# `organizations/{organization}/muteConfigs/{config_id}`,
|
294
|
+
# `folders/{folder}/muteConfigs/{config_id}`,
|
295
|
+
# `projects/{project}/muteConfigs/{config_id}`,
|
296
|
+
# `organizations/{organization}/locations/global/muteConfigs/{config_id}`,
|
297
|
+
# `folders/{folder}/locations/global/muteConfigs/{config_id}`, or
|
298
|
+
# `projects/{project}/locations/global/muteConfigs/{config_id}`.
|
172
299
|
class DeleteMuteConfigRequest
|
173
300
|
include ::Google::Protobuf::MessageExts
|
174
301
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -178,9 +305,9 @@ module Google
|
|
178
305
|
# @!attribute [rw] name
|
179
306
|
# @return [::String]
|
180
307
|
# Required. Name of the notification config to delete. Its format is
|
181
|
-
#
|
182
|
-
#
|
183
|
-
# or
|
308
|
+
# `organizations/[organization_id]/notificationConfigs/[config_id]`,
|
309
|
+
# `folders/[folder_id]/notificationConfigs/[config_id]`,
|
310
|
+
# or `projects/[project_id]/notificationConfigs/[config_id]`.
|
184
311
|
class DeleteNotificationConfigRequest
|
185
312
|
include ::Google::Protobuf::MessageExts
|
186
313
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -190,10 +317,10 @@ module Google
|
|
190
317
|
# @!attribute [rw] name
|
191
318
|
# @return [::String]
|
192
319
|
# Required. Name of the custom module to delete. Its format is
|
193
|
-
#
|
194
|
-
#
|
320
|
+
# `organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}`,
|
321
|
+
# `folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}`,
|
195
322
|
# or
|
196
|
-
#
|
323
|
+
# `projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}`
|
197
324
|
class DeleteSecurityHealthAnalyticsCustomModuleRequest
|
198
325
|
include ::Google::Protobuf::MessageExts
|
199
326
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -203,9 +330,9 @@ module Google
|
|
203
330
|
# @!attribute [rw] name
|
204
331
|
# @return [::String]
|
205
332
|
# Required. Name of the BigQuery export to retrieve. Its format is
|
206
|
-
# organizations
|
207
|
-
# folders
|
208
|
-
# projects
|
333
|
+
# `organizations/{organization}/bigQueryExports/{export_id}`,
|
334
|
+
# `folders/{folder}/bigQueryExports/{export_id}`, or
|
335
|
+
# `projects/{project}/bigQueryExports/{export_id}`
|
209
336
|
class GetBigQueryExportRequest
|
210
337
|
include ::Google::Protobuf::MessageExts
|
211
338
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -215,9 +342,12 @@ module Google
|
|
215
342
|
# @!attribute [rw] name
|
216
343
|
# @return [::String]
|
217
344
|
# Required. Name of the mute config to retrieve. Its format is
|
218
|
-
# organizations
|
219
|
-
# folders
|
220
|
-
# projects
|
345
|
+
# `organizations/{organization}/muteConfigs/{config_id}`,
|
346
|
+
# `folders/{folder}/muteConfigs/{config_id}`,
|
347
|
+
# `projects/{project}/muteConfigs/{config_id}`,
|
348
|
+
# `organizations/{organization}/locations/global/muteConfigs/{config_id}`,
|
349
|
+
# `folders/{folder}/locations/global/muteConfigs/{config_id}`, or
|
350
|
+
# `projects/{project}/locations/global/muteConfigs/{config_id}`.
|
221
351
|
class GetMuteConfigRequest
|
222
352
|
include ::Google::Protobuf::MessageExts
|
223
353
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -227,9 +357,9 @@ module Google
|
|
227
357
|
# @!attribute [rw] name
|
228
358
|
# @return [::String]
|
229
359
|
# Required. Name of the notification config to get. Its format is
|
230
|
-
#
|
231
|
-
#
|
232
|
-
# or
|
360
|
+
# `organizations/[organization_id]/notificationConfigs/[config_id]`,
|
361
|
+
# `folders/[folder_id]/notificationConfigs/[config_id]`,
|
362
|
+
# or `projects/[project_id]/notificationConfigs/[config_id]`.
|
233
363
|
class GetNotificationConfigRequest
|
234
364
|
include ::Google::Protobuf::MessageExts
|
235
365
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -239,7 +369,7 @@ module Google
|
|
239
369
|
# @!attribute [rw] name
|
240
370
|
# @return [::String]
|
241
371
|
# Required. Name of the organization to get organization settings for. Its
|
242
|
-
# format is
|
372
|
+
# format is `organizations/[organization_id]/organizationSettings`.
|
243
373
|
class GetOrganizationSettingsRequest
|
244
374
|
include ::Google::Protobuf::MessageExts
|
245
375
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -250,10 +380,10 @@ module Google
|
|
250
380
|
# @!attribute [rw] name
|
251
381
|
# @return [::String]
|
252
382
|
# Required. Name of the effective custom module to get. Its format is
|
253
|
-
#
|
254
|
-
#
|
383
|
+
# `organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`,
|
384
|
+
# `folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`,
|
255
385
|
# or
|
256
|
-
#
|
386
|
+
# `projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}`
|
257
387
|
class GetEffectiveSecurityHealthAnalyticsCustomModuleRequest
|
258
388
|
include ::Google::Protobuf::MessageExts
|
259
389
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -263,10 +393,10 @@ module Google
|
|
263
393
|
# @!attribute [rw] name
|
264
394
|
# @return [::String]
|
265
395
|
# Required. Name of the custom module to get. Its format is
|
266
|
-
#
|
267
|
-
#
|
396
|
+
# `organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}`,
|
397
|
+
# `folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}`,
|
268
398
|
# or
|
269
|
-
#
|
399
|
+
# `projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}`
|
270
400
|
class GetSecurityHealthAnalyticsCustomModuleRequest
|
271
401
|
include ::Google::Protobuf::MessageExts
|
272
402
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -276,7 +406,7 @@ module Google
|
|
276
406
|
# @!attribute [rw] name
|
277
407
|
# @return [::String]
|
278
408
|
# Required. Relative resource name of the source. Its format is
|
279
|
-
#
|
409
|
+
# `organizations/[organization_id]/source/[source_id]`.
|
280
410
|
class GetSourceRequest
|
281
411
|
include ::Google::Protobuf::MessageExts
|
282
412
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -286,8 +416,8 @@ module Google
|
|
286
416
|
# @!attribute [rw] parent
|
287
417
|
# @return [::String]
|
288
418
|
# Required. The name of the parent to group the assets by. Its format is
|
289
|
-
#
|
290
|
-
#
|
419
|
+
# `organizations/[organization_id]`, `folders/[folder_id]`, or
|
420
|
+
# `projects/[project_id]`.
|
291
421
|
# @!attribute [rw] filter
|
292
422
|
# @return [::String]
|
293
423
|
# Expression that defines the filter to apply across assets.
|
@@ -446,12 +576,12 @@ module Google
|
|
446
576
|
# @!attribute [rw] parent
|
447
577
|
# @return [::String]
|
448
578
|
# Required. Name of the source to groupBy. Its format is
|
449
|
-
#
|
450
|
-
# folders/[folder_id]/sources/[source_id]
|
451
|
-
# projects/[project_id]/sources/[source_id]
|
579
|
+
# `organizations/[organization_id]/sources/[source_id]`,
|
580
|
+
# `folders/[folder_id]/sources/[source_id]`, or
|
581
|
+
# `projects/[project_id]/sources/[source_id]`. To groupBy across all sources
|
452
582
|
# provide a source_id of `-`. For example:
|
453
|
-
# organizations
|
454
|
-
# or projects
|
583
|
+
# `organizations/{organization_id}/sources/-, folders/{folder_id}/sources/-`,
|
584
|
+
# or `projects/{project_id}/sources/-`
|
455
585
|
# @!attribute [rw] filter
|
456
586
|
# @return [::String]
|
457
587
|
# Expression that defines the filter to apply across findings.
|
@@ -519,14 +649,6 @@ module Google
|
|
519
649
|
# (including `state_change`). The string value should follow SQL syntax:
|
520
650
|
# comma separated list of fields. For example: "parent,resource_name".
|
521
651
|
#
|
522
|
-
# The following fields are supported:
|
523
|
-
#
|
524
|
-
# * resource_name
|
525
|
-
# * category
|
526
|
-
# * state
|
527
|
-
# * parent
|
528
|
-
# * severity
|
529
|
-
#
|
530
652
|
# The following fields are supported when compare_duration is set:
|
531
653
|
#
|
532
654
|
# * state_change
|
@@ -631,9 +753,9 @@ module Google
|
|
631
753
|
# @!attribute [rw] parent
|
632
754
|
# @return [::String]
|
633
755
|
# Required. Name of parent to list descendant custom modules. Its format is
|
634
|
-
#
|
635
|
-
#
|
636
|
-
#
|
756
|
+
# `organizations/{organization}/securityHealthAnalyticsSettings`,
|
757
|
+
# `folders/{folder}/securityHealthAnalyticsSettings`, or
|
758
|
+
# `projects/{project}/securityHealthAnalyticsSettings`
|
637
759
|
# @!attribute [rw] page_size
|
638
760
|
# @return [::Integer]
|
639
761
|
# The maximum number of results to return in a single response. Default is
|
@@ -660,13 +782,153 @@ module Google
|
|
660
782
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
661
783
|
end
|
662
784
|
|
785
|
+
# Request message for listing the valued resources for a given simulation.
|
786
|
+
# @!attribute [rw] parent
|
787
|
+
# @return [::String]
|
788
|
+
# Required. Name of parent to list valued resources.
|
789
|
+
#
|
790
|
+
# Valid formats:
|
791
|
+
# `organizations/{organization}`,
|
792
|
+
# `organizations/{organization}/simulations/{simulation}`
|
793
|
+
# `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}`
|
794
|
+
# @!attribute [rw] filter
|
795
|
+
# @return [::String]
|
796
|
+
# The filter expression that filters the valued resources in the response.
|
797
|
+
# Supported fields:
|
798
|
+
#
|
799
|
+
# * `resource_value` supports =
|
800
|
+
# * `resource_type` supports =
|
801
|
+
# @!attribute [rw] page_token
|
802
|
+
# @return [::String]
|
803
|
+
# The value returned by the last `ListValuedResourcesResponse`; indicates
|
804
|
+
# that this is a continuation of a prior `ListValuedResources` call, and
|
805
|
+
# that the system should return the next page of data.
|
806
|
+
# @!attribute [rw] page_size
|
807
|
+
# @return [::Integer]
|
808
|
+
# The maximum number of results to return in a single response. Default is
|
809
|
+
# 10, minimum is 1, maximum is 1000.
|
810
|
+
# @!attribute [rw] order_by
|
811
|
+
# @return [::String]
|
812
|
+
# Optional. The fields by which to order the valued resources response.
|
813
|
+
#
|
814
|
+
# Supported fields:
|
815
|
+
#
|
816
|
+
# * `exposed_score`
|
817
|
+
#
|
818
|
+
# * `resource_value`
|
819
|
+
#
|
820
|
+
# * `resource_type`
|
821
|
+
#
|
822
|
+
# * `resource`
|
823
|
+
#
|
824
|
+
# * `display_name`
|
825
|
+
#
|
826
|
+
# Values should be a comma separated list of fields. For example:
|
827
|
+
# `exposed_score,resource_value`.
|
828
|
+
#
|
829
|
+
# The default sorting order is descending. To specify ascending or descending
|
830
|
+
# order for a field, append a ` ASC` or a ` DESC` suffix, respectively; for
|
831
|
+
# example: `exposed_score DESC`.
|
832
|
+
class ListValuedResourcesRequest
|
833
|
+
include ::Google::Protobuf::MessageExts
|
834
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
835
|
+
end
|
836
|
+
|
837
|
+
# Response message for listing the valued resources for a given simulation.
|
838
|
+
# @!attribute [rw] valued_resources
|
839
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::ValuedResource>]
|
840
|
+
# The valued resources that the attack path simulation identified.
|
841
|
+
# @!attribute [rw] next_page_token
|
842
|
+
# @return [::String]
|
843
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
844
|
+
# results.
|
845
|
+
# @!attribute [rw] total_size
|
846
|
+
# @return [::Integer]
|
847
|
+
# The estimated total number of results matching the query.
|
848
|
+
class ListValuedResourcesResponse
|
849
|
+
include ::Google::Protobuf::MessageExts
|
850
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
851
|
+
end
|
852
|
+
|
853
|
+
# Request message for listing the attack paths for a given simulation or valued
|
854
|
+
# resource.
|
855
|
+
# @!attribute [rw] parent
|
856
|
+
# @return [::String]
|
857
|
+
# Required. Name of parent to list attack paths.
|
858
|
+
#
|
859
|
+
# Valid formats:
|
860
|
+
# `organizations/{organization}`,
|
861
|
+
# `organizations/{organization}/simulations/{simulation}`
|
862
|
+
# `organizations/{organization}/simulations/{simulation}/attackExposureResults/{attack_exposure_result_v2}`
|
863
|
+
# `organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}`
|
864
|
+
# @!attribute [rw] filter
|
865
|
+
# @return [::String]
|
866
|
+
# The filter expression that filters the attack path in the response.
|
867
|
+
# Supported fields:
|
868
|
+
#
|
869
|
+
# * `valued_resources` supports =
|
870
|
+
# @!attribute [rw] page_token
|
871
|
+
# @return [::String]
|
872
|
+
# The value returned by the last `ListAttackPathsResponse`; indicates
|
873
|
+
# that this is a continuation of a prior `ListAttackPaths` call, and
|
874
|
+
# that the system should return the next page of data.
|
875
|
+
# @!attribute [rw] page_size
|
876
|
+
# @return [::Integer]
|
877
|
+
# The maximum number of results to return in a single response. Default is
|
878
|
+
# 10, minimum is 1, maximum is 1000.
|
879
|
+
class ListAttackPathsRequest
|
880
|
+
include ::Google::Protobuf::MessageExts
|
881
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
882
|
+
end
|
883
|
+
|
884
|
+
# Response message for listing the attack paths for a given simulation or
|
885
|
+
# valued resource.
|
886
|
+
# @!attribute [rw] attack_paths
|
887
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::AttackPath>]
|
888
|
+
# The attack paths that the attack path simulation identified.
|
889
|
+
# @!attribute [rw] next_page_token
|
890
|
+
# @return [::String]
|
891
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
892
|
+
# results.
|
893
|
+
class ListAttackPathsResponse
|
894
|
+
include ::Google::Protobuf::MessageExts
|
895
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
896
|
+
end
|
897
|
+
|
898
|
+
# Request message for getting simulation.
|
899
|
+
# Simulation name can include "latest" to retrieve the latest simulation
|
900
|
+
# For example, "organizations/123/simulations/latest"
|
901
|
+
# @!attribute [rw] name
|
902
|
+
# @return [::String]
|
903
|
+
# Required. The organization name or simulation name of this simulation
|
904
|
+
#
|
905
|
+
# Valid format:
|
906
|
+
# `organizations/{organization}/simulations/latest`
|
907
|
+
# `organizations/{organization}/simulations/{simulation}`
|
908
|
+
class GetSimulationRequest
|
909
|
+
include ::Google::Protobuf::MessageExts
|
910
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
911
|
+
end
|
912
|
+
|
913
|
+
# Request message for getting a valued resource.
|
914
|
+
# @!attribute [rw] name
|
915
|
+
# @return [::String]
|
916
|
+
# Required. The name of this valued resource
|
917
|
+
#
|
918
|
+
# Valid format:
|
919
|
+
# `organizations/{organization}/simulations/{simulation}/valuedResources/{valued_resource}`
|
920
|
+
class GetValuedResourceRequest
|
921
|
+
include ::Google::Protobuf::MessageExts
|
922
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
923
|
+
end
|
924
|
+
|
663
925
|
# Request message for listing mute configs at a given scope e.g. organization,
|
664
926
|
# folder or project.
|
665
927
|
# @!attribute [rw] parent
|
666
928
|
# @return [::String]
|
667
929
|
# Required. The parent, which owns the collection of mute configs. Its format
|
668
|
-
# is
|
669
|
-
#
|
930
|
+
# is `organizations/[organization_id]`, `folders/[folder_id]`,
|
931
|
+
# `projects/[project_id]`.
|
670
932
|
# @!attribute [rw] page_size
|
671
933
|
# @return [::Integer]
|
672
934
|
# The maximum number of configs to return. The service may return fewer than
|
@@ -736,9 +998,9 @@ module Google
|
|
736
998
|
# @!attribute [rw] parent
|
737
999
|
# @return [::String]
|
738
1000
|
# Required. Name of parent to list effective custom modules. Its format is
|
739
|
-
#
|
740
|
-
#
|
741
|
-
#
|
1001
|
+
# `organizations/{organization}/securityHealthAnalyticsSettings`,
|
1002
|
+
# `folders/{folder}/securityHealthAnalyticsSettings`, or
|
1003
|
+
# `projects/{project}/securityHealthAnalyticsSettings`
|
742
1004
|
# @!attribute [rw] page_size
|
743
1005
|
# @return [::Integer]
|
744
1006
|
# The maximum number of results to return in a single response. Default is
|
@@ -769,9 +1031,9 @@ module Google
|
|
769
1031
|
# @!attribute [rw] parent
|
770
1032
|
# @return [::String]
|
771
1033
|
# Required. Name of parent to list custom modules. Its format is
|
772
|
-
#
|
773
|
-
#
|
774
|
-
#
|
1034
|
+
# `organizations/{organization}/securityHealthAnalyticsSettings`,
|
1035
|
+
# `folders/{folder}/securityHealthAnalyticsSettings`, or
|
1036
|
+
# `projects/{project}/securityHealthAnalyticsSettings`
|
775
1037
|
# @!attribute [rw] page_size
|
776
1038
|
# @return [::Integer]
|
777
1039
|
# The maximum number of results to return in a single response. Default is
|
@@ -801,8 +1063,8 @@ module Google
|
|
801
1063
|
# @!attribute [rw] parent
|
802
1064
|
# @return [::String]
|
803
1065
|
# Required. Resource name of the parent of sources to list. Its format should
|
804
|
-
# be
|
805
|
-
#
|
1066
|
+
# be `organizations/[organization_id]`, `folders/[folder_id]`, or
|
1067
|
+
# `projects/[project_id]`.
|
806
1068
|
# @!attribute [rw] page_token
|
807
1069
|
# @return [::String]
|
808
1070
|
# The value returned by the last `ListSourcesResponse`; indicates
|
@@ -836,8 +1098,8 @@ module Google
|
|
836
1098
|
# Required. The name of the parent resource that contains the assets. The
|
837
1099
|
# value that you can specify on parent depends on the method in which you
|
838
1100
|
# specify parent. You can specify one of the following values:
|
839
|
-
#
|
840
|
-
#
|
1101
|
+
# `organizations/[organization_id]`, `folders/[folder_id]`, or
|
1102
|
+
# `projects/[project_id]`.
|
841
1103
|
# @!attribute [rw] filter
|
842
1104
|
# @return [::String]
|
843
1105
|
# Expression that defines the filter to apply across assets.
|
@@ -1031,12 +1293,12 @@ module Google
|
|
1031
1293
|
# @!attribute [rw] parent
|
1032
1294
|
# @return [::String]
|
1033
1295
|
# Required. Name of the source the findings belong to. Its format is
|
1034
|
-
#
|
1035
|
-
# folders/[folder_id]/sources/[source_id]
|
1036
|
-
# projects/[project_id]/sources/[source_id]
|
1296
|
+
# `organizations/[organization_id]/sources/[source_id]`,
|
1297
|
+
# `folders/[folder_id]/sources/[source_id]`, or
|
1298
|
+
# `projects/[project_id]/sources/[source_id]`. To list across all sources
|
1037
1299
|
# provide a source_id of `-`. For example:
|
1038
|
-
# organizations
|
1039
|
-
# projects
|
1300
|
+
# `organizations/{organization_id}/sources/-`,
|
1301
|
+
# `folders/{folder_id}/sources/-` or `projects/{projects_id}/sources/-`
|
1040
1302
|
# @!attribute [rw] filter
|
1041
1303
|
# @return [::String]
|
1042
1304
|
# Expression that defines the filter to apply across findings.
|
@@ -1237,6 +1499,39 @@ module Google
|
|
1237
1499
|
# Contains a Folder message for each folder in the assets ancestry.
|
1238
1500
|
# The first folder is the deepest nested folder, and the last folder is
|
1239
1501
|
# the folder directly under the Organization.
|
1502
|
+
# @!attribute [rw] cloud_provider
|
1503
|
+
# @return [::Google::Cloud::SecurityCenter::V1::CloudProvider]
|
1504
|
+
# Indicates which cloud provider the finding is from.
|
1505
|
+
# @!attribute [rw] organization
|
1506
|
+
# @return [::String]
|
1507
|
+
# Indicates which organization / tenant the finding is for.
|
1508
|
+
# @!attribute [rw] service
|
1509
|
+
# @return [::String]
|
1510
|
+
# The service or resource provider associated with the resource.
|
1511
|
+
# @!attribute [rw] location
|
1512
|
+
# @return [::String]
|
1513
|
+
# The region or location of the service (if applicable).
|
1514
|
+
# @!attribute [rw] aws_metadata
|
1515
|
+
# @return [::Google::Cloud::SecurityCenter::V1::AwsMetadata]
|
1516
|
+
# The AWS metadata associated with the finding.
|
1517
|
+
# @!attribute [rw] azure_metadata
|
1518
|
+
# @return [::Google::Cloud::SecurityCenter::V1::AzureMetadata]
|
1519
|
+
# The Azure metadata associated with the finding.
|
1520
|
+
# @!attribute [rw] resource_path
|
1521
|
+
# @return [::Google::Cloud::SecurityCenter::V1::ResourcePath]
|
1522
|
+
# Provides the path to the resource within the resource hierarchy.
|
1523
|
+
# @!attribute [rw] resource_path_string
|
1524
|
+
# @return [::String]
|
1525
|
+
# A string representation of the resource path.
|
1526
|
+
# For Google Cloud, it has the format of
|
1527
|
+
# `org/{organization_id}/folder/{folder_id}/folder/{folder_id}/project/{project_id}`
|
1528
|
+
# where there can be any number of folders.
|
1529
|
+
# For AWS, it has the format of
|
1530
|
+
# `org/{organization_id}/ou/{organizational_unit_id}/ou/{organizational_unit_id}/account/{account_id}`
|
1531
|
+
# where there can be any number of organizational units.
|
1532
|
+
# For Azure, it has the format of
|
1533
|
+
# `mg/{management_group_id}/mg/{management_group_id}/subscription/{subscription_id}/rg/{resource_group_name}`
|
1534
|
+
# where there can be any number of management groups.
|
1240
1535
|
class Resource
|
1241
1536
|
include ::Google::Protobuf::MessageExts
|
1242
1537
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1278,9 +1573,9 @@ module Google
|
|
1278
1573
|
# Required. The [relative resource
|
1279
1574
|
# name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
|
1280
1575
|
# of the finding. Example:
|
1281
|
-
#
|
1282
|
-
#
|
1283
|
-
#
|
1576
|
+
# `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`,
|
1577
|
+
# `folders/{folder_id}/sources/{source_id}/findings/{finding_id}`,
|
1578
|
+
# `projects/{project_id}/sources/{source_id}/findings/{finding_id}`.
|
1284
1579
|
# @!attribute [rw] state
|
1285
1580
|
# @return [::Google::Cloud::SecurityCenter::V1::Finding::State]
|
1286
1581
|
# Required. The desired State of the finding.
|
@@ -1298,9 +1593,9 @@ module Google
|
|
1298
1593
|
# Required. The [relative resource
|
1299
1594
|
# name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
|
1300
1595
|
# of the finding. Example:
|
1301
|
-
#
|
1302
|
-
#
|
1303
|
-
#
|
1596
|
+
# `organizations/{organization_id}/sources/{source_id}/findings/{finding_id}`,
|
1597
|
+
# `folders/{folder_id}/sources/{source_id}/findings/{finding_id}`,
|
1598
|
+
# `projects/{project_id}/sources/{source_id}/findings/{finding_id}`.
|
1304
1599
|
# @!attribute [rw] mute
|
1305
1600
|
# @return [::Google::Cloud::SecurityCenter::V1::Finding::Mute]
|
1306
1601
|
# Required. The desired state of the Mute.
|
@@ -1313,7 +1608,7 @@ module Google
|
|
1313
1608
|
# @!attribute [rw] parent
|
1314
1609
|
# @return [::String]
|
1315
1610
|
# Required. Name of the organization to run asset discovery for. Its format
|
1316
|
-
# is
|
1611
|
+
# is `organizations/[organization_id]`.
|
1317
1612
|
class RunAssetDiscoveryRequest
|
1318
1613
|
include ::Google::Protobuf::MessageExts
|
1319
1614
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1468,7 +1763,9 @@ module Google
|
|
1468
1763
|
# Required. The SecurityHealthAnalytics custom module to update.
|
1469
1764
|
# @!attribute [rw] update_mask
|
1470
1765
|
# @return [::Google::Protobuf::FieldMask]
|
1471
|
-
# The list of fields to
|
1766
|
+
# The list of fields to be updated. The only fields that can be updated are
|
1767
|
+
# `enablement_state` and `custom_config`. If empty or set to the wildcard
|
1768
|
+
# value `*`, both `enablement_state` and `custom_config` are updated.
|
1472
1769
|
class UpdateSecurityHealthAnalyticsCustomModuleRequest
|
1473
1770
|
include ::Google::Protobuf::MessageExts
|
1474
1771
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -1514,8 +1811,8 @@ module Google
|
|
1514
1811
|
# @!attribute [rw] parent
|
1515
1812
|
# @return [::String]
|
1516
1813
|
# Required. The name of the parent resource of the new BigQuery export. Its
|
1517
|
-
# format is
|
1518
|
-
#
|
1814
|
+
# format is `organizations/[organization_id]`, `folders/[folder_id]`, or
|
1815
|
+
# `projects/[project_id]`.
|
1519
1816
|
# @!attribute [rw] big_query_export
|
1520
1817
|
# @return [::Google::Cloud::SecurityCenter::V1::BigQueryExport]
|
1521
1818
|
# Required. The BigQuery export being created.
|
@@ -1548,8 +1845,8 @@ module Google
|
|
1548
1845
|
# @!attribute [rw] parent
|
1549
1846
|
# @return [::String]
|
1550
1847
|
# Required. The parent, which owns the collection of BigQuery exports. Its
|
1551
|
-
# format is
|
1552
|
-
#
|
1848
|
+
# format is `organizations/[organization_id]`, `folders/[folder_id]`,
|
1849
|
+
# `projects/[project_id]`.
|
1553
1850
|
# @!attribute [rw] page_size
|
1554
1851
|
# @return [::Integer]
|
1555
1852
|
# The maximum number of configs to return. The service may return fewer than
|
@@ -1584,13 +1881,255 @@ module Google
|
|
1584
1881
|
# @!attribute [rw] name
|
1585
1882
|
# @return [::String]
|
1586
1883
|
# Required. The name of the BigQuery export to delete. Its format is
|
1587
|
-
# organizations
|
1588
|
-
# folders
|
1589
|
-
# projects
|
1884
|
+
# `organizations/{organization}/bigQueryExports/{export_id}`,
|
1885
|
+
# `folders/{folder}/bigQueryExports/{export_id}`, or
|
1886
|
+
# `projects/{project}/bigQueryExports/{export_id}`
|
1590
1887
|
class DeleteBigQueryExportRequest
|
1591
1888
|
include ::Google::Protobuf::MessageExts
|
1592
1889
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1593
1890
|
end
|
1891
|
+
|
1892
|
+
# Request to create an Event Threat Detection custom module.
|
1893
|
+
# @!attribute [rw] parent
|
1894
|
+
# @return [::String]
|
1895
|
+
# Required. The new custom module's parent.
|
1896
|
+
#
|
1897
|
+
# Its format is:
|
1898
|
+
#
|
1899
|
+
# * `organizations/{organization}/eventThreatDetectionSettings`.
|
1900
|
+
# * `folders/{folder}/eventThreatDetectionSettings`.
|
1901
|
+
# * `projects/{project}/eventThreatDetectionSettings`.
|
1902
|
+
# @!attribute [rw] event_threat_detection_custom_module
|
1903
|
+
# @return [::Google::Cloud::SecurityCenter::V1::EventThreatDetectionCustomModule]
|
1904
|
+
# Required. The module to create. The
|
1905
|
+
# event_threat_detection_custom_module.name will be ignored and server
|
1906
|
+
# generated.
|
1907
|
+
class CreateEventThreatDetectionCustomModuleRequest
|
1908
|
+
include ::Google::Protobuf::MessageExts
|
1909
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1910
|
+
end
|
1911
|
+
|
1912
|
+
# Request to validate an Event Threat Detection custom module.
|
1913
|
+
# @!attribute [rw] parent
|
1914
|
+
# @return [::String]
|
1915
|
+
# Required. Resource name of the parent to validate the Custom Module under.
|
1916
|
+
#
|
1917
|
+
# Its format is:
|
1918
|
+
#
|
1919
|
+
# * `organizations/{organization}/eventThreatDetectionSettings`.
|
1920
|
+
# * `folders/{folder}/eventThreatDetectionSettings`.
|
1921
|
+
# * `projects/{project}/eventThreatDetectionSettings`.
|
1922
|
+
# @!attribute [rw] raw_text
|
1923
|
+
# @return [::String]
|
1924
|
+
# Required. The raw text of the module's contents. Used to generate error
|
1925
|
+
# messages.
|
1926
|
+
# @!attribute [rw] type
|
1927
|
+
# @return [::String]
|
1928
|
+
# Required. The type of the module (e.g. CONFIGURABLE_BAD_IP).
|
1929
|
+
class ValidateEventThreatDetectionCustomModuleRequest
|
1930
|
+
include ::Google::Protobuf::MessageExts
|
1931
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1932
|
+
end
|
1933
|
+
|
1934
|
+
# Response to validating an Event Threat Detection custom module.
|
1935
|
+
# @!attribute [rw] errors
|
1936
|
+
# @return [::Google::Cloud::SecurityCenter::V1::CustomModuleValidationErrors]
|
1937
|
+
# A list of errors returned by the validator. If the list is empty, there
|
1938
|
+
# were no errors.
|
1939
|
+
class ValidateEventThreatDetectionCustomModuleResponse
|
1940
|
+
include ::Google::Protobuf::MessageExts
|
1941
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1942
|
+
end
|
1943
|
+
|
1944
|
+
# Request to delete an Event Threat Detection custom module.
|
1945
|
+
# @!attribute [rw] name
|
1946
|
+
# @return [::String]
|
1947
|
+
# Required. Name of the custom module to delete.
|
1948
|
+
#
|
1949
|
+
# Its format is:
|
1950
|
+
#
|
1951
|
+
# * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`.
|
1952
|
+
# * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`.
|
1953
|
+
# * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`.
|
1954
|
+
class DeleteEventThreatDetectionCustomModuleRequest
|
1955
|
+
include ::Google::Protobuf::MessageExts
|
1956
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1957
|
+
end
|
1958
|
+
|
1959
|
+
# Request to get an Event Threat Detection custom module.
|
1960
|
+
# @!attribute [rw] name
|
1961
|
+
# @return [::String]
|
1962
|
+
# Required. Name of the custom module to get.
|
1963
|
+
#
|
1964
|
+
# Its format is:
|
1965
|
+
#
|
1966
|
+
# * `organizations/{organization}/eventThreatDetectionSettings/customModules/{module}`.
|
1967
|
+
# * `folders/{folder}/eventThreatDetectionSettings/customModules/{module}`.
|
1968
|
+
# * `projects/{project}/eventThreatDetectionSettings/customModules/{module}`.
|
1969
|
+
class GetEventThreatDetectionCustomModuleRequest
|
1970
|
+
include ::Google::Protobuf::MessageExts
|
1971
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1972
|
+
end
|
1973
|
+
|
1974
|
+
# Request to list current and descendant resident Event Threat Detection custom
|
1975
|
+
# modules.
|
1976
|
+
# @!attribute [rw] parent
|
1977
|
+
# @return [::String]
|
1978
|
+
# Required. Name of the parent to list custom modules under.
|
1979
|
+
#
|
1980
|
+
# Its format is:
|
1981
|
+
#
|
1982
|
+
# * `organizations/{organization}/eventThreatDetectionSettings`.
|
1983
|
+
# * `folders/{folder}/eventThreatDetectionSettings`.
|
1984
|
+
# * `projects/{project}/eventThreatDetectionSettings`.
|
1985
|
+
# @!attribute [rw] page_token
|
1986
|
+
# @return [::String]
|
1987
|
+
# A page token, received from a previous
|
1988
|
+
# `ListDescendantEventThreatDetectionCustomModules` call. Provide this to
|
1989
|
+
# retrieve the subsequent page.
|
1990
|
+
#
|
1991
|
+
# When paginating, all other parameters provided to
|
1992
|
+
# `ListDescendantEventThreatDetectionCustomModules` must match the call that
|
1993
|
+
# provided the page token.
|
1994
|
+
# @!attribute [rw] page_size
|
1995
|
+
# @return [::Integer]
|
1996
|
+
# The maximum number of modules to return. The service may return fewer than
|
1997
|
+
# this value.
|
1998
|
+
# If unspecified, at most 10 configs will be returned.
|
1999
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
2000
|
+
class ListDescendantEventThreatDetectionCustomModulesRequest
|
2001
|
+
include ::Google::Protobuf::MessageExts
|
2002
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2003
|
+
end
|
2004
|
+
|
2005
|
+
# Response for listing current and descendant resident
|
2006
|
+
# Event Threat Detection custom modules.
|
2007
|
+
# @!attribute [rw] event_threat_detection_custom_modules
|
2008
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::EventThreatDetectionCustomModule>]
|
2009
|
+
# Custom modules belonging to the requested parent.
|
2010
|
+
# @!attribute [rw] next_page_token
|
2011
|
+
# @return [::String]
|
2012
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
2013
|
+
# If this field is omitted, there are no subsequent pages.
|
2014
|
+
class ListDescendantEventThreatDetectionCustomModulesResponse
|
2015
|
+
include ::Google::Protobuf::MessageExts
|
2016
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2017
|
+
end
|
2018
|
+
|
2019
|
+
# Request to list Event Threat Detection custom modules.
|
2020
|
+
# @!attribute [rw] parent
|
2021
|
+
# @return [::String]
|
2022
|
+
# Required. Name of the parent to list custom modules under.
|
2023
|
+
#
|
2024
|
+
# Its format is:
|
2025
|
+
#
|
2026
|
+
# * `organizations/{organization}/eventThreatDetectionSettings`.
|
2027
|
+
# * `folders/{folder}/eventThreatDetectionSettings`.
|
2028
|
+
# * `projects/{project}/eventThreatDetectionSettings`.
|
2029
|
+
# @!attribute [rw] page_token
|
2030
|
+
# @return [::String]
|
2031
|
+
# A page token, received from a previous
|
2032
|
+
# `ListEventThreatDetectionCustomModules` call. Provide this to retrieve the
|
2033
|
+
# subsequent page.
|
2034
|
+
#
|
2035
|
+
# When paginating, all other parameters provided to
|
2036
|
+
# `ListEventThreatDetectionCustomModules` must match the call that provided
|
2037
|
+
# the page token.
|
2038
|
+
# @!attribute [rw] page_size
|
2039
|
+
# @return [::Integer]
|
2040
|
+
# The maximum number of modules to return. The service may return fewer than
|
2041
|
+
# this value.
|
2042
|
+
# If unspecified, at most 10 configs will be returned.
|
2043
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
2044
|
+
class ListEventThreatDetectionCustomModulesRequest
|
2045
|
+
include ::Google::Protobuf::MessageExts
|
2046
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2047
|
+
end
|
2048
|
+
|
2049
|
+
# Response for listing Event Threat Detection custom modules.
|
2050
|
+
# @!attribute [rw] event_threat_detection_custom_modules
|
2051
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::EventThreatDetectionCustomModule>]
|
2052
|
+
# Custom modules belonging to the requested parent.
|
2053
|
+
# @!attribute [rw] next_page_token
|
2054
|
+
# @return [::String]
|
2055
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
2056
|
+
# If this field is omitted, there are no subsequent pages.
|
2057
|
+
class ListEventThreatDetectionCustomModulesResponse
|
2058
|
+
include ::Google::Protobuf::MessageExts
|
2059
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2060
|
+
end
|
2061
|
+
|
2062
|
+
# Request to update an Event Threat Detection custom module.
|
2063
|
+
# @!attribute [rw] event_threat_detection_custom_module
|
2064
|
+
# @return [::Google::Cloud::SecurityCenter::V1::EventThreatDetectionCustomModule]
|
2065
|
+
# Required. The module being updated.
|
2066
|
+
# @!attribute [rw] update_mask
|
2067
|
+
# @return [::Google::Protobuf::FieldMask]
|
2068
|
+
# The list of fields to be updated.
|
2069
|
+
# If empty all mutable fields will be updated.
|
2070
|
+
class UpdateEventThreatDetectionCustomModuleRequest
|
2071
|
+
include ::Google::Protobuf::MessageExts
|
2072
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2073
|
+
end
|
2074
|
+
|
2075
|
+
# Request to get an EffectiveEventThreatDetectionCustomModule.
|
2076
|
+
# @!attribute [rw] name
|
2077
|
+
# @return [::String]
|
2078
|
+
# Required. The resource name of the effective Event Threat Detection custom
|
2079
|
+
# module.
|
2080
|
+
#
|
2081
|
+
# Its format is:
|
2082
|
+
#
|
2083
|
+
# * `organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}`.
|
2084
|
+
# * `folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}`.
|
2085
|
+
# * `projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}`.
|
2086
|
+
class GetEffectiveEventThreatDetectionCustomModuleRequest
|
2087
|
+
include ::Google::Protobuf::MessageExts
|
2088
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2089
|
+
end
|
2090
|
+
|
2091
|
+
# Request to list effective Event Threat Detection custom modules.
|
2092
|
+
# @!attribute [rw] parent
|
2093
|
+
# @return [::String]
|
2094
|
+
# Required. Name of the parent to list custom modules for.
|
2095
|
+
#
|
2096
|
+
# Its format is:
|
2097
|
+
#
|
2098
|
+
# * `organizations/{organization}/eventThreatDetectionSettings`.
|
2099
|
+
# * `folders/{folder}/eventThreatDetectionSettings`.
|
2100
|
+
# * `projects/{project}/eventThreatDetectionSettings`.
|
2101
|
+
# @!attribute [rw] page_token
|
2102
|
+
# @return [::String]
|
2103
|
+
# A page token, received from a previous
|
2104
|
+
# `ListEffectiveEventThreatDetectionCustomModules` call. Provide this to
|
2105
|
+
# retrieve the subsequent page.
|
2106
|
+
#
|
2107
|
+
# When paginating, all other parameters provided to
|
2108
|
+
# `ListEffectiveEventThreatDetectionCustomModules` must match the call that
|
2109
|
+
# provided the page token.
|
2110
|
+
# @!attribute [rw] page_size
|
2111
|
+
# @return [::Integer]
|
2112
|
+
# The maximum number of modules to return. The service may return fewer than
|
2113
|
+
# this value.
|
2114
|
+
# If unspecified, at most 10 configs will be returned.
|
2115
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
2116
|
+
class ListEffectiveEventThreatDetectionCustomModulesRequest
|
2117
|
+
include ::Google::Protobuf::MessageExts
|
2118
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2119
|
+
end
|
2120
|
+
|
2121
|
+
# Response for listing EffectiveEventThreatDetectionCustomModules.
|
2122
|
+
# @!attribute [rw] effective_event_threat_detection_custom_modules
|
2123
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::EffectiveEventThreatDetectionCustomModule>]
|
2124
|
+
# Effective custom modules belonging to the requested parent.
|
2125
|
+
# @!attribute [rw] next_page_token
|
2126
|
+
# @return [::String]
|
2127
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
2128
|
+
# If this field is omitted, there are no subsequent pages.
|
2129
|
+
class ListEffectiveEventThreatDetectionCustomModulesResponse
|
2130
|
+
include ::Google::Protobuf::MessageExts
|
2131
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
2132
|
+
end
|
1594
2133
|
end
|
1595
2134
|
end
|
1596
2135
|
end
|