google-cloud-security_center-v1 0.16.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -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/contact_details_pb.rb +26 -0
- data/lib/google/cloud/securitycenter/v1/container_pb.rb +27 -0
- data/lib/google/cloud/securitycenter/v1/database_pb.rb +26 -0
- data/lib/google/cloud/securitycenter/v1/finding_pb.rb +8 -0
- data/lib/google/cloud/securitycenter/v1/indicator_pb.rb +23 -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 +3 -0
- data/lib/google/cloud/securitycenter/v1/process_pb.rb +1 -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/database.rb +56 -0
- data/proto_docs/google/cloud/securitycenter/v1/file.rb +1 -1
- data/proto_docs/google/cloud/securitycenter/v1/finding.rb +38 -0
- data/proto_docs/google/cloud/securitycenter/v1/indicator.rb +55 -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 +9 -0
- data/proto_docs/google/cloud/securitycenter/v1/process.rb +4 -0
- data/proto_docs/google/protobuf/empty.rb +0 -2
- metadata +21 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b57284f2932157e2212960b955b61df6c6e0b4d0f4307fea8c0a08cd111e8b58
|
4
|
+
data.tar.gz: 2f0ea3acaa4e3995ce721c51a679b4cf6103c51b658fcd9bc5941531c8ad25fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5374096b8fde6fea9c9b70a5064fa2d8b77eb606b8809793627a24631e342be74f455ca6b455fff732ab65ce1befbbb09ec85f78c809ce96e022b92db728979f
|
7
|
+
data.tar.gz: 80e0126fee6525b015d2a13460ace133ae325b87d74848c1209fbc9d38d712d4ca478b9b1a2f3ba199b33a22d8bd2b8417fc5f85bcf539c32815ecfc01ad99a0
|
data/README.md
CHANGED
@@ -76,14 +76,14 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
76
|
|
77
77
|
## Supported Ruby Versions
|
78
78
|
|
79
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.6+.
|
80
80
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
83
|
-
in security maintenance, and not end of life.
|
84
|
-
|
85
|
-
|
86
|
-
|
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.
|
87
87
|
|
88
88
|
## Which client should I use?
|
89
89
|
|
@@ -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,26 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/securitycenter/v1/database.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("google/cloud/securitycenter/v1/database.proto", :syntax => :proto3) do
|
8
|
+
add_message "google.cloud.securitycenter.v1.Database" do
|
9
|
+
optional :name, :string, 1
|
10
|
+
optional :display_name, :string, 2
|
11
|
+
optional :user_name, :string, 3
|
12
|
+
optional :query, :string, 4
|
13
|
+
repeated :grantees, :string, 5
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
module Google
|
19
|
+
module Cloud
|
20
|
+
module SecurityCenter
|
21
|
+
module V1
|
22
|
+
Database = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Database").msgclass
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -8,10 +8,14 @@ require 'google/api/resource_pb'
|
|
8
8
|
require 'google/cloud/securitycenter/v1/access_pb'
|
9
9
|
require 'google/cloud/securitycenter/v1/compliance_pb'
|
10
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/database_pb'
|
11
14
|
require 'google/cloud/securitycenter/v1/exfiltration_pb'
|
12
15
|
require 'google/cloud/securitycenter/v1/external_system_pb'
|
13
16
|
require 'google/cloud/securitycenter/v1/iam_binding_pb'
|
14
17
|
require 'google/cloud/securitycenter/v1/indicator_pb'
|
18
|
+
require 'google/cloud/securitycenter/v1/kubernetes_pb'
|
15
19
|
require 'google/cloud/securitycenter/v1/mitre_attack_pb'
|
16
20
|
require 'google/cloud/securitycenter/v1/process_pb'
|
17
21
|
require 'google/cloud/securitycenter/v1/security_marks_pb'
|
@@ -45,11 +49,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
45
49
|
repeated :connections, :message, 31, "google.cloud.securitycenter.v1.Connection"
|
46
50
|
optional :mute_initiator, :string, 28
|
47
51
|
repeated :processes, :message, 30, "google.cloud.securitycenter.v1.Process"
|
52
|
+
map :contacts, :string, :message, 33, "google.cloud.securitycenter.v1.ContactDetails"
|
48
53
|
repeated :compliances, :message, 34, "google.cloud.securitycenter.v1.Compliance"
|
49
54
|
optional :description, :string, 37
|
50
55
|
optional :exfiltration, :message, 38, "google.cloud.securitycenter.v1.Exfiltration"
|
51
56
|
repeated :iam_bindings, :message, 39, "google.cloud.securitycenter.v1.IamBinding"
|
52
57
|
optional :next_steps, :string, 40
|
58
|
+
repeated :containers, :message, 42, "google.cloud.securitycenter.v1.Container"
|
59
|
+
optional :kubernetes, :message, 43, "google.cloud.securitycenter.v1.Kubernetes"
|
60
|
+
optional :database, :message, 44, "google.cloud.securitycenter.v1.Database"
|
53
61
|
end
|
54
62
|
add_enum "google.cloud.securitycenter.v1.Finding.State" do
|
55
63
|
value :STATE_UNSPECIFIED, 0
|
@@ -8,6 +8,25 @@ 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
|
+
repeated :uris, :string, 4
|
13
|
+
end
|
14
|
+
add_message "google.cloud.securitycenter.v1.Indicator.ProcessSignature" do
|
15
|
+
oneof :signature do
|
16
|
+
optional :memory_hash_signature, :message, 6, "google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature"
|
17
|
+
optional :yara_rule_signature, :message, 7, "google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
add_message "google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature" do
|
21
|
+
optional :binary_family, :string, 1
|
22
|
+
repeated :detections, :message, 4, "google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection"
|
23
|
+
end
|
24
|
+
add_message "google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection" do
|
25
|
+
optional :binary, :string, 2
|
26
|
+
optional :percent_pages_matched, :double, 3
|
27
|
+
end
|
28
|
+
add_message "google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature" do
|
29
|
+
optional :yara_rule, :string, 5
|
11
30
|
end
|
12
31
|
end
|
13
32
|
end
|
@@ -17,6 +36,10 @@ module Google
|
|
17
36
|
module SecurityCenter
|
18
37
|
module V1
|
19
38
|
Indicator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Indicator").msgclass
|
39
|
+
Indicator::ProcessSignature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Indicator.ProcessSignature").msgclass
|
40
|
+
Indicator::ProcessSignature::MemoryHashSignature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature").msgclass
|
41
|
+
Indicator::ProcessSignature::MemoryHashSignature::Detection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Indicator.ProcessSignature.MemoryHashSignature.Detection").msgclass
|
42
|
+
Indicator::ProcessSignature::YaraRuleSignature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature").msgclass
|
20
43
|
end
|
21
44
|
end
|
22
45
|
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
|
@@ -62,6 +62,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
62
62
|
value :DATA_DESTRUCTION, 29
|
63
63
|
value :DOMAIN_POLICY_MODIFICATION, 30
|
64
64
|
value :IMPAIR_DEFENSES, 31
|
65
|
+
value :NETWORK_SERVICE_DISCOVERY, 32
|
66
|
+
value :ACCESS_TOKEN_MANIPULATION, 33
|
67
|
+
value :ABUSE_ELEVATION_CONTROL_MECHANISM, 34
|
65
68
|
end
|
66
69
|
end
|
67
70
|
end
|
@@ -8,6 +8,7 @@ require 'google/cloud/securitycenter/v1/file_pb'
|
|
8
8
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
9
|
add_file("google/cloud/securitycenter/v1/process.proto", :syntax => :proto3) do
|
10
10
|
add_message "google.cloud.securitycenter.v1.Process" do
|
11
|
+
optional :name, :string, 12
|
11
12
|
optional :binary, :message, 3, "google.cloud.securitycenter.v1.File"
|
12
13
|
repeated :libraries, :message, 4, "google.cloud.securitycenter.v1.File"
|
13
14
|
optional :script, :message, 5, "google.cloud.securitycenter.v1.File"
|
@@ -0,0 +1,44 @@
|
|
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
|
+
# The details pertaining to specific contacts
|
25
|
+
# @!attribute [rw] contacts
|
26
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Contact>]
|
27
|
+
# A list of contacts
|
28
|
+
class ContactDetails
|
29
|
+
include ::Google::Protobuf::MessageExts
|
30
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
31
|
+
end
|
32
|
+
|
33
|
+
# Representa a single contact's email address
|
34
|
+
# @!attribute [rw] email
|
35
|
+
# @return [::String]
|
36
|
+
# An email address e.g. "person123@company.com"
|
37
|
+
class Contact
|
38
|
+
include ::Google::Protobuf::MessageExts
|
39
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,47 @@
|
|
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
|
+
# Container associated with the finding.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# Container name.
|
28
|
+
# @!attribute [rw] uri
|
29
|
+
# @return [::String]
|
30
|
+
# Container image URI provided when configuring a pod/container.
|
31
|
+
# May identify a container image version using mutable tags.
|
32
|
+
# @!attribute [rw] image_id
|
33
|
+
# @return [::String]
|
34
|
+
# Optional container image id, when provided by the container runtime.
|
35
|
+
# Uniquely identifies the container image launched using a container image
|
36
|
+
# digest.
|
37
|
+
# @!attribute [rw] labels
|
38
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Label>]
|
39
|
+
# Container labels, as provided by the container runtime.
|
40
|
+
class Container
|
41
|
+
include ::Google::Protobuf::MessageExts
|
42
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,56 @@
|
|
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
|
+
# Represents database access information, such as queries.
|
25
|
+
# A database may be a sub-resource of an instance (as in the case of CloudSQL
|
26
|
+
# instances or Cloud Spanner instances), or the database instance itself.
|
27
|
+
# Some database resources may not have the full resource name populated
|
28
|
+
# because these resource types are not yet supported by Cloud Asset Inventory
|
29
|
+
# (e.g. CloudSQL databases). In these cases only the display name will be
|
30
|
+
# provided.
|
31
|
+
# @!attribute [rw] name
|
32
|
+
# @return [::String]
|
33
|
+
# The full resource name of the database the user connected to, if it is
|
34
|
+
# supported by CAI. (https://google.aip.dev/122#full-resource-names)
|
35
|
+
# @!attribute [rw] display_name
|
36
|
+
# @return [::String]
|
37
|
+
# The human readable name of the database the user connected to.
|
38
|
+
# @!attribute [rw] user_name
|
39
|
+
# @return [::String]
|
40
|
+
# The username used to connect to the DB. This may not necessarily be an IAM
|
41
|
+
# principal, and has no required format.
|
42
|
+
# @!attribute [rw] query
|
43
|
+
# @return [::String]
|
44
|
+
# The SQL statement associated with the relevant access.
|
45
|
+
# @!attribute [rw] grantees
|
46
|
+
# @return [::Array<::String>]
|
47
|
+
# The target usernames/roles/groups of a SQL privilege grant (not an IAM
|
48
|
+
# policy change).
|
49
|
+
class Database
|
50
|
+
include ::Google::Protobuf::MessageExts
|
51
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -32,7 +32,7 @@ module Google
|
|
32
32
|
# @!attribute [rw] sha256
|
33
33
|
# @return [::String]
|
34
34
|
# SHA256 hash of the first hashed_size bytes of the file encoded as a
|
35
|
-
# hex string. If hashed_size == size,
|
35
|
+
# hex string. If hashed_size == size, sha256 represents the SHA256 hash
|
36
36
|
# of the entire file.
|
37
37
|
# @!attribute [rw] hashed_size
|
38
38
|
# @return [::Integer]
|
@@ -144,6 +144,25 @@ module Google
|
|
144
144
|
# @!attribute [rw] processes
|
145
145
|
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Process>]
|
146
146
|
# Represents operating system processes associated with the Finding.
|
147
|
+
# @!attribute [r] contacts
|
148
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::SecurityCenter::V1::ContactDetails}]
|
149
|
+
# Output only. Map containing the point of contacts for the given finding.
|
150
|
+
# The key represents the type of contact, while the value contains a list of
|
151
|
+
# all the contacts that pertain. Please refer to:
|
152
|
+
# https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
|
153
|
+
#
|
154
|
+
# {
|
155
|
+
# "security": {
|
156
|
+
# "contacts": [
|
157
|
+
# {
|
158
|
+
# "email": "person1@company.com"
|
159
|
+
# },
|
160
|
+
# {
|
161
|
+
# "email": "person2@company.com"
|
162
|
+
# }
|
163
|
+
# ]
|
164
|
+
# }
|
165
|
+
# }
|
147
166
|
# @!attribute [rw] compliances
|
148
167
|
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Compliance>]
|
149
168
|
# Contains compliance information for security standards associated to the
|
@@ -160,6 +179,16 @@ module Google
|
|
160
179
|
# @!attribute [rw] next_steps
|
161
180
|
# @return [::String]
|
162
181
|
# Next steps associate to the finding.
|
182
|
+
# @!attribute [rw] containers
|
183
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Container>]
|
184
|
+
# Containers associated with the finding. containers provides information
|
185
|
+
# for both Kubernetes and non-Kubernetes containers.
|
186
|
+
# @!attribute [rw] kubernetes
|
187
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Kubernetes]
|
188
|
+
# Kubernetes resources associated with the finding.
|
189
|
+
# @!attribute [rw] database
|
190
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Database]
|
191
|
+
# Database associated with the finding.
|
163
192
|
class Finding
|
164
193
|
include ::Google::Protobuf::MessageExts
|
165
194
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -182,6 +211,15 @@ module Google
|
|
182
211
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
183
212
|
end
|
184
213
|
|
214
|
+
# @!attribute [rw] key
|
215
|
+
# @return [::String]
|
216
|
+
# @!attribute [rw] value
|
217
|
+
# @return [::Google::Cloud::SecurityCenter::V1::ContactDetails]
|
218
|
+
class ContactsEntry
|
219
|
+
include ::Google::Protobuf::MessageExts
|
220
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
221
|
+
end
|
222
|
+
|
185
223
|
# The state of the finding.
|
186
224
|
module State
|
187
225
|
# Unspecified state.
|
@@ -31,9 +31,64 @@ module Google
|
|
31
31
|
# @!attribute [rw] domains
|
32
32
|
# @return [::Array<::String>]
|
33
33
|
# List of domains associated to the Finding.
|
34
|
+
# @!attribute [rw] signatures
|
35
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Indicator::ProcessSignature>]
|
36
|
+
# The list of matched signatures indicating that the given
|
37
|
+
# process is present in the environment.
|
38
|
+
# @!attribute [rw] uris
|
39
|
+
# @return [::Array<::String>]
|
40
|
+
# The list of URIs associated to the Findings.
|
34
41
|
class Indicator
|
35
42
|
include ::Google::Protobuf::MessageExts
|
36
43
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
44
|
+
|
45
|
+
# Indicates what signature matched this process.
|
46
|
+
# @!attribute [rw] memory_hash_signature
|
47
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Indicator::ProcessSignature::MemoryHashSignature]
|
48
|
+
# Signature indicating that a binary family was matched.
|
49
|
+
# @!attribute [rw] yara_rule_signature
|
50
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Indicator::ProcessSignature::YaraRuleSignature]
|
51
|
+
# Signature indicating that a YARA rule was matched.
|
52
|
+
class ProcessSignature
|
53
|
+
include ::Google::Protobuf::MessageExts
|
54
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
55
|
+
|
56
|
+
# A signature corresponding to memory page hashes.
|
57
|
+
# @!attribute [rw] binary_family
|
58
|
+
# @return [::String]
|
59
|
+
# The binary family.
|
60
|
+
# @!attribute [rw] detections
|
61
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Indicator::ProcessSignature::MemoryHashSignature::Detection>]
|
62
|
+
# The list of memory hash detections contributing to the binary family
|
63
|
+
# match.
|
64
|
+
class MemoryHashSignature
|
65
|
+
include ::Google::Protobuf::MessageExts
|
66
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
67
|
+
|
68
|
+
# Memory hash detection contributing to the binary family match.
|
69
|
+
# @!attribute [rw] binary
|
70
|
+
# @return [::String]
|
71
|
+
# The name of the binary associated with the memory hash
|
72
|
+
# signature detection.
|
73
|
+
# @!attribute [rw] percent_pages_matched
|
74
|
+
# @return [::Float]
|
75
|
+
# The percentage of memory page hashes in the signature
|
76
|
+
# that were matched.
|
77
|
+
class Detection
|
78
|
+
include ::Google::Protobuf::MessageExts
|
79
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# A signature corresponding to a YARA rule.
|
84
|
+
# @!attribute [rw] yara_rule
|
85
|
+
# @return [::String]
|
86
|
+
# The name of the YARA rule.
|
87
|
+
class YaraRuleSignature
|
88
|
+
include ::Google::Protobuf::MessageExts
|
89
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
90
|
+
end
|
91
|
+
end
|
37
92
|
end
|
38
93
|
end
|
39
94
|
end
|
@@ -0,0 +1,203 @@
|
|
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
|
+
# Kubernetes related attributes.
|
25
|
+
# @!attribute [rw] pods
|
26
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Pod>]
|
27
|
+
# Kubernetes Pods associated with the finding. This field will contain Pod
|
28
|
+
# records for each container that is owned by a Pod.
|
29
|
+
# @!attribute [rw] nodes
|
30
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Node>]
|
31
|
+
# Provides Kubernetes Node information.
|
32
|
+
# @!attribute [rw] node_pools
|
33
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::NodePool>]
|
34
|
+
# GKE Node Pools associated with the finding. This field will
|
35
|
+
# contain NodePool information for each Node, when it is available.
|
36
|
+
# @!attribute [rw] roles
|
37
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Role>]
|
38
|
+
# Provides Kubernetes role information for findings that involve
|
39
|
+
# Roles or ClusterRoles.
|
40
|
+
# @!attribute [rw] bindings
|
41
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Binding>]
|
42
|
+
# Provides Kubernetes role binding information for findings that involve
|
43
|
+
# RoleBindings or ClusterRoleBindings.
|
44
|
+
# @!attribute [rw] access_reviews
|
45
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::AccessReview>]
|
46
|
+
# Provides information on any Kubernetes access reviews (i.e. privilege
|
47
|
+
# checks) relevant to the finding.
|
48
|
+
class Kubernetes
|
49
|
+
include ::Google::Protobuf::MessageExts
|
50
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
51
|
+
|
52
|
+
# Kubernetes Pod.
|
53
|
+
# @!attribute [rw] ns
|
54
|
+
# @return [::String]
|
55
|
+
# Kubernetes Pod namespace.
|
56
|
+
# @!attribute [rw] name
|
57
|
+
# @return [::String]
|
58
|
+
# Kubernetes Pod name.
|
59
|
+
# @!attribute [rw] labels
|
60
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Label>]
|
61
|
+
# Pod labels. For Kubernetes containers, these are applied to the
|
62
|
+
# container.
|
63
|
+
# @!attribute [rw] containers
|
64
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Container>]
|
65
|
+
# Pod containers associated with this finding, if any.
|
66
|
+
class Pod
|
67
|
+
include ::Google::Protobuf::MessageExts
|
68
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
69
|
+
end
|
70
|
+
|
71
|
+
# Kubernetes Nodes associated with the finding.
|
72
|
+
# @!attribute [rw] name
|
73
|
+
# @return [::String]
|
74
|
+
# Full Resource name of the Compute Engine VM running the
|
75
|
+
# cluster node.
|
76
|
+
class Node
|
77
|
+
include ::Google::Protobuf::MessageExts
|
78
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
79
|
+
end
|
80
|
+
|
81
|
+
# Provides GKE Node Pool information.
|
82
|
+
# @!attribute [rw] name
|
83
|
+
# @return [::String]
|
84
|
+
# Kubernetes Node pool name.
|
85
|
+
# @!attribute [rw] nodes
|
86
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Node>]
|
87
|
+
# Nodes associated with the finding.
|
88
|
+
class NodePool
|
89
|
+
include ::Google::Protobuf::MessageExts
|
90
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
91
|
+
end
|
92
|
+
|
93
|
+
# Kubernetes Role or ClusterRole.
|
94
|
+
# @!attribute [rw] kind
|
95
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Kubernetes::Role::Kind]
|
96
|
+
# Role type.
|
97
|
+
# @!attribute [rw] ns
|
98
|
+
# @return [::String]
|
99
|
+
# Role namespace.
|
100
|
+
# @!attribute [rw] name
|
101
|
+
# @return [::String]
|
102
|
+
# Role name.
|
103
|
+
class Role
|
104
|
+
include ::Google::Protobuf::MessageExts
|
105
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
106
|
+
|
107
|
+
# Types of Kubernetes roles.
|
108
|
+
module Kind
|
109
|
+
# Role type is not specified.
|
110
|
+
KIND_UNSPECIFIED = 0
|
111
|
+
|
112
|
+
# Kubernetes Role.
|
113
|
+
ROLE = 1
|
114
|
+
|
115
|
+
# Kubernetes ClusterRole.
|
116
|
+
CLUSTER_ROLE = 2
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
# Represents a Kubernetes RoleBinding or ClusterRoleBinding.
|
121
|
+
# @!attribute [rw] ns
|
122
|
+
# @return [::String]
|
123
|
+
# Namespace for binding.
|
124
|
+
# @!attribute [rw] name
|
125
|
+
# @return [::String]
|
126
|
+
# Name for binding.
|
127
|
+
# @!attribute [rw] role
|
128
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Kubernetes::Role]
|
129
|
+
# The Role or ClusterRole referenced by the binding.
|
130
|
+
# @!attribute [rw] subjects
|
131
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Kubernetes::Subject>]
|
132
|
+
# Represents the subjects(s) bound to the role. Not always available
|
133
|
+
# for PATCH requests.
|
134
|
+
class Binding
|
135
|
+
include ::Google::Protobuf::MessageExts
|
136
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
137
|
+
end
|
138
|
+
|
139
|
+
# Represents a Kubernetes Subject.
|
140
|
+
# @!attribute [rw] kind
|
141
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Kubernetes::Subject::AuthType]
|
142
|
+
# Authentication type for subject.
|
143
|
+
# @!attribute [rw] ns
|
144
|
+
# @return [::String]
|
145
|
+
# Namespace for subject.
|
146
|
+
# @!attribute [rw] name
|
147
|
+
# @return [::String]
|
148
|
+
# Name for subject.
|
149
|
+
class Subject
|
150
|
+
include ::Google::Protobuf::MessageExts
|
151
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
152
|
+
|
153
|
+
# Auth types that can be used for Subject's kind field.
|
154
|
+
module AuthType
|
155
|
+
# Authentication is not specified.
|
156
|
+
AUTH_TYPE_UNSPECIFIED = 0
|
157
|
+
|
158
|
+
# User with valid certificate.
|
159
|
+
USER = 1
|
160
|
+
|
161
|
+
# Users managed by Kubernetes API with credentials stored as Secrets.
|
162
|
+
SERVICEACCOUNT = 2
|
163
|
+
|
164
|
+
# Collection of users.
|
165
|
+
GROUP = 3
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
# Conveys information about a Kubernetes access review (e.g. kubectl auth
|
170
|
+
# can-i ...) that was involved in a finding.
|
171
|
+
# @!attribute [rw] group
|
172
|
+
# @return [::String]
|
173
|
+
# Group is the API Group of the Resource. "*" means all.
|
174
|
+
# @!attribute [rw] ns
|
175
|
+
# @return [::String]
|
176
|
+
# Namespace of the action being requested. Currently, there is no
|
177
|
+
# distinction between no namespace and all namespaces. Both
|
178
|
+
# are represented by "" (empty).
|
179
|
+
# @!attribute [rw] name
|
180
|
+
# @return [::String]
|
181
|
+
# Name is the name of the resource being requested. Empty means all.
|
182
|
+
# @!attribute [rw] resource
|
183
|
+
# @return [::String]
|
184
|
+
# Resource is the optional resource type requested. "*" means all.
|
185
|
+
# @!attribute [rw] subresource
|
186
|
+
# @return [::String]
|
187
|
+
# Subresource is the optional subresource type.
|
188
|
+
# @!attribute [rw] verb
|
189
|
+
# @return [::String]
|
190
|
+
# Verb is a Kubernetes resource API verb, like: get, list, watch, create,
|
191
|
+
# update, delete, proxy. "*" means all.
|
192
|
+
# @!attribute [rw] version
|
193
|
+
# @return [::String]
|
194
|
+
# Version is the API Version of the Resource. "*" means all.
|
195
|
+
class AccessReview
|
196
|
+
include ::Google::Protobuf::MessageExts
|
197
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
198
|
+
end
|
199
|
+
end
|
200
|
+
end
|
201
|
+
end
|
202
|
+
end
|
203
|
+
end
|
@@ -0,0 +1,39 @@
|
|
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
|
+
# Label represents a generic name=value label. Label has separate name and
|
25
|
+
# value fields to support filtering with contains().
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# Label name.
|
29
|
+
# @!attribute [rw] value
|
30
|
+
# @return [::String]
|
31
|
+
# Label value.
|
32
|
+
class Label
|
33
|
+
include ::Google::Protobuf::MessageExts
|
34
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -195,6 +195,15 @@ module Google
|
|
195
195
|
|
196
196
|
# T1562
|
197
197
|
IMPAIR_DEFENSES = 31
|
198
|
+
|
199
|
+
# T1046
|
200
|
+
NETWORK_SERVICE_DISCOVERY = 32
|
201
|
+
|
202
|
+
# T1134
|
203
|
+
ACCESS_TOKEN_MANIPULATION = 33
|
204
|
+
|
205
|
+
# T1548
|
206
|
+
ABUSE_ELEVATION_CONTROL_MECHANISM = 34
|
198
207
|
end
|
199
208
|
end
|
200
209
|
end
|
@@ -22,6 +22,10 @@ module Google
|
|
22
22
|
module SecurityCenter
|
23
23
|
module V1
|
24
24
|
# Represents an operating system process.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# The process name visible in utilities like `top` and `ps`; it can
|
28
|
+
# be accessed via `/proc/[pid]/comm` and changed with `prctl(PR_SET_NAME)`.
|
25
29
|
# @!attribute [rw] binary
|
26
30
|
# @return [::Google::Cloud::SecurityCenter::V1::File]
|
27
31
|
# File information for the process executable.
|
@@ -26,8 +26,6 @@ module Google
|
|
26
26
|
# service Foo {
|
27
27
|
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
28
28
|
# }
|
29
|
-
#
|
30
|
-
# The JSON representation for `Empty` is empty JSON object `{}`.
|
31
29
|
class Empty
|
32
30
|
include ::Google::Protobuf::MessageExts
|
33
31
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-security_center-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.10'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.10'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -64,28 +64,28 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: 1.
|
67
|
+
version: 1.26.1
|
68
68
|
type: :development
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version: 1.
|
74
|
+
version: 1.26.1
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: minitest
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '5.
|
81
|
+
version: '5.16'
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '5.
|
88
|
+
version: '5.16'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: minitest-focus
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,14 +120,14 @@ dependencies:
|
|
120
120
|
requirements:
|
121
121
|
- - ">="
|
122
122
|
- !ruby/object:Gem::Version
|
123
|
-
version: '
|
123
|
+
version: '13.0'
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
126
|
version_requirements: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
128
|
- - ">="
|
129
129
|
- !ruby/object:Gem::Version
|
130
|
-
version: '
|
130
|
+
version: '13.0'
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
name: redcarpet
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -196,6 +196,9 @@ files:
|
|
196
196
|
- lib/google/cloud/securitycenter/v1/bigquery_export_pb.rb
|
197
197
|
- lib/google/cloud/securitycenter/v1/compliance_pb.rb
|
198
198
|
- lib/google/cloud/securitycenter/v1/connection_pb.rb
|
199
|
+
- lib/google/cloud/securitycenter/v1/contact_details_pb.rb
|
200
|
+
- lib/google/cloud/securitycenter/v1/container_pb.rb
|
201
|
+
- lib/google/cloud/securitycenter/v1/database_pb.rb
|
199
202
|
- lib/google/cloud/securitycenter/v1/exfiltration_pb.rb
|
200
203
|
- lib/google/cloud/securitycenter/v1/external_system_pb.rb
|
201
204
|
- lib/google/cloud/securitycenter/v1/file_pb.rb
|
@@ -203,6 +206,8 @@ files:
|
|
203
206
|
- lib/google/cloud/securitycenter/v1/folder_pb.rb
|
204
207
|
- lib/google/cloud/securitycenter/v1/iam_binding_pb.rb
|
205
208
|
- lib/google/cloud/securitycenter/v1/indicator_pb.rb
|
209
|
+
- lib/google/cloud/securitycenter/v1/kubernetes_pb.rb
|
210
|
+
- lib/google/cloud/securitycenter/v1/label_pb.rb
|
206
211
|
- lib/google/cloud/securitycenter/v1/mitre_attack_pb.rb
|
207
212
|
- lib/google/cloud/securitycenter/v1/mute_config_pb.rb
|
208
213
|
- lib/google/cloud/securitycenter/v1/notification_config_pb.rb
|
@@ -224,6 +229,9 @@ files:
|
|
224
229
|
- proto_docs/google/cloud/securitycenter/v1/bigquery_export.rb
|
225
230
|
- proto_docs/google/cloud/securitycenter/v1/compliance.rb
|
226
231
|
- proto_docs/google/cloud/securitycenter/v1/connection.rb
|
232
|
+
- proto_docs/google/cloud/securitycenter/v1/contact_details.rb
|
233
|
+
- proto_docs/google/cloud/securitycenter/v1/container.rb
|
234
|
+
- proto_docs/google/cloud/securitycenter/v1/database.rb
|
227
235
|
- proto_docs/google/cloud/securitycenter/v1/exfiltration.rb
|
228
236
|
- proto_docs/google/cloud/securitycenter/v1/external_system.rb
|
229
237
|
- proto_docs/google/cloud/securitycenter/v1/file.rb
|
@@ -231,6 +239,8 @@ files:
|
|
231
239
|
- proto_docs/google/cloud/securitycenter/v1/folder.rb
|
232
240
|
- proto_docs/google/cloud/securitycenter/v1/iam_binding.rb
|
233
241
|
- proto_docs/google/cloud/securitycenter/v1/indicator.rb
|
242
|
+
- proto_docs/google/cloud/securitycenter/v1/kubernetes.rb
|
243
|
+
- proto_docs/google/cloud/securitycenter/v1/label.rb
|
234
244
|
- proto_docs/google/cloud/securitycenter/v1/mitre_attack.rb
|
235
245
|
- proto_docs/google/cloud/securitycenter/v1/mute_config.rb
|
236
246
|
- proto_docs/google/cloud/securitycenter/v1/notification_config.rb
|
@@ -267,7 +277,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
267
277
|
requirements:
|
268
278
|
- - ">="
|
269
279
|
- !ruby/object:Gem::Version
|
270
|
-
version: '2.
|
280
|
+
version: '2.6'
|
271
281
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
272
282
|
requirements:
|
273
283
|
- - ">="
|