google-cloud-security_center-v1 0.18.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/lib/google/cloud/security_center/v1/version.rb +1 -1
- data/lib/google/cloud/securitycenter/v1/database_pb.rb +26 -0
- data/lib/google/cloud/securitycenter/v1/finding_pb.rb +2 -0
- data/lib/google/cloud/securitycenter/v1/indicator_pb.rb +1 -0
- data/lib/google/cloud/securitycenter/v1/mitre_attack_pb.rb +2 -0
- data/proto_docs/google/cloud/securitycenter/v1/database.rb +56 -0
- data/proto_docs/google/cloud/securitycenter/v1/finding.rb +8 -5
- data/proto_docs/google/cloud/securitycenter/v1/indicator.rb +3 -0
- data/proto_docs/google/cloud/securitycenter/v1/mitre_attack.rb +6 -0
- data/proto_docs/google/protobuf/empty.rb +0 -2
- metadata +4 -2
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
|
@@ -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
|
@@ -10,6 +10,7 @@ require 'google/cloud/securitycenter/v1/compliance_pb'
|
|
10
10
|
require 'google/cloud/securitycenter/v1/connection_pb'
|
11
11
|
require 'google/cloud/securitycenter/v1/contact_details_pb'
|
12
12
|
require 'google/cloud/securitycenter/v1/container_pb'
|
13
|
+
require 'google/cloud/securitycenter/v1/database_pb'
|
13
14
|
require 'google/cloud/securitycenter/v1/exfiltration_pb'
|
14
15
|
require 'google/cloud/securitycenter/v1/external_system_pb'
|
15
16
|
require 'google/cloud/securitycenter/v1/iam_binding_pb'
|
@@ -56,6 +57,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
56
57
|
optional :next_steps, :string, 40
|
57
58
|
repeated :containers, :message, 42, "google.cloud.securitycenter.v1.Container"
|
58
59
|
optional :kubernetes, :message, 43, "google.cloud.securitycenter.v1.Kubernetes"
|
60
|
+
optional :database, :message, 44, "google.cloud.securitycenter.v1.Database"
|
59
61
|
end
|
60
62
|
add_enum "google.cloud.securitycenter.v1.Finding.State" do
|
61
63
|
value :STATE_UNSPECIFIED, 0
|
@@ -9,6 +9,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
9
9
|
repeated :ip_addresses, :string, 1
|
10
10
|
repeated :domains, :string, 2
|
11
11
|
repeated :signatures, :message, 3, "google.cloud.securitycenter.v1.Indicator.ProcessSignature"
|
12
|
+
repeated :uris, :string, 4
|
12
13
|
end
|
13
14
|
add_message "google.cloud.securitycenter.v1.Indicator.ProcessSignature" do
|
14
15
|
oneof :signature do
|
@@ -63,6 +63,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
63
63
|
value :DOMAIN_POLICY_MODIFICATION, 30
|
64
64
|
value :IMPAIR_DEFENSES, 31
|
65
65
|
value :NETWORK_SERVICE_DISCOVERY, 32
|
66
|
+
value :ACCESS_TOKEN_MANIPULATION, 33
|
67
|
+
value :ABUSE_ELEVATION_CONTROL_MECHANISM, 34
|
66
68
|
end
|
67
69
|
end
|
68
70
|
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
|
@@ -122,8 +122,8 @@ module Google
|
|
122
122
|
# Output only. The most recent time this finding was muted or unmuted.
|
123
123
|
# @!attribute [r] external_systems
|
124
124
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::SecurityCenter::V1::ExternalSystem}]
|
125
|
-
# Output only. Third party SIEM/SOAR fields within SCC, contains external
|
126
|
-
# information and external system finding fields.
|
125
|
+
# Output only. Third party SIEM/SOAR fields within SCC, contains external
|
126
|
+
# system information and external system finding fields.
|
127
127
|
# @!attribute [rw] mitre_attack
|
128
128
|
# @return [::Google::Cloud::SecurityCenter::V1::MitreAttack]
|
129
129
|
# MITRE ATT&CK tactics and techniques related to this finding.
|
@@ -146,9 +146,9 @@ module Google
|
|
146
146
|
# Represents operating system processes associated with the Finding.
|
147
147
|
# @!attribute [r] contacts
|
148
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
|
-
# represents the type of contact, while the value contains a list of
|
151
|
-
# contacts that pertain. Please refer to:
|
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
152
|
# https://cloud.google.com/resource-manager/docs/managing-notification-contacts#notification-categories
|
153
153
|
#
|
154
154
|
# {
|
@@ -186,6 +186,9 @@ module Google
|
|
186
186
|
# @!attribute [rw] kubernetes
|
187
187
|
# @return [::Google::Cloud::SecurityCenter::V1::Kubernetes]
|
188
188
|
# Kubernetes resources associated with the finding.
|
189
|
+
# @!attribute [rw] database
|
190
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Database]
|
191
|
+
# Database associated with the finding.
|
189
192
|
class Finding
|
190
193
|
include ::Google::Protobuf::MessageExts
|
191
194
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -35,6 +35,9 @@ module Google
|
|
35
35
|
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Indicator::ProcessSignature>]
|
36
36
|
# The list of matched signatures indicating that the given
|
37
37
|
# process is present in the environment.
|
38
|
+
# @!attribute [rw] uris
|
39
|
+
# @return [::Array<::String>]
|
40
|
+
# The list of URIs associated to the Findings.
|
38
41
|
class Indicator
|
39
42
|
include ::Google::Protobuf::MessageExts
|
40
43
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -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
|
@@ -198,6 +198,7 @@ files:
|
|
198
198
|
- lib/google/cloud/securitycenter/v1/connection_pb.rb
|
199
199
|
- lib/google/cloud/securitycenter/v1/contact_details_pb.rb
|
200
200
|
- lib/google/cloud/securitycenter/v1/container_pb.rb
|
201
|
+
- lib/google/cloud/securitycenter/v1/database_pb.rb
|
201
202
|
- lib/google/cloud/securitycenter/v1/exfiltration_pb.rb
|
202
203
|
- lib/google/cloud/securitycenter/v1/external_system_pb.rb
|
203
204
|
- lib/google/cloud/securitycenter/v1/file_pb.rb
|
@@ -230,6 +231,7 @@ files:
|
|
230
231
|
- proto_docs/google/cloud/securitycenter/v1/connection.rb
|
231
232
|
- proto_docs/google/cloud/securitycenter/v1/contact_details.rb
|
232
233
|
- proto_docs/google/cloud/securitycenter/v1/container.rb
|
234
|
+
- proto_docs/google/cloud/securitycenter/v1/database.rb
|
233
235
|
- proto_docs/google/cloud/securitycenter/v1/exfiltration.rb
|
234
236
|
- proto_docs/google/cloud/securitycenter/v1/external_system.rb
|
235
237
|
- proto_docs/google/cloud/securitycenter/v1/file.rb
|