google-cloud-security_center-v1 0.10.0 → 0.12.1
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/.yardopts +1 -1
- data/AUTHENTICATION.md +7 -25
- data/README.md +3 -3
- data/lib/google/cloud/security_center/v1/security_center/client.rb +852 -29
- data/lib/google/cloud/security_center/v1/security_center/paths.rb +116 -0
- data/lib/google/cloud/security_center/v1/version.rb +1 -1
- data/lib/google/cloud/securitycenter/v1/access_pb.rb +32 -0
- data/lib/google/cloud/securitycenter/v1/external_system_pb.rb +29 -0
- data/lib/google/cloud/securitycenter/v1/finding_pb.rb +15 -1
- data/lib/google/cloud/securitycenter/v1/mute_config_pb.rb +32 -0
- data/lib/google/cloud/securitycenter/v1/securitycenter_service_pb.rb +52 -1
- data/lib/google/cloud/securitycenter/v1/securitycenter_service_services_pb.rb +18 -0
- data/proto_docs/google/api/resource.rb +10 -71
- data/proto_docs/google/cloud/securitycenter/v1/access.rb +61 -0
- data/proto_docs/google/cloud/securitycenter/v1/external_system.rb +52 -0
- data/proto_docs/google/cloud/securitycenter/v1/finding.rb +52 -5
- data/proto_docs/google/cloud/securitycenter/v1/mute_config.rb +82 -0
- data/proto_docs/google/cloud/securitycenter/v1/resource.rb +1 -1
- data/proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb +177 -2
- metadata +9 -3
@@ -0,0 +1,52 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 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
|
+
# Representation of third party SIEM/SOAR fields within SCC.
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# @return [::String]
|
27
|
+
# External System Name e.g. jira, demisto, etc.
|
28
|
+
# e.g.: `organizations/1234/sources/5678/findings/123456/externalSystems/jira`
|
29
|
+
# `folders/1234/sources/5678/findings/123456/externalSystems/jira`
|
30
|
+
# `projects/1234/sources/5678/findings/123456/externalSystems/jira`
|
31
|
+
# @!attribute [rw] assignees
|
32
|
+
# @return [::Array<::String>]
|
33
|
+
# References primary/secondary etc assignees in the external system.
|
34
|
+
# @!attribute [rw] external_uid
|
35
|
+
# @return [::String]
|
36
|
+
# Identifier that's used to track the given finding in the external system.
|
37
|
+
# @!attribute [rw] status
|
38
|
+
# @return [::String]
|
39
|
+
# Most recent status of the corresponding finding's ticket/tracker in the
|
40
|
+
# external system.
|
41
|
+
# @!attribute [rw] external_system_update_time
|
42
|
+
# @return [::Google::Protobuf::Timestamp]
|
43
|
+
# The most recent time when the corresponding finding's ticket/tracker was
|
44
|
+
# updated in the external system.
|
45
|
+
class ExternalSystem
|
46
|
+
include ::Google::Protobuf::MessageExts
|
47
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -75,11 +75,12 @@ module Google
|
|
75
75
|
# to the finding.
|
76
76
|
# @!attribute [rw] event_time
|
77
77
|
# @return [::Google::Protobuf::Timestamp]
|
78
|
-
# The time
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
78
|
+
# The time the finding was first detected. If an existing finding is updated,
|
79
|
+
# then this is the time the update occurred.
|
80
|
+
# For example, if the finding represents an open firewall, this property
|
81
|
+
# captures the time the detector believes the firewall became open. The
|
82
|
+
# accuracy is determined by the detector. If the finding is later resolved,
|
83
|
+
# then this time reflects when the finding was resolved. This must not
|
83
84
|
# be set to a value greater than the current timestamp.
|
84
85
|
# @!attribute [rw] create_time
|
85
86
|
# @return [::Google::Protobuf::Timestamp]
|
@@ -96,6 +97,11 @@ module Google
|
|
96
97
|
# "projects/\\{project_number}/sources/\\{source_id}/findings/\\{finding_id}",
|
97
98
|
# depending on the closest CRM ancestor of the resource associated with the
|
98
99
|
# finding.
|
100
|
+
# @!attribute [rw] mute
|
101
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Finding::Mute]
|
102
|
+
# Indicates the mute state of a finding (either unspecified, muted, unmuted
|
103
|
+
# or undefined). Unlike other attributes of a finding, a finding provider
|
104
|
+
# shouldn't set the value of mute.
|
99
105
|
# @!attribute [rw] finding_class
|
100
106
|
# @return [::Google::Cloud::SecurityCenter::V1::Finding::FindingClass]
|
101
107
|
# The class of the finding.
|
@@ -111,6 +117,23 @@ module Google
|
|
111
117
|
# Represents vulnerability specific fields like cve, cvss scores etc.
|
112
118
|
# CVE stands for Common Vulnerabilities and Exposures
|
113
119
|
# (https://cve.mitre.org/about/)
|
120
|
+
# @!attribute [r] mute_update_time
|
121
|
+
# @return [::Google::Protobuf::Timestamp]
|
122
|
+
# Output only. The most recent time this finding was muted or unmuted.
|
123
|
+
# @!attribute [r] external_systems
|
124
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::SecurityCenter::V1::ExternalSystem}]
|
125
|
+
# Output only. Third party SIEM/SOAR fields within SCC, contains external system
|
126
|
+
# information and external system finding fields.
|
127
|
+
# @!attribute [rw] access
|
128
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Access]
|
129
|
+
# Access details associated to the Finding, such as more information on the
|
130
|
+
# caller, which method was accessed, from where, etc.
|
131
|
+
# @!attribute [rw] mute_initiator
|
132
|
+
# @return [::String]
|
133
|
+
# First known as mute_annotation. Records additional information about the
|
134
|
+
# mute operation e.g. mute config that muted the finding, user who muted the
|
135
|
+
# finding, etc. Unlike other attributes of a finding, a finding provider
|
136
|
+
# shouldn't set the value of mute.
|
114
137
|
class Finding
|
115
138
|
include ::Google::Protobuf::MessageExts
|
116
139
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -124,6 +147,15 @@ module Google
|
|
124
147
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
125
148
|
end
|
126
149
|
|
150
|
+
# @!attribute [rw] key
|
151
|
+
# @return [::String]
|
152
|
+
# @!attribute [rw] value
|
153
|
+
# @return [::Google::Cloud::SecurityCenter::V1::ExternalSystem]
|
154
|
+
class ExternalSystemsEntry
|
155
|
+
include ::Google::Protobuf::MessageExts
|
156
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
157
|
+
end
|
158
|
+
|
127
159
|
# The state of the finding.
|
128
160
|
module State
|
129
161
|
# Unspecified state.
|
@@ -196,6 +228,21 @@ module Google
|
|
196
228
|
LOW = 4
|
197
229
|
end
|
198
230
|
|
231
|
+
# Mute state a finding can be in.
|
232
|
+
module Mute
|
233
|
+
# Unspecified.
|
234
|
+
MUTE_UNSPECIFIED = 0
|
235
|
+
|
236
|
+
# Finding has been muted.
|
237
|
+
MUTED = 1
|
238
|
+
|
239
|
+
# Finding has been unmuted.
|
240
|
+
UNMUTED = 2
|
241
|
+
|
242
|
+
# Finding has never been muted/unmuted.
|
243
|
+
UNDEFINED = 4
|
244
|
+
end
|
245
|
+
|
199
246
|
# Represents what kind of Finding it is.
|
200
247
|
module FindingClass
|
201
248
|
# Unspecified finding class.
|
@@ -0,0 +1,82 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2021 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
|
+
# A mute config is a Cloud SCC resource that contains the configuration
|
25
|
+
# to mute create/update events of findings.
|
26
|
+
# @!attribute [rw] name
|
27
|
+
# @return [::String]
|
28
|
+
# This field will be ignored if provided on config creation. Format
|
29
|
+
# "organizations/\\{organization}/muteConfigs/\\{mute_config}"
|
30
|
+
# "folders/\\{folder}/muteConfigs/\\{mute_config}"
|
31
|
+
# "projects/\\{project}/muteConfigs/\\{mute_config}"
|
32
|
+
# @!attribute [rw] display_name
|
33
|
+
# @return [::String]
|
34
|
+
# The human readable name to be displayed for the mute config.
|
35
|
+
# @!attribute [rw] description
|
36
|
+
# @return [::String]
|
37
|
+
# A description of the mute config.
|
38
|
+
# @!attribute [rw] filter
|
39
|
+
# @return [::String]
|
40
|
+
# Required. An expression that defines the filter to apply across create/update events
|
41
|
+
# of findings. While creating a filter string, be mindful of the
|
42
|
+
# scope in which the mute configuration is being created. E.g., If a filter
|
43
|
+
# contains project = X but is created under the project = Y scope, it might
|
44
|
+
# not match any findings.
|
45
|
+
#
|
46
|
+
# The following field and operator combinations are supported:
|
47
|
+
#
|
48
|
+
# * severity: `=`, `:`
|
49
|
+
# * category: `=`, `:`
|
50
|
+
# * resource.name: `=`, `:`
|
51
|
+
# * resource.project_name: `=`, `:`
|
52
|
+
# * resource.project_display_name: `=`, `:`
|
53
|
+
# * resource.folders.resource_folder: `=`, `:`
|
54
|
+
# * resource.parent_name: `=`, `:`
|
55
|
+
# * resource.parent_display_name: `=`, `:`
|
56
|
+
# * resource.type: `=`, `:`
|
57
|
+
# * finding_class: `=`, `:`
|
58
|
+
# * indicator.ip_addresses: `=`, `:`
|
59
|
+
# * indicator.domains: `=`, `:`
|
60
|
+
# @!attribute [r] create_time
|
61
|
+
# @return [::Google::Protobuf::Timestamp]
|
62
|
+
# Output only. The time at which the mute config was created.
|
63
|
+
# This field is set by the server and will be ignored if provided on config
|
64
|
+
# creation.
|
65
|
+
# @!attribute [r] update_time
|
66
|
+
# @return [::Google::Protobuf::Timestamp]
|
67
|
+
# Output only. The most recent time at which the mute config was updated.
|
68
|
+
# This field is set by the server and will be ignored if provided on config
|
69
|
+
# creation or update.
|
70
|
+
# @!attribute [r] most_recent_editor
|
71
|
+
# @return [::String]
|
72
|
+
# Output only. Email address of the user who last edited the mute config.
|
73
|
+
# This field is set by the server and will be ignored if provided on config
|
74
|
+
# creation or update.
|
75
|
+
class MuteConfig
|
76
|
+
include ::Google::Protobuf::MessageExts
|
77
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# The full resource name of project that the resource belongs to.
|
32
32
|
# @!attribute [rw] project_display_name
|
33
33
|
# @return [::String]
|
34
|
-
# The
|
34
|
+
# The project id that the resource belongs to.
|
35
35
|
# @!attribute [rw] parent
|
36
36
|
# @return [::String]
|
37
37
|
# The full resource name of resource's parent.
|
@@ -21,6 +21,54 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module SecurityCenter
|
23
23
|
module V1
|
24
|
+
# Request message for bulk findings update.
|
25
|
+
#
|
26
|
+
# Note:
|
27
|
+
# 1. If multiple bulk update requests match the same resource, the order in
|
28
|
+
# which they get executed is not defined.
|
29
|
+
# 2. Once a bulk operation is started, there is no way to stop it.
|
30
|
+
# @!attribute [rw] parent
|
31
|
+
# @return [::String]
|
32
|
+
# Required. The parent, at which bulk action needs to be applied. Its format is
|
33
|
+
# "organizations/[organization_id]", "folders/[folder_id]",
|
34
|
+
# "projects/[project_id]".
|
35
|
+
# @!attribute [rw] filter
|
36
|
+
# @return [::String]
|
37
|
+
# Expression that identifies findings that should be updated.
|
38
|
+
# The expression is a list of zero or more restrictions combined
|
39
|
+
# via logical operators `AND` and `OR`. Parentheses are supported, and `OR`
|
40
|
+
# has higher precedence than `AND`.
|
41
|
+
#
|
42
|
+
# Restrictions have the form `<field> <operator> <value>` and may have a
|
43
|
+
# `-` character in front of them to indicate negation. The fields map to
|
44
|
+
# those defined in the corresponding resource.
|
45
|
+
#
|
46
|
+
# The supported operators are:
|
47
|
+
#
|
48
|
+
# * `=` for all value types.
|
49
|
+
# * `>`, `<`, `>=`, `<=` for integer values.
|
50
|
+
# * `:`, meaning substring matching, for strings.
|
51
|
+
#
|
52
|
+
# The supported value types are:
|
53
|
+
#
|
54
|
+
# * string literals in quotes.
|
55
|
+
# * integer literals without quotes.
|
56
|
+
# * boolean literals `true` and `false` without quotes.
|
57
|
+
# @!attribute [rw] mute_annotation
|
58
|
+
# @return [::String]
|
59
|
+
# This can be a mute configuration name or any identifier for mute/unmute
|
60
|
+
# of findings based on the filter.
|
61
|
+
class BulkMuteFindingsRequest
|
62
|
+
include ::Google::Protobuf::MessageExts
|
63
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
64
|
+
end
|
65
|
+
|
66
|
+
# The response to a BulkMute request. Contains the LRO information.
|
67
|
+
class BulkMuteFindingsResponse
|
68
|
+
include ::Google::Protobuf::MessageExts
|
69
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
70
|
+
end
|
71
|
+
|
24
72
|
# Request message for creating a finding.
|
25
73
|
# @!attribute [rw] parent
|
26
74
|
# @return [::String]
|
@@ -40,6 +88,26 @@ module Google
|
|
40
88
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
41
89
|
end
|
42
90
|
|
91
|
+
# Request message for creating a mute config.
|
92
|
+
# @!attribute [rw] parent
|
93
|
+
# @return [::String]
|
94
|
+
# Required. Resource name of the new mute configs's parent. Its format is
|
95
|
+
# "organizations/[organization_id]", "folders/[folder_id]", or
|
96
|
+
# "projects/[project_id]".
|
97
|
+
# @!attribute [rw] mute_config
|
98
|
+
# @return [::Google::Cloud::SecurityCenter::V1::MuteConfig]
|
99
|
+
# Required. The mute config being created.
|
100
|
+
# @!attribute [rw] mute_config_id
|
101
|
+
# @return [::String]
|
102
|
+
# Required. Unique identifier provided by the client within the parent scope.
|
103
|
+
# It must consist of lower case letters, numbers, and hyphen, with the first
|
104
|
+
# character a letter, the last a letter or a number, and a 63 character
|
105
|
+
# maximum.
|
106
|
+
class CreateMuteConfigRequest
|
107
|
+
include ::Google::Protobuf::MessageExts
|
108
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
109
|
+
end
|
110
|
+
|
43
111
|
# Request message for creating a notification config.
|
44
112
|
# @!attribute [rw] parent
|
45
113
|
# @return [::String]
|
@@ -74,6 +142,18 @@ module Google
|
|
74
142
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
75
143
|
end
|
76
144
|
|
145
|
+
# Request message for deleting a mute config.
|
146
|
+
# @!attribute [rw] name
|
147
|
+
# @return [::String]
|
148
|
+
# Required. Name of the mute config to delete. Its format is
|
149
|
+
# organizations/\\{organization}/muteConfigs/\\{config_id},
|
150
|
+
# folders/\\{folder}/muteConfigs/\\{config_id}, or
|
151
|
+
# projects/\\{project}/muteConfigs/\\{config_id}
|
152
|
+
class DeleteMuteConfigRequest
|
153
|
+
include ::Google::Protobuf::MessageExts
|
154
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
155
|
+
end
|
156
|
+
|
77
157
|
# Request message for deleting a notification config.
|
78
158
|
# @!attribute [rw] name
|
79
159
|
# @return [::String]
|
@@ -84,6 +164,18 @@ module Google
|
|
84
164
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
85
165
|
end
|
86
166
|
|
167
|
+
# Request message for retrieving a mute config.
|
168
|
+
# @!attribute [rw] name
|
169
|
+
# @return [::String]
|
170
|
+
# Required. Name of the mute config to retrieve. Its format is
|
171
|
+
# organizations/\\{organization}/muteConfigs/\\{config_id},
|
172
|
+
# folders/\\{folder}/muteConfigs/\\{config_id}, or
|
173
|
+
# projects/\\{project}/muteConfigs/\\{config_id}
|
174
|
+
class GetMuteConfigRequest
|
175
|
+
include ::Google::Protobuf::MessageExts
|
176
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
177
|
+
end
|
178
|
+
|
87
179
|
# Request message for getting a notification config.
|
88
180
|
# @!attribute [rw] name
|
89
181
|
# @return [::String]
|
@@ -458,6 +550,44 @@ module Google
|
|
458
550
|
end
|
459
551
|
end
|
460
552
|
|
553
|
+
# Request message for listing mute configs at a given scope e.g. organization,
|
554
|
+
# folder or project.
|
555
|
+
# @!attribute [rw] parent
|
556
|
+
# @return [::String]
|
557
|
+
# Required. The parent, which owns the collection of mute configs. Its format is
|
558
|
+
# "organizations/[organization_id]", "folders/[folder_id]",
|
559
|
+
# "projects/[project_id]".
|
560
|
+
# @!attribute [rw] page_size
|
561
|
+
# @return [::Integer]
|
562
|
+
# The maximum number of configs to return. The service may return fewer than
|
563
|
+
# this value.
|
564
|
+
# If unspecified, at most 10 configs will be returned.
|
565
|
+
# The maximum value is 1000; values above 1000 will be coerced to 1000.
|
566
|
+
# @!attribute [rw] page_token
|
567
|
+
# @return [::String]
|
568
|
+
# A page token, received from a previous `ListMuteConfigs` call.
|
569
|
+
# Provide this to retrieve the subsequent page.
|
570
|
+
#
|
571
|
+
# When paginating, all other parameters provided to `ListMuteConfigs` must
|
572
|
+
# match the call that provided the page token.
|
573
|
+
class ListMuteConfigsRequest
|
574
|
+
include ::Google::Protobuf::MessageExts
|
575
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
576
|
+
end
|
577
|
+
|
578
|
+
# Response message for listing mute configs.
|
579
|
+
# @!attribute [rw] mute_configs
|
580
|
+
# @return [::Array<::Google::Cloud::SecurityCenter::V1::MuteConfig>]
|
581
|
+
# The mute configs from the specified parent.
|
582
|
+
# @!attribute [rw] next_page_token
|
583
|
+
# @return [::String]
|
584
|
+
# A token, which can be sent as `page_token` to retrieve the next page.
|
585
|
+
# If this field is omitted, there are no subsequent pages.
|
586
|
+
class ListMuteConfigsResponse
|
587
|
+
include ::Google::Protobuf::MessageExts
|
588
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
589
|
+
end
|
590
|
+
|
461
591
|
# Request message for listing notification configs.
|
462
592
|
# @!attribute [rw] parent
|
463
593
|
# @return [::String]
|
@@ -910,7 +1040,7 @@ module Google
|
|
910
1040
|
# The full resource name of project that the resource belongs to.
|
911
1041
|
# @!attribute [rw] project_display_name
|
912
1042
|
# @return [::String]
|
913
|
-
# The
|
1043
|
+
# The project id that the resource belongs to.
|
914
1044
|
# @!attribute [rw] parent_name
|
915
1045
|
# @return [::String]
|
916
1046
|
# The full resource name of resource's parent.
|
@@ -981,6 +1111,23 @@ module Google
|
|
981
1111
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
982
1112
|
end
|
983
1113
|
|
1114
|
+
# Request message for updating a finding's mute status.
|
1115
|
+
# @!attribute [rw] name
|
1116
|
+
# @return [::String]
|
1117
|
+
# Required. The relative resource name of the finding. See:
|
1118
|
+
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
1119
|
+
# Example:
|
1120
|
+
# "organizations/\\{organization_id}/sources/\\{source_id}/finding/\\{finding_id}",
|
1121
|
+
# "folders/\\{folder_id}/sources/\\{source_id}/finding/\\{finding_id}",
|
1122
|
+
# "projects/\\{project_id}/sources/\\{source_id}/finding/\\{finding_id}".
|
1123
|
+
# @!attribute [rw] mute
|
1124
|
+
# @return [::Google::Cloud::SecurityCenter::V1::Finding::Mute]
|
1125
|
+
# Required. The desired state of the Mute.
|
1126
|
+
class SetMuteRequest
|
1127
|
+
include ::Google::Protobuf::MessageExts
|
1128
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1129
|
+
end
|
1130
|
+
|
984
1131
|
# Request message for running asset discovery for an organization.
|
985
1132
|
# @!attribute [rw] parent
|
986
1133
|
# @return [::String]
|
@@ -991,6 +1138,20 @@ module Google
|
|
991
1138
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
992
1139
|
end
|
993
1140
|
|
1141
|
+
# Request message for updating a ExternalSystem resource.
|
1142
|
+
# @!attribute [rw] external_system
|
1143
|
+
# @return [::Google::Cloud::SecurityCenter::V1::ExternalSystem]
|
1144
|
+
# Required. The external system resource to update.
|
1145
|
+
# @!attribute [rw] update_mask
|
1146
|
+
# @return [::Google::Protobuf::FieldMask]
|
1147
|
+
# The FieldMask to use when updating the external system resource.
|
1148
|
+
#
|
1149
|
+
# If empty all mutable fields will be updated.
|
1150
|
+
class UpdateExternalSystemRequest
|
1151
|
+
include ::Google::Protobuf::MessageExts
|
1152
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1153
|
+
end
|
1154
|
+
|
994
1155
|
# Request message for updating or creating a finding.
|
995
1156
|
# @!attribute [rw] finding
|
996
1157
|
# @return [::Google::Cloud::SecurityCenter::V1::Finding]
|
@@ -1014,6 +1175,19 @@ module Google
|
|
1014
1175
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1015
1176
|
end
|
1016
1177
|
|
1178
|
+
# Request message for updating a mute config.
|
1179
|
+
# @!attribute [rw] mute_config
|
1180
|
+
# @return [::Google::Cloud::SecurityCenter::V1::MuteConfig]
|
1181
|
+
# Required. The mute config being updated.
|
1182
|
+
# @!attribute [rw] update_mask
|
1183
|
+
# @return [::Google::Protobuf::FieldMask]
|
1184
|
+
# The list of fields to be updated.
|
1185
|
+
# If empty all mutable fields will be updated.
|
1186
|
+
class UpdateMuteConfigRequest
|
1187
|
+
include ::Google::Protobuf::MessageExts
|
1188
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1189
|
+
end
|
1190
|
+
|
1017
1191
|
# Request message for updating a notification config.
|
1018
1192
|
# @!attribute [rw] notification_config
|
1019
1193
|
# @return [::Google::Cloud::SecurityCenter::V1::NotificationConfig]
|
@@ -1071,7 +1245,8 @@ module Google
|
|
1071
1245
|
# @return [::Google::Protobuf::Timestamp]
|
1072
1246
|
# The time at which the updated SecurityMarks take effect.
|
1073
1247
|
# If not set uses current server time. Updates will be applied to the
|
1074
|
-
# SecurityMarks that are active immediately preceding this time.
|
1248
|
+
# SecurityMarks that are active immediately preceding this time. Must be
|
1249
|
+
# smaller or equal to the server time.
|
1075
1250
|
class UpdateSecurityMarksRequest
|
1076
1251
|
include ::Google::Protobuf::MessageExts
|
1077
1252
|
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.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -197,10 +197,13 @@ files:
|
|
197
197
|
- lib/google/cloud/security_center/v1/security_center/operations.rb
|
198
198
|
- lib/google/cloud/security_center/v1/security_center/paths.rb
|
199
199
|
- lib/google/cloud/security_center/v1/version.rb
|
200
|
+
- lib/google/cloud/securitycenter/v1/access_pb.rb
|
200
201
|
- lib/google/cloud/securitycenter/v1/asset_pb.rb
|
202
|
+
- lib/google/cloud/securitycenter/v1/external_system_pb.rb
|
201
203
|
- lib/google/cloud/securitycenter/v1/finding_pb.rb
|
202
204
|
- lib/google/cloud/securitycenter/v1/folder_pb.rb
|
203
205
|
- lib/google/cloud/securitycenter/v1/indicator_pb.rb
|
206
|
+
- lib/google/cloud/securitycenter/v1/mute_config_pb.rb
|
204
207
|
- lib/google/cloud/securitycenter/v1/notification_config_pb.rb
|
205
208
|
- lib/google/cloud/securitycenter/v1/notification_message_pb.rb
|
206
209
|
- lib/google/cloud/securitycenter/v1/organization_settings_pb.rb
|
@@ -214,10 +217,13 @@ files:
|
|
214
217
|
- proto_docs/README.md
|
215
218
|
- proto_docs/google/api/field_behavior.rb
|
216
219
|
- proto_docs/google/api/resource.rb
|
220
|
+
- proto_docs/google/cloud/securitycenter/v1/access.rb
|
217
221
|
- proto_docs/google/cloud/securitycenter/v1/asset.rb
|
222
|
+
- proto_docs/google/cloud/securitycenter/v1/external_system.rb
|
218
223
|
- proto_docs/google/cloud/securitycenter/v1/finding.rb
|
219
224
|
- proto_docs/google/cloud/securitycenter/v1/folder.rb
|
220
225
|
- proto_docs/google/cloud/securitycenter/v1/indicator.rb
|
226
|
+
- proto_docs/google/cloud/securitycenter/v1/mute_config.rb
|
221
227
|
- proto_docs/google/cloud/securitycenter/v1/notification_config.rb
|
222
228
|
- proto_docs/google/cloud/securitycenter/v1/notification_message.rb
|
223
229
|
- proto_docs/google/cloud/securitycenter/v1/organization_settings.rb
|
@@ -258,7 +264,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
258
264
|
- !ruby/object:Gem::Version
|
259
265
|
version: '0'
|
260
266
|
requirements: []
|
261
|
-
rubygems_version: 3.
|
267
|
+
rubygems_version: 3.3.5
|
262
268
|
signing_key:
|
263
269
|
specification_version: 4
|
264
270
|
summary: API Client library for the Cloud Security Command Center V1 API
|