google-cloud-security_center-v1 0.14.0 → 0.15.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/security_center/client.rb +28 -29
- data/lib/google/cloud/security_center/v1/version.rb +1 -1
- data/lib/google/cloud/securitycenter/v1/connection_pb.rb +35 -0
- data/lib/google/cloud/securitycenter/v1/finding_pb.rb +3 -0
- data/proto_docs/google/cloud/securitycenter/v1/connection.rb +70 -0
- data/proto_docs/google/cloud/securitycenter/v1/finding.rb +6 -0
- data/proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb +28 -29
- 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: 2e076d4ef7cbe91cbc324dcaac83a995972beea85684c518ac3668a447df1c8a
|
|
4
|
+
data.tar.gz: d16d7825935dce6d4ec720d16331465f5d0d6e81e44a180402c9f6d4c58a0985
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8d21ed604c50aea3a14d0a48228189c03757043ec36e16092875c327e9755dffcec94481bbc3cc257b3f9164538e643e4775d6ee73d7e0e072861a6dbed9213a
|
|
7
|
+
data.tar.gz: f5ab76e336bd03be585a10e49e479d2adc37d4c176c689b5547dcd6adfe12ecf4430d9d4e7043e03a2edfb8204ee45841394c43a92e7915218b8529da06c3dc6
|
|
@@ -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
|
|
@@ -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
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
require 'google/api/field_behavior_pb'
|
|
5
5
|
require 'google/api/resource_pb'
|
|
6
6
|
require 'google/cloud/securitycenter/v1/access_pb'
|
|
7
|
+
require 'google/cloud/securitycenter/v1/connection_pb'
|
|
7
8
|
require 'google/cloud/securitycenter/v1/external_system_pb'
|
|
8
9
|
require 'google/cloud/securitycenter/v1/iam_binding_pb'
|
|
9
10
|
require 'google/cloud/securitycenter/v1/indicator_pb'
|
|
@@ -37,7 +38,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
37
38
|
map :external_systems, :string, :message, 22, "google.cloud.securitycenter.v1.ExternalSystem"
|
|
38
39
|
optional :mitre_attack, :message, 25, "google.cloud.securitycenter.v1.MitreAttack"
|
|
39
40
|
optional :access, :message, 26, "google.cloud.securitycenter.v1.Access"
|
|
41
|
+
repeated :connections, :message, 31, "google.cloud.securitycenter.v1.Connection"
|
|
40
42
|
optional :mute_initiator, :string, 28
|
|
43
|
+
optional :description, :string, 37
|
|
41
44
|
repeated :iam_bindings, :message, 39, "google.cloud.securitycenter.v1.IamBinding"
|
|
42
45
|
optional :next_steps, :string, 40
|
|
43
46
|
end
|
|
@@ -0,0 +1,70 @@
|
|
|
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 information about the IP connection associated with the finding.
|
|
25
|
+
# @!attribute [rw] destination_ip
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Destination IP address. Not present for sockets that are listening and not
|
|
28
|
+
# connected.
|
|
29
|
+
# @!attribute [rw] destination_port
|
|
30
|
+
# @return [::Integer]
|
|
31
|
+
# Destination port. Not present for sockets that are listening and not
|
|
32
|
+
# connected.
|
|
33
|
+
# @!attribute [rw] source_ip
|
|
34
|
+
# @return [::String]
|
|
35
|
+
# Source IP address.
|
|
36
|
+
# @!attribute [rw] source_port
|
|
37
|
+
# @return [::Integer]
|
|
38
|
+
# Source port.
|
|
39
|
+
# @!attribute [rw] protocol
|
|
40
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Connection::Protocol]
|
|
41
|
+
# IANA Internet Protocol Number such as TCP(6) and UDP(17).
|
|
42
|
+
class Connection
|
|
43
|
+
include ::Google::Protobuf::MessageExts
|
|
44
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
45
|
+
|
|
46
|
+
# IANA Internet Protocol Number such as TCP(6) and UDP(17).
|
|
47
|
+
module Protocol
|
|
48
|
+
# Unspecified protocol (not HOPOPT).
|
|
49
|
+
PROTOCOL_UNSPECIFIED = 0
|
|
50
|
+
|
|
51
|
+
# Internet Control Message Protocol.
|
|
52
|
+
ICMP = 1
|
|
53
|
+
|
|
54
|
+
# Transmission Control Protocol.
|
|
55
|
+
TCP = 6
|
|
56
|
+
|
|
57
|
+
# User Datagram Protocol.
|
|
58
|
+
UDP = 17
|
|
59
|
+
|
|
60
|
+
# Generic Routing Encapsulation.
|
|
61
|
+
GRE = 47
|
|
62
|
+
|
|
63
|
+
# Encap Security Payload.
|
|
64
|
+
ESP = 50
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
end
|
|
70
|
+
end
|
|
@@ -132,12 +132,18 @@ module Google
|
|
|
132
132
|
# @return [::Google::Cloud::SecurityCenter::V1::Access]
|
|
133
133
|
# Access details associated to the Finding, such as more information on the
|
|
134
134
|
# caller, which method was accessed, from where, etc.
|
|
135
|
+
# @!attribute [rw] connections
|
|
136
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::Connection>]
|
|
137
|
+
# Contains information about the IP connection associated with the finding.
|
|
135
138
|
# @!attribute [rw] mute_initiator
|
|
136
139
|
# @return [::String]
|
|
137
140
|
# First known as mute_annotation. Records additional information about the
|
|
138
141
|
# mute operation e.g. mute config that muted the finding, user who muted the
|
|
139
142
|
# finding, etc. Unlike other attributes of a finding, a finding provider
|
|
140
143
|
# shouldn't set the value of mute.
|
|
144
|
+
# @!attribute [rw] description
|
|
145
|
+
# @return [::String]
|
|
146
|
+
# Contains more detail about the finding.
|
|
141
147
|
# @!attribute [rw] iam_bindings
|
|
142
148
|
# @return [::Array<::Google::Cloud::SecurityCenter::V1::IamBinding>]
|
|
143
149
|
# Represents IAM bindings associated with the Finding.
|
|
@@ -29,8 +29,8 @@ module Google
|
|
|
29
29
|
# 2. Once a bulk operation is started, there is no way to stop it.
|
|
30
30
|
# @!attribute [rw] parent
|
|
31
31
|
# @return [::String]
|
|
32
|
-
# Required. The parent, at which bulk action needs to be applied. Its format
|
|
33
|
-
#
|
|
32
|
+
# Required. The parent, at which bulk action needs to be applied. Its format is
|
|
33
|
+
# "organizations/[organization_id]", "folders/[folder_id]",
|
|
34
34
|
# "projects/[project_id]".
|
|
35
35
|
# @!attribute [rw] filter
|
|
36
36
|
# @return [::String]
|
|
@@ -81,8 +81,8 @@ module Google
|
|
|
81
81
|
# greater than 0 characters in length.
|
|
82
82
|
# @!attribute [rw] finding
|
|
83
83
|
# @return [::Google::Cloud::SecurityCenter::V1::Finding]
|
|
84
|
-
# Required. The Finding being created. The name and security_marks will be
|
|
85
|
-
#
|
|
84
|
+
# Required. The Finding being created. The name and security_marks will be ignored as
|
|
85
|
+
# they are both output only fields on this resource.
|
|
86
86
|
class CreateFindingRequest
|
|
87
87
|
include ::Google::Protobuf::MessageExts
|
|
88
88
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -111,8 +111,8 @@ module Google
|
|
|
111
111
|
# Request message for creating a notification config.
|
|
112
112
|
# @!attribute [rw] parent
|
|
113
113
|
# @return [::String]
|
|
114
|
-
# Required. Resource name of the new notification config's parent. Its format
|
|
115
|
-
#
|
|
114
|
+
# Required. Resource name of the new notification config's parent. Its format is
|
|
115
|
+
# "organizations/[organization_id]".
|
|
116
116
|
# @!attribute [rw] config_id
|
|
117
117
|
# @return [::String]
|
|
118
118
|
# Required.
|
|
@@ -121,9 +121,8 @@ module Google
|
|
|
121
121
|
# characters, underscores or hyphens only.
|
|
122
122
|
# @!attribute [rw] notification_config
|
|
123
123
|
# @return [::Google::Cloud::SecurityCenter::V1::NotificationConfig]
|
|
124
|
-
# Required. The notification config being created. The name and the service
|
|
125
|
-
#
|
|
126
|
-
# resource.
|
|
124
|
+
# Required. The notification config being created. The name and the service account
|
|
125
|
+
# will be ignored as they are both output only fields on this resource.
|
|
127
126
|
class CreateNotificationConfigRequest
|
|
128
127
|
include ::Google::Protobuf::MessageExts
|
|
129
128
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -136,8 +135,8 @@ module Google
|
|
|
136
135
|
# "organizations/[organization_id]".
|
|
137
136
|
# @!attribute [rw] source
|
|
138
137
|
# @return [::Google::Cloud::SecurityCenter::V1::Source]
|
|
139
|
-
# Required. The Source being created, only the display_name and description
|
|
140
|
-
#
|
|
138
|
+
# Required. The Source being created, only the display_name and description will be
|
|
139
|
+
# used. All other fields will be ignored.
|
|
141
140
|
class CreateSourceRequest
|
|
142
141
|
include ::Google::Protobuf::MessageExts
|
|
143
142
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -202,8 +201,8 @@ module Google
|
|
|
202
201
|
# Request message for getting organization settings.
|
|
203
202
|
# @!attribute [rw] name
|
|
204
203
|
# @return [::String]
|
|
205
|
-
# Required. Name of the organization to get organization settings for. Its
|
|
206
|
-
#
|
|
204
|
+
# Required. Name of the organization to get organization settings for. Its format is
|
|
205
|
+
# "organizations/[organization_id]/organizationSettings".
|
|
207
206
|
class GetOrganizationSettingsRequest
|
|
208
207
|
include ::Google::Protobuf::MessageExts
|
|
209
208
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -291,9 +290,9 @@ module Google
|
|
|
291
290
|
# property not existing: `-resource_properties.my_property : ""`
|
|
292
291
|
# @!attribute [rw] group_by
|
|
293
292
|
# @return [::String]
|
|
294
|
-
# Required. Expression that defines what assets fields to use for grouping.
|
|
295
|
-
#
|
|
296
|
-
#
|
|
293
|
+
# Required. Expression that defines what assets fields to use for grouping. The string
|
|
294
|
+
# value should follow SQL syntax: comma separated list of fields. For
|
|
295
|
+
# example:
|
|
297
296
|
# "security_center_properties.resource_project,security_center_properties.project".
|
|
298
297
|
#
|
|
299
298
|
# The following fields are supported when compare_duration is not set:
|
|
@@ -452,9 +451,9 @@ module Google
|
|
|
452
451
|
# * resource.type: `=`, `:`
|
|
453
452
|
# @!attribute [rw] group_by
|
|
454
453
|
# @return [::String]
|
|
455
|
-
# Required. Expression that defines what assets fields to use for grouping
|
|
456
|
-
#
|
|
457
|
-
#
|
|
454
|
+
# Required. Expression that defines what assets fields to use for grouping (including
|
|
455
|
+
# `state_change`). The string value should follow SQL syntax: comma separated
|
|
456
|
+
# list of fields. For example: "parent,resource_name".
|
|
458
457
|
#
|
|
459
458
|
# The following fields are supported:
|
|
460
459
|
#
|
|
@@ -567,8 +566,8 @@ module Google
|
|
|
567
566
|
# folder or project.
|
|
568
567
|
# @!attribute [rw] parent
|
|
569
568
|
# @return [::String]
|
|
570
|
-
# Required. The parent, which owns the collection of mute configs. Its format
|
|
571
|
-
#
|
|
569
|
+
# Required. The parent, which owns the collection of mute configs. Its format is
|
|
570
|
+
# "organizations/[organization_id]", "folders/[folder_id]",
|
|
572
571
|
# "projects/[project_id]".
|
|
573
572
|
# @!attribute [rw] page_size
|
|
574
573
|
# @return [::Integer]
|
|
@@ -636,8 +635,8 @@ module Google
|
|
|
636
635
|
# Request message for listing sources.
|
|
637
636
|
# @!attribute [rw] parent
|
|
638
637
|
# @return [::String]
|
|
639
|
-
# Required. Resource name of the parent of sources to list. Its format should
|
|
640
|
-
#
|
|
638
|
+
# Required. Resource name of the parent of sources to list. Its format should be
|
|
639
|
+
# "organizations/[organization_id], folders/[folder_id], or
|
|
641
640
|
# projects/[project_id]".
|
|
642
641
|
# @!attribute [rw] page_token
|
|
643
642
|
# @return [::String]
|
|
@@ -1144,8 +1143,8 @@ module Google
|
|
|
1144
1143
|
# Request message for running asset discovery for an organization.
|
|
1145
1144
|
# @!attribute [rw] parent
|
|
1146
1145
|
# @return [::String]
|
|
1147
|
-
# Required. Name of the organization to run asset discovery for. Its format
|
|
1148
|
-
#
|
|
1146
|
+
# Required. Name of the organization to run asset discovery for. Its format is
|
|
1147
|
+
# "organizations/[organization_id]".
|
|
1149
1148
|
class RunAssetDiscoveryRequest
|
|
1150
1149
|
include ::Google::Protobuf::MessageExts
|
|
1151
1150
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1168,8 +1167,8 @@ module Google
|
|
|
1168
1167
|
# Request message for updating or creating a finding.
|
|
1169
1168
|
# @!attribute [rw] finding
|
|
1170
1169
|
# @return [::Google::Cloud::SecurityCenter::V1::Finding]
|
|
1171
|
-
# Required. The finding resource to update or create if it does not already
|
|
1172
|
-
#
|
|
1170
|
+
# Required. The finding resource to update or create if it does not already exist.
|
|
1171
|
+
# parent, security_marks, and update_time will be ignored.
|
|
1173
1172
|
#
|
|
1174
1173
|
# In the case of creation, the finding id portion of the name must be
|
|
1175
1174
|
# alphanumeric and less than or equal to 32 characters and greater than 0
|
|
@@ -1302,8 +1301,8 @@ module Google
|
|
|
1302
1301
|
# organization, folder or project.
|
|
1303
1302
|
# @!attribute [rw] parent
|
|
1304
1303
|
# @return [::String]
|
|
1305
|
-
# Required. The parent, which owns the collection of BigQuery exports. Its
|
|
1306
|
-
#
|
|
1304
|
+
# Required. The parent, which owns the collection of BigQuery exports. Its format is
|
|
1305
|
+
# "organizations/[organization_id]", "folders/[folder_id]",
|
|
1307
1306
|
# "projects/[project_id]".
|
|
1308
1307
|
# @!attribute [rw] page_size
|
|
1309
1308
|
# @return [::Integer]
|
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.15.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-04-
|
|
11
|
+
date: 2022-04-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|
|
@@ -194,6 +194,7 @@ files:
|
|
|
194
194
|
- lib/google/cloud/securitycenter/v1/access_pb.rb
|
|
195
195
|
- lib/google/cloud/securitycenter/v1/asset_pb.rb
|
|
196
196
|
- lib/google/cloud/securitycenter/v1/bigquery_export_pb.rb
|
|
197
|
+
- lib/google/cloud/securitycenter/v1/connection_pb.rb
|
|
197
198
|
- lib/google/cloud/securitycenter/v1/external_system_pb.rb
|
|
198
199
|
- lib/google/cloud/securitycenter/v1/finding_pb.rb
|
|
199
200
|
- lib/google/cloud/securitycenter/v1/folder_pb.rb
|
|
@@ -217,6 +218,7 @@ files:
|
|
|
217
218
|
- proto_docs/google/cloud/securitycenter/v1/access.rb
|
|
218
219
|
- proto_docs/google/cloud/securitycenter/v1/asset.rb
|
|
219
220
|
- proto_docs/google/cloud/securitycenter/v1/bigquery_export.rb
|
|
221
|
+
- proto_docs/google/cloud/securitycenter/v1/connection.rb
|
|
220
222
|
- proto_docs/google/cloud/securitycenter/v1/external_system.rb
|
|
221
223
|
- proto_docs/google/cloud/securitycenter/v1/finding.rb
|
|
222
224
|
- proto_docs/google/cloud/securitycenter/v1/folder.rb
|