google-cloud-security_center-v1 0.11.1 → 0.13.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.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/security_center/v1/security_center/client.rb +530 -27
  4. data/lib/google/cloud/security_center/v1/security_center/paths.rb +52 -0
  5. data/lib/google/cloud/security_center/v1/version.rb +1 -1
  6. data/lib/google/cloud/security_center/v1.rb +2 -0
  7. data/lib/google/cloud/securitycenter/v1/access_pb.rb +31 -0
  8. data/lib/google/cloud/securitycenter/v1/asset_pb.rb +0 -1
  9. data/lib/google/cloud/securitycenter/v1/bigquery_export_pb.rb +32 -0
  10. data/lib/google/cloud/securitycenter/v1/external_system_pb.rb +0 -1
  11. data/lib/google/cloud/securitycenter/v1/finding_pb.rb +5 -1
  12. data/lib/google/cloud/securitycenter/v1/folder_pb.rb +0 -1
  13. data/lib/google/cloud/securitycenter/v1/indicator_pb.rb +0 -1
  14. data/lib/google/cloud/securitycenter/v1/mitre_attack_pb.rb +76 -0
  15. data/lib/google/cloud/securitycenter/v1/mute_config_pb.rb +0 -1
  16. data/lib/google/cloud/securitycenter/v1/notification_config_pb.rb +0 -1
  17. data/lib/google/cloud/securitycenter/v1/notification_message_pb.rb +0 -1
  18. data/lib/google/cloud/securitycenter/v1/organization_settings_pb.rb +0 -1
  19. data/lib/google/cloud/securitycenter/v1/resource_pb.rb +0 -1
  20. data/lib/google/cloud/securitycenter/v1/run_asset_discovery_response_pb.rb +0 -1
  21. data/lib/google/cloud/securitycenter/v1/security_marks_pb.rb +0 -1
  22. data/lib/google/cloud/securitycenter/v1/securitycenter_service_pb.rb +31 -0
  23. data/lib/google/cloud/securitycenter/v1/securitycenter_service_services_pb.rb +14 -0
  24. data/lib/google/cloud/securitycenter/v1/source_pb.rb +0 -1
  25. data/lib/google/cloud/securitycenter/v1/vulnerability_pb.rb +1 -1
  26. data/proto_docs/google/cloud/securitycenter/v1/access.rb +61 -0
  27. data/proto_docs/google/cloud/securitycenter/v1/bigquery_export.rb +92 -0
  28. data/proto_docs/google/cloud/securitycenter/v1/finding.rb +23 -9
  29. data/proto_docs/google/cloud/securitycenter/v1/mitre_attack.rb +194 -0
  30. data/proto_docs/google/cloud/securitycenter/v1/resource.rb +1 -1
  31. data/proto_docs/google/cloud/securitycenter/v1/securitycenter_service.rb +124 -28
  32. data/proto_docs/google/cloud/securitycenter/v1/vulnerability.rb +3 -0
  33. metadata +9 -3
@@ -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 at which the event took place, or when an update to the finding
79
- # occurred. For example, if the finding represents an open firewall it would
80
- # capture the time the detector believes the firewall became open. The
81
- # accuracy is determined by the detector. If the finding were to be resolved
82
- # afterward, this time would reflect when the finding was resolved. Must not
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]
@@ -99,7 +100,8 @@ module Google
99
100
  # @!attribute [rw] mute
100
101
  # @return [::Google::Cloud::SecurityCenter::V1::Finding::Mute]
101
102
  # Indicates the mute state of a finding (either unspecified, muted, unmuted
102
- # or undefined).
103
+ # or undefined). Unlike other attributes of a finding, a finding provider
104
+ # shouldn't set the value of mute.
103
105
  # @!attribute [rw] finding_class
104
106
  # @return [::Google::Cloud::SecurityCenter::V1::Finding::FindingClass]
105
107
  # The class of the finding.
@@ -120,13 +122,22 @@ module Google
120
122
  # Output only. The most recent time this finding was muted or unmuted.
121
123
  # @!attribute [r] external_systems
122
124
  # @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
+ # Output only. Third party SIEM/SOAR fields within SCC, contains external
126
+ # system information and external system finding fields.
127
+ # @!attribute [rw] mitre_attack
128
+ # @return [::Google::Cloud::SecurityCenter::V1::MitreAttack]
129
+ # MITRE ATT&CK tactics and techniques related to this finding.
130
+ # See: https://attack.mitre.org
131
+ # @!attribute [rw] access
132
+ # @return [::Google::Cloud::SecurityCenter::V1::Access]
133
+ # Access details associated to the Finding, such as more information on the
134
+ # caller, which method was accessed, from where, etc.
125
135
  # @!attribute [rw] mute_initiator
126
136
  # @return [::String]
127
137
  # First known as mute_annotation. Records additional information about the
128
138
  # mute operation e.g. mute config that muted the finding, user who muted the
129
- # finding, etc.
139
+ # finding, etc. Unlike other attributes of a finding, a finding provider
140
+ # shouldn't set the value of mute.
130
141
  class Finding
131
142
  include ::Google::Protobuf::MessageExts
132
143
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -254,6 +265,9 @@ module Google
254
265
 
255
266
  # Describes a security observation that is for informational purposes.
256
267
  OBSERVATION = 4
268
+
269
+ # Describes an error that prevents some SCC functionality.
270
+ SCC_ERROR = 5
257
271
  end
258
272
  end
259
273
  end
@@ -0,0 +1,194 @@
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
+ # MITRE ATT&CK tactics and techniques related to this finding.
25
+ # See: https://attack.mitre.org
26
+ # @!attribute [rw] primary_tactic
27
+ # @return [::Google::Cloud::SecurityCenter::V1::MitreAttack::Tactic]
28
+ # The MITRE ATT&CK tactic most closely represented by this finding, if any.
29
+ # @!attribute [rw] primary_techniques
30
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::MitreAttack::Technique>]
31
+ # The MITRE ATT&CK technique most closely represented by this finding, if
32
+ # any. primary_techniques is a repeated field because there are multiple
33
+ # levels of MITRE ATT&CK techniques. If the technique most closely
34
+ # represented by this finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`),
35
+ # both the sub-technique and its parent technique(s) will be listed (e.g.
36
+ # `SCANNING_IP_BLOCKS`, `ACTIVE_SCANNING`).
37
+ # @!attribute [rw] additional_tactics
38
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::MitreAttack::Tactic>]
39
+ # Additional MITRE ATT&CK tactics related to this finding, if any.
40
+ # @!attribute [rw] additional_techniques
41
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::MitreAttack::Technique>]
42
+ # Additional MITRE ATT&CK techniques related to this finding, if any, along
43
+ # with any of their respective parent techniques.
44
+ # @!attribute [rw] version
45
+ # @return [::String]
46
+ # The MITRE ATT&CK version referenced by the above fields. E.g. "8".
47
+ class MitreAttack
48
+ include ::Google::Protobuf::MessageExts
49
+ extend ::Google::Protobuf::MessageExts::ClassMethods
50
+
51
+ # MITRE ATT&CK tactics that can be referenced by SCC findings.
52
+ # See: https://attack.mitre.org/tactics/enterprise/
53
+ module Tactic
54
+ # Unspecified value.
55
+ TACTIC_UNSPECIFIED = 0
56
+
57
+ # TA0043
58
+ RECONNAISSANCE = 1
59
+
60
+ # TA0042
61
+ RESOURCE_DEVELOPMENT = 2
62
+
63
+ # TA0001
64
+ INITIAL_ACCESS = 5
65
+
66
+ # TA0002
67
+ EXECUTION = 3
68
+
69
+ # TA0003
70
+ PERSISTENCE = 6
71
+
72
+ # TA0004
73
+ PRIVILEGE_ESCALATION = 8
74
+
75
+ # TA0005
76
+ DEFENSE_EVASION = 7
77
+
78
+ # TA0006
79
+ CREDENTIAL_ACCESS = 9
80
+
81
+ # TA0007
82
+ DISCOVERY = 10
83
+
84
+ # TA0008
85
+ LATERAL_MOVEMENT = 11
86
+
87
+ # TA0009
88
+ COLLECTION = 12
89
+
90
+ # TA0011
91
+ COMMAND_AND_CONTROL = 4
92
+
93
+ # TA0010
94
+ EXFILTRATION = 13
95
+
96
+ # TA0040
97
+ IMPACT = 14
98
+ end
99
+
100
+ # MITRE ATT&CK techniques that can be referenced by SCC findings.
101
+ # See: https://attack.mitre.org/techniques/enterprise/
102
+ module Technique
103
+ # Unspecified value.
104
+ TECHNIQUE_UNSPECIFIED = 0
105
+
106
+ # T1595
107
+ ACTIVE_SCANNING = 1
108
+
109
+ # T1595.001
110
+ SCANNING_IP_BLOCKS = 2
111
+
112
+ # T1105
113
+ INGRESS_TOOL_TRANSFER = 3
114
+
115
+ # T1106
116
+ NATIVE_API = 4
117
+
118
+ # T1129
119
+ SHARED_MODULES = 5
120
+
121
+ # T1059
122
+ COMMAND_AND_SCRIPTING_INTERPRETER = 6
123
+
124
+ # T1059.004
125
+ UNIX_SHELL = 7
126
+
127
+ # T1496
128
+ RESOURCE_HIJACKING = 8
129
+
130
+ # T1090
131
+ PROXY = 9
132
+
133
+ # T1090.002
134
+ EXTERNAL_PROXY = 10
135
+
136
+ # T1090.003
137
+ MULTI_HOP_PROXY = 11
138
+
139
+ # T1568
140
+ DYNAMIC_RESOLUTION = 12
141
+
142
+ # T1552
143
+ UNSECURED_CREDENTIALS = 13
144
+
145
+ # T1078
146
+ VALID_ACCOUNTS = 14
147
+
148
+ # T1078.003
149
+ LOCAL_ACCOUNTS = 15
150
+
151
+ # T1078.004
152
+ CLOUD_ACCOUNTS = 16
153
+
154
+ # T1498
155
+ NETWORK_DENIAL_OF_SERVICE = 17
156
+
157
+ # T1069
158
+ PERMISSION_GROUPS_DISCOVERY = 18
159
+
160
+ # T1069.003
161
+ CLOUD_GROUPS = 19
162
+
163
+ # T1567
164
+ EXFILTRATION_OVER_WEB_SERVICE = 20
165
+
166
+ # T1567.002
167
+ EXFILTRATION_TO_CLOUD_STORAGE = 21
168
+
169
+ # T1098
170
+ ACCOUNT_MANIPULATION = 22
171
+
172
+ # T1098.004
173
+ SSH_AUTHORIZED_KEYS = 23
174
+
175
+ # T1543
176
+ CREATE_OR_MODIFY_SYSTEM_PROCESS = 24
177
+
178
+ # T1539
179
+ STEAL_WEB_SESSION_COOKIE = 25
180
+
181
+ # T1578
182
+ MODIFY_CLOUD_COMPUTE_INFRASTRUCTURE = 26
183
+
184
+ # T1190
185
+ EXPLOIT_PUBLIC_FACING_APPLICATION = 27
186
+
187
+ # T1556
188
+ MODIFY_AUTHENTICATION_PROCESS = 28
189
+ end
190
+ end
191
+ end
192
+ end
193
+ end
194
+ 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 human readable name of project that the resource belongs to.
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.
@@ -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 is
33
- # "organizations/[organization_id]", "folders/[folder_id]",
32
+ # Required. The parent, at which bulk action needs to be applied. Its format
33
+ # is "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 ignored as
85
- # they are both output only fields on this resource.
84
+ # Required. The Finding being created. The name and security_marks will be
85
+ # ignored as 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 is
115
- # "organizations/[organization_id]".
114
+ # Required. Resource name of the new notification config's parent. Its format
115
+ # is "organizations/[organization_id]".
116
116
  # @!attribute [rw] config_id
117
117
  # @return [::String]
118
118
  # Required.
@@ -121,8 +121,9 @@ 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 account
125
- # will be ignored as they are both output only fields on this resource.
124
+ # Required. The notification config being created. The name and the service
125
+ # account will be ignored as they are both output only fields on this
126
+ # resource.
126
127
  class CreateNotificationConfigRequest
127
128
  include ::Google::Protobuf::MessageExts
128
129
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -135,8 +136,8 @@ module Google
135
136
  # "organizations/[organization_id]".
136
137
  # @!attribute [rw] source
137
138
  # @return [::Google::Cloud::SecurityCenter::V1::Source]
138
- # Required. The Source being created, only the display_name and description will be
139
- # used. All other fields will be ignored.
139
+ # Required. The Source being created, only the display_name and description
140
+ # will be used. All other fields will be ignored.
140
141
  class CreateSourceRequest
141
142
  include ::Google::Protobuf::MessageExts
142
143
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -164,6 +165,18 @@ module Google
164
165
  extend ::Google::Protobuf::MessageExts::ClassMethods
165
166
  end
166
167
 
168
+ # Request message for retrieving a big query export.
169
+ # @!attribute [rw] name
170
+ # @return [::String]
171
+ # Required. Name of the big query export to retrieve. Its format is
172
+ # organizations/\\{organization}/bigQueryExports/\\{export_id},
173
+ # folders/\\{folder}/bigQueryExports/\\{export_id}, or
174
+ # projects/\\{project}/bigQueryExports/\\{export_id}
175
+ class GetBigQueryExportRequest
176
+ include ::Google::Protobuf::MessageExts
177
+ extend ::Google::Protobuf::MessageExts::ClassMethods
178
+ end
179
+
167
180
  # Request message for retrieving a mute config.
168
181
  # @!attribute [rw] name
169
182
  # @return [::String]
@@ -189,8 +202,8 @@ module Google
189
202
  # Request message for getting organization settings.
190
203
  # @!attribute [rw] name
191
204
  # @return [::String]
192
- # Required. Name of the organization to get organization settings for. Its format is
193
- # "organizations/[organization_id]/organizationSettings".
205
+ # Required. Name of the organization to get organization settings for. Its
206
+ # format is "organizations/[organization_id]/organizationSettings".
194
207
  class GetOrganizationSettingsRequest
195
208
  include ::Google::Protobuf::MessageExts
196
209
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -278,9 +291,9 @@ module Google
278
291
  # property not existing: `-resource_properties.my_property : ""`
279
292
  # @!attribute [rw] group_by
280
293
  # @return [::String]
281
- # Required. Expression that defines what assets fields to use for grouping. The string
282
- # value should follow SQL syntax: comma separated list of fields. For
283
- # example:
294
+ # Required. Expression that defines what assets fields to use for grouping.
295
+ # The string value should follow SQL syntax: comma separated list of fields.
296
+ # For example:
284
297
  # "security_center_properties.resource_project,security_center_properties.project".
285
298
  #
286
299
  # The following fields are supported when compare_duration is not set:
@@ -439,9 +452,9 @@ module Google
439
452
  # * resource.type: `=`, `:`
440
453
  # @!attribute [rw] group_by
441
454
  # @return [::String]
442
- # Required. Expression that defines what assets fields to use for grouping (including
443
- # `state_change`). The string value should follow SQL syntax: comma separated
444
- # list of fields. For example: "parent,resource_name".
455
+ # Required. Expression that defines what assets fields to use for grouping
456
+ # (including `state_change`). The string value should follow SQL syntax:
457
+ # comma separated list of fields. For example: "parent,resource_name".
445
458
  #
446
459
  # The following fields are supported:
447
460
  #
@@ -554,8 +567,8 @@ module Google
554
567
  # folder or project.
555
568
  # @!attribute [rw] parent
556
569
  # @return [::String]
557
- # Required. The parent, which owns the collection of mute configs. Its format is
558
- # "organizations/[organization_id]", "folders/[folder_id]",
570
+ # Required. The parent, which owns the collection of mute configs. Its format
571
+ # is "organizations/[organization_id]", "folders/[folder_id]",
559
572
  # "projects/[project_id]".
560
573
  # @!attribute [rw] page_size
561
574
  # @return [::Integer]
@@ -623,8 +636,8 @@ module Google
623
636
  # Request message for listing sources.
624
637
  # @!attribute [rw] parent
625
638
  # @return [::String]
626
- # Required. Resource name of the parent of sources to list. Its format should be
627
- # "organizations/[organization_id], folders/[folder_id], or
639
+ # Required. Resource name of the parent of sources to list. Its format should
640
+ # be "organizations/[organization_id], folders/[folder_id], or
628
641
  # projects/[project_id]".
629
642
  # @!attribute [rw] page_token
630
643
  # @return [::String]
@@ -1040,7 +1053,7 @@ module Google
1040
1053
  # The full resource name of project that the resource belongs to.
1041
1054
  # @!attribute [rw] project_display_name
1042
1055
  # @return [::String]
1043
- # The human readable name of project that the resource belongs to.
1056
+ # The project id that the resource belongs to.
1044
1057
  # @!attribute [rw] parent_name
1045
1058
  # @return [::String]
1046
1059
  # The full resource name of resource's parent.
@@ -1131,8 +1144,8 @@ module Google
1131
1144
  # Request message for running asset discovery for an organization.
1132
1145
  # @!attribute [rw] parent
1133
1146
  # @return [::String]
1134
- # Required. Name of the organization to run asset discovery for. Its format is
1135
- # "organizations/[organization_id]".
1147
+ # Required. Name of the organization to run asset discovery for. Its format
1148
+ # is "organizations/[organization_id]".
1136
1149
  class RunAssetDiscoveryRequest
1137
1150
  include ::Google::Protobuf::MessageExts
1138
1151
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1155,8 +1168,8 @@ module Google
1155
1168
  # Request message for updating or creating a finding.
1156
1169
  # @!attribute [rw] finding
1157
1170
  # @return [::Google::Cloud::SecurityCenter::V1::Finding]
1158
- # Required. The finding resource to update or create if it does not already exist.
1159
- # parent, security_marks, and update_time will be ignored.
1171
+ # Required. The finding resource to update or create if it does not already
1172
+ # exist. parent, security_marks, and update_time will be ignored.
1160
1173
  #
1161
1174
  # In the case of creation, the finding id portion of the name must be
1162
1175
  # alphanumeric and less than or equal to 32 characters and greater than 0
@@ -1245,11 +1258,94 @@ module Google
1245
1258
  # @return [::Google::Protobuf::Timestamp]
1246
1259
  # The time at which the updated SecurityMarks take effect.
1247
1260
  # If not set uses current server time. Updates will be applied to the
1248
- # SecurityMarks that are active immediately preceding this time.
1261
+ # SecurityMarks that are active immediately preceding this time. Must be
1262
+ # smaller or equal to the server time.
1249
1263
  class UpdateSecurityMarksRequest
1250
1264
  include ::Google::Protobuf::MessageExts
1251
1265
  extend ::Google::Protobuf::MessageExts::ClassMethods
1252
1266
  end
1267
+
1268
+ # Request message for creating a big query export.
1269
+ # @!attribute [rw] parent
1270
+ # @return [::String]
1271
+ # Required. Resource name of the new big query export's parent. Its format is
1272
+ # "organizations/[organization_id]", "folders/[folder_id]", or
1273
+ # "projects/[project_id]".
1274
+ # @!attribute [rw] big_query_export
1275
+ # @return [::Google::Cloud::SecurityCenter::V1::BigQueryExport]
1276
+ # Required. The big query export being created.
1277
+ # @!attribute [rw] big_query_export_id
1278
+ # @return [::String]
1279
+ # Required. Unique identifier provided by the client within the parent scope.
1280
+ # It must consist of lower case letters, numbers, and hyphen, with the first
1281
+ # character a letter, the last a letter or a number, and a 63 character
1282
+ # maximum.
1283
+ class CreateBigQueryExportRequest
1284
+ include ::Google::Protobuf::MessageExts
1285
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1286
+ end
1287
+
1288
+ # Request message for updating a BigQuery export.
1289
+ # @!attribute [rw] big_query_export
1290
+ # @return [::Google::Cloud::SecurityCenter::V1::BigQueryExport]
1291
+ # Required. The BigQuery export being updated.
1292
+ # @!attribute [rw] update_mask
1293
+ # @return [::Google::Protobuf::FieldMask]
1294
+ # The list of fields to be updated.
1295
+ # If empty all mutable fields will be updated.
1296
+ class UpdateBigQueryExportRequest
1297
+ include ::Google::Protobuf::MessageExts
1298
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1299
+ end
1300
+
1301
+ # Request message for listing BigQuery exports at a given scope e.g.
1302
+ # organization, folder or project.
1303
+ # @!attribute [rw] parent
1304
+ # @return [::String]
1305
+ # Required. The parent, which owns the collection of BigQuery exports. Its
1306
+ # format is "organizations/[organization_id]", "folders/[folder_id]",
1307
+ # "projects/[project_id]".
1308
+ # @!attribute [rw] page_size
1309
+ # @return [::Integer]
1310
+ # The maximum number of configs to return. The service may return fewer than
1311
+ # this value.
1312
+ # If unspecified, at most 10 configs will be returned.
1313
+ # The maximum value is 1000; values above 1000 will be coerced to 1000.
1314
+ # @!attribute [rw] page_token
1315
+ # @return [::String]
1316
+ # A page token, received from a previous `ListBigQueryExports` call.
1317
+ # Provide this to retrieve the subsequent page.
1318
+ # When paginating, all other parameters provided to `ListBigQueryExports`
1319
+ # must match the call that provided the page token.
1320
+ class ListBigQueryExportsRequest
1321
+ include ::Google::Protobuf::MessageExts
1322
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1323
+ end
1324
+
1325
+ # Response message for listing BigQuery exports.
1326
+ # @!attribute [rw] big_query_exports
1327
+ # @return [::Array<::Google::Cloud::SecurityCenter::V1::BigQueryExport>]
1328
+ # The BigQuery exports from the specified parent.
1329
+ # @!attribute [rw] next_page_token
1330
+ # @return [::String]
1331
+ # A token, which can be sent as `page_token` to retrieve the next page.
1332
+ # If this field is omitted, there are no subsequent pages.
1333
+ class ListBigQueryExportsResponse
1334
+ include ::Google::Protobuf::MessageExts
1335
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1336
+ end
1337
+
1338
+ # Request message for deleting a big query export.
1339
+ # @!attribute [rw] name
1340
+ # @return [::String]
1341
+ # Required. Name of the big query export to delete. Its format is
1342
+ # organizations/\\{organization}/bigQueryExports/\\{export_id},
1343
+ # folders/\\{folder}/bigQueryExports/\\{export_id}, or
1344
+ # projects/\\{project}/bigQueryExports/\\{export_id}
1345
+ class DeleteBigQueryExportRequest
1346
+ include ::Google::Protobuf::MessageExts
1347
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1348
+ end
1253
1349
  end
1254
1350
  end
1255
1351
  end
@@ -44,6 +44,9 @@ module Google
44
44
  # @return [::Google::Cloud::SecurityCenter::V1::Cvssv3]
45
45
  # Describe Common Vulnerability Scoring System specified at
46
46
  # https://www.first.org/cvss/v3.1/specification-document
47
+ # @!attribute [rw] upstream_fix_available
48
+ # @return [::Boolean]
49
+ # Whether upstream fix is available for the CVE.
47
50
  class Cve
48
51
  include ::Google::Protobuf::MessageExts
49
52
  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.11.1
4
+ version: 0.13.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-01-11 00:00:00.000000000 Z
11
+ date: 2022-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -197,11 +197,14 @@ 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/bigquery_export_pb.rb
201
203
  - lib/google/cloud/securitycenter/v1/external_system_pb.rb
202
204
  - lib/google/cloud/securitycenter/v1/finding_pb.rb
203
205
  - lib/google/cloud/securitycenter/v1/folder_pb.rb
204
206
  - lib/google/cloud/securitycenter/v1/indicator_pb.rb
207
+ - lib/google/cloud/securitycenter/v1/mitre_attack_pb.rb
205
208
  - lib/google/cloud/securitycenter/v1/mute_config_pb.rb
206
209
  - lib/google/cloud/securitycenter/v1/notification_config_pb.rb
207
210
  - lib/google/cloud/securitycenter/v1/notification_message_pb.rb
@@ -216,11 +219,14 @@ files:
216
219
  - proto_docs/README.md
217
220
  - proto_docs/google/api/field_behavior.rb
218
221
  - proto_docs/google/api/resource.rb
222
+ - proto_docs/google/cloud/securitycenter/v1/access.rb
219
223
  - proto_docs/google/cloud/securitycenter/v1/asset.rb
224
+ - proto_docs/google/cloud/securitycenter/v1/bigquery_export.rb
220
225
  - proto_docs/google/cloud/securitycenter/v1/external_system.rb
221
226
  - proto_docs/google/cloud/securitycenter/v1/finding.rb
222
227
  - proto_docs/google/cloud/securitycenter/v1/folder.rb
223
228
  - proto_docs/google/cloud/securitycenter/v1/indicator.rb
229
+ - proto_docs/google/cloud/securitycenter/v1/mitre_attack.rb
224
230
  - proto_docs/google/cloud/securitycenter/v1/mute_config.rb
225
231
  - proto_docs/google/cloud/securitycenter/v1/notification_config.rb
226
232
  - proto_docs/google/cloud/securitycenter/v1/notification_message.rb
@@ -262,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
262
268
  - !ruby/object:Gem::Version
263
269
  version: '0'
264
270
  requirements: []
265
- rubygems_version: 3.3.4
271
+ rubygems_version: 3.3.5
266
272
  signing_key:
267
273
  specification_version: 4
268
274
  summary: API Client library for the Cloud Security Command Center V1 API