google-cloud-cloud_security_compliance-v1 0.3.0 → 0.4.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/lib/google/cloud/cloud_security_compliance/v1/audit/rest/operations.rb +29 -0
- data/lib/google/cloud/cloud_security_compliance/v1/bindings_override.rb +16 -0
- data/lib/google/cloud/cloud_security_compliance/v1/config/client.rb +39 -16
- data/lib/google/cloud/cloud_security_compliance/v1/config/paths.rb +81 -16
- data/lib/google/cloud/cloud_security_compliance/v1/config/rest/client.rb +39 -16
- data/lib/google/cloud/cloud_security_compliance/v1/config/rest/service_stub.rb +74 -0
- data/lib/google/cloud/cloud_security_compliance/v1/deployment/client.rb +18 -7
- data/lib/google/cloud/cloud_security_compliance/v1/deployment/paths.rb +124 -16
- data/lib/google/cloud/cloud_security_compliance/v1/deployment/rest/client.rb +18 -7
- data/lib/google/cloud/cloud_security_compliance/v1/deployment/rest/operations.rb +29 -0
- data/lib/google/cloud/cloud_security_compliance/v1/deployment/rest/service_stub.rb +43 -0
- data/lib/google/cloud/cloud_security_compliance/v1/monitoring/client.rb +6 -2
- data/lib/google/cloud/cloud_security_compliance/v1/monitoring/rest/client.rb +6 -2
- data/lib/google/cloud/cloud_security_compliance/v1/version.rb +1 -1
- data/lib/google/cloud/cloudsecuritycompliance/v1/common_pb.rb +3 -1
- data/lib/google/cloud/cloudsecuritycompliance/v1/config_pb.rb +1 -1
- data/lib/google/cloud/cloudsecuritycompliance/v1/deployment_pb.rb +1 -1
- data/lib/google/cloud/cloudsecuritycompliance/v1/monitoring_pb.rb +4 -1
- data/proto_docs/google/api/client.rb +149 -29
- data/proto_docs/google/cloud/cloudsecuritycompliance/v1/common.rb +154 -13
- data/proto_docs/google/cloud/cloudsecuritycompliance/v1/config.rb +39 -16
- data/proto_docs/google/cloud/cloudsecuritycompliance/v1/deployment.rb +34 -12
- data/proto_docs/google/cloud/cloudsecuritycompliance/v1/monitoring.rb +42 -0
- metadata +1 -1
|
@@ -26,8 +26,12 @@ module Google
|
|
|
26
26
|
# FedRAMP or NIST.
|
|
27
27
|
# @!attribute [rw] name
|
|
28
28
|
# @return [::String]
|
|
29
|
-
# Required. Identifier. The name of the framework, in the
|
|
30
|
-
#
|
|
29
|
+
# Required. Identifier. The name of the framework, in one of the following
|
|
30
|
+
# formats:
|
|
31
|
+
# `organizations/{organization}/locations/{location}/frameworks/{framework}`
|
|
32
|
+
# or
|
|
33
|
+
# `projects/{project}/locations/{location}/frameworks/{framework}`.
|
|
34
|
+
#
|
|
31
35
|
# The only supported location is `global`.
|
|
32
36
|
# @!attribute [r] major_revision_id
|
|
33
37
|
# @return [::Integer]
|
|
@@ -80,8 +84,11 @@ module Google
|
|
|
80
84
|
# The details of a cloud control.
|
|
81
85
|
# @!attribute [rw] name
|
|
82
86
|
# @return [::String]
|
|
83
|
-
# Required. The name of the cloud control, in the
|
|
84
|
-
# `organizations/{organization}/locations/{location}/cloudControls/{
|
|
87
|
+
# Required. The name of the cloud control, in one of the following formats:
|
|
88
|
+
# `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}`
|
|
89
|
+
# or
|
|
90
|
+
# `projects/{project}/locations/{location}/cloudControls/{cloud_control}`.
|
|
91
|
+
#
|
|
85
92
|
# The only supported location is `global`.
|
|
86
93
|
# @!attribute [rw] major_revision_id
|
|
87
94
|
# @return [::Integer]
|
|
@@ -97,8 +104,10 @@ module Google
|
|
|
97
104
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
98
105
|
end
|
|
99
106
|
|
|
100
|
-
# The reference of a framework, in the
|
|
101
|
-
# `organizations/{organization}/locations/{location}/frameworks/{framework}
|
|
107
|
+
# The reference of a framework, in one of the following formats:
|
|
108
|
+
# - `organizations/{organization}/locations/{location}/frameworks/{framework}`
|
|
109
|
+
# - `projects/{project}/locations/{location}/frameworks/{framework}`.
|
|
110
|
+
#
|
|
102
111
|
# The only supported location is `global`.
|
|
103
112
|
# @!attribute [rw] framework
|
|
104
113
|
# @return [::String]
|
|
@@ -131,8 +140,12 @@ module Google
|
|
|
131
140
|
# use to define your organization's security or compliance intent.
|
|
132
141
|
# @!attribute [rw] name
|
|
133
142
|
# @return [::String]
|
|
134
|
-
# Required. Identifier. The name of the cloud control, in the
|
|
135
|
-
#
|
|
143
|
+
# Required. Identifier. The name of the cloud control, in either of the
|
|
144
|
+
# formats:
|
|
145
|
+
# `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}`
|
|
146
|
+
# or
|
|
147
|
+
# `projects/{project}/locations/{location}/cloudControls/{cloud_control}`.
|
|
148
|
+
#
|
|
136
149
|
# The only supported location is `global`.
|
|
137
150
|
# @!attribute [r] major_revision_id
|
|
138
151
|
# @return [::Integer]
|
|
@@ -324,27 +337,27 @@ module Google
|
|
|
324
337
|
# The possible parameter value types.
|
|
325
338
|
# @!attribute [rw] string_value
|
|
326
339
|
# @return [::String]
|
|
327
|
-
# A string value.
|
|
340
|
+
# Optional. A string value.
|
|
328
341
|
#
|
|
329
342
|
# Note: The following fields are mutually exclusive: `string_value`, `bool_value`, `string_list_value`, `number_value`, `oneof_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
330
343
|
# @!attribute [rw] bool_value
|
|
331
344
|
# @return [::Boolean]
|
|
332
|
-
# A boolean value.
|
|
345
|
+
# Optional. A boolean value.
|
|
333
346
|
#
|
|
334
347
|
# Note: The following fields are mutually exclusive: `bool_value`, `string_value`, `string_list_value`, `number_value`, `oneof_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
335
348
|
# @!attribute [rw] string_list_value
|
|
336
349
|
# @return [::Google::Cloud::CloudSecurityCompliance::V1::StringList]
|
|
337
|
-
# A repeated string.
|
|
350
|
+
# Optional. A repeated string.
|
|
338
351
|
#
|
|
339
352
|
# Note: The following fields are mutually exclusive: `string_list_value`, `string_value`, `bool_value`, `number_value`, `oneof_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
340
353
|
# @!attribute [rw] number_value
|
|
341
354
|
# @return [::Float]
|
|
342
|
-
# A double value.
|
|
355
|
+
# Optional. A double value.
|
|
343
356
|
#
|
|
344
357
|
# Note: The following fields are mutually exclusive: `number_value`, `string_value`, `bool_value`, `string_list_value`, `oneof_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
345
358
|
# @!attribute [rw] oneof_value
|
|
346
359
|
# @return [::Google::Cloud::CloudSecurityCompliance::V1::Parameter]
|
|
347
|
-
# Sub-parameter values.
|
|
360
|
+
# Optional. Sub-parameter values.
|
|
348
361
|
#
|
|
349
362
|
# Note: The following fields are mutually exclusive: `oneof_value`, `string_value`, `bool_value`, `string_list_value`, `number_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
350
363
|
class ParamValue
|
|
@@ -449,6 +462,122 @@ module Google
|
|
|
449
462
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
450
463
|
end
|
|
451
464
|
|
|
465
|
+
# The regulatory control.
|
|
466
|
+
# @!attribute [r] name
|
|
467
|
+
# @return [::String]
|
|
468
|
+
# Output only. The name of a regulatory control, in one of the following
|
|
469
|
+
# formats:
|
|
470
|
+
# - `organizations/{organization}/locations/{location}/controls/{control}`
|
|
471
|
+
# - `projects/{project}/locations/{location}/controls/{control}`.
|
|
472
|
+
#
|
|
473
|
+
# The only supported location is `global`.
|
|
474
|
+
# @!attribute [r] display_name
|
|
475
|
+
# @return [::String]
|
|
476
|
+
# Output only. The friendly name for the regulatory control.
|
|
477
|
+
# @!attribute [r] description
|
|
478
|
+
# @return [::String]
|
|
479
|
+
# Output only. The description of the regulatory control.
|
|
480
|
+
# @!attribute [r] family
|
|
481
|
+
# @return [::Google::Cloud::CloudSecurityCompliance::V1::Control::Family]
|
|
482
|
+
# Output only. The regulatory group that the control belongs to.
|
|
483
|
+
# @!attribute [r] control_family
|
|
484
|
+
# @return [::Google::Cloud::CloudSecurityCompliance::V1::ControlFamily]
|
|
485
|
+
# Output only. The regulatory family that the control belongs to.
|
|
486
|
+
# @!attribute [r] responsibility_type
|
|
487
|
+
# @return [::Google::Cloud::CloudSecurityCompliance::V1::RegulatoryControlResponsibilityType]
|
|
488
|
+
# Output only. The entity that's responsible for the control, whether Google,
|
|
489
|
+
# you as the customer, or both.
|
|
490
|
+
# @!attribute [r] google_responsibility_description
|
|
491
|
+
# @return [::String]
|
|
492
|
+
# Output only. A description of Google's responsibility for the regulatory
|
|
493
|
+
# control.
|
|
494
|
+
# @!attribute [r] google_responsibility_implementation
|
|
495
|
+
# @return [::String]
|
|
496
|
+
# Output only. A description of Google's responsibility for implementing the
|
|
497
|
+
# regulatory control.
|
|
498
|
+
# @!attribute [r] customer_responsibility_description
|
|
499
|
+
# @return [::String]
|
|
500
|
+
# Output only. A description of your responsibility for the regulatory
|
|
501
|
+
# control.
|
|
502
|
+
# @!attribute [r] customer_responsibility_implementation
|
|
503
|
+
# @return [::String]
|
|
504
|
+
# Output only. A description of the your responsibility for implementing the
|
|
505
|
+
# regulatory control.
|
|
506
|
+
# @!attribute [r] shared_responsibility_description
|
|
507
|
+
# @return [::String]
|
|
508
|
+
# Output only. A description of the responsibility that's shared between
|
|
509
|
+
# Google and you in implementing this control.
|
|
510
|
+
# @!attribute [r] additional_content_uri
|
|
511
|
+
# @return [::String]
|
|
512
|
+
# Output only. A link to the documentation that's related to this control.
|
|
513
|
+
# @!attribute [r] related_frameworks
|
|
514
|
+
# @return [::Array<::String>]
|
|
515
|
+
# Output only. The frameworks that include this control.
|
|
516
|
+
class Control
|
|
517
|
+
include ::Google::Protobuf::MessageExts
|
|
518
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
519
|
+
|
|
520
|
+
# The regulatory control family.
|
|
521
|
+
module Family
|
|
522
|
+
# Default value. This value is unused.
|
|
523
|
+
FAMILY_UNSPECIFIED = 0
|
|
524
|
+
|
|
525
|
+
# Access control
|
|
526
|
+
AC = 1
|
|
527
|
+
|
|
528
|
+
# Awareness and araining
|
|
529
|
+
AT = 2
|
|
530
|
+
|
|
531
|
+
# Audit and accountability
|
|
532
|
+
AU = 3
|
|
533
|
+
|
|
534
|
+
# Certification, accreditation, and security assessments
|
|
535
|
+
CA = 4
|
|
536
|
+
|
|
537
|
+
# Configuration management
|
|
538
|
+
CM = 5
|
|
539
|
+
|
|
540
|
+
# Contingency planning
|
|
541
|
+
CP = 6
|
|
542
|
+
|
|
543
|
+
# Identification and authentication
|
|
544
|
+
IA = 7
|
|
545
|
+
|
|
546
|
+
# Incident response
|
|
547
|
+
IR = 8
|
|
548
|
+
|
|
549
|
+
# Maintenance
|
|
550
|
+
MA = 9
|
|
551
|
+
|
|
552
|
+
# Media protection
|
|
553
|
+
MP = 10
|
|
554
|
+
|
|
555
|
+
# Physical and environmental protection
|
|
556
|
+
PE = 11
|
|
557
|
+
|
|
558
|
+
# Security planning
|
|
559
|
+
PL = 12
|
|
560
|
+
|
|
561
|
+
# Personnel aecurity
|
|
562
|
+
PS = 13
|
|
563
|
+
|
|
564
|
+
# Risk assessment
|
|
565
|
+
RA = 14
|
|
566
|
+
|
|
567
|
+
# System services and acquisition
|
|
568
|
+
SA = 15
|
|
569
|
+
|
|
570
|
+
# System and communications protection
|
|
571
|
+
SC = 16
|
|
572
|
+
|
|
573
|
+
# System and information integrity
|
|
574
|
+
SI = 17
|
|
575
|
+
|
|
576
|
+
# Supply chain risk management
|
|
577
|
+
SR = 18
|
|
578
|
+
end
|
|
579
|
+
end
|
|
580
|
+
|
|
452
581
|
# The regulatory family of the control.
|
|
453
582
|
# @!attribute [rw] family_id
|
|
454
583
|
# @return [::String]
|
|
@@ -561,6 +690,18 @@ module Google
|
|
|
561
690
|
|
|
562
691
|
# The business continuity and disaster recovery (BCDR) category.
|
|
563
692
|
CC_CATEGORY_BCDR = 15
|
|
693
|
+
|
|
694
|
+
# The admin access category.
|
|
695
|
+
CC_CATEGORY_ADMIN_ACCESS = 16
|
|
696
|
+
|
|
697
|
+
# DRZ (Data Residency).
|
|
698
|
+
CC_CATEGORY_DATA_RESIDENCY = 17
|
|
699
|
+
|
|
700
|
+
# RUR (Resource Usage Restriction).
|
|
701
|
+
CC_CATEGORY_RESOURCE_USAGE_RESTRICTION = 18
|
|
702
|
+
|
|
703
|
+
# SERVICE SPECIFIC
|
|
704
|
+
CC_CATEGORY_SERVICE_SPECIFIC = 19
|
|
564
705
|
end
|
|
565
706
|
|
|
566
707
|
# The cloud provider that's associated with the cloud control.
|
|
@@ -24,8 +24,10 @@ module Google
|
|
|
24
24
|
# Request message for [ListFrameworks][].
|
|
25
25
|
# @!attribute [rw] parent
|
|
26
26
|
# @return [::String]
|
|
27
|
-
# Required. The parent resource name, in the
|
|
28
|
-
# `organizations/{organization}/locations/{location}
|
|
27
|
+
# Required. The parent resource name, in one of the following formats:
|
|
28
|
+
# - `organizations/{organization}/locations/{location}`
|
|
29
|
+
# - `projects/{project}/locations/{location}`.
|
|
30
|
+
#
|
|
29
31
|
# The only supported location is `global`.
|
|
30
32
|
# @!attribute [rw] page_size
|
|
31
33
|
# @return [::Integer]
|
|
@@ -60,8 +62,12 @@ module Google
|
|
|
60
62
|
# The request message for [GetFramework][].
|
|
61
63
|
# @!attribute [rw] name
|
|
62
64
|
# @return [::String]
|
|
63
|
-
# Required. The name of the framework to retrieve, in the
|
|
64
|
-
#
|
|
65
|
+
# Required. The name of the framework to retrieve, in one of the following
|
|
66
|
+
# formats:
|
|
67
|
+
# `organizations/{organization}/locations/{location}/frameworks/{framework}`
|
|
68
|
+
# or
|
|
69
|
+
# `projects/{project}/locations/{location}/frameworks/{framework}`.
|
|
70
|
+
#
|
|
65
71
|
# The only supported location is `global`.
|
|
66
72
|
# @!attribute [rw] major_revision_id
|
|
67
73
|
# @return [::Integer]
|
|
@@ -75,8 +81,10 @@ module Google
|
|
|
75
81
|
# The request message for [CreateFramework][].
|
|
76
82
|
# @!attribute [rw] parent
|
|
77
83
|
# @return [::String]
|
|
78
|
-
# Required. The parent resource name, in the
|
|
79
|
-
# `organizations/{organization}/locations/{location}
|
|
84
|
+
# Required. The parent resource name, in one of the following formats:
|
|
85
|
+
# - `organizations/{organization}/locations/{location}`
|
|
86
|
+
# - `projects/{project}/locations/{location}`.
|
|
87
|
+
#
|
|
80
88
|
# The only supported location is `global`.
|
|
81
89
|
# @!attribute [rw] framework_id
|
|
82
90
|
# @return [::String]
|
|
@@ -112,8 +120,11 @@ module Google
|
|
|
112
120
|
# Request message for [DeleteFramework][].
|
|
113
121
|
# @!attribute [rw] name
|
|
114
122
|
# @return [::String]
|
|
115
|
-
# Required. The name of the resource, in the
|
|
116
|
-
# `organizations/{organization}/locations/{location}/frameworks/{framework}
|
|
123
|
+
# Required. The name of the resource, in one of the following formats:
|
|
124
|
+
# `organizations/{organization}/locations/{location}/frameworks/{framework}`
|
|
125
|
+
# or
|
|
126
|
+
# `projects/{project}/locations/{location}/frameworks/{framework}`.
|
|
127
|
+
#
|
|
117
128
|
# The only supported location is `global`.
|
|
118
129
|
class DeleteFrameworkRequest
|
|
119
130
|
include ::Google::Protobuf::MessageExts
|
|
@@ -123,8 +134,10 @@ module Google
|
|
|
123
134
|
# Request message for [ListCloudControls][].
|
|
124
135
|
# @!attribute [rw] parent
|
|
125
136
|
# @return [::String]
|
|
126
|
-
# Required. The parent resource name, in the
|
|
127
|
-
# `organizations/{organization}/locations/{location}
|
|
137
|
+
# Required. The parent resource name, in one of the following formats:
|
|
138
|
+
# - `organizations/{organization}/locations/{location}`
|
|
139
|
+
# - `projects/{project}/locations/{location}`.
|
|
140
|
+
#
|
|
128
141
|
# The only supported location is `global`.
|
|
129
142
|
# @!attribute [rw] page_size
|
|
130
143
|
# @return [::Integer]
|
|
@@ -163,8 +176,12 @@ module Google
|
|
|
163
176
|
# The request message for [GetCloudControl][].
|
|
164
177
|
# @!attribute [rw] name
|
|
165
178
|
# @return [::String]
|
|
166
|
-
# Required. The name of the cloud control to retrieve, in the
|
|
167
|
-
#
|
|
179
|
+
# Required. The name of the cloud control to retrieve, in one of the
|
|
180
|
+
# following formats:
|
|
181
|
+
# `organizations/{organization}/locations/{location}/cloudControls/{cloud_control}`
|
|
182
|
+
# or
|
|
183
|
+
# `projects/{project}/locations/{location}/cloudControls/{cloud_control}`.
|
|
184
|
+
#
|
|
168
185
|
# The only supported location is `global`.
|
|
169
186
|
# @!attribute [rw] major_revision_id
|
|
170
187
|
# @return [::Integer]
|
|
@@ -178,8 +195,10 @@ module Google
|
|
|
178
195
|
# The request message for [CreateCloudControl][].
|
|
179
196
|
# @!attribute [rw] parent
|
|
180
197
|
# @return [::String]
|
|
181
|
-
# Required. The parent resource name, in the
|
|
182
|
-
# `organizations/{organization}/locations/{location}`.
|
|
198
|
+
# Required. The parent resource name, in one of the following formats:
|
|
199
|
+
# - `organizations/{organization}/locations/{location}`.
|
|
200
|
+
# - `projects/{project}/locations/{location}`.
|
|
201
|
+
#
|
|
183
202
|
# The only supported location is `global`.
|
|
184
203
|
# @!attribute [rw] cloud_control_id
|
|
185
204
|
# @return [::String]
|
|
@@ -222,8 +241,12 @@ module Google
|
|
|
222
241
|
# The request message for [DeleteCloudControl][].
|
|
223
242
|
# @!attribute [rw] name
|
|
224
243
|
# @return [::String]
|
|
225
|
-
# Required. The name of the cloud control to delete, in the
|
|
226
|
-
#
|
|
244
|
+
# Required. The name of the cloud control to delete, in one of the following
|
|
245
|
+
# formats:
|
|
246
|
+
# `organizations/{organization}/locations/{location}/CloudControls/{CloudControl}`
|
|
247
|
+
# or
|
|
248
|
+
# `projects/{project}/locations/{location}/CloudControls/{CloudControl}`.
|
|
249
|
+
#
|
|
227
250
|
# The only supported location is `global`.
|
|
228
251
|
class DeleteCloudControlRequest
|
|
229
252
|
include ::Google::Protobuf::MessageExts
|
|
@@ -27,7 +27,9 @@ module Google
|
|
|
27
27
|
# @!attribute [rw] name
|
|
28
28
|
# @return [::String]
|
|
29
29
|
# Identifier. The name of the framework deployment, in the format
|
|
30
|
-
# `organizations/{organization}/locations/{location}/frameworkDeployments/{
|
|
30
|
+
# `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}`
|
|
31
|
+
# or
|
|
32
|
+
# `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`.
|
|
31
33
|
# The only supported location is `global`.
|
|
32
34
|
# @!attribute [rw] target_resource_config
|
|
33
35
|
# @return [::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceConfig]
|
|
@@ -103,7 +105,9 @@ module Google
|
|
|
103
105
|
# @!attribute [rw] name
|
|
104
106
|
# @return [::String]
|
|
105
107
|
# Identifier. The name for the cloud control deployment, in the format
|
|
106
|
-
# `organizations/{organization}/locations/{location}/cloudControlDeployments/{
|
|
108
|
+
# `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`
|
|
109
|
+
# or
|
|
110
|
+
# `projects/{project}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`.
|
|
107
111
|
# The only supported location is `global`.
|
|
108
112
|
# @!attribute [rw] target_resource_config
|
|
109
113
|
# @return [::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceConfig]
|
|
@@ -241,7 +245,9 @@ module Google
|
|
|
241
245
|
# @!attribute [rw] parent
|
|
242
246
|
# @return [::String]
|
|
243
247
|
# Required. The parent resource of the framework deployment in the format
|
|
244
|
-
# `organizations/{organization}/locations/{location}
|
|
248
|
+
# `organizations/{organization}/locations/{location}`
|
|
249
|
+
# or
|
|
250
|
+
# `projects/{project}/locations/{location}`.
|
|
245
251
|
# Only the global location is supported.
|
|
246
252
|
# @!attribute [rw] framework_deployment_id
|
|
247
253
|
# @return [::String]
|
|
@@ -261,7 +267,9 @@ module Google
|
|
|
261
267
|
# @return [::String]
|
|
262
268
|
# Required. The name of the framework deployment that you want to delete,
|
|
263
269
|
# in the format
|
|
264
|
-
# `organizations/{organization}/locations/{location}/frameworkDeployments/{
|
|
270
|
+
# `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}`
|
|
271
|
+
# or
|
|
272
|
+
# `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`.
|
|
265
273
|
# The only supported location is `global`.
|
|
266
274
|
# @!attribute [rw] etag
|
|
267
275
|
# @return [::String]
|
|
@@ -282,7 +290,9 @@ module Google
|
|
|
282
290
|
# @!attribute [rw] name
|
|
283
291
|
# @return [::String]
|
|
284
292
|
# Required. The name of the framework deployment, in the format
|
|
285
|
-
# `organizations/{organization}/locations/{location}/frameworkDeployments/{
|
|
293
|
+
# `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}`
|
|
294
|
+
# or
|
|
295
|
+
# `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`.
|
|
286
296
|
# The only supported location is `global`.
|
|
287
297
|
class GetFrameworkDeploymentRequest
|
|
288
298
|
include ::Google::Protobuf::MessageExts
|
|
@@ -293,7 +303,9 @@ module Google
|
|
|
293
303
|
# @!attribute [rw] parent
|
|
294
304
|
# @return [::String]
|
|
295
305
|
# Required. The parent resource of the framework deployment, in the format
|
|
296
|
-
# `organizations/{organization}/locations/{location}
|
|
306
|
+
# `organizations/{organization}/locations/{location}`
|
|
307
|
+
# or
|
|
308
|
+
# `projects/{project}/locations/{location}`.
|
|
297
309
|
# The only supported location is `global`.
|
|
298
310
|
# @!attribute [rw] page_size
|
|
299
311
|
# @return [::Integer]
|
|
@@ -339,7 +351,9 @@ module Google
|
|
|
339
351
|
# @!attribute [rw] name
|
|
340
352
|
# @return [::String]
|
|
341
353
|
# Required. The name for the cloud control deployment, in the format
|
|
342
|
-
# `organizations/{organization}/locations/{location}/cloudControlDeployments/{
|
|
354
|
+
# `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`
|
|
355
|
+
# or
|
|
356
|
+
# `projects/{project}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`.
|
|
343
357
|
# The only supported location is `global`.
|
|
344
358
|
class GetCloudControlDeploymentRequest
|
|
345
359
|
include ::Google::Protobuf::MessageExts
|
|
@@ -350,8 +364,9 @@ module Google
|
|
|
350
364
|
# @!attribute [rw] parent
|
|
351
365
|
# @return [::String]
|
|
352
366
|
# Required. The parent resource for the cloud control deployment, in the
|
|
353
|
-
# format `organizations/{organization}/locations/{location}
|
|
354
|
-
#
|
|
367
|
+
# format `organizations/{organization}/locations/{location}` or
|
|
368
|
+
# `projects/{project}/locations/{location}`.
|
|
369
|
+
# The only supported location is `global`.
|
|
355
370
|
# @!attribute [rw] page_size
|
|
356
371
|
# @return [::Integer]
|
|
357
372
|
# Optional. The requested page size. The server might return fewer items than
|
|
@@ -396,7 +411,9 @@ module Google
|
|
|
396
411
|
# @!attribute [r] cloud_control_deployment
|
|
397
412
|
# @return [::String]
|
|
398
413
|
# Output only. The name of the CloudControlDeployment. The format is
|
|
399
|
-
# `organizations/{
|
|
414
|
+
# `organizations/{organization}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`
|
|
415
|
+
# or
|
|
416
|
+
# `projects/{project}/locations/{location}/cloudControlDeployments/{cloud_control_deployment}`.
|
|
400
417
|
# The only supported location is `global`.
|
|
401
418
|
class CloudControlDeploymentReference
|
|
402
419
|
include ::Google::Protobuf::MessageExts
|
|
@@ -407,7 +424,9 @@ module Google
|
|
|
407
424
|
# @!attribute [r] framework_deployment
|
|
408
425
|
# @return [::String]
|
|
409
426
|
# Output only. The name of the framework deployment, in the format
|
|
410
|
-
# `organizations/{
|
|
427
|
+
# `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}`
|
|
428
|
+
# or
|
|
429
|
+
# `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`.
|
|
411
430
|
# The only supported location is `global`.
|
|
412
431
|
# @!attribute [rw] framework_reference
|
|
413
432
|
# @return [::Google::Cloud::CloudSecurityCompliance::V1::FrameworkReference]
|
|
@@ -417,7 +436,7 @@ module Google
|
|
|
417
436
|
# ```
|
|
418
437
|
# {
|
|
419
438
|
# framework:
|
|
420
|
-
# "organizations/\\{
|
|
439
|
+
# "organizations/\\{organization}/locations/\\{location}/frameworks/\\{framework}",
|
|
421
440
|
# major_revision_id: 1
|
|
422
441
|
# }
|
|
423
442
|
# ```
|
|
@@ -446,6 +465,9 @@ module Google
|
|
|
446
465
|
# Deployment is being deleted.
|
|
447
466
|
DEPLOYMENT_STATE_DELETING = 3
|
|
448
467
|
|
|
468
|
+
# Deployment is being updated.
|
|
469
|
+
DEPLOYMENT_STATE_UPDATING = 8
|
|
470
|
+
|
|
449
471
|
# Deployment has failed. All the changes made by the deployment were
|
|
450
472
|
# successfully rolled back. You can retry or delete a deployment that's
|
|
451
473
|
# in this state.
|
|
@@ -37,6 +37,9 @@ module Google
|
|
|
37
37
|
# @!attribute [rw] filter
|
|
38
38
|
# @return [::String]
|
|
39
39
|
# Optional. The filtering results.
|
|
40
|
+
# @!attribute [rw] view
|
|
41
|
+
# @return [::Google::Cloud::CloudSecurityCompliance::V1::FrameworkComplianceSummaryView]
|
|
42
|
+
# Optional. Specifies the level of detail to return in the response.
|
|
40
43
|
class ListFrameworkComplianceSummariesRequest
|
|
41
44
|
include ::Google::Protobuf::MessageExts
|
|
42
45
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -104,6 +107,9 @@ module Google
|
|
|
104
107
|
# @!attribute [rw] end_time
|
|
105
108
|
# @return [::Google::Protobuf::Timestamp]
|
|
106
109
|
# Optional. The end time of the report.
|
|
110
|
+
# @!attribute [rw] filter
|
|
111
|
+
# @return [::String]
|
|
112
|
+
# Optional. The filtering results.
|
|
107
113
|
class FetchFrameworkComplianceReportRequest
|
|
108
114
|
include ::Google::Protobuf::MessageExts
|
|
109
115
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -260,6 +266,12 @@ module Google
|
|
|
260
266
|
# @!attribute [rw] target_resource_details
|
|
261
267
|
# @return [::Array<::Google::Cloud::CloudSecurityCompliance::V1::TargetResourceDetails>]
|
|
262
268
|
# The target resource details for the framework.
|
|
269
|
+
# @!attribute [r] finding_count
|
|
270
|
+
# @return [::Integer]
|
|
271
|
+
# Output only. The count of the findings generated against the framework.
|
|
272
|
+
# @!attribute [r] controls_passing_trend
|
|
273
|
+
# @return [::Google::Cloud::CloudSecurityCompliance::V1::Trend]
|
|
274
|
+
# Output only. The trend of controls that are passing for the given duration.
|
|
263
275
|
class FrameworkComplianceSummary
|
|
264
276
|
include ::Google::Protobuf::MessageExts
|
|
265
277
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -467,6 +479,19 @@ module Google
|
|
|
467
479
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
468
480
|
end
|
|
469
481
|
|
|
482
|
+
# The trend of a compliance metric.
|
|
483
|
+
# @!attribute [r] duration
|
|
484
|
+
# @return [::Google::Protobuf::Duration]
|
|
485
|
+
# Output only. The duration for the trend.
|
|
486
|
+
# @!attribute [r] value_percent
|
|
487
|
+
# @return [::Float]
|
|
488
|
+
# Output only. The trend value as a percentage. The value can be positive or
|
|
489
|
+
# negative.
|
|
490
|
+
class Trend
|
|
491
|
+
include ::Google::Protobuf::MessageExts
|
|
492
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
493
|
+
end
|
|
494
|
+
|
|
470
495
|
# The evaluation state of the control.
|
|
471
496
|
module EvaluationState
|
|
472
497
|
# Default value. This value is unused.
|
|
@@ -521,6 +546,23 @@ module Google
|
|
|
521
546
|
# converge, based on attack path simulations (APS).
|
|
522
547
|
CHOKEPOINT = 9
|
|
523
548
|
end
|
|
549
|
+
|
|
550
|
+
# Specifies the view of the framework compliance summary to be returned.
|
|
551
|
+
# New values may be added in the future.
|
|
552
|
+
module FrameworkComplianceSummaryView
|
|
553
|
+
# The default / unset value. The API will default to the BASIC view.
|
|
554
|
+
FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_UNSPECIFIED = 0
|
|
555
|
+
|
|
556
|
+
# Includes basic compliance metadata, but omits trend data.
|
|
557
|
+
FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_BASIC = 1
|
|
558
|
+
|
|
559
|
+
# Includes all information, including
|
|
560
|
+
# [finding_count][google.cloud.cloudsecuritycompliance.v1main.FrameworkComplianceSummary.finding_count]
|
|
561
|
+
# and
|
|
562
|
+
# [controls_passing_trend][google.cloud.cloudsecuritycompliance.v1main.FrameworkComplianceSummary.controls_passing_trend].
|
|
563
|
+
# Trend data is provided for the last 30 days.
|
|
564
|
+
FRAMEWORK_COMPLIANCE_SUMMARY_VIEW_FULL = 2
|
|
565
|
+
end
|
|
524
566
|
end
|
|
525
567
|
end
|
|
526
568
|
end
|