google-cloud-security_center-v1 0.13.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -0
  3. data/lib/google/cloud/security_center/v1/security_center/client.rb +37 -32
  4. data/lib/google/cloud/security_center/v1/version.rb +1 -1
  5. data/lib/google/cloud/securitycenter/v1/asset_pb.rb +2 -1
  6. data/lib/google/cloud/securitycenter/v1/bigquery_export_pb.rb +2 -1
  7. data/lib/google/cloud/securitycenter/v1/compliance_pb.rb +24 -0
  8. data/lib/google/cloud/securitycenter/v1/connection_pb.rb +35 -0
  9. data/lib/google/cloud/securitycenter/v1/exfiltration_pb.rb +28 -0
  10. data/lib/google/cloud/securitycenter/v1/external_system_pb.rb +2 -1
  11. data/lib/google/cloud/securitycenter/v1/file_pb.rb +27 -0
  12. data/lib/google/cloud/securitycenter/v1/finding_pb.rb +14 -1
  13. data/lib/google/cloud/securitycenter/v1/iam_binding_pb.rb +30 -0
  14. data/lib/google/cloud/securitycenter/v1/mitre_attack_pb.rb +3 -0
  15. data/lib/google/cloud/securitycenter/v1/mute_config_pb.rb +2 -1
  16. data/lib/google/cloud/securitycenter/v1/notification_config_pb.rb +2 -1
  17. data/lib/google/cloud/securitycenter/v1/notification_message_pb.rb +2 -1
  18. data/lib/google/cloud/securitycenter/v1/organization_settings_pb.rb +2 -1
  19. data/lib/google/cloud/securitycenter/v1/process_pb.rb +37 -0
  20. data/lib/google/cloud/securitycenter/v1/resource_pb.rb +4 -3
  21. data/lib/google/cloud/securitycenter/v1/run_asset_discovery_response_pb.rb +2 -1
  22. data/lib/google/cloud/securitycenter/v1/security_marks_pb.rb +2 -1
  23. data/lib/google/cloud/securitycenter/v1/securitycenter_service_pb.rb +4 -3
  24. data/lib/google/cloud/securitycenter/v1/source_pb.rb +2 -1
  25. data/proto_docs/google/cloud/securitycenter/v1/bigquery_export.rb +5 -5
  26. data/proto_docs/google/cloud/securitycenter/v1/compliance.rb +43 -0
  27. data/proto_docs/google/cloud/securitycenter/v1/connection.rb +70 -0
  28. data/proto_docs/google/cloud/securitycenter/v1/exfiltration.rb +59 -0
  29. data/proto_docs/google/cloud/securitycenter/v1/external_system.rb +2 -1
  30. data/proto_docs/google/cloud/securitycenter/v1/file.rb +56 -0
  31. data/proto_docs/google/cloud/securitycenter/v1/finding.rb +24 -2
  32. data/proto_docs/google/cloud/securitycenter/v1/iam_binding.rb +56 -0
  33. data/proto_docs/google/cloud/securitycenter/v1/mitre_attack.rb +9 -0
  34. data/proto_docs/google/cloud/securitycenter/v1/process.rb +75 -0
  35. data/proto_docs/google/cloud/securitycenter/v1/resource.rb +7 -7
  36. data/proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb +36 -37
  37. data/proto_docs/google/iam/v1/iam_policy.rb +8 -1
  38. data/proto_docs/google/iam/v1/options.rb +14 -4
  39. data/proto_docs/google/iam/v1/policy.rb +208 -38
  40. data/proto_docs/google/protobuf/any.rb +3 -3
  41. data/proto_docs/google/protobuf/struct.rb +2 -2
  42. metadata +19 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72289a4425a4bab619f6e06d5cef580670956ff31247cc75f96119419f6a4397
4
- data.tar.gz: 63371122ef82f8e299fde1f65280308645ada1d980efb5dba034726b187ea9b7
3
+ metadata.gz: 137349fd5941ad792aa7a6e88ac8d8f4743b103c854f57fabc07801dd17c8db6
4
+ data.tar.gz: 816b02ef077b8c64ecaf0aea7f08d4360010b8593d4d66427a73670ac4420699
5
5
  SHA512:
6
- metadata.gz: c3bf910852f449764f5867ef75c0f232cb9441302be936433de50105afa06ecd159e014514628354ac3a76eb202c91df88cc4381f79ba9ace8a5ba264b5d6e5d
7
- data.tar.gz: d6377678ca210b0608cc84244de4da0f388b0a5278f43298bfb4f5e5d955bbcafa59c5eb14053c9e630f3d5bc60443908e0fb93096906c56c297f2dd6caf354a
6
+ metadata.gz: 2dc560bed92702466e2c3441ba9571435f7db903d3338195bd5e0bbb03315a94110cddea277c57624725b7f898a7d5dafccb564a4a839ed5565d78c152fede12
7
+ data.tar.gz: 142d65f1b2a722530aae4a34495cc8689ed1790e6ddd64a90010eaba6ccb9faea3d6df20b798cf09bf6c7f0d240936da22909580ac612b5c035c0800430c9bdb
data/README.md CHANGED
@@ -69,6 +69,11 @@ module GRPC
69
69
  end
70
70
  ```
71
71
 
72
+
73
+ ## Google Cloud Samples
74
+
75
+ To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
76
+
72
77
  ## Supported Ruby Versions
73
78
 
74
79
  This library is supported on Ruby 2.5+.
@@ -257,8 +257,8 @@ module Google
257
257
  # the default parameter values, pass an empty Hash as a request object (see above).
258
258
  #
259
259
  # @param parent [::String]
260
- # Required. The parent, at which bulk action needs to be applied. Its format
261
- # is "organizations/[organization_id]", "folders/[folder_id]",
260
+ # Required. The parent, at which bulk action needs to be applied. Its format is
261
+ # "organizations/[organization_id]", "folders/[folder_id]",
262
262
  # "projects/[project_id]".
263
263
  # @param filter [::String]
264
264
  # Expression that identifies findings that should be updated.
@@ -379,8 +379,8 @@ module Google
379
379
  # Required. Resource name of the new source's parent. Its format should be
380
380
  # "organizations/[organization_id]".
381
381
  # @param source [::Google::Cloud::SecurityCenter::V1::Source, ::Hash]
382
- # Required. The Source being created, only the display_name and description
383
- # will be used. All other fields will be ignored.
382
+ # Required. The Source being created, only the display_name and description will be
383
+ # used. All other fields will be ignored.
384
384
  #
385
385
  # @yield [response, operation] Access the result along with the RPC operation
386
386
  # @yieldparam response [::Google::Cloud::SecurityCenter::V1::Source]
@@ -473,8 +473,8 @@ module Google
473
473
  # It must be alphanumeric and less than or equal to 32 characters and
474
474
  # greater than 0 characters in length.
475
475
  # @param finding [::Google::Cloud::SecurityCenter::V1::Finding, ::Hash]
476
- # Required. The Finding being created. The name and security_marks will be
477
- # ignored as they are both output only fields on this resource.
476
+ # Required. The Finding being created. The name and security_marks will be ignored as
477
+ # they are both output only fields on this resource.
478
478
  #
479
479
  # @yield [response, operation] Access the result along with the RPC operation
480
480
  # @yieldparam response [::Google::Cloud::SecurityCenter::V1::Finding]
@@ -653,17 +653,16 @@ module Google
653
653
  # the default parameter values, pass an empty Hash as a request object (see above).
654
654
  #
655
655
  # @param parent [::String]
656
- # Required. Resource name of the new notification config's parent. Its format
657
- # is "organizations/[organization_id]".
656
+ # Required. Resource name of the new notification config's parent. Its format is
657
+ # "organizations/[organization_id]".
658
658
  # @param config_id [::String]
659
659
  # Required.
660
660
  # Unique identifier provided by the client within the parent scope.
661
661
  # It must be between 1 and 128 characters, and contains alphanumeric
662
662
  # characters, underscores or hyphens only.
663
663
  # @param notification_config [::Google::Cloud::SecurityCenter::V1::NotificationConfig, ::Hash]
664
- # Required. The notification config being created. The name and the service
665
- # account will be ignored as they are both output only fields on this
666
- # resource.
664
+ # Required. The notification config being created. The name and the service account
665
+ # will be ignored as they are both output only fields on this resource.
667
666
  #
668
667
  # @yield [response, operation] Access the result along with the RPC operation
669
668
  # @yieldparam response [::Google::Cloud::SecurityCenter::V1::NotificationConfig]
@@ -1014,7 +1013,7 @@ module Google
1014
1013
  # See the operation documentation for the appropriate value for this field.
1015
1014
  # @param options [::Google::Iam::V1::GetPolicyOptions, ::Hash]
1016
1015
  # OPTIONAL: A `GetPolicyOptions` object for specifying options to
1017
- # `GetIamPolicy`. This field is only used by Cloud IAM.
1016
+ # `GetIamPolicy`.
1018
1017
  #
1019
1018
  # @yield [response, operation] Access the result along with the RPC operation
1020
1019
  # @yieldparam response [::Google::Iam::V1::Policy]
@@ -1273,8 +1272,8 @@ module Google
1273
1272
  # the default parameter values, pass an empty Hash as a request object (see above).
1274
1273
  #
1275
1274
  # @param name [::String]
1276
- # Required. Name of the organization to get organization settings for. Its
1277
- # format is "organizations/[organization_id]/organizationSettings".
1275
+ # Required. Name of the organization to get organization settings for. Its format is
1276
+ # "organizations/[organization_id]/organizationSettings".
1278
1277
  #
1279
1278
  # @yield [response, operation] Access the result along with the RPC operation
1280
1279
  # @yieldparam response [::Google::Cloud::SecurityCenter::V1::OrganizationSettings]
@@ -1513,9 +1512,9 @@ module Google
1513
1512
  # Use a negated partial match on the empty string to filter based on a
1514
1513
  # property not existing: `-resource_properties.my_property : ""`
1515
1514
  # @param group_by [::String]
1516
- # Required. Expression that defines what assets fields to use for grouping.
1517
- # The string value should follow SQL syntax: comma separated list of fields.
1518
- # For example:
1515
+ # Required. Expression that defines what assets fields to use for grouping. The string
1516
+ # value should follow SQL syntax: comma separated list of fields. For
1517
+ # example:
1519
1518
  # "security_center_properties.resource_project,security_center_properties.project".
1520
1519
  #
1521
1520
  # The following fields are supported when compare_duration is not set:
@@ -1736,9 +1735,9 @@ module Google
1736
1735
  # * resource.project_display_name: `=`, `:`
1737
1736
  # * resource.type: `=`, `:`
1738
1737
  # @param group_by [::String]
1739
- # Required. Expression that defines what assets fields to use for grouping
1740
- # (including `state_change`). The string value should follow SQL syntax:
1741
- # comma separated list of fields. For example: "parent,resource_name".
1738
+ # Required. Expression that defines what assets fields to use for grouping (including
1739
+ # `state_change`). The string value should follow SQL syntax: comma separated
1740
+ # list of fields. For example: "parent,resource_name".
1742
1741
  #
1743
1742
  # The following fields are supported:
1744
1743
  #
@@ -2335,8 +2334,8 @@ module Google
2335
2334
  # the default parameter values, pass an empty Hash as a request object (see above).
2336
2335
  #
2337
2336
  # @param parent [::String]
2338
- # Required. The parent, which owns the collection of mute configs. Its format
2339
- # is "organizations/[organization_id]", "folders/[folder_id]",
2337
+ # Required. The parent, which owns the collection of mute configs. Its format is
2338
+ # "organizations/[organization_id]", "folders/[folder_id]",
2340
2339
  # "projects/[project_id]".
2341
2340
  # @param page_size [::Integer]
2342
2341
  # The maximum number of configs to return. The service may return fewer than
@@ -2540,8 +2539,8 @@ module Google
2540
2539
  # the default parameter values, pass an empty Hash as a request object (see above).
2541
2540
  #
2542
2541
  # @param parent [::String]
2543
- # Required. Resource name of the parent of sources to list. Its format should
2544
- # be "organizations/[organization_id], folders/[folder_id], or
2542
+ # Required. Resource name of the parent of sources to list. Its format should be
2543
+ # "organizations/[organization_id], folders/[folder_id], or
2545
2544
  # projects/[project_id]".
2546
2545
  # @param page_token [::String]
2547
2546
  # The value returned by the last `ListSourcesResponse`; indicates
@@ -2646,8 +2645,8 @@ module Google
2646
2645
  # the default parameter values, pass an empty Hash as a request object (see above).
2647
2646
  #
2648
2647
  # @param parent [::String]
2649
- # Required. Name of the organization to run asset discovery for. Its format
2650
- # is "organizations/[organization_id]".
2648
+ # Required. Name of the organization to run asset discovery for. Its format is
2649
+ # "organizations/[organization_id]".
2651
2650
  #
2652
2651
  # @yield [response, operation] Access the result along with the RPC operation
2653
2652
  # @yieldparam response [::Gapic::Operation]
@@ -2918,7 +2917,7 @@ module Google
2918
2917
  # @param options [::Gapic::CallOptions, ::Hash]
2919
2918
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
2920
2919
  #
2921
- # @overload set_iam_policy(resource: nil, policy: nil)
2920
+ # @overload set_iam_policy(resource: nil, policy: nil, update_mask: nil)
2922
2921
  # Pass arguments to `set_iam_policy` via keyword arguments. Note that at
2923
2922
  # least one keyword argument is required. To specify no parameters, or to keep all
2924
2923
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -2931,6 +2930,12 @@ module Google
2931
2930
  # the policy is limited to a few 10s of KB. An empty policy is a
2932
2931
  # valid policy but certain Cloud Platform services (such as Projects)
2933
2932
  # might reject them.
2933
+ # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
2934
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
2935
+ # the fields in the mask will be modified. If no mask is provided, the
2936
+ # following default mask is used:
2937
+ #
2938
+ # `paths: "bindings, etag"`
2934
2939
  #
2935
2940
  # @yield [response, operation] Access the result along with the RPC operation
2936
2941
  # @yieldparam response [::Google::Iam::V1::Policy]
@@ -3196,8 +3201,8 @@ module Google
3196
3201
  # the default parameter values, pass an empty Hash as a request object (see above).
3197
3202
  #
3198
3203
  # @param finding [::Google::Cloud::SecurityCenter::V1::Finding, ::Hash]
3199
- # Required. The finding resource to update or create if it does not already
3200
- # exist. parent, security_marks, and update_time will be ignored.
3204
+ # Required. The finding resource to update or create if it does not already exist.
3205
+ # parent, security_marks, and update_time will be ignored.
3201
3206
  #
3202
3207
  # In the case of creation, the finding id portion of the name must be
3203
3208
  # alphanumeric and less than or equal to 32 characters and greater than 0
@@ -3661,7 +3666,7 @@ module Google
3661
3666
  # The time at which the updated SecurityMarks take effect.
3662
3667
  # If not set uses current server time. Updates will be applied to the
3663
3668
  # SecurityMarks that are active immediately preceding this time. Must be
3664
- # smaller or equal to the server time.
3669
+ # earlier or equal to the server time.
3665
3670
  #
3666
3671
  # @yield [response, operation] Access the result along with the RPC operation
3667
3672
  # @yieldparam response [::Google::Cloud::SecurityCenter::V1::SecurityMarks]
@@ -4020,8 +4025,8 @@ module Google
4020
4025
  # the default parameter values, pass an empty Hash as a request object (see above).
4021
4026
  #
4022
4027
  # @param parent [::String]
4023
- # Required. The parent, which owns the collection of BigQuery exports. Its
4024
- # format is "organizations/[organization_id]", "folders/[folder_id]",
4028
+ # Required. The parent, which owns the collection of BigQuery exports. Its format is
4029
+ # "organizations/[organization_id]", "folders/[folder_id]",
4025
4030
  # "projects/[project_id]".
4026
4031
  # @param page_size [::Integer]
4027
4032
  # The maximum number of configs to return. The service may return fewer than
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module SecurityCenter
23
23
  module V1
24
- VERSION = "0.13.0"
24
+ VERSION = "0.16.0"
25
25
  end
26
26
  end
27
27
  end
@@ -1,12 +1,13 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/securitycenter/v1/asset.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/resource_pb'
5
7
  require 'google/cloud/securitycenter/v1/folder_pb'
6
8
  require 'google/cloud/securitycenter/v1/security_marks_pb'
7
9
  require 'google/protobuf/struct_pb'
8
10
  require 'google/protobuf/timestamp_pb'
9
- require 'google/protobuf'
10
11
 
11
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
12
13
  add_file("google/cloud/securitycenter/v1/asset.proto", :syntax => :proto3) do
@@ -1,10 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/securitycenter/v1/bigquery_export.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/api/resource_pb'
6
8
  require 'google/protobuf/timestamp_pb'
7
- require 'google/protobuf'
8
9
 
9
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
11
  add_file("google/cloud/securitycenter/v1/bigquery_export.proto", :syntax => :proto3) do
@@ -0,0 +1,24 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/securitycenter/v1/compliance.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/cloud/securitycenter/v1/compliance.proto", :syntax => :proto3) do
8
+ add_message "google.cloud.securitycenter.v1.Compliance" do
9
+ optional :standard, :string, 1
10
+ optional :version, :string, 2
11
+ repeated :ids, :string, 3
12
+ end
13
+ end
14
+ end
15
+
16
+ module Google
17
+ module Cloud
18
+ module SecurityCenter
19
+ module V1
20
+ Compliance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Compliance").msgclass
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,35 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/securitycenter/v1/connection.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/cloud/securitycenter/v1/connection.proto", :syntax => :proto3) do
8
+ add_message "google.cloud.securitycenter.v1.Connection" do
9
+ optional :destination_ip, :string, 1
10
+ optional :destination_port, :int32, 2
11
+ optional :source_ip, :string, 3
12
+ optional :source_port, :int32, 4
13
+ optional :protocol, :enum, 5, "google.cloud.securitycenter.v1.Connection.Protocol"
14
+ end
15
+ add_enum "google.cloud.securitycenter.v1.Connection.Protocol" do
16
+ value :PROTOCOL_UNSPECIFIED, 0
17
+ value :ICMP, 1
18
+ value :TCP, 6
19
+ value :UDP, 17
20
+ value :GRE, 47
21
+ value :ESP, 50
22
+ end
23
+ end
24
+ end
25
+
26
+ module Google
27
+ module Cloud
28
+ module SecurityCenter
29
+ module V1
30
+ Connection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Connection").msgclass
31
+ Connection::Protocol = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Connection.Protocol").enummodule
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,28 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/securitycenter/v1/exfiltration.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/cloud/securitycenter/v1/exfiltration.proto", :syntax => :proto3) do
8
+ add_message "google.cloud.securitycenter.v1.Exfiltration" do
9
+ repeated :sources, :message, 1, "google.cloud.securitycenter.v1.ExfilResource"
10
+ repeated :targets, :message, 2, "google.cloud.securitycenter.v1.ExfilResource"
11
+ end
12
+ add_message "google.cloud.securitycenter.v1.ExfilResource" do
13
+ optional :name, :string, 1
14
+ repeated :components, :string, 2
15
+ end
16
+ end
17
+ end
18
+
19
+ module Google
20
+ module Cloud
21
+ module SecurityCenter
22
+ module V1
23
+ Exfiltration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Exfiltration").msgclass
24
+ ExfilResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ExfilResource").msgclass
25
+ end
26
+ end
27
+ end
28
+ end
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/securitycenter/v1/external_system.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/resource_pb'
5
7
  require 'google/protobuf/timestamp_pb'
6
- require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("google/cloud/securitycenter/v1/external_system.proto", :syntax => :proto3) do
@@ -0,0 +1,27 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/securitycenter/v1/file.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/cloud/securitycenter/v1/file.proto", :syntax => :proto3) do
8
+ add_message "google.cloud.securitycenter.v1.File" do
9
+ optional :path, :string, 1
10
+ optional :size, :int64, 2
11
+ optional :sha256, :string, 3
12
+ optional :hashed_size, :int64, 4
13
+ optional :partially_hashed, :bool, 5
14
+ optional :contents, :string, 6
15
+ end
16
+ end
17
+ end
18
+
19
+ module Google
20
+ module Cloud
21
+ module SecurityCenter
22
+ module V1
23
+ File = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.File").msgclass
24
+ end
25
+ end
26
+ end
27
+ end
@@ -1,17 +1,23 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/securitycenter/v1/finding.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/api/resource_pb'
6
8
  require 'google/cloud/securitycenter/v1/access_pb'
9
+ require 'google/cloud/securitycenter/v1/compliance_pb'
10
+ require 'google/cloud/securitycenter/v1/connection_pb'
11
+ require 'google/cloud/securitycenter/v1/exfiltration_pb'
7
12
  require 'google/cloud/securitycenter/v1/external_system_pb'
13
+ require 'google/cloud/securitycenter/v1/iam_binding_pb'
8
14
  require 'google/cloud/securitycenter/v1/indicator_pb'
9
15
  require 'google/cloud/securitycenter/v1/mitre_attack_pb'
16
+ require 'google/cloud/securitycenter/v1/process_pb'
10
17
  require 'google/cloud/securitycenter/v1/security_marks_pb'
11
18
  require 'google/cloud/securitycenter/v1/vulnerability_pb'
12
19
  require 'google/protobuf/struct_pb'
13
20
  require 'google/protobuf/timestamp_pb'
14
- require 'google/protobuf'
15
21
 
16
22
  Google::Protobuf::DescriptorPool.generated_pool.build do
17
23
  add_file("google/cloud/securitycenter/v1/finding.proto", :syntax => :proto3) do
@@ -36,7 +42,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
36
42
  map :external_systems, :string, :message, 22, "google.cloud.securitycenter.v1.ExternalSystem"
37
43
  optional :mitre_attack, :message, 25, "google.cloud.securitycenter.v1.MitreAttack"
38
44
  optional :access, :message, 26, "google.cloud.securitycenter.v1.Access"
45
+ repeated :connections, :message, 31, "google.cloud.securitycenter.v1.Connection"
39
46
  optional :mute_initiator, :string, 28
47
+ repeated :processes, :message, 30, "google.cloud.securitycenter.v1.Process"
48
+ repeated :compliances, :message, 34, "google.cloud.securitycenter.v1.Compliance"
49
+ optional :description, :string, 37
50
+ optional :exfiltration, :message, 38, "google.cloud.securitycenter.v1.Exfiltration"
51
+ repeated :iam_bindings, :message, 39, "google.cloud.securitycenter.v1.IamBinding"
52
+ optional :next_steps, :string, 40
40
53
  end
41
54
  add_enum "google.cloud.securitycenter.v1.Finding.State" do
42
55
  value :STATE_UNSPECIFIED, 0
@@ -0,0 +1,30 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/securitycenter/v1/iam_binding.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/cloud/securitycenter/v1/iam_binding.proto", :syntax => :proto3) do
8
+ add_message "google.cloud.securitycenter.v1.IamBinding" do
9
+ optional :action, :enum, 1, "google.cloud.securitycenter.v1.IamBinding.Action"
10
+ optional :role, :string, 2
11
+ optional :member, :string, 3
12
+ end
13
+ add_enum "google.cloud.securitycenter.v1.IamBinding.Action" do
14
+ value :ACTION_UNSPECIFIED, 0
15
+ value :ADD, 1
16
+ value :REMOVE, 2
17
+ end
18
+ end
19
+ end
20
+
21
+ module Google
22
+ module Cloud
23
+ module SecurityCenter
24
+ module V1
25
+ IamBinding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.IamBinding").msgclass
26
+ IamBinding::Action = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.IamBinding.Action").enummodule
27
+ end
28
+ end
29
+ end
30
+ end
@@ -59,6 +59,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
59
59
  value :MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE, 26
60
60
  value :EXPLOIT_PUBLIC_FACING_APPLICATION, 27
61
61
  value :MODIFY_AUTHENTICATION_PROCESS, 28
62
+ value :DATA_DESTRUCTION, 29
63
+ value :DOMAIN_POLICY_MODIFICATION, 30
64
+ value :IMPAIR_DEFENSES, 31
62
65
  end
63
66
  end
64
67
  end
@@ -1,10 +1,11 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/securitycenter/v1/mute_config.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/api/resource_pb'
6
8
  require 'google/protobuf/timestamp_pb'
7
- require 'google/protobuf'
8
9
 
9
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
11
  add_file("google/cloud/securitycenter/v1/mute_config.proto", :syntax => :proto3) do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/securitycenter/v1/notification_config.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/api/resource_pb'
6
- require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("google/cloud/securitycenter/v1/notification_config.proto", :syntax => :proto3) do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/securitycenter/v1/notification_message.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/cloud/securitycenter/v1/finding_pb'
5
7
  require 'google/cloud/securitycenter/v1/resource_pb'
6
- require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("google/cloud/securitycenter/v1/notification_message.proto", :syntax => :proto3) do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/securitycenter/v1/organization_settings.proto
3
3
 
4
- require 'google/api/resource_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/api/resource_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/cloud/securitycenter/v1/organization_settings.proto", :syntax => :proto3) do
9
10
  add_message "google.cloud.securitycenter.v1.OrganizationSettings" do
@@ -0,0 +1,37 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/securitycenter/v1/process.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/cloud/securitycenter/v1/file_pb'
7
+
8
+ Google::Protobuf::DescriptorPool.generated_pool.build do
9
+ add_file("google/cloud/securitycenter/v1/process.proto", :syntax => :proto3) do
10
+ add_message "google.cloud.securitycenter.v1.Process" do
11
+ optional :binary, :message, 3, "google.cloud.securitycenter.v1.File"
12
+ repeated :libraries, :message, 4, "google.cloud.securitycenter.v1.File"
13
+ optional :script, :message, 5, "google.cloud.securitycenter.v1.File"
14
+ repeated :args, :string, 6
15
+ optional :arguments_truncated, :bool, 7
16
+ repeated :env_variables, :message, 8, "google.cloud.securitycenter.v1.EnvironmentVariable"
17
+ optional :env_variables_truncated, :bool, 9
18
+ optional :pid, :int64, 10
19
+ optional :parent_pid, :int64, 11
20
+ end
21
+ add_message "google.cloud.securitycenter.v1.EnvironmentVariable" do
22
+ optional :name, :string, 1
23
+ optional :val, :string, 2
24
+ end
25
+ end
26
+ end
27
+
28
+ module Google
29
+ module Cloud
30
+ module SecurityCenter
31
+ module V1
32
+ Process = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Process").msgclass
33
+ EnvironmentVariable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.EnvironmentVariable").msgclass
34
+ end
35
+ end
36
+ end
37
+ end
@@ -1,21 +1,22 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/securitycenter/v1/resource.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/cloud/securitycenter/v1/folder_pb'
6
- require 'google/protobuf'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("google/cloud/securitycenter/v1/resource.proto", :syntax => :proto3) do
10
11
  add_message "google.cloud.securitycenter.v1.Resource" do
11
12
  optional :name, :string, 1
13
+ optional :display_name, :string, 8
14
+ optional :type, :string, 6
12
15
  optional :project, :string, 2
13
16
  optional :project_display_name, :string, 3
14
17
  optional :parent, :string, 4
15
18
  optional :parent_display_name, :string, 5
16
- optional :type, :string, 6
17
19
  repeated :folders, :message, 7, "google.cloud.securitycenter.v1.Folder"
18
- optional :display_name, :string, 8
19
20
  end
20
21
  end
21
22
  end
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/securitycenter/v1/run_asset_discovery_response.proto
3
3
 
4
- require 'google/protobuf/duration_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/protobuf/duration_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/cloud/securitycenter/v1/run_asset_discovery_response.proto", :syntax => :proto3) do
9
10
  add_message "google.cloud.securitycenter.v1.RunAssetDiscoveryResponse" do
@@ -1,9 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/securitycenter/v1/security_marks.proto
3
3
 
4
- require 'google/api/resource_pb'
5
4
  require 'google/protobuf'
6
5
 
6
+ require 'google/api/resource_pb'
7
+
7
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
9
  add_file("google/cloud/securitycenter/v1/security_marks.proto", :syntax => :proto3) do
9
10
  add_message "google.cloud.securitycenter.v1.SecurityMarks" do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/securitycenter/v1/securitycenter_service.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/cloud/securitycenter/v1/run_asset_discovery_response_pb'
5
7
  require 'google/api/annotations_pb'
6
8
  require 'google/api/client_pb'
@@ -24,7 +26,6 @@ require 'google/protobuf/empty_pb'
24
26
  require 'google/protobuf/field_mask_pb'
25
27
  require 'google/protobuf/struct_pb'
26
28
  require 'google/protobuf/timestamp_pb'
27
- require 'google/protobuf'
28
29
 
29
30
  Google::Protobuf::DescriptorPool.generated_pool.build do
30
31
  add_file("google/cloud/securitycenter/v1/securitycenter_service.proto", :syntax => :proto3) do
@@ -185,13 +186,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
185
186
  end
186
187
  add_message "google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.Resource" do
187
188
  optional :name, :string, 1
189
+ optional :display_name, :string, 8
190
+ optional :type, :string, 6
188
191
  optional :project_name, :string, 2
189
192
  optional :project_display_name, :string, 3
190
193
  optional :parent_name, :string, 4
191
194
  optional :parent_display_name, :string, 5
192
- optional :type, :string, 6
193
195
  repeated :folders, :message, 7, "google.cloud.securitycenter.v1.Folder"
194
- optional :display_name, :string, 8
195
196
  end
196
197
  add_enum "google.cloud.securitycenter.v1.ListFindingsResponse.ListFindingsResult.StateChange" do
197
198
  value :UNUSED, 0