google-cloud-security_center-v1 0.15.0 → 0.18.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/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/contact_details_pb.rb +26 -0
- data/lib/google/cloud/securitycenter/v1/container_pb.rb +27 -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 +14 -1
- data/lib/google/cloud/securitycenter/v1/indicator_pb.rb +22 -0
- data/lib/google/cloud/securitycenter/v1/kubernetes_pb.rb +88 -0
- data/lib/google/cloud/securitycenter/v1/label_pb.rb +23 -0
- data/lib/google/cloud/securitycenter/v1/mitre_attack_pb.rb +2 -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/contact_details.rb +44 -0
- data/proto_docs/google/cloud/securitycenter/v1/container.rb +47 -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 +45 -0
- data/proto_docs/google/cloud/securitycenter/v1/indicator.rb +52 -0
- data/proto_docs/google/cloud/securitycenter/v1/kubernetes.rb +203 -0
- data/proto_docs/google/cloud/securitycenter/v1/label.rb +39 -0
- data/proto_docs/google/cloud/securitycenter/v1/mitre_attack.rb +6 -1
- data/proto_docs/google/cloud/securitycenter/v1/process.rb +79 -0
- data/proto_docs/google/protobuf/any.rb +3 -3
- data/proto_docs/google/protobuf/struct.rb +2 -2
- metadata +28 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1dcbd2fc868bd371ebbff1145bfddcb5633f1fe90010535b4795adcaca364aab
|
4
|
+
data.tar.gz: 64dcff6bab43b4000df6e449b3a5c2fef6ff406ff4590f1809072d0f5a0bc245
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b002b519de6a36bd7651b2cb34e6e55e09b28233cf3896b90e575cd0d04472ddfb14b7ec872ca6a484fcf600e0b56241442e85fc26d463e02f869435aea88f63
|
7
|
+
data.tar.gz: e427067e83f97c195a92c6e3623740fe4d22810ac4ab338be0166b4c5f284101b1ced322e28045314471c47500e59f9328bb67c42d64851d1ac8288c4ceb0b68
|
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
|
|
@@ -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,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,27 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/securitycenter/v1/container.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/cloud/securitycenter/v1/label_pb'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("google/cloud/securitycenter/v1/container.proto", :syntax => :proto3) do
|
10
|
+
add_message "google.cloud.securitycenter.v1.Container" do
|
11
|
+
optional :name, :string, 1
|
12
|
+
optional :uri, :string, 2
|
13
|
+
optional :image_id, :string, 3
|
14
|
+
repeated :labels, :message, 4, "google.cloud.securitycenter.v1.Label"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Cloud
|
21
|
+
module SecurityCenter
|
22
|
+
module V1
|
23
|
+
Container = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Container").msgclass
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
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,19 +1,26 @@
|
|
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'
|
7
10
|
require 'google/cloud/securitycenter/v1/connection_pb'
|
11
|
+
require 'google/cloud/securitycenter/v1/contact_details_pb'
|
12
|
+
require 'google/cloud/securitycenter/v1/container_pb'
|
13
|
+
require 'google/cloud/securitycenter/v1/exfiltration_pb'
|
8
14
|
require 'google/cloud/securitycenter/v1/external_system_pb'
|
9
15
|
require 'google/cloud/securitycenter/v1/iam_binding_pb'
|
10
16
|
require 'google/cloud/securitycenter/v1/indicator_pb'
|
17
|
+
require 'google/cloud/securitycenter/v1/kubernetes_pb'
|
11
18
|
require 'google/cloud/securitycenter/v1/mitre_attack_pb'
|
19
|
+
require 'google/cloud/securitycenter/v1/process_pb'
|
12
20
|
require 'google/cloud/securitycenter/v1/security_marks_pb'
|
13
21
|
require 'google/cloud/securitycenter/v1/vulnerability_pb'
|
14
22
|
require 'google/protobuf/struct_pb'
|
15
23
|
require 'google/protobuf/timestamp_pb'
|
16
|
-
require 'google/protobuf'
|
17
24
|
|
18
25
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
19
26
|
add_file("google/cloud/securitycenter/v1/finding.proto", :syntax => :proto3) do
|
@@ -40,9 +47,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
40
47
|
optional :access, :message, 26, "google.cloud.securitycenter.v1.Access"
|
41
48
|
repeated :connections, :message, 31, "google.cloud.securitycenter.v1.Connection"
|
42
49
|
optional :mute_initiator, :string, 28
|
50
|
+
repeated :processes, :message, 30, "google.cloud.securitycenter.v1.Process"
|
51
|
+
map :contacts, :string, :message, 33, "google.cloud.securitycenter.v1.ContactDetails"
|
52
|
+
repeated :compliances, :message, 34, "google.cloud.securitycenter.v1.Compliance"
|
43
53
|
optional :description, :string, 37
|
54
|
+
optional :exfiltration, :message, 38, "google.cloud.securitycenter.v1.Exfiltration"
|
44
55
|
repeated :iam_bindings, :message, 39, "google.cloud.securitycenter.v1.IamBinding"
|
45
56
|
optional :next_steps, :string, 40
|
57
|
+
repeated :containers, :message, 42, "google.cloud.securitycenter.v1.Container"
|
58
|
+
optional :kubernetes, :message, 43, "google.cloud.securitycenter.v1.Kubernetes"
|
46
59
|
end
|
47
60
|
add_enum "google.cloud.securitycenter.v1.Finding.State" do
|
48
61
|
value :STATE_UNSPECIFIED, 0
|
@@ -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
|
@@ -0,0 +1,88 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/securitycenter/v1/kubernetes.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/cloud/securitycenter/v1/container_pb'
|
7
|
+
require 'google/cloud/securitycenter/v1/label_pb'
|
8
|
+
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_file("google/cloud/securitycenter/v1/kubernetes.proto", :syntax => :proto3) do
|
11
|
+
add_message "google.cloud.securitycenter.v1.Kubernetes" do
|
12
|
+
repeated :pods, :message, 1, "google.cloud.securitycenter.v1.Kubernetes.Pod"
|
13
|
+
repeated :nodes, :message, 2, "google.cloud.securitycenter.v1.Kubernetes.Node"
|
14
|
+
repeated :node_pools, :message, 3, "google.cloud.securitycenter.v1.Kubernetes.NodePool"
|
15
|
+
repeated :roles, :message, 4, "google.cloud.securitycenter.v1.Kubernetes.Role"
|
16
|
+
repeated :bindings, :message, 5, "google.cloud.securitycenter.v1.Kubernetes.Binding"
|
17
|
+
repeated :access_reviews, :message, 6, "google.cloud.securitycenter.v1.Kubernetes.AccessReview"
|
18
|
+
end
|
19
|
+
add_message "google.cloud.securitycenter.v1.Kubernetes.Pod" do
|
20
|
+
optional :ns, :string, 1
|
21
|
+
optional :name, :string, 2
|
22
|
+
repeated :labels, :message, 3, "google.cloud.securitycenter.v1.Label"
|
23
|
+
repeated :containers, :message, 4, "google.cloud.securitycenter.v1.Container"
|
24
|
+
end
|
25
|
+
add_message "google.cloud.securitycenter.v1.Kubernetes.Node" do
|
26
|
+
optional :name, :string, 1
|
27
|
+
end
|
28
|
+
add_message "google.cloud.securitycenter.v1.Kubernetes.NodePool" do
|
29
|
+
optional :name, :string, 1
|
30
|
+
repeated :nodes, :message, 2, "google.cloud.securitycenter.v1.Kubernetes.Node"
|
31
|
+
end
|
32
|
+
add_message "google.cloud.securitycenter.v1.Kubernetes.Role" do
|
33
|
+
optional :kind, :enum, 1, "google.cloud.securitycenter.v1.Kubernetes.Role.Kind"
|
34
|
+
optional :ns, :string, 2
|
35
|
+
optional :name, :string, 3
|
36
|
+
end
|
37
|
+
add_enum "google.cloud.securitycenter.v1.Kubernetes.Role.Kind" do
|
38
|
+
value :KIND_UNSPECIFIED, 0
|
39
|
+
value :ROLE, 1
|
40
|
+
value :CLUSTER_ROLE, 2
|
41
|
+
end
|
42
|
+
add_message "google.cloud.securitycenter.v1.Kubernetes.Binding" do
|
43
|
+
optional :ns, :string, 1
|
44
|
+
optional :name, :string, 2
|
45
|
+
optional :role, :message, 3, "google.cloud.securitycenter.v1.Kubernetes.Role"
|
46
|
+
repeated :subjects, :message, 4, "google.cloud.securitycenter.v1.Kubernetes.Subject"
|
47
|
+
end
|
48
|
+
add_message "google.cloud.securitycenter.v1.Kubernetes.Subject" do
|
49
|
+
optional :kind, :enum, 1, "google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType"
|
50
|
+
optional :ns, :string, 2
|
51
|
+
optional :name, :string, 3
|
52
|
+
end
|
53
|
+
add_enum "google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType" do
|
54
|
+
value :AUTH_TYPE_UNSPECIFIED, 0
|
55
|
+
value :USER, 1
|
56
|
+
value :SERVICEACCOUNT, 2
|
57
|
+
value :GROUP, 3
|
58
|
+
end
|
59
|
+
add_message "google.cloud.securitycenter.v1.Kubernetes.AccessReview" do
|
60
|
+
optional :group, :string, 1
|
61
|
+
optional :ns, :string, 2
|
62
|
+
optional :name, :string, 3
|
63
|
+
optional :resource, :string, 4
|
64
|
+
optional :subresource, :string, 5
|
65
|
+
optional :verb, :string, 6
|
66
|
+
optional :version, :string, 7
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
module Google
|
72
|
+
module Cloud
|
73
|
+
module SecurityCenter
|
74
|
+
module V1
|
75
|
+
Kubernetes = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Kubernetes").msgclass
|
76
|
+
Kubernetes::Pod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Kubernetes.Pod").msgclass
|
77
|
+
Kubernetes::Node = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Kubernetes.Node").msgclass
|
78
|
+
Kubernetes::NodePool = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Kubernetes.NodePool").msgclass
|
79
|
+
Kubernetes::Role = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Kubernetes.Role").msgclass
|
80
|
+
Kubernetes::Role::Kind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Kubernetes.Role.Kind").enummodule
|
81
|
+
Kubernetes::Binding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Kubernetes.Binding").msgclass
|
82
|
+
Kubernetes::Subject = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Kubernetes.Subject").msgclass
|
83
|
+
Kubernetes::Subject::AuthType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Kubernetes.Subject.AuthType").enummodule
|
84
|
+
Kubernetes::AccessReview = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Kubernetes.AccessReview").msgclass
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/securitycenter/v1/label.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("google/cloud/securitycenter/v1/label.proto", :syntax => :proto3) do
|
8
|
+
add_message "google.cloud.securitycenter.v1.Label" do
|
9
|
+
optional :name, :string, 1
|
10
|
+
optional :value, :string, 2
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
module Google
|
16
|
+
module Cloud
|
17
|
+
module SecurityCenter
|
18
|
+
module V1
|
19
|
+
Label = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Label").msgclass
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -61,6 +61,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
61
61
|
value :MODIFY_AUTHENTICATION_PROCESS, 28
|
62
62
|
value :DATA_DESTRUCTION, 29
|
63
63
|
value :DOMAIN_POLICY_MODIFICATION, 30
|
64
|
+
value :IMPAIR_DEFENSES, 31
|
65
|
+
value :NETWORK_SERVICE_DISCOVERY, 32
|
64
66
|
end
|
65
67
|
end
|
66
68
|
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
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 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
|
+
# Contains compliance information about a security standard indicating unmet
|
25
|
+
# recommendations.
|
26
|
+
# @!attribute [rw] standard
|
27
|
+
# @return [::String]
|
28
|
+
# Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp",
|
29
|
+
# etc.
|
30
|
+
# @!attribute [rw] version
|
31
|
+
# @return [::String]
|
32
|
+
# Version of the standard/benchmark e.g. 1.1
|
33
|
+
# @!attribute [rw] ids
|
34
|
+
# @return [::Array<::String>]
|
35
|
+
# Policies within the standard/benchmark e.g. A.12.4.1
|
36
|
+
class Compliance
|
37
|
+
include ::Google::Protobuf::MessageExts
|
38
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|