google-cloud-security_center-v1 0.14.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -5
- data/lib/google/cloud/security_center/v1/security_center/client.rb +28 -29
- data/lib/google/cloud/security_center/v1/security_center/operations.rb +3 -0
- data/lib/google/cloud/security_center/v1/version.rb +1 -1
- data/lib/google/cloud/securitycenter/v1/asset_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/bigquery_export_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/compliance_pb.rb +24 -0
- data/lib/google/cloud/securitycenter/v1/connection_pb.rb +35 -0
- data/lib/google/cloud/securitycenter/v1/contact_details_pb.rb +26 -0
- data/lib/google/cloud/securitycenter/v1/exfiltration_pb.rb +28 -0
- data/lib/google/cloud/securitycenter/v1/external_system_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/file_pb.rb +27 -0
- data/lib/google/cloud/securitycenter/v1/finding_pb.rb +13 -1
- data/lib/google/cloud/securitycenter/v1/indicator_pb.rb +22 -0
- data/lib/google/cloud/securitycenter/v1/mitre_attack_pb.rb +1 -0
- data/lib/google/cloud/securitycenter/v1/mute_config_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/notification_config_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/notification_message_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/organization_settings_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/process_pb.rb +38 -0
- data/lib/google/cloud/securitycenter/v1/resource_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/run_asset_discovery_response_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/security_marks_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/securitycenter_service_pb.rb +2 -1
- data/lib/google/cloud/securitycenter/v1/source_pb.rb +2 -1
- data/proto_docs/google/cloud/securitycenter/v1/compliance.rb +43 -0
- data/proto_docs/google/cloud/securitycenter/v1/connection.rb +70 -0
- data/proto_docs/google/cloud/securitycenter/v1/contact_details.rb +44 -0
- data/proto_docs/google/cloud/securitycenter/v1/exfiltration.rb +59 -0
- data/proto_docs/google/cloud/securitycenter/v1/file.rb +56 -0
- data/proto_docs/google/cloud/securitycenter/v1/finding.rb +44 -0
- data/proto_docs/google/cloud/securitycenter/v1/indicator.rb +52 -0
- data/proto_docs/google/cloud/securitycenter/v1/mitre_attack.rb +3 -1
- data/proto_docs/google/cloud/securitycenter/v1/process.rb +79 -0
- data/proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb +28 -29
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/protobuf/struct.rb +2 -2
- metadata +24 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3ae250857d52e75b05799e39d34463565c53bc1f5e18ce96a342f2e5829ece5
|
4
|
+
data.tar.gz: 19a1d075069e65f39a958e685403bbc3f890185f650bd17738a7c30b1d1530c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 189bcee49d131fc318bb64f83ccfa81fb404336d30ba06891e9ff018ce5dd94e53fe4405170e8b648e4e6259a1d26e4603195ef69388ab8ef8c1688df11ce17b
|
7
|
+
data.tar.gz: d4829dddaf03d5bfd1ea81ed607b94e651b3f20a514075893868c1b55ce564d1c91dc2b45b600a42429bdeb276f21ab5dc19a72b46ebe3b25788126d3e09997a
|
data/README.md
CHANGED
@@ -69,16 +69,21 @@ 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
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.6+.
|
75
80
|
|
76
81
|
Google provides official support for Ruby versions that are actively supported
|
77
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
78
|
-
in security maintenance, and not end of life.
|
79
|
-
|
80
|
-
|
81
|
-
|
83
|
+
in security maintenance, and not end of life. Older versions of Ruby _may_
|
84
|
+
still work, but are unsupported and not recommended. See
|
85
|
+
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
86
|
+
support schedule.
|
82
87
|
|
83
88
|
## Which client should I use?
|
84
89
|
|
@@ -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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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]
|
@@ -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
|
-
#
|
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
|
-
#
|
1518
|
-
#
|
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
|
-
#
|
1741
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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]
|
@@ -3202,8 +3201,8 @@ module Google
|
|
3202
3201
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
3203
3202
|
#
|
3204
3203
|
# @param finding [::Google::Cloud::SecurityCenter::V1::Finding, ::Hash]
|
3205
|
-
# Required. The finding resource to update or create if it does not already
|
3206
|
-
#
|
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.
|
3207
3206
|
#
|
3208
3207
|
# In the case of creation, the finding id portion of the name must be
|
3209
3208
|
# alphanumeric and less than or equal to 32 characters and greater than 0
|
@@ -4026,8 +4025,8 @@ module Google
|
|
4026
4025
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
4027
4026
|
#
|
4028
4027
|
# @param parent [::String]
|
4029
|
-
# Required. The parent, which owns the collection of BigQuery exports. Its
|
4030
|
-
#
|
4028
|
+
# Required. The parent, which owns the collection of BigQuery exports. Its format is
|
4029
|
+
# "organizations/[organization_id]", "folders/[folder_id]",
|
4031
4030
|
# "projects/[project_id]".
|
4032
4031
|
# @param page_size [::Integer]
|
4033
4032
|
# The maximum number of configs to return. The service may return fewer than
|
@@ -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,26 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/securitycenter/v1/contact_details.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("google/cloud/securitycenter/v1/contact_details.proto", :syntax => :proto3) do
|
8
|
+
add_message "google.cloud.securitycenter.v1.ContactDetails" do
|
9
|
+
repeated :contacts, :message, 1, "google.cloud.securitycenter.v1.Contact"
|
10
|
+
end
|
11
|
+
add_message "google.cloud.securitycenter.v1.Contact" do
|
12
|
+
optional :email, :string, 1
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
module Google
|
18
|
+
module Cloud
|
19
|
+
module SecurityCenter
|
20
|
+
module V1
|
21
|
+
ContactDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.ContactDetails").msgclass
|
22
|
+
Contact = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Contact").msgclass
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
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,18 +1,24 @@
|
|
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/contact_details_pb'
|
12
|
+
require 'google/cloud/securitycenter/v1/exfiltration_pb'
|
7
13
|
require 'google/cloud/securitycenter/v1/external_system_pb'
|
8
14
|
require 'google/cloud/securitycenter/v1/iam_binding_pb'
|
9
15
|
require 'google/cloud/securitycenter/v1/indicator_pb'
|
10
16
|
require 'google/cloud/securitycenter/v1/mitre_attack_pb'
|
17
|
+
require 'google/cloud/securitycenter/v1/process_pb'
|
11
18
|
require 'google/cloud/securitycenter/v1/security_marks_pb'
|
12
19
|
require 'google/cloud/securitycenter/v1/vulnerability_pb'
|
13
20
|
require 'google/protobuf/struct_pb'
|
14
21
|
require 'google/protobuf/timestamp_pb'
|
15
|
-
require 'google/protobuf'
|
16
22
|
|
17
23
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
18
24
|
add_file("google/cloud/securitycenter/v1/finding.proto", :syntax => :proto3) do
|
@@ -37,7 +43,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
37
43
|
map :external_systems, :string, :message, 22, "google.cloud.securitycenter.v1.ExternalSystem"
|
38
44
|
optional :mitre_attack, :message, 25, "google.cloud.securitycenter.v1.MitreAttack"
|
39
45
|
optional :access, :message, 26, "google.cloud.securitycenter.v1.Access"
|
46
|
+
repeated :connections, :message, 31, "google.cloud.securitycenter.v1.Connection"
|
40
47
|
optional :mute_initiator, :string, 28
|
48
|
+
repeated :processes, :message, 30, "google.cloud.securitycenter.v1.Process"
|
49
|
+
map :contacts, :string, :message, 33, "google.cloud.securitycenter.v1.ContactDetails"
|
50
|
+
repeated :compliances, :message, 34, "google.cloud.securitycenter.v1.Compliance"
|
51
|
+
optional :description, :string, 37
|
52
|
+
optional :exfiltration, :message, 38, "google.cloud.securitycenter.v1.Exfiltration"
|
41
53
|
repeated :iam_bindings, :message, 39, "google.cloud.securitycenter.v1.IamBinding"
|
42
54
|
optional :next_steps, :string, 40
|
43
55
|
end
|
@@ -8,6 +8,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
8
8
|
add_message "google.cloud.securitycenter.v1.Indicator" do
|
9
9
|
repeated :ip_addresses, :string, 1
|
10
10
|
repeated :domains, :string, 2
|
11
|
+
repeated :signatures, :message, 3, "google.cloud.securitycenter.v1.Indicator.ProcessSignature"
|
12
|
+
end
|
13
|
+
add_message "google.cloud.securitycenter.v1.Indicator.ProcessSignature" do
|
14
|
+
oneof :signature do
|
15
|
+
optional :memory_hash_signature, :message, 6, "google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature"
|
16
|
+
optional :yara_rule_signature, :message, 7, "google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
add_message "google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature" do
|
20
|
+
optional :binary_family, :string, 1
|
21
|
+
repeated :detections, :message, 4, "google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection"
|
22
|
+
end
|
23
|
+
add_message "google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection" do
|
24
|
+
optional :binary, :string, 2
|
25
|
+
optional :percent_pages_matched, :double, 3
|
26
|
+
end
|
27
|
+
add_message "google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature" do
|
28
|
+
optional :yara_rule, :string, 5
|
11
29
|
end
|
12
30
|
end
|
13
31
|
end
|
@@ -17,6 +35,10 @@ module Google
|
|
17
35
|
module SecurityCenter
|
18
36
|
module V1
|
19
37
|
Indicator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Indicator").msgclass
|
38
|
+
Indicator::ProcessSignature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Indicator.ProcessSignature").msgclass
|
39
|
+
Indicator::ProcessSignature::MemoryHashSignature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature").msgclass
|
40
|
+
Indicator::ProcessSignature::MemoryHashSignature::Detection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection").msgclass
|
41
|
+
Indicator::ProcessSignature::YaraRuleSignature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature").msgclass
|
20
42
|
end
|
21
43
|
end
|
22
44
|
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,38 @@
|
|
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 :name, :string, 12
|
12
|
+
optional :binary, :message, 3, "google.cloud.securitycenter.v1.File"
|
13
|
+
repeated :libraries, :message, 4, "google.cloud.securitycenter.v1.File"
|
14
|
+
optional :script, :message, 5, "google.cloud.securitycenter.v1.File"
|
15
|
+
repeated :args, :string, 6
|
16
|
+
optional :arguments_truncated, :bool, 7
|
17
|
+
repeated :env_variables, :message, 8, "google.cloud.securitycenter.v1.EnvironmentVariable"
|
18
|
+
optional :env_variables_truncated, :bool, 9
|
19
|
+
optional :pid, :int64, 10
|
20
|
+
optional :parent_pid, :int64, 11
|
21
|
+
end
|
22
|
+
add_message "google.cloud.securitycenter.v1.EnvironmentVariable" do
|
23
|
+
optional :name, :string, 1
|
24
|
+
optional :val, :string, 2
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
module Google
|
30
|
+
module Cloud
|
31
|
+
module SecurityCenter
|
32
|
+
module V1
|
33
|
+
Process = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Process").msgclass
|
34
|
+
EnvironmentVariable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.EnvironmentVariable").msgclass
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -1,9 +1,10 @@
|
|
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
|
@@ -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
|
@@ -1,9 +1,10 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# source: google/cloud/securitycenter/v1/source.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/source.proto", :syntax => :proto3) do
|
9
10
|
add_message "google.cloud.securitycenter.v1.Source" do
|