google-cloud-cloud_security_compliance-v1 0.1.1 → 0.2.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 (52) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +4 -4
  3. data/README.md +4 -4
  4. data/lib/google/cloud/cloud_security_compliance/v1/audit/client.rb +859 -0
  5. data/lib/google/cloud/cloud_security_compliance/v1/audit/credentials.rb +47 -0
  6. data/lib/google/cloud/cloud_security_compliance/v1/audit/operations.rb +841 -0
  7. data/lib/google/cloud/cloud_security_compliance/v1/audit/paths.rb +110 -0
  8. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/client.rb +796 -0
  9. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/operations.rb +925 -0
  10. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest/service_stub.rb +387 -0
  11. data/lib/google/cloud/cloud_security_compliance/v1/audit/rest.rb +54 -0
  12. data/lib/google/cloud/cloud_security_compliance/v1/audit.rb +56 -0
  13. data/lib/google/cloud/cloud_security_compliance/v1/bindings_override.rb +1 -1
  14. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/client.rb +608 -0
  15. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/credentials.rb +47 -0
  16. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/paths.rb +72 -0
  17. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest/client.rb +559 -0
  18. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest/service_stub.rb +234 -0
  19. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest.rb +54 -0
  20. data/lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service.rb +56 -0
  21. data/lib/google/cloud/cloud_security_compliance/v1/config/client.rb +113 -99
  22. data/lib/google/cloud/cloud_security_compliance/v1/config/rest/client.rb +113 -99
  23. data/lib/google/cloud/cloud_security_compliance/v1/deployment/client.rb +60 -38
  24. data/lib/google/cloud/cloud_security_compliance/v1/deployment/rest/client.rb +60 -38
  25. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/client.rb +940 -0
  26. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/credentials.rb +47 -0
  27. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/paths.rb +142 -0
  28. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest/client.rb +870 -0
  29. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest/service_stub.rb +456 -0
  30. data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest.rb +53 -0
  31. data/lib/google/cloud/cloud_security_compliance/v1/monitoring.rb +55 -0
  32. data/lib/google/cloud/cloud_security_compliance/v1/rest.rb +4 -1
  33. data/lib/google/cloud/cloud_security_compliance/v1/version.rb +1 -1
  34. data/lib/google/cloud/cloud_security_compliance/v1.rb +5 -2
  35. data/lib/google/cloud/cloudsecuritycompliance/v1/audit_pb.rb +70 -0
  36. data/lib/google/cloud/cloudsecuritycompliance/v1/audit_services_pb.rb +51 -0
  37. data/lib/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service_pb.rb +54 -0
  38. data/lib/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service_services_pb.rb +54 -0
  39. data/lib/google/cloud/cloudsecuritycompliance/v1/common_pb.rb +4 -1
  40. data/lib/google/cloud/cloudsecuritycompliance/v1/config_pb.rb +1 -1
  41. data/lib/google/cloud/cloudsecuritycompliance/v1/config_services_pb.rb +58 -55
  42. data/lib/google/cloud/cloudsecuritycompliance/v1/deployment_services_pb.rb +9 -6
  43. data/lib/google/cloud/cloudsecuritycompliance/v1/monitoring_pb.rb +74 -0
  44. data/lib/google/cloud/cloudsecuritycompliance/v1/monitoring_services_pb.rb +53 -0
  45. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/audit.rb +413 -0
  46. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service.rb +108 -0
  47. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/common.rb +210 -181
  48. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/config.rb +69 -57
  49. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/deployment.rb +180 -139
  50. data/proto_docs/google/cloud/cloudsecuritycompliance/v1/monitoring.rb +527 -0
  51. data/proto_docs/google/type/interval.rb +45 -0
  52. metadata +34 -1
@@ -0,0 +1,527 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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 CloudSecurityCompliance
23
+ module V1
24
+ # The request message for
25
+ # {::Google::Cloud::CloudSecurityCompliance::V1::ListFrameworkComplianceSummariesRequest ListFrameworkComplianceSummariesRequest}.
26
+ # @!attribute [rw] parent
27
+ # @return [::String]
28
+ # Required. The parent scope for the framework compliance summary.
29
+ # @!attribute [rw] page_size
30
+ # @return [::Integer]
31
+ # Optional. The requested page size. The server might return fewer items than
32
+ # requested. If unspecified, the server picks an appropriate default.
33
+ # @!attribute [rw] page_token
34
+ # @return [::String]
35
+ # Optional. A token that identifies the page of results that the server
36
+ # should return.
37
+ # @!attribute [rw] filter
38
+ # @return [::String]
39
+ # Optional. The filtering results.
40
+ class ListFrameworkComplianceSummariesRequest
41
+ include ::Google::Protobuf::MessageExts
42
+ extend ::Google::Protobuf::MessageExts::ClassMethods
43
+ end
44
+
45
+ # The response message for
46
+ # {::Google::Cloud::CloudSecurityCompliance::V1::ListFrameworkComplianceSummariesResponse ListFrameworkComplianceSummariesResponse}.
47
+ # @!attribute [rw] framework_compliance_summaries
48
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::FrameworkComplianceSummary>]
49
+ # The list of framework compliance summaries.
50
+ # @!attribute [r] next_page_token
51
+ # @return [::String]
52
+ # Output only. The token to retrieve the next page of results.
53
+ class ListFrameworkComplianceSummariesResponse
54
+ include ::Google::Protobuf::MessageExts
55
+ extend ::Google::Protobuf::MessageExts::ClassMethods
56
+ end
57
+
58
+ # The response message for [GetFrameworkComplianceReport][].
59
+ # @!attribute [rw] framework
60
+ # @return [::String]
61
+ # The name of the framework.
62
+ # @!attribute [rw] framework_description
63
+ # @return [::String]
64
+ # The description of the framework.
65
+ # @!attribute [r] update_time
66
+ # @return [::Google::Protobuf::Timestamp]
67
+ # Output only. The last updated time of the report.
68
+ # @!attribute [rw] control_assessment_details
69
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::ControlAssessmentDetails]
70
+ # The control assessment details of the framework.
71
+ # @!attribute [rw] framework_type
72
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::Framework::FrameworkType]
73
+ # The type of framework.
74
+ # @!attribute [rw] supported_cloud_providers
75
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudProvider>]
76
+ # The list of cloud providers supported by the framework.
77
+ # @!attribute [rw] framework_categories
78
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::FrameworkCategory>]
79
+ # The list of framework categories supported.
80
+ # @!attribute [rw] framework_display_name
81
+ # @return [::String]
82
+ # Optional. The display name for the framework.
83
+ # @!attribute [rw] name
84
+ # @return [::String]
85
+ # Identifier. The name of the framework compliance report.
86
+ # @!attribute [rw] major_revision_id
87
+ # @return [::Integer]
88
+ # The latest major revision ID of the framework.
89
+ # @!attribute [rw] minor_revision_id
90
+ # @return [::Integer]
91
+ # The latest minor revision ID of the latest major revision of the framework.
92
+ # @!attribute [rw] target_resource_details
93
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceDetails>]
94
+ # The target resource details of the framework.
95
+ class FrameworkComplianceReport
96
+ include ::Google::Protobuf::MessageExts
97
+ extend ::Google::Protobuf::MessageExts::ClassMethods
98
+ end
99
+
100
+ # The request message for [FetchFrameworkComplianceReport][].
101
+ # @!attribute [rw] name
102
+ # @return [::String]
103
+ # Required. The name of the framework compliance report to retrieve.
104
+ # @!attribute [rw] end_time
105
+ # @return [::Google::Protobuf::Timestamp]
106
+ # Optional. The end time of the report.
107
+ class FetchFrameworkComplianceReportRequest
108
+ include ::Google::Protobuf::MessageExts
109
+ extend ::Google::Protobuf::MessageExts::ClassMethods
110
+ end
111
+
112
+ # The request message for [ListFindingSummaries][].
113
+ # @!attribute [rw] parent
114
+ # @return [::String]
115
+ # Required. The parent scope for the framework overview page.
116
+ # @!attribute [rw] page_size
117
+ # @return [::Integer]
118
+ # Optional. The requested page size. The server might return fewer items than
119
+ # requested. If unspecified, the server picks an appropriate default.
120
+ # @!attribute [rw] page_token
121
+ # @return [::String]
122
+ # Optional. A token that identifies the page of results that the server
123
+ # should return.
124
+ # @!attribute [rw] filter
125
+ # @return [::String]
126
+ # Optional. The filtering results.
127
+ # @!attribute [rw] end_time
128
+ # @deprecated This field is deprecated and may be removed in the next major version update.
129
+ # @return [::Google::Protobuf::Timestamp]
130
+ # Optional. The end time of the finding summary.
131
+ class ListFindingSummariesRequest
132
+ include ::Google::Protobuf::MessageExts
133
+ extend ::Google::Protobuf::MessageExts::ClassMethods
134
+ end
135
+
136
+ # The response message for [ListFindingSummaries][].
137
+ # @!attribute [rw] finding_summaries
138
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::FindingSummary>]
139
+ # List of finding summary by category.
140
+ # @!attribute [r] next_page_token
141
+ # @return [::String]
142
+ # Output only. The token to retrieve the next page of results.
143
+ class ListFindingSummariesResponse
144
+ include ::Google::Protobuf::MessageExts
145
+ extend ::Google::Protobuf::MessageExts::ClassMethods
146
+ end
147
+
148
+ # The request message for [ListControlComplianceSummaries][].
149
+ # @!attribute [rw] parent
150
+ # @return [::String]
151
+ # Required. The parent scope for the framework overview page.
152
+ # @!attribute [rw] end_time
153
+ # @deprecated This field is deprecated and may be removed in the next major version update.
154
+ # @return [::Google::Protobuf::Timestamp]
155
+ # Optional. The end time of the control compliance summary.
156
+ # @!attribute [rw] page_size
157
+ # @return [::Integer]
158
+ # Optional. The requested page size. The server might return fewer items than
159
+ # requested. If unspecified, the server picks an appropriate default.
160
+ # @!attribute [rw] page_token
161
+ # @return [::String]
162
+ # Optional. A token that identifies the page of results that the server
163
+ # should return.
164
+ # @!attribute [rw] filter
165
+ # @return [::String]
166
+ # Optional. The filtering results.
167
+ class ListControlComplianceSummariesRequest
168
+ include ::Google::Protobuf::MessageExts
169
+ extend ::Google::Protobuf::MessageExts::ClassMethods
170
+ end
171
+
172
+ # The response message for [ListControlComplianceSummaries][].
173
+ # @!attribute [rw] control_compliance_summaries
174
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::ControlComplianceSummary>]
175
+ # The list of control compliance details.
176
+ # @!attribute [r] next_page_token
177
+ # @return [::String]
178
+ # Output only. The token to retrieve the next page of results.
179
+ class ListControlComplianceSummariesResponse
180
+ include ::Google::Protobuf::MessageExts
181
+ extend ::Google::Protobuf::MessageExts::ClassMethods
182
+ end
183
+
184
+ # The request message for [AggregateFrameworkComplianceReport][].
185
+ # @!attribute [rw] name
186
+ # @return [::String]
187
+ # Required. The name of the aggregated compliance report over time to
188
+ # retrieve.
189
+ #
190
+ # The supported format is:
191
+ # `organizations/{organization_id}/locations/{location}/frameworkComplianceReports/{framework_compliance_report}`
192
+ # @!attribute [rw] interval
193
+ # @return [::Google::Type::Interval]
194
+ # Optional. The start and end time range for the aggregated compliance
195
+ # report.
196
+ # @!attribute [rw] filter
197
+ # @return [::String]
198
+ # Optional. The filtering results.
199
+ class AggregateFrameworkComplianceReportRequest
200
+ include ::Google::Protobuf::MessageExts
201
+ extend ::Google::Protobuf::MessageExts::ClassMethods
202
+ end
203
+
204
+ # The response message for [AggregateFrameworkComplianceReport][].
205
+ # @!attribute [rw] aggregated_compliance_reports
206
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::AggregatedComplianceReport>]
207
+ # The list of aggregated compliance reports.
208
+ class AggregateFrameworkComplianceReportResponse
209
+ include ::Google::Protobuf::MessageExts
210
+ extend ::Google::Protobuf::MessageExts::ClassMethods
211
+ end
212
+
213
+ # The details for a control assessment.
214
+ # @!attribute [rw] passing_controls
215
+ # @return [::Integer]
216
+ # The number of controls that are passing or not assessed.
217
+ # @!attribute [rw] failing_controls
218
+ # @return [::Integer]
219
+ # The number of controls that are failing.
220
+ # @!attribute [rw] assessed_passing_controls
221
+ # @return [::Integer]
222
+ # The number of controls that were assessed and are passing.
223
+ # @!attribute [rw] not_assessed_controls
224
+ # @return [::Integer]
225
+ # The number of controls that aren't assessed because they require manual
226
+ # review.
227
+ class ControlAssessmentDetails
228
+ include ::Google::Protobuf::MessageExts
229
+ extend ::Google::Protobuf::MessageExts::ClassMethods
230
+ end
231
+
232
+ # The details for a framework compliance summary.
233
+ # @!attribute [rw] framework
234
+ # @return [::String]
235
+ # The name of the framework.
236
+ # @!attribute [rw] control_assessment_details
237
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::ControlAssessmentDetails]
238
+ # The control assessment details of the framework.
239
+ # @!attribute [rw] framework_type
240
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::Framework::FrameworkType]
241
+ # The type of framework.
242
+ # @!attribute [rw] supported_cloud_providers
243
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudProvider>]
244
+ # The list of cloud providers supported by the framework.
245
+ # @!attribute [rw] framework_categories
246
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::FrameworkCategory>]
247
+ # The list of framework categories supported by the framework.
248
+ # @!attribute [rw] framework_display_name
249
+ # @return [::String]
250
+ # Optional. The display name for the framework.
251
+ # @!attribute [rw] name
252
+ # @return [::String]
253
+ # Identifier. The name of the framework compliance summary.
254
+ # @!attribute [rw] major_revision_id
255
+ # @return [::Integer]
256
+ # The major revision ID of the framework.
257
+ # @!attribute [rw] minor_revision_id
258
+ # @return [::Integer]
259
+ # The minor revision ID of the framework.
260
+ # @!attribute [rw] target_resource_details
261
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceDetails>]
262
+ # The target resource details for the framework.
263
+ class FrameworkComplianceSummary
264
+ include ::Google::Protobuf::MessageExts
265
+ extend ::Google::Protobuf::MessageExts::ClassMethods
266
+ end
267
+
268
+ # The details for a finding.
269
+ # @!attribute [rw] finding_category
270
+ # @return [::String]
271
+ # The category of the finding.
272
+ # @!attribute [rw] finding_class
273
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::FindingClass]
274
+ # The class of the finding.
275
+ # @!attribute [rw] severity
276
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::Severity]
277
+ # The severity of the finding.
278
+ # @!attribute [rw] finding_count
279
+ # @return [::Integer]
280
+ # The count of the finding.
281
+ # @!attribute [r] update_time
282
+ # @return [::Google::Protobuf::Timestamp]
283
+ # Output only. The last updated time of the finding.
284
+ # @!attribute [rw] related_frameworks
285
+ # @return [::Array<::String>]
286
+ # Optional. The list of compliance frameworks that the finding belongs to.
287
+ # @!attribute [rw] name
288
+ # @return [::String]
289
+ # Identifier. The name of the finding summary.
290
+ class FindingSummary
291
+ include ::Google::Protobuf::MessageExts
292
+ extend ::Google::Protobuf::MessageExts::ClassMethods
293
+ end
294
+
295
+ # The details for control compliance.
296
+ # @!attribute [rw] control
297
+ # @return [::String]
298
+ # The name of the control.
299
+ # @!attribute [rw] display_name
300
+ # @return [::String]
301
+ # The display name of the control.
302
+ # @!attribute [rw] description
303
+ # @return [::String]
304
+ # The description of the control.
305
+ # @!attribute [r] overall_evaluation_state
306
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::EvaluationState]
307
+ # Output only. The overall evaluation status of the control.
308
+ # @!attribute [rw] total_findings_count
309
+ # @return [::Integer]
310
+ # The total number of findings for the control.
311
+ # @!attribute [rw] compliance_frameworks
312
+ # @return [::Array<::String>]
313
+ # The list of compliance frameworks that the control belongs to.
314
+ # @!attribute [rw] similar_controls
315
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::SimilarControls>]
316
+ # The list of similar controls.
317
+ # @!attribute [rw] cloud_control_reports
318
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::CloudControlReport>]
319
+ # The list of cloud control reports.
320
+ # @!attribute [rw] control_responsibility_type
321
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::RegulatoryControlResponsibilityType]
322
+ # The responsibility type for the control.
323
+ # @!attribute [rw] is_fake_control
324
+ # @return [::Boolean]
325
+ # Whether the control is a fake control. Fake controls are created
326
+ # and mapped to cloud controls that don't belong to a control group.
327
+ # @!attribute [rw] name
328
+ # @return [::String]
329
+ # Identifier. The name of the control compliance summary.
330
+ class ControlComplianceSummary
331
+ include ::Google::Protobuf::MessageExts
332
+ extend ::Google::Protobuf::MessageExts::ClassMethods
333
+ end
334
+
335
+ # The cloud control report.
336
+ # @!attribute [rw] manual_cloud_control_assessment_details
337
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::ManualCloudControlAssessmentDetails]
338
+ # The details of a manual cloud control assessment.
339
+ #
340
+ # Note: The following fields are mutually exclusive: `manual_cloud_control_assessment_details`, `cloud_control_assessment_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
341
+ # @!attribute [rw] cloud_control_assessment_details
342
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::CloudControlAssessmentDetails]
343
+ # The details of a cloud control assessment.
344
+ #
345
+ # Note: The following fields are mutually exclusive: `cloud_control_assessment_details`, `manual_cloud_control_assessment_details`. If a field in that set is populated, all other fields in the set will automatically be cleared.
346
+ # @!attribute [rw] cloud_control
347
+ # @return [::String]
348
+ # The name of the cloud control.
349
+ # @!attribute [rw] display_name
350
+ # @return [::String]
351
+ # The display name of the cloud control.
352
+ # @!attribute [rw] description
353
+ # @return [::String]
354
+ # The description of the cloud control.
355
+ # @!attribute [rw] categories
356
+ # @return [::Array<::String>]
357
+ # The list of categories for the cloud control.
358
+ # @!attribute [rw] similar_controls
359
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::SimilarControls>]
360
+ # The list of similar controls.
361
+ # @!attribute [rw] cloud_control_type
362
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::CloudControl::Type]
363
+ # The type of the cloud control.
364
+ # @!attribute [rw] finding_category
365
+ # @return [::String]
366
+ # The category of the finding.
367
+ # @!attribute [rw] rules
368
+ # @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::Rule>]
369
+ # The list of rules that correspond to the cloud control.
370
+ # @!attribute [rw] finding_severity
371
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::Severity]
372
+ # The severity of the finding.
373
+ # @!attribute [rw] enforcement_mode
374
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::EnforcementMode]
375
+ # The enforcement mode of the cloud control.
376
+ # @!attribute [rw] cloud_control_deployment
377
+ # @return [::String]
378
+ # The name of the cloud control deployment.
379
+ # @!attribute [rw] major_revision_id
380
+ # @return [::Integer]
381
+ # The major revision ID of the cloud control.
382
+ # @!attribute [rw] minor_revision_id
383
+ # @return [::Integer]
384
+ # The minor revision ID of the cloud control.
385
+ # @!attribute [rw] framework_major_revision_ids
386
+ # @return [::Array<::Integer>]
387
+ # The major revision IDs of the frameworks that the cloud control belongs to.
388
+ class CloudControlReport
389
+ include ::Google::Protobuf::MessageExts
390
+ extend ::Google::Protobuf::MessageExts::ClassMethods
391
+ end
392
+
393
+ # The details for a manual cloud control assessment.
394
+ # @!attribute [rw] manual_cloud_control_guide
395
+ # @return [::Array<::String>]
396
+ # The guide for assessing a cloud control manually.
397
+ class ManualCloudControlAssessmentDetails
398
+ include ::Google::Protobuf::MessageExts
399
+ extend ::Google::Protobuf::MessageExts::ClassMethods
400
+ end
401
+
402
+ # The cloud control assessment details for non-manual cloud controls.
403
+ # @!attribute [rw] findings_count
404
+ # @return [::Integer]
405
+ # The number of findings for the cloud control.
406
+ # @!attribute [r] evaluation_state
407
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::EvaluationState]
408
+ # Output only. The evaluation status of the cloud control.
409
+ class CloudControlAssessmentDetails
410
+ include ::Google::Protobuf::MessageExts
411
+ extend ::Google::Protobuf::MessageExts::ClassMethods
412
+ end
413
+
414
+ # The similar controls.
415
+ # @!attribute [rw] framework
416
+ # @return [::String]
417
+ # The name of the framework.
418
+ # @!attribute [rw] control_id
419
+ # @return [::String]
420
+ # The ID of the control.
421
+ class SimilarControls
422
+ include ::Google::Protobuf::MessageExts
423
+ extend ::Google::Protobuf::MessageExts::ClassMethods
424
+ end
425
+
426
+ # The aggregated compliance report.
427
+ # @!attribute [rw] control_assessment_details
428
+ # @return [::Google::Cloud::CloudSecurityCompliance::V1::ControlAssessmentDetails]
429
+ # The control assessment details of the framework.
430
+ # @!attribute [rw] report_time
431
+ # @return [::Google::Protobuf::Timestamp]
432
+ # The report time of the aggregated compliance report.
433
+ class AggregatedComplianceReport
434
+ include ::Google::Protobuf::MessageExts
435
+ extend ::Google::Protobuf::MessageExts::ClassMethods
436
+ end
437
+
438
+ # The details for a target resource.
439
+ # @!attribute [rw] framework_deployment
440
+ # @return [::String]
441
+ # The framework deployment name for the target resource.
442
+ #
443
+ # For example,
444
+ # `organizations/{organization_id}/locations/{location}/frameworkDeployments/{framework_deployment_id}`
445
+ # @!attribute [rw] target_resource_display_name
446
+ # @return [::String]
447
+ # The display name of the target resource. For example, `google.com`,
448
+ # `staging-project`, or `development-folder`.
449
+ # @!attribute [rw] target_resource
450
+ # @return [::String]
451
+ # The target resource. For example, `organizations/1234567890`,
452
+ # `projects/1234567890`, or `folders/1234567890`.
453
+ # @!attribute [rw] create_time
454
+ # @return [::Google::Protobuf::Timestamp]
455
+ # The create time of the target resource.
456
+ # @!attribute [rw] update_time
457
+ # @return [::Google::Protobuf::Timestamp]
458
+ # The update time of the target resource.
459
+ # @!attribute [rw] major_revision_id
460
+ # @return [::Integer]
461
+ # The major revision ID of the framework for the target resource.
462
+ # @!attribute [rw] minor_revision_id
463
+ # @return [::Integer]
464
+ # The minor revision ID of the framework for the target resource.
465
+ class TargetResourceDetails
466
+ include ::Google::Protobuf::MessageExts
467
+ extend ::Google::Protobuf::MessageExts::ClassMethods
468
+ end
469
+
470
+ # The evaluation state of the control.
471
+ module EvaluationState
472
+ # Default value. This value is unused.
473
+ EVALUATION_STATE_UNSPECIFIED = 0
474
+
475
+ # The control is passing.
476
+ EVALUATION_STATE_PASSED = 1
477
+
478
+ # The control is failing.
479
+ EVALUATION_STATE_FAILED = 2
480
+
481
+ # The control is not assessed.
482
+ EVALUATION_STATE_NOT_ASSESSED = 3
483
+ end
484
+
485
+ # A finding is a record of assessment data like security, risk, health, or
486
+ # privacy.
487
+ module FindingClass
488
+ # Default value. This value is unused.
489
+ FINDING_CLASS_UNSPECIFIED = 0
490
+
491
+ # The activity is unwanted or malicious.
492
+ THREAT = 1
493
+
494
+ # A potential weakness in software that increases risk to
495
+ # confidentiality, integrity, and availability.
496
+ VULNERABILITY = 2
497
+
498
+ # A potential weakness in a cloud resource or asset configuration that
499
+ # increases risk.
500
+ MISCONFIGURATION = 3
501
+
502
+ # A security observation that is for informational purposes.
503
+ OBSERVATION = 4
504
+
505
+ # An error that prevents Security Command Center from functioning properly.
506
+ SCC_ERROR = 5
507
+
508
+ # A potential security risk that's due to a change in the security
509
+ # posture.
510
+ POSTURE_VIOLATION = 6
511
+
512
+ # A combination of security issues that represent a more severe
513
+ # security problem when taken together.
514
+ TOXIC_COMBINATION = 7
515
+
516
+ # A potential security risk to data assets that contain sensitive
517
+ # data.
518
+ SENSITIVE_DATA_RISK = 8
519
+
520
+ # A resource or resource group where high risk attack paths
521
+ # converge, based on attack path simulations (APS).
522
+ CHOKEPOINT = 9
523
+ end
524
+ end
525
+ end
526
+ end
527
+ end
@@ -0,0 +1,45 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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 Type
22
+ # Represents a time interval, encoded as a Timestamp start (inclusive) and a
23
+ # Timestamp end (exclusive).
24
+ #
25
+ # The start must be less than or equal to the end.
26
+ # When the start equals the end, the interval is empty (matches no time).
27
+ # When both start and end are unspecified, the interval matches any time.
28
+ # @!attribute [rw] start_time
29
+ # @return [::Google::Protobuf::Timestamp]
30
+ # Optional. Inclusive start of the interval.
31
+ #
32
+ # If specified, a Timestamp matching this interval will have to be the same
33
+ # or after the start.
34
+ # @!attribute [rw] end_time
35
+ # @return [::Google::Protobuf::Timestamp]
36
+ # Optional. Exclusive end of the interval.
37
+ #
38
+ # If specified, a Timestamp matching this interval will have to be before the
39
+ # end.
40
+ class Interval
41
+ include ::Google::Protobuf::MessageExts
42
+ extend ::Google::Protobuf::MessageExts::ClassMethods
43
+ end
44
+ end
45
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-cloud_security_compliance-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -67,7 +67,23 @@ files:
67
67
  - README.md
68
68
  - lib/google-cloud-cloud_security_compliance-v1.rb
69
69
  - lib/google/cloud/cloud_security_compliance/v1.rb
70
+ - lib/google/cloud/cloud_security_compliance/v1/audit.rb
71
+ - lib/google/cloud/cloud_security_compliance/v1/audit/client.rb
72
+ - lib/google/cloud/cloud_security_compliance/v1/audit/credentials.rb
73
+ - lib/google/cloud/cloud_security_compliance/v1/audit/operations.rb
74
+ - lib/google/cloud/cloud_security_compliance/v1/audit/paths.rb
75
+ - lib/google/cloud/cloud_security_compliance/v1/audit/rest.rb
76
+ - lib/google/cloud/cloud_security_compliance/v1/audit/rest/client.rb
77
+ - lib/google/cloud/cloud_security_compliance/v1/audit/rest/operations.rb
78
+ - lib/google/cloud/cloud_security_compliance/v1/audit/rest/service_stub.rb
70
79
  - lib/google/cloud/cloud_security_compliance/v1/bindings_override.rb
80
+ - lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service.rb
81
+ - lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/client.rb
82
+ - lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/credentials.rb
83
+ - lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/paths.rb
84
+ - lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest.rb
85
+ - lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest/client.rb
86
+ - lib/google/cloud/cloud_security_compliance/v1/cm_enrollment_service/rest/service_stub.rb
71
87
  - lib/google/cloud/cloud_security_compliance/v1/config.rb
72
88
  - lib/google/cloud/cloud_security_compliance/v1/config/client.rb
73
89
  - lib/google/cloud/cloud_security_compliance/v1/config/credentials.rb
@@ -84,21 +100,37 @@ files:
84
100
  - lib/google/cloud/cloud_security_compliance/v1/deployment/rest/client.rb
85
101
  - lib/google/cloud/cloud_security_compliance/v1/deployment/rest/operations.rb
86
102
  - lib/google/cloud/cloud_security_compliance/v1/deployment/rest/service_stub.rb
103
+ - lib/google/cloud/cloud_security_compliance/v1/monitoring.rb
104
+ - lib/google/cloud/cloud_security_compliance/v1/monitoring/client.rb
105
+ - lib/google/cloud/cloud_security_compliance/v1/monitoring/credentials.rb
106
+ - lib/google/cloud/cloud_security_compliance/v1/monitoring/paths.rb
107
+ - lib/google/cloud/cloud_security_compliance/v1/monitoring/rest.rb
108
+ - lib/google/cloud/cloud_security_compliance/v1/monitoring/rest/client.rb
109
+ - lib/google/cloud/cloud_security_compliance/v1/monitoring/rest/service_stub.rb
87
110
  - lib/google/cloud/cloud_security_compliance/v1/rest.rb
88
111
  - lib/google/cloud/cloud_security_compliance/v1/version.rb
112
+ - lib/google/cloud/cloudsecuritycompliance/v1/audit_pb.rb
113
+ - lib/google/cloud/cloudsecuritycompliance/v1/audit_services_pb.rb
114
+ - lib/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service_pb.rb
115
+ - lib/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service_services_pb.rb
89
116
  - lib/google/cloud/cloudsecuritycompliance/v1/common_pb.rb
90
117
  - lib/google/cloud/cloudsecuritycompliance/v1/config_pb.rb
91
118
  - lib/google/cloud/cloudsecuritycompliance/v1/config_services_pb.rb
92
119
  - lib/google/cloud/cloudsecuritycompliance/v1/deployment_pb.rb
93
120
  - lib/google/cloud/cloudsecuritycompliance/v1/deployment_services_pb.rb
121
+ - lib/google/cloud/cloudsecuritycompliance/v1/monitoring_pb.rb
122
+ - lib/google/cloud/cloudsecuritycompliance/v1/monitoring_services_pb.rb
94
123
  - proto_docs/README.md
95
124
  - proto_docs/google/api/client.rb
96
125
  - proto_docs/google/api/field_behavior.rb
97
126
  - proto_docs/google/api/launch_stage.rb
98
127
  - proto_docs/google/api/resource.rb
128
+ - proto_docs/google/cloud/cloudsecuritycompliance/v1/audit.rb
129
+ - proto_docs/google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service.rb
99
130
  - proto_docs/google/cloud/cloudsecuritycompliance/v1/common.rb
100
131
  - proto_docs/google/cloud/cloudsecuritycompliance/v1/config.rb
101
132
  - proto_docs/google/cloud/cloudsecuritycompliance/v1/deployment.rb
133
+ - proto_docs/google/cloud/cloudsecuritycompliance/v1/monitoring.rb
102
134
  - proto_docs/google/longrunning/operations.rb
103
135
  - proto_docs/google/protobuf/any.rb
104
136
  - proto_docs/google/protobuf/duration.rb
@@ -106,6 +138,7 @@ files:
106
138
  - proto_docs/google/protobuf/field_mask.rb
107
139
  - proto_docs/google/protobuf/timestamp.rb
108
140
  - proto_docs/google/rpc/status.rb
141
+ - proto_docs/google/type/interval.rb
109
142
  homepage: https://github.com/googleapis/google-cloud-ruby
110
143
  licenses:
111
144
  - Apache-2.0