google-cloud-security_center-v1 0.26.0 → 0.27.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.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/security_center/v1/security_center/client.rb +856 -15
  4. data/lib/google/cloud/security_center/v1/security_center/operations.rb +2 -2
  5. data/lib/google/cloud/security_center/v1/security_center/paths.rb +147 -0
  6. data/lib/google/cloud/security_center/v1/security_center/rest/client.rb +647 -2
  7. data/lib/google/cloud/security_center/v1/security_center/rest/operations.rb +2 -2
  8. data/lib/google/cloud/security_center/v1/security_center/rest/service_stub.rb +590 -0
  9. data/lib/google/cloud/security_center/v1/version.rb +1 -1
  10. data/lib/google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module_pb.rb +35 -0
  11. data/lib/google/cloud/securitycenter/v1/finding_pb.rb +1 -0
  12. data/lib/google/cloud/securitycenter/v1/security_health_analytics_custom_config_pb.rb +50 -0
  13. data/lib/google/cloud/securitycenter/v1/security_health_analytics_custom_module_pb.rb +40 -0
  14. data/lib/google/cloud/securitycenter/v1/securitycenter_service_pb.rb +58 -1
  15. data/lib/google/cloud/securitycenter/v1/securitycenter_service_services_pb.rb +30 -0
  16. data/proto_docs/google/api/client.rb +57 -3
  17. data/proto_docs/google/cloud/securitycenter/v1/bigquery_export.rb +5 -5
  18. data/proto_docs/google/cloud/securitycenter/v1/contact_details.rb +2 -2
  19. data/proto_docs/google/cloud/securitycenter/v1/database.rb +1 -1
  20. data/proto_docs/google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module.rb +73 -0
  21. data/proto_docs/google/cloud/securitycenter/v1/exfiltration.rb +1 -1
  22. data/proto_docs/google/cloud/securitycenter/v1/finding.rb +11 -6
  23. data/proto_docs/google/cloud/securitycenter/v1/indicator.rb +4 -3
  24. data/proto_docs/google/cloud/securitycenter/v1/kernel_rootkit.rb +8 -8
  25. data/proto_docs/google/cloud/securitycenter/v1/kubernetes.rb +3 -3
  26. data/proto_docs/google/cloud/securitycenter/v1/mute_config.rb +5 -5
  27. data/proto_docs/google/cloud/securitycenter/v1/resource.rb +3 -3
  28. data/proto_docs/google/cloud/securitycenter/v1/security_health_analytics_custom_config.rb +112 -0
  29. data/proto_docs/google/cloud/securitycenter/v1/security_health_analytics_custom_module.rb +90 -0
  30. data/proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb +169 -0
  31. data/proto_docs/google/iam/v1/policy.rb +8 -4
  32. metadata +8 -2
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module SecurityCenter
23
23
  module V1
24
- VERSION = "0.26.0"
24
+ VERSION = "0.27.0"
25
25
  end
26
26
  end
27
27
  end
@@ -0,0 +1,35 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/cloud/securitycenter/v1/security_health_analytics_custom_config_pb'
9
+
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_file("google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module.proto", :syntax => :proto3) do
12
+ add_message "google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule" do
13
+ optional :name, :string, 1
14
+ optional :custom_config, :message, 2, "google.cloud.securitycenter.v1.CustomConfig"
15
+ optional :enablement_state, :enum, 3, "google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementState"
16
+ optional :display_name, :string, 4
17
+ end
18
+ add_enum "google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementState" do
19
+ value :ENABLEMENT_STATE_UNSPECIFIED, 0
20
+ value :ENABLED, 1
21
+ value :DISABLED, 2
22
+ end
23
+ end
24
+ end
25
+
26
+ module Google
27
+ module Cloud
28
+ module SecurityCenter
29
+ module V1
30
+ EffectiveSecurityHealthAnalyticsCustomModule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule").msgclass
31
+ EffectiveSecurityHealthAnalyticsCustomModule::EnablementState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule.EnablementState").enummodule
32
+ end
33
+ end
34
+ end
35
+ end
@@ -58,6 +58,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
58
58
  optional :exfiltration, :message, 38, "google.cloud.securitycenter.v1.Exfiltration"
59
59
  repeated :iam_bindings, :message, 39, "google.cloud.securitycenter.v1.IamBinding"
60
60
  optional :next_steps, :string, 40
61
+ optional :module_name, :string, 41
61
62
  repeated :containers, :message, 42, "google.cloud.securitycenter.v1.Container"
62
63
  optional :kubernetes, :message, 43, "google.cloud.securitycenter.v1.Kubernetes"
63
64
  optional :database, :message, 44, "google.cloud.securitycenter.v1.Database"
@@ -0,0 +1,50 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/securitycenter/v1/security_health_analytics_custom_config.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/type/expr_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("google/cloud/securitycenter/v1/security_health_analytics_custom_config.proto", :syntax => :proto3) do
10
+ add_message "google.cloud.securitycenter.v1.CustomConfig" do
11
+ optional :predicate, :message, 1, "google.type.Expr"
12
+ optional :custom_output, :message, 2, "google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec"
13
+ optional :resource_selector, :message, 3, "google.cloud.securitycenter.v1.CustomConfig.ResourceSelector"
14
+ optional :severity, :enum, 4, "google.cloud.securitycenter.v1.CustomConfig.Severity"
15
+ optional :description, :string, 5
16
+ optional :recommendation, :string, 6
17
+ end
18
+ add_message "google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec" do
19
+ repeated :properties, :message, 1, "google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec.Property"
20
+ end
21
+ add_message "google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec.Property" do
22
+ optional :name, :string, 1
23
+ optional :value_expression, :message, 2, "google.type.Expr"
24
+ end
25
+ add_message "google.cloud.securitycenter.v1.CustomConfig.ResourceSelector" do
26
+ repeated :resource_types, :string, 1
27
+ end
28
+ add_enum "google.cloud.securitycenter.v1.CustomConfig.Severity" do
29
+ value :SEVERITY_UNSPECIFIED, 0
30
+ value :CRITICAL, 1
31
+ value :HIGH, 2
32
+ value :MEDIUM, 3
33
+ value :LOW, 4
34
+ end
35
+ end
36
+ end
37
+
38
+ module Google
39
+ module Cloud
40
+ module SecurityCenter
41
+ module V1
42
+ CustomConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CustomConfig").msgclass
43
+ CustomConfig::CustomOutputSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec").msgclass
44
+ CustomConfig::CustomOutputSpec::Property = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CustomConfig.CustomOutputSpec.Property").msgclass
45
+ CustomConfig::ResourceSelector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CustomConfig.ResourceSelector").msgclass
46
+ CustomConfig::Severity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CustomConfig.Severity").enummodule
47
+ end
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,40 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/securitycenter/v1/security_health_analytics_custom_module.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/cloud/securitycenter/v1/security_health_analytics_custom_config_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+
11
+ Google::Protobuf::DescriptorPool.generated_pool.build do
12
+ add_file("google/cloud/securitycenter/v1/security_health_analytics_custom_module.proto", :syntax => :proto3) do
13
+ add_message "google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule" do
14
+ optional :name, :string, 1
15
+ optional :display_name, :string, 2
16
+ optional :enablement_state, :enum, 4, "google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState"
17
+ optional :update_time, :message, 5, "google.protobuf.Timestamp"
18
+ optional :last_editor, :string, 6
19
+ optional :ancestor_module, :string, 7
20
+ optional :custom_config, :message, 8, "google.cloud.securitycenter.v1.CustomConfig"
21
+ end
22
+ add_enum "google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState" do
23
+ value :ENABLEMENT_STATE_UNSPECIFIED, 0
24
+ value :ENABLED, 1
25
+ value :DISABLED, 2
26
+ value :INHERITED, 3
27
+ end
28
+ end
29
+ end
30
+
31
+ module Google
32
+ module Cloud
33
+ module SecurityCenter
34
+ module V1
35
+ SecurityHealthAnalyticsCustomModule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule").msgclass
36
+ SecurityHealthAnalyticsCustomModule::EnablementState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule.EnablementState").enummodule
37
+ end
38
+ end
39
+ end
40
+ end
@@ -3,19 +3,21 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'google/cloud/securitycenter/v1/run_asset_discovery_response_pb'
7
6
  require 'google/api/annotations_pb'
8
7
  require 'google/api/client_pb'
9
8
  require 'google/api/field_behavior_pb'
10
9
  require 'google/api/resource_pb'
11
10
  require 'google/cloud/securitycenter/v1/asset_pb'
12
11
  require 'google/cloud/securitycenter/v1/bigquery_export_pb'
12
+ require 'google/cloud/securitycenter/v1/effective_security_health_analytics_custom_module_pb'
13
13
  require 'google/cloud/securitycenter/v1/external_system_pb'
14
14
  require 'google/cloud/securitycenter/v1/finding_pb'
15
15
  require 'google/cloud/securitycenter/v1/folder_pb'
16
16
  require 'google/cloud/securitycenter/v1/mute_config_pb'
17
17
  require 'google/cloud/securitycenter/v1/notification_config_pb'
18
18
  require 'google/cloud/securitycenter/v1/organization_settings_pb'
19
+ require 'google/cloud/securitycenter/v1/run_asset_discovery_response_pb'
20
+ require 'google/cloud/securitycenter/v1/security_health_analytics_custom_module_pb'
19
21
  require 'google/cloud/securitycenter/v1/security_marks_pb'
20
22
  require 'google/cloud/securitycenter/v1/source_pb'
21
23
  require 'google/iam/v1/iam_policy_pb'
@@ -51,6 +53,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
51
53
  optional :config_id, :string, 2
52
54
  optional :notification_config, :message, 3, "google.cloud.securitycenter.v1.NotificationConfig"
53
55
  end
56
+ add_message "google.cloud.securitycenter.v1.CreateSecurityHealthAnalyticsCustomModuleRequest" do
57
+ optional :parent, :string, 1
58
+ optional :security_health_analytics_custom_module, :message, 2, "google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule"
59
+ end
54
60
  add_message "google.cloud.securitycenter.v1.CreateSourceRequest" do
55
61
  optional :parent, :string, 1
56
62
  optional :source, :message, 2, "google.cloud.securitycenter.v1.Source"
@@ -61,6 +67,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
61
67
  add_message "google.cloud.securitycenter.v1.DeleteNotificationConfigRequest" do
62
68
  optional :name, :string, 1
63
69
  end
70
+ add_message "google.cloud.securitycenter.v1.DeleteSecurityHealthAnalyticsCustomModuleRequest" do
71
+ optional :name, :string, 1
72
+ end
64
73
  add_message "google.cloud.securitycenter.v1.GetBigQueryExportRequest" do
65
74
  optional :name, :string, 1
66
75
  end
@@ -73,6 +82,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
73
82
  add_message "google.cloud.securitycenter.v1.GetOrganizationSettingsRequest" do
74
83
  optional :name, :string, 1
75
84
  end
85
+ add_message "google.cloud.securitycenter.v1.GetEffectiveSecurityHealthAnalyticsCustomModuleRequest" do
86
+ optional :name, :string, 1
87
+ end
88
+ add_message "google.cloud.securitycenter.v1.GetSecurityHealthAnalyticsCustomModuleRequest" do
89
+ optional :name, :string, 1
90
+ end
76
91
  add_message "google.cloud.securitycenter.v1.GetSourceRequest" do
77
92
  optional :name, :string, 1
78
93
  end
@@ -110,6 +125,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
110
125
  map :properties, :string, :message, 1, "google.protobuf.Value"
111
126
  optional :count, :int64, 2
112
127
  end
128
+ add_message "google.cloud.securitycenter.v1.ListDescendantSecurityHealthAnalyticsCustomModulesRequest" do
129
+ optional :parent, :string, 1
130
+ optional :page_size, :int32, 2
131
+ optional :page_token, :string, 3
132
+ end
133
+ add_message "google.cloud.securitycenter.v1.ListDescendantSecurityHealthAnalyticsCustomModulesResponse" do
134
+ repeated :security_health_analytics_custom_modules, :message, 1, "google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule"
135
+ optional :next_page_token, :string, 2
136
+ end
113
137
  add_message "google.cloud.securitycenter.v1.ListMuteConfigsRequest" do
114
138
  optional :parent, :string, 1
115
139
  optional :page_size, :int32, 2
@@ -128,6 +152,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
128
152
  repeated :notification_configs, :message, 1, "google.cloud.securitycenter.v1.NotificationConfig"
129
153
  optional :next_page_token, :string, 2
130
154
  end
155
+ add_message "google.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesRequest" do
156
+ optional :parent, :string, 1
157
+ optional :page_size, :int32, 2
158
+ optional :page_token, :string, 3
159
+ end
160
+ add_message "google.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse" do
161
+ repeated :effective_security_health_analytics_custom_modules, :message, 1, "google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule"
162
+ optional :next_page_token, :string, 2
163
+ end
164
+ add_message "google.cloud.securitycenter.v1.ListSecurityHealthAnalyticsCustomModulesRequest" do
165
+ optional :parent, :string, 1
166
+ optional :page_size, :int32, 2
167
+ optional :page_token, :string, 3
168
+ end
169
+ add_message "google.cloud.securitycenter.v1.ListSecurityHealthAnalyticsCustomModulesResponse" do
170
+ repeated :security_health_analytics_custom_modules, :message, 1, "google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule"
171
+ optional :next_page_token, :string, 2
172
+ end
131
173
  add_message "google.cloud.securitycenter.v1.ListSourcesRequest" do
132
174
  optional :parent, :string, 1
133
175
  optional :page_token, :string, 2
@@ -233,6 +275,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
233
275
  optional :organization_settings, :message, 1, "google.cloud.securitycenter.v1.OrganizationSettings"
234
276
  optional :update_mask, :message, 2, "google.protobuf.FieldMask"
235
277
  end
278
+ add_message "google.cloud.securitycenter.v1.UpdateSecurityHealthAnalyticsCustomModuleRequest" do
279
+ optional :security_health_analytics_custom_module, :message, 1, "google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule"
280
+ optional :update_mask, :message, 2, "google.protobuf.FieldMask"
281
+ end
236
282
  add_message "google.cloud.securitycenter.v1.UpdateSourceRequest" do
237
283
  optional :source, :message, 1, "google.cloud.securitycenter.v1.Source"
238
284
  optional :update_mask, :message, 2, "google.protobuf.FieldMask"
@@ -275,23 +321,33 @@ module Google
275
321
  CreateFindingRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CreateFindingRequest").msgclass
276
322
  CreateMuteConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CreateMuteConfigRequest").msgclass
277
323
  CreateNotificationConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CreateNotificationConfigRequest").msgclass
324
+ CreateSecurityHealthAnalyticsCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CreateSecurityHealthAnalyticsCustomModuleRequest").msgclass
278
325
  CreateSourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CreateSourceRequest").msgclass
279
326
  DeleteMuteConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.DeleteMuteConfigRequest").msgclass
280
327
  DeleteNotificationConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.DeleteNotificationConfigRequest").msgclass
328
+ DeleteSecurityHealthAnalyticsCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.DeleteSecurityHealthAnalyticsCustomModuleRequest").msgclass
281
329
  GetBigQueryExportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GetBigQueryExportRequest").msgclass
282
330
  GetMuteConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GetMuteConfigRequest").msgclass
283
331
  GetNotificationConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GetNotificationConfigRequest").msgclass
284
332
  GetOrganizationSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GetOrganizationSettingsRequest").msgclass
333
+ GetEffectiveSecurityHealthAnalyticsCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GetEffectiveSecurityHealthAnalyticsCustomModuleRequest").msgclass
334
+ GetSecurityHealthAnalyticsCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GetSecurityHealthAnalyticsCustomModuleRequest").msgclass
285
335
  GetSourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GetSourceRequest").msgclass
286
336
  GroupAssetsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GroupAssetsRequest").msgclass
287
337
  GroupAssetsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GroupAssetsResponse").msgclass
288
338
  GroupFindingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GroupFindingsRequest").msgclass
289
339
  GroupFindingsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GroupFindingsResponse").msgclass
290
340
  GroupResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.GroupResult").msgclass
341
+ ListDescendantSecurityHealthAnalyticsCustomModulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListDescendantSecurityHealthAnalyticsCustomModulesRequest").msgclass
342
+ ListDescendantSecurityHealthAnalyticsCustomModulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListDescendantSecurityHealthAnalyticsCustomModulesResponse").msgclass
291
343
  ListMuteConfigsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListMuteConfigsRequest").msgclass
292
344
  ListMuteConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListMuteConfigsResponse").msgclass
293
345
  ListNotificationConfigsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListNotificationConfigsRequest").msgclass
294
346
  ListNotificationConfigsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListNotificationConfigsResponse").msgclass
347
+ ListEffectiveSecurityHealthAnalyticsCustomModulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesRequest").msgclass
348
+ ListEffectiveSecurityHealthAnalyticsCustomModulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse").msgclass
349
+ ListSecurityHealthAnalyticsCustomModulesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListSecurityHealthAnalyticsCustomModulesRequest").msgclass
350
+ ListSecurityHealthAnalyticsCustomModulesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListSecurityHealthAnalyticsCustomModulesResponse").msgclass
295
351
  ListSourcesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListSourcesRequest").msgclass
296
352
  ListSourcesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListSourcesResponse").msgclass
297
353
  ListAssetsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ListAssetsRequest").msgclass
@@ -311,6 +367,7 @@ module Google
311
367
  UpdateMuteConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.UpdateMuteConfigRequest").msgclass
312
368
  UpdateNotificationConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.UpdateNotificationConfigRequest").msgclass
313
369
  UpdateOrganizationSettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.UpdateOrganizationSettingsRequest").msgclass
370
+ UpdateSecurityHealthAnalyticsCustomModuleRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.UpdateSecurityHealthAnalyticsCustomModuleRequest").msgclass
314
371
  UpdateSourceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.UpdateSourceRequest").msgclass
315
372
  UpdateSecurityMarksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.UpdateSecurityMarksRequest").msgclass
316
373
  CreateBigQueryExportRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.CreateBigQueryExportRequest").msgclass
@@ -37,6 +37,11 @@ module Google
37
37
  # parent can be either an organization, folder or project. The findings
38
38
  # matched by the filter will be muted after the LRO is done.
39
39
  rpc :BulkMuteFindings, ::Google::Cloud::SecurityCenter::V1::BulkMuteFindingsRequest, ::Google::Longrunning::Operation
40
+ # Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the
41
+ # given CRM parent, and also creates inherited
42
+ # SecurityHealthAnalyticsCustomModules for all CRM descendants of the given
43
+ # parent. These modules are enabled by default.
44
+ rpc :CreateSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenter::V1::CreateSecurityHealthAnalyticsCustomModuleRequest, ::Google::Cloud::SecurityCenter::V1::SecurityHealthAnalyticsCustomModule
40
45
  # Creates a source.
41
46
  rpc :CreateSource, ::Google::Cloud::SecurityCenter::V1::CreateSourceRequest, ::Google::Cloud::SecurityCenter::V1::Source
42
47
  # Creates a finding. The corresponding source must exist for finding creation
@@ -50,6 +55,10 @@ module Google
50
55
  rpc :DeleteMuteConfig, ::Google::Cloud::SecurityCenter::V1::DeleteMuteConfigRequest, ::Google::Protobuf::Empty
51
56
  # Deletes a notification config.
52
57
  rpc :DeleteNotificationConfig, ::Google::Cloud::SecurityCenter::V1::DeleteNotificationConfigRequest, ::Google::Protobuf::Empty
58
+ # Deletes the specified SecurityHealthAnalyticsCustomModule and all of its
59
+ # descendants in the CRM hierarchy. This method is only supported for
60
+ # resident custom modules.
61
+ rpc :DeleteSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenter::V1::DeleteSecurityHealthAnalyticsCustomModuleRequest, ::Google::Protobuf::Empty
53
62
  # Gets a BigQuery export.
54
63
  rpc :GetBigQueryExport, ::Google::Cloud::SecurityCenter::V1::GetBigQueryExportRequest, ::Google::Cloud::SecurityCenter::V1::BigQueryExport
55
64
  # Gets the access control policy on the specified Source.
@@ -60,6 +69,10 @@ module Google
60
69
  rpc :GetNotificationConfig, ::Google::Cloud::SecurityCenter::V1::GetNotificationConfigRequest, ::Google::Cloud::SecurityCenter::V1::NotificationConfig
61
70
  # Gets the settings for an organization.
62
71
  rpc :GetOrganizationSettings, ::Google::Cloud::SecurityCenter::V1::GetOrganizationSettingsRequest, ::Google::Cloud::SecurityCenter::V1::OrganizationSettings
72
+ # Retrieves an EffectiveSecurityHealthAnalyticsCustomModule.
73
+ rpc :GetEffectiveSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenter::V1::GetEffectiveSecurityHealthAnalyticsCustomModuleRequest, ::Google::Cloud::SecurityCenter::V1::EffectiveSecurityHealthAnalyticsCustomModule
74
+ # Retrieves a SecurityHealthAnalyticsCustomModule.
75
+ rpc :GetSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenter::V1::GetSecurityHealthAnalyticsCustomModuleRequest, ::Google::Cloud::SecurityCenter::V1::SecurityHealthAnalyticsCustomModule
63
76
  # Gets a source.
64
77
  rpc :GetSource, ::Google::Cloud::SecurityCenter::V1::GetSourceRequest, ::Google::Cloud::SecurityCenter::V1::Source
65
78
  # Filters an organization's assets and groups them by their specified
@@ -75,6 +88,9 @@ module Google
75
88
  rpc :GroupFindings, ::Google::Cloud::SecurityCenter::V1::GroupFindingsRequest, ::Google::Cloud::SecurityCenter::V1::GroupFindingsResponse
76
89
  # Lists an organization's assets.
77
90
  rpc :ListAssets, ::Google::Cloud::SecurityCenter::V1::ListAssetsRequest, ::Google::Cloud::SecurityCenter::V1::ListAssetsResponse
91
+ # Returns a list of all resident SecurityHealthAnalyticsCustomModules under
92
+ # the given CRM parent and all of the parent’s CRM descendants.
93
+ rpc :ListDescendantSecurityHealthAnalyticsCustomModules, ::Google::Cloud::SecurityCenter::V1::ListDescendantSecurityHealthAnalyticsCustomModulesRequest, ::Google::Cloud::SecurityCenter::V1::ListDescendantSecurityHealthAnalyticsCustomModulesResponse
78
94
  # Lists an organization or source's findings.
79
95
  #
80
96
  # To list across all sources provide a `-` as the source id.
@@ -84,6 +100,14 @@ module Google
84
100
  rpc :ListMuteConfigs, ::Google::Cloud::SecurityCenter::V1::ListMuteConfigsRequest, ::Google::Cloud::SecurityCenter::V1::ListMuteConfigsResponse
85
101
  # Lists notification configs.
86
102
  rpc :ListNotificationConfigs, ::Google::Cloud::SecurityCenter::V1::ListNotificationConfigsRequest, ::Google::Cloud::SecurityCenter::V1::ListNotificationConfigsResponse
103
+ # Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the
104
+ # given parent. This includes resident modules defined at the scope of the
105
+ # parent, and inherited modules, inherited from CRM ancestors.
106
+ rpc :ListEffectiveSecurityHealthAnalyticsCustomModules, ::Google::Cloud::SecurityCenter::V1::ListEffectiveSecurityHealthAnalyticsCustomModulesRequest, ::Google::Cloud::SecurityCenter::V1::ListEffectiveSecurityHealthAnalyticsCustomModulesResponse
107
+ # Returns a list of all SecurityHealthAnalyticsCustomModules for the given
108
+ # parent. This includes resident modules defined at the scope of the parent,
109
+ # and inherited modules, inherited from CRM ancestors.
110
+ rpc :ListSecurityHealthAnalyticsCustomModules, ::Google::Cloud::SecurityCenter::V1::ListSecurityHealthAnalyticsCustomModulesRequest, ::Google::Cloud::SecurityCenter::V1::ListSecurityHealthAnalyticsCustomModulesResponse
87
111
  # Lists all sources belonging to an organization.
88
112
  rpc :ListSources, ::Google::Cloud::SecurityCenter::V1::ListSourcesRequest, ::Google::Cloud::SecurityCenter::V1::ListSourcesResponse
89
113
  # Runs asset discovery. The discovery is tracked with a long-running
@@ -114,6 +138,12 @@ module Google
114
138
  rpc :UpdateNotificationConfig, ::Google::Cloud::SecurityCenter::V1::UpdateNotificationConfigRequest, ::Google::Cloud::SecurityCenter::V1::NotificationConfig
115
139
  # Updates an organization's settings.
116
140
  rpc :UpdateOrganizationSettings, ::Google::Cloud::SecurityCenter::V1::UpdateOrganizationSettingsRequest, ::Google::Cloud::SecurityCenter::V1::OrganizationSettings
141
+ # Updates the SecurityHealthAnalyticsCustomModule under the given name based
142
+ # on the given update mask. Updating the enablement state is supported on
143
+ # both resident and inherited modules (though resident modules cannot have an
144
+ # enablement state of “inherited”). Updating the display name and custom
145
+ # config of a module is supported on resident modules only.
146
+ rpc :UpdateSecurityHealthAnalyticsCustomModule, ::Google::Cloud::SecurityCenter::V1::UpdateSecurityHealthAnalyticsCustomModuleRequest, ::Google::Cloud::SecurityCenter::V1::SecurityHealthAnalyticsCustomModule
117
147
  # Updates a source.
118
148
  rpc :UpdateSource, ::Google::Cloud::SecurityCenter::V1::UpdateSourceRequest, ::Google::Cloud::SecurityCenter::V1::Source
119
149
  # Updates security marks.
@@ -35,7 +35,9 @@ module Google
35
35
  # Details about how and where to publish client libraries.
36
36
  # @!attribute [rw] version
37
37
  # @return [::String]
38
- # Version of the API to apply these settings to.
38
+ # Version of the API to apply these settings to. This is the full protobuf
39
+ # package for the API, ending in the version element.
40
+ # Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
39
41
  # @!attribute [rw] launch_stage
40
42
  # @return [::Google::Api::LaunchStage]
41
43
  # Launch stage of this version of the API.
@@ -111,6 +113,10 @@ module Google
111
113
  # Client library settings. If the same version string appears multiple
112
114
  # times in this list, then the last one wins. Settings from earlier
113
115
  # settings with the same version string are discarded.
116
+ # @!attribute [rw] proto_reference_documentation_uri
117
+ # @return [::String]
118
+ # Optional link to proto reference documentation. Example:
119
+ # https://cloud.google.com/pubsub/lite/docs/reference/rpc
114
120
  class Publishing
115
121
  include ::Google::Protobuf::MessageExts
116
122
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -203,9 +209,57 @@ module Google
203
209
  # @!attribute [rw] common
204
210
  # @return [::Google::Api::CommonLanguageSettings]
205
211
  # Some settings.
212
+ # @!attribute [rw] renamed_services
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # Map from original service names to renamed versions.
215
+ # This is used when the default generated types
216
+ # would cause a naming conflict. (Neither name is
217
+ # fully-qualified.)
218
+ # Example: Subscriber to SubscriberServiceApi.
219
+ # @!attribute [rw] renamed_resources
220
+ # @return [::Google::Protobuf::Map{::String => ::String}]
221
+ # Map from full resource types to the effective short name
222
+ # for the resource. This is used when otherwise resource
223
+ # named from different services would cause naming collisions.
224
+ # Example entry:
225
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
226
+ # @!attribute [rw] ignored_resources
227
+ # @return [::Array<::String>]
228
+ # List of full resource types to ignore during generation.
229
+ # This is typically used for API-specific Location resources,
230
+ # which should be handled by the generator as if they were actually
231
+ # the common Location resources.
232
+ # Example entry: "documentai.googleapis.com/Location"
233
+ # @!attribute [rw] forced_namespace_aliases
234
+ # @return [::Array<::String>]
235
+ # Namespaces which must be aliased in snippets due to
236
+ # a known (but non-generator-predictable) naming collision
237
+ # @!attribute [rw] handwritten_signatures
238
+ # @return [::Array<::String>]
239
+ # Method signatures (in the form "service.method(signature)")
240
+ # which are provided separately, so shouldn't be generated.
241
+ # Snippets *calling* these methods are still generated, however.
206
242
  class DotnetSettings
207
243
  include ::Google::Protobuf::MessageExts
208
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
+
246
+ # @!attribute [rw] key
247
+ # @return [::String]
248
+ # @!attribute [rw] value
249
+ # @return [::String]
250
+ class RenamedServicesEntry
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # @!attribute [rw] key
256
+ # @return [::String]
257
+ # @!attribute [rw] value
258
+ # @return [::String]
259
+ class RenamedResourcesEntry
260
+ include ::Google::Protobuf::MessageExts
261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
262
+ end
209
263
  end
210
264
 
211
265
  # Settings for Ruby client libraries.
@@ -240,8 +294,8 @@ module Google
240
294
  # Example of a YAML configuration::
241
295
  #
242
296
  # publishing:
243
- # method_behavior:
244
- # - selector: CreateAdDomain
297
+ # method_settings:
298
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
245
299
  # long_running:
246
300
  # initial_poll_delay:
247
301
  # seconds: 60 # 1 minute
@@ -65,23 +65,23 @@ module Google
65
65
  # (0-9), or underscores (_).
66
66
  # @!attribute [r] create_time
67
67
  # @return [::Google::Protobuf::Timestamp]
68
- # Output only. The time at which the big query export was created.
68
+ # Output only. The time at which the BigQuery export was created.
69
69
  # This field is set by the server and will be ignored if provided on export
70
70
  # on creation.
71
71
  # @!attribute [r] update_time
72
72
  # @return [::Google::Protobuf::Timestamp]
73
- # Output only. The most recent time at which the big export was updated.
73
+ # Output only. The most recent time at which the BigQuery export was updated.
74
74
  # This field is set by the server and will be ignored if provided on export
75
75
  # creation or update.
76
76
  # @!attribute [r] most_recent_editor
77
77
  # @return [::String]
78
- # Output only. Email address of the user who last edited the big query export.
78
+ # Output only. Email address of the user who last edited the BigQuery export.
79
79
  # This field is set by the server and will be ignored if provided on export
80
80
  # creation or update.
81
81
  # @!attribute [r] principal
82
82
  # @return [::String]
83
- # Output only. The service account that needs permission to create table, upload data to
84
- # the big query dataset.
83
+ # Output only. The service account that needs permission to create table and
84
+ # upload data to the BigQuery dataset.
85
85
  class BigQueryExport
86
86
  include ::Google::Protobuf::MessageExts
87
87
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -30,10 +30,10 @@ module Google
30
30
  extend ::Google::Protobuf::MessageExts::ClassMethods
31
31
  end
32
32
 
33
- # Representa a single contact's email address
33
+ # The email address of a contact.
34
34
  # @!attribute [rw] email
35
35
  # @return [::String]
36
- # An email address e.g. "person123@company.com"
36
+ # An email address. For example, "`person123@company.com`".
37
37
  class Contact
38
38
  include ::Google::Protobuf::MessageExts
39
39
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -26,7 +26,7 @@ module Google
26
26
  # instances or Cloud Spanner instances), or the database instance itself.
27
27
  # Some database resources may not have the full resource name populated
28
28
  # because these resource types are not yet supported by Cloud Asset Inventory
29
- # (e.g. CloudSQL databases). In these cases only the display name will be
29
+ # (e.g. CloudSQL databases). In these cases only the display name will be
30
30
  # provided.
31
31
  # @!attribute [rw] name
32
32
  # @return [::String]
@@ -0,0 +1,73 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 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 Cloud
22
+ module SecurityCenter
23
+ module V1
24
+ # An EffectiveSecurityHealthAnalyticsCustomModule is the representation of
25
+ # a Security Health Analytics custom module at a specified level of the
26
+ # resource hierarchy: organization, folder, or project. If a custom module is
27
+ # inherited from a parent organization or folder, the value of the
28
+ # `enablementState` property in EffectiveSecurityHealthAnalyticsCustomModule is
29
+ # set to the value that is effective in the parent, instead of `INHERITED`.
30
+ # For example, if the module is enabled in a parent organization or folder, the
31
+ # effective enablement_state for the module in all child folders or projects is
32
+ # also `enabled`. EffectiveSecurityHealthAnalyticsCustomModule is read-only.
33
+ # @!attribute [r] name
34
+ # @return [::String]
35
+ # Output only. The resource name of the custom module.
36
+ # Its format is
37
+ # "organizations/\\{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/\\{customModule}",
38
+ # or
39
+ # "folders/\\{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/\\{customModule}",
40
+ # or
41
+ # "projects/\\{project}/securityHealthAnalyticsSettings/effectiveCustomModules/\\{customModule}"
42
+ # @!attribute [r] custom_config
43
+ # @return [::Google::Cloud::SecurityCenter::V1::CustomConfig]
44
+ # Output only. The user-specified configuration for the module.
45
+ # @!attribute [r] enablement_state
46
+ # @return [::Google::Cloud::SecurityCenter::V1::EffectiveSecurityHealthAnalyticsCustomModule::EnablementState]
47
+ # Output only. The effective state of enablement for the module at the given
48
+ # level of the hierarchy.
49
+ # @!attribute [r] display_name
50
+ # @return [::String]
51
+ # Output only. The display name for the custom module. The name must be
52
+ # between 1 and 128 characters, start with a lowercase letter, and contain
53
+ # alphanumeric characters or underscores only.
54
+ class EffectiveSecurityHealthAnalyticsCustomModule
55
+ include ::Google::Protobuf::MessageExts
56
+ extend ::Google::Protobuf::MessageExts::ClassMethods
57
+
58
+ # The enablement state of the module.
59
+ module EnablementState
60
+ # Unspecified enablement state.
61
+ ENABLEMENT_STATE_UNSPECIFIED = 0
62
+
63
+ # The module is enabled at the given level.
64
+ ENABLED = 1
65
+
66
+ # The module is disabled at the given level.
67
+ DISABLED = 2
68
+ end
69
+ end
70
+ end
71
+ end
72
+ end
73
+ end
@@ -22,7 +22,7 @@ module Google
22
22
  module SecurityCenter
23
23
  module V1
24
24
  # Exfiltration represents a data exfiltration attempt of one or more
25
- # sources to one or more targets. Sources represent the source
25
+ # sources to one or more targets. Sources represent the source
26
26
  # of data that is exfiltrated, and Targets represents the destination the
27
27
  # data was copied to.
28
28
  # @!attribute [rw] sources