google-cloud-security_center-v1 0.9.0 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,11 +33,7 @@ module Google
33
33
  # // For Kubernetes resources, the format is {api group}/{kind}.
34
34
  # option (google.api.resource) = {
35
35
  # type: "pubsub.googleapis.com/Topic"
36
- # name_descriptor: {
37
- # pattern: "projects/{project}/topics/{topic}"
38
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
39
- # parent_name_extractor: "projects/{project}"
40
- # }
36
+ # pattern: "projects/{project}/topics/{topic}"
41
37
  # };
42
38
  # }
43
39
  #
@@ -45,10 +41,7 @@ module Google
45
41
  #
46
42
  # resources:
47
43
  # - type: "pubsub.googleapis.com/Topic"
48
- # name_descriptor:
49
- # - pattern: "projects/{project}/topics/{topic}"
50
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
51
- # parent_name_extractor: "projects/{project}"
44
+ # pattern: "projects/{project}/topics/{topic}"
52
45
  #
53
46
  # Sometimes, resources have multiple patterns, typically because they can
54
47
  # live under multiple parents.
@@ -58,26 +51,10 @@ module Google
58
51
  # message LogEntry {
59
52
  # option (google.api.resource) = {
60
53
  # type: "logging.googleapis.com/LogEntry"
61
- # name_descriptor: {
62
- # pattern: "projects/{project}/logs/{log}"
63
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
64
- # parent_name_extractor: "projects/{project}"
65
- # }
66
- # name_descriptor: {
67
- # pattern: "folders/{folder}/logs/{log}"
68
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
69
- # parent_name_extractor: "folders/{folder}"
70
- # }
71
- # name_descriptor: {
72
- # pattern: "organizations/{organization}/logs/{log}"
73
- # parent_type: "cloudresourcemanager.googleapis.com/Organization"
74
- # parent_name_extractor: "organizations/{organization}"
75
- # }
76
- # name_descriptor: {
77
- # pattern: "billingAccounts/{billing_account}/logs/{log}"
78
- # parent_type: "billing.googleapis.com/BillingAccount"
79
- # parent_name_extractor: "billingAccounts/{billing_account}"
80
- # }
54
+ # pattern: "projects/{project}/logs/{log}"
55
+ # pattern: "folders/{folder}/logs/{log}"
56
+ # pattern: "organizations/{organization}/logs/{log}"
57
+ # pattern: "billingAccounts/{billing_account}/logs/{log}"
81
58
  # };
82
59
  # }
83
60
  #
@@ -85,48 +62,10 @@ module Google
85
62
  #
86
63
  # resources:
87
64
  # - type: 'logging.googleapis.com/LogEntry'
88
- # name_descriptor:
89
- # - pattern: "projects/{project}/logs/{log}"
90
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
91
- # parent_name_extractor: "projects/{project}"
92
- # - pattern: "folders/{folder}/logs/{log}"
93
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
94
- # parent_name_extractor: "folders/{folder}"
95
- # - pattern: "organizations/{organization}/logs/{log}"
96
- # parent_type: "cloudresourcemanager.googleapis.com/Organization"
97
- # parent_name_extractor: "organizations/{organization}"
98
- # - pattern: "billingAccounts/{billing_account}/logs/{log}"
99
- # parent_type: "billing.googleapis.com/BillingAccount"
100
- # parent_name_extractor: "billingAccounts/{billing_account}"
101
- #
102
- # For flexible resources, the resource name doesn't contain parent names, but
103
- # the resource itself has parents for policy evaluation.
104
- #
105
- # Example:
106
- #
107
- # message Shelf {
108
- # option (google.api.resource) = {
109
- # type: "library.googleapis.com/Shelf"
110
- # name_descriptor: {
111
- # pattern: "shelves/{shelf}"
112
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
113
- # }
114
- # name_descriptor: {
115
- # pattern: "shelves/{shelf}"
116
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
117
- # }
118
- # };
119
- # }
120
- #
121
- # The ResourceDescriptor Yaml config will look like:
122
- #
123
- # resources:
124
- # - type: 'library.googleapis.com/Shelf'
125
- # name_descriptor:
126
- # - pattern: "shelves/{shelf}"
127
- # parent_type: "cloudresourcemanager.googleapis.com/Project"
128
- # - pattern: "shelves/{shelf}"
129
- # parent_type: "cloudresourcemanager.googleapis.com/Folder"
65
+ # pattern: "projects/{project}/logs/{log}"
66
+ # pattern: "folders/{folder}/logs/{log}"
67
+ # pattern: "organizations/{organization}/logs/{log}"
68
+ # pattern: "billingAccounts/{billing_account}/logs/{log}"
130
69
  # @!attribute [rw] type
131
70
  # @return [::String]
132
71
  # The resource type. It must be in the format of
@@ -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
@@ -96,6 +96,10 @@ module Google
96
96
  # "projects/\\{project_number}/sources/\\{source_id}/findings/\\{finding_id}",
97
97
  # depending on the closest CRM ancestor of the resource associated with the
98
98
  # finding.
99
+ # @!attribute [rw] mute
100
+ # @return [::Google::Cloud::SecurityCenter::V1::Finding::Mute]
101
+ # Indicates the mute state of a finding (either unspecified, muted, unmuted
102
+ # or undefined).
99
103
  # @!attribute [rw] finding_class
100
104
  # @return [::Google::Cloud::SecurityCenter::V1::Finding::FindingClass]
101
105
  # The class of the finding.
@@ -111,6 +115,18 @@ module Google
111
115
  # Represents vulnerability specific fields like cve, cvss scores etc.
112
116
  # CVE stands for Common Vulnerabilities and Exposures
113
117
  # (https://cve.mitre.org/about/)
118
+ # @!attribute [r] mute_update_time
119
+ # @return [::Google::Protobuf::Timestamp]
120
+ # Output only. The most recent time this finding was muted or unmuted.
121
+ # @!attribute [r] external_systems
122
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::SecurityCenter::V1::ExternalSystem}]
123
+ # Output only. Third party SIEM/SOAR fields within SCC, contains external system
124
+ # information and external system finding fields.
125
+ # @!attribute [rw] mute_initiator
126
+ # @return [::String]
127
+ # First known as mute_annotation. Records additional information about the
128
+ # mute operation e.g. mute config that muted the finding, user who muted the
129
+ # finding, etc.
114
130
  class Finding
115
131
  include ::Google::Protobuf::MessageExts
116
132
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -124,6 +140,15 @@ module Google
124
140
  extend ::Google::Protobuf::MessageExts::ClassMethods
125
141
  end
126
142
 
143
+ # @!attribute [rw] key
144
+ # @return [::String]
145
+ # @!attribute [rw] value
146
+ # @return [::Google::Cloud::SecurityCenter::V1::ExternalSystem]
147
+ class ExternalSystemsEntry
148
+ include ::Google::Protobuf::MessageExts
149
+ extend ::Google::Protobuf::MessageExts::ClassMethods
150
+ end
151
+
127
152
  # The state of the finding.
128
153
  module State
129
154
  # Unspecified state.
@@ -196,6 +221,21 @@ module Google
196
221
  LOW = 4
197
222
  end
198
223
 
224
+ # Mute state a finding can be in.
225
+ module Mute
226
+ # Unspecified.
227
+ MUTE_UNSPECIFIED = 0
228
+
229
+ # Finding has been muted.
230
+ MUTED = 1
231
+
232
+ # Finding has been unmuted.
233
+ UNMUTED = 2
234
+
235
+ # Finding has never been muted/unmuted.
236
+ UNDEFINED = 4
237
+ end
238
+
199
239
  # Represents what kind of Finding it is.
200
240
  module FindingClass
201
241
  # 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
@@ -46,6 +46,9 @@ module Google
46
46
  # Output only. Contains a Folder message for each folder in the assets ancestry.
47
47
  # The first folder is the deepest nested folder, and the last folder is the
48
48
  # folder directly under the Organization.
49
+ # @!attribute [rw] display_name
50
+ # @return [::String]
51
+ # The human readable name of the resource.
49
52
  class Resource
50
53
  include ::Google::Protobuf::MessageExts
51
54
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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]
@@ -790,6 +920,7 @@ module Google
790
920
  # * resource.project_display_name: `=`, `:`
791
921
  # * resource.type: `=`, `:`
792
922
  # * resource.folders.resource_folder: `=`, `:`
923
+ # * resource.display_name: `=`, `:`
793
924
  # @!attribute [rw] order_by
794
925
  # @return [::String]
795
926
  # Expression that defines what fields and order to use for sorting. The
@@ -916,11 +1047,17 @@ module Google
916
1047
  # @!attribute [rw] parent_display_name
917
1048
  # @return [::String]
918
1049
  # The human readable name of resource's parent.
1050
+ # @!attribute [rw] type
1051
+ # @return [::String]
1052
+ # The full resource type of the resource.
919
1053
  # @!attribute [rw] folders
920
1054
  # @return [::Array<::Google::Cloud::SecurityCenter::V1::Folder>]
921
1055
  # Contains a Folder message for each folder in the assets ancestry.
922
1056
  # The first folder is the deepest nested folder, and the last folder is
923
1057
  # the folder directly under the Organization.
1058
+ # @!attribute [rw] display_name
1059
+ # @return [::String]
1060
+ # The human readable name of the resource.
924
1061
  class Resource
925
1062
  include ::Google::Protobuf::MessageExts
926
1063
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -974,6 +1111,23 @@ module Google
974
1111
  extend ::Google::Protobuf::MessageExts::ClassMethods
975
1112
  end
976
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
+
977
1131
  # Request message for running asset discovery for an organization.
978
1132
  # @!attribute [rw] parent
979
1133
  # @return [::String]
@@ -984,6 +1138,20 @@ module Google
984
1138
  extend ::Google::Protobuf::MessageExts::ClassMethods
985
1139
  end
986
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
+
987
1155
  # Request message for updating or creating a finding.
988
1156
  # @!attribute [rw] finding
989
1157
  # @return [::Google::Cloud::SecurityCenter::V1::Finding]
@@ -1007,6 +1175,19 @@ module Google
1007
1175
  extend ::Google::Protobuf::MessageExts::ClassMethods
1008
1176
  end
1009
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
+
1010
1191
  # Request message for updating a notification config.
1011
1192
  # @!attribute [rw] notification_config
1012
1193
  # @return [::Google::Cloud::SecurityCenter::V1::NotificationConfig]
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.9.0
4
+ version: 0.11.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: 2021-10-18 00:00:00.000000000 Z
11
+ date: 2022-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -198,9 +198,11 @@ files:
198
198
  - lib/google/cloud/security_center/v1/security_center/paths.rb
199
199
  - lib/google/cloud/security_center/v1/version.rb
200
200
  - lib/google/cloud/securitycenter/v1/asset_pb.rb
201
+ - lib/google/cloud/securitycenter/v1/external_system_pb.rb
201
202
  - lib/google/cloud/securitycenter/v1/finding_pb.rb
202
203
  - lib/google/cloud/securitycenter/v1/folder_pb.rb
203
204
  - lib/google/cloud/securitycenter/v1/indicator_pb.rb
205
+ - lib/google/cloud/securitycenter/v1/mute_config_pb.rb
204
206
  - lib/google/cloud/securitycenter/v1/notification_config_pb.rb
205
207
  - lib/google/cloud/securitycenter/v1/notification_message_pb.rb
206
208
  - lib/google/cloud/securitycenter/v1/organization_settings_pb.rb
@@ -215,9 +217,11 @@ files:
215
217
  - proto_docs/google/api/field_behavior.rb
216
218
  - proto_docs/google/api/resource.rb
217
219
  - proto_docs/google/cloud/securitycenter/v1/asset.rb
220
+ - proto_docs/google/cloud/securitycenter/v1/external_system.rb
218
221
  - proto_docs/google/cloud/securitycenter/v1/finding.rb
219
222
  - proto_docs/google/cloud/securitycenter/v1/folder.rb
220
223
  - proto_docs/google/cloud/securitycenter/v1/indicator.rb
224
+ - proto_docs/google/cloud/securitycenter/v1/mute_config.rb
221
225
  - proto_docs/google/cloud/securitycenter/v1/notification_config.rb
222
226
  - proto_docs/google/cloud/securitycenter/v1/notification_message.rb
223
227
  - proto_docs/google/cloud/securitycenter/v1/organization_settings.rb
@@ -258,7 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
258
262
  - !ruby/object:Gem::Version
259
263
  version: '0'
260
264
  requirements: []
261
- rubygems_version: 3.2.17
265
+ rubygems_version: 3.3.4
262
266
  signing_key:
263
267
  specification_version: 4
264
268
  summary: API Client library for the Cloud Security Command Center V1 API