aws-sdk-controlcatalog 1.21.0 → 1.22.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-controlcatalog/client.rb +11 -1
- data/lib/aws-sdk-controlcatalog/client_api.rb +14 -0
- data/lib/aws-sdk-controlcatalog/types.rb +74 -3
- data/lib/aws-sdk-controlcatalog.rb +1 -1
- data/sig/client.rbs +2 -0
- data/sig/types.rbs +13 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5acd2f2c7eb8e1e7a4cd2a2f1031a76648a62cbf41ec8bffc3f9b9bb87e58649
|
4
|
+
data.tar.gz: 2dc22fa04fb3af8ad91c727352c94ba4ba2fdad9407ee9347e63d0200ca1449f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42628275d73f93d20b0e1933a6393a4d486ff0ffcd153c9e9b33325df89c775b8c9cdf3ad0a475e38a972ea71cc8cb648624853bafe6206aa4bf11787917625b
|
7
|
+
data.tar.gz: b2f958a3c57543b175d44b8a8ac00831c4ba7270fe6b8d325de2caf15e00385d64cd40d567ec1d7b0fbe5970d1129c1f90b991504b62fc98131330a1680983ea
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.22.0 (2025-04-09)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - The GetControl API now surfaces a control's Severity, CreateTime, and Identifier for a control's Implementation. The ListControls API now surfaces a control's Behavior, Severity, CreateTime, and Identifier for a control's Implementation.
|
8
|
+
|
4
9
|
1.21.0 (2025-03-20)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.22.0
|
@@ -505,9 +505,11 @@ module Aws::ControlCatalog
|
|
505
505
|
# * {Types::GetControlResponse#name #name} => String
|
506
506
|
# * {Types::GetControlResponse#description #description} => String
|
507
507
|
# * {Types::GetControlResponse#behavior #behavior} => String
|
508
|
+
# * {Types::GetControlResponse#severity #severity} => String
|
508
509
|
# * {Types::GetControlResponse#region_configuration #region_configuration} => Types::RegionConfiguration
|
509
510
|
# * {Types::GetControlResponse#implementation #implementation} => Types::ImplementationDetails
|
510
511
|
# * {Types::GetControlResponse#parameters #parameters} => Array<Types::ControlParameter>
|
512
|
+
# * {Types::GetControlResponse#create_time #create_time} => Time
|
511
513
|
#
|
512
514
|
# @example Request syntax with placeholder values
|
513
515
|
#
|
@@ -521,12 +523,15 @@ module Aws::ControlCatalog
|
|
521
523
|
# resp.name #=> String
|
522
524
|
# resp.description #=> String
|
523
525
|
# resp.behavior #=> String, one of "PREVENTIVE", "PROACTIVE", "DETECTIVE"
|
526
|
+
# resp.severity #=> String, one of "LOW", "MEDIUM", "HIGH", "CRITICAL"
|
524
527
|
# resp.region_configuration.scope #=> String, one of "GLOBAL", "REGIONAL"
|
525
528
|
# resp.region_configuration.deployable_regions #=> Array
|
526
529
|
# resp.region_configuration.deployable_regions[0] #=> String
|
527
530
|
# resp.implementation.type #=> String
|
531
|
+
# resp.implementation.identifier #=> String
|
528
532
|
# resp.parameters #=> Array
|
529
533
|
# resp.parameters[0].name #=> String
|
534
|
+
# resp.create_time #=> Time
|
530
535
|
#
|
531
536
|
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/GetControl AWS API Documentation
|
532
537
|
#
|
@@ -632,6 +637,11 @@ module Aws::ControlCatalog
|
|
632
637
|
# resp.controls[0].arn #=> String
|
633
638
|
# resp.controls[0].name #=> String
|
634
639
|
# resp.controls[0].description #=> String
|
640
|
+
# resp.controls[0].behavior #=> String, one of "PREVENTIVE", "PROACTIVE", "DETECTIVE"
|
641
|
+
# resp.controls[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH", "CRITICAL"
|
642
|
+
# resp.controls[0].implementation.type #=> String
|
643
|
+
# resp.controls[0].implementation.identifier #=> String
|
644
|
+
# resp.controls[0].create_time #=> Time
|
635
645
|
# resp.next_token #=> String
|
636
646
|
#
|
637
647
|
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ListControls AWS API Documentation
|
@@ -764,7 +774,7 @@ module Aws::ControlCatalog
|
|
764
774
|
tracer: tracer
|
765
775
|
)
|
766
776
|
context[:gem_name] = 'aws-sdk-controlcatalog'
|
767
|
-
context[:gem_version] = '1.
|
777
|
+
context[:gem_version] = '1.22.0'
|
768
778
|
Seahorse::Client::Request.new(handlers, context)
|
769
779
|
end
|
770
780
|
|
@@ -26,6 +26,7 @@ module Aws::ControlCatalog
|
|
26
26
|
ControlParameter = Shapes::StructureShape.new(name: 'ControlParameter')
|
27
27
|
ControlParameters = Shapes::ListShape.new(name: 'ControlParameters')
|
28
28
|
ControlScope = Shapes::StringShape.new(name: 'ControlScope')
|
29
|
+
ControlSeverity = Shapes::StringShape.new(name: 'ControlSeverity')
|
29
30
|
ControlSummary = Shapes::StructureShape.new(name: 'ControlSummary')
|
30
31
|
Controls = Shapes::ListShape.new(name: 'Controls')
|
31
32
|
DeployableRegions = Shapes::ListShape.new(name: 'DeployableRegions')
|
@@ -37,6 +38,8 @@ module Aws::ControlCatalog
|
|
37
38
|
GetControlRequest = Shapes::StructureShape.new(name: 'GetControlRequest')
|
38
39
|
GetControlResponse = Shapes::StructureShape.new(name: 'GetControlResponse')
|
39
40
|
ImplementationDetails = Shapes::StructureShape.new(name: 'ImplementationDetails')
|
41
|
+
ImplementationIdentifier = Shapes::StringShape.new(name: 'ImplementationIdentifier')
|
42
|
+
ImplementationSummary = Shapes::StructureShape.new(name: 'ImplementationSummary')
|
40
43
|
ImplementationType = Shapes::StringShape.new(name: 'ImplementationType')
|
41
44
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
42
45
|
ListCommonControlsRequest = Shapes::StructureShape.new(name: 'ListCommonControlsRequest')
|
@@ -99,6 +102,10 @@ module Aws::ControlCatalog
|
|
99
102
|
ControlSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ControlArn, required: true, location_name: "Arn"))
|
100
103
|
ControlSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
101
104
|
ControlSummary.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Description"))
|
105
|
+
ControlSummary.add_member(:behavior, Shapes::ShapeRef.new(shape: ControlBehavior, location_name: "Behavior"))
|
106
|
+
ControlSummary.add_member(:severity, Shapes::ShapeRef.new(shape: ControlSeverity, location_name: "Severity"))
|
107
|
+
ControlSummary.add_member(:implementation, Shapes::ShapeRef.new(shape: ImplementationSummary, location_name: "Implementation"))
|
108
|
+
ControlSummary.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateTime"))
|
102
109
|
ControlSummary.struct_class = Types::ControlSummary
|
103
110
|
|
104
111
|
Controls.member = Shapes::ShapeRef.new(shape: ControlSummary)
|
@@ -126,14 +133,21 @@ module Aws::ControlCatalog
|
|
126
133
|
GetControlResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
127
134
|
GetControlResponse.add_member(:description, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Description"))
|
128
135
|
GetControlResponse.add_member(:behavior, Shapes::ShapeRef.new(shape: ControlBehavior, required: true, location_name: "Behavior"))
|
136
|
+
GetControlResponse.add_member(:severity, Shapes::ShapeRef.new(shape: ControlSeverity, location_name: "Severity"))
|
129
137
|
GetControlResponse.add_member(:region_configuration, Shapes::ShapeRef.new(shape: RegionConfiguration, required: true, location_name: "RegionConfiguration"))
|
130
138
|
GetControlResponse.add_member(:implementation, Shapes::ShapeRef.new(shape: ImplementationDetails, location_name: "Implementation"))
|
131
139
|
GetControlResponse.add_member(:parameters, Shapes::ShapeRef.new(shape: ControlParameters, location_name: "Parameters"))
|
140
|
+
GetControlResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreateTime"))
|
132
141
|
GetControlResponse.struct_class = Types::GetControlResponse
|
133
142
|
|
134
143
|
ImplementationDetails.add_member(:type, Shapes::ShapeRef.new(shape: ImplementationType, required: true, location_name: "Type"))
|
144
|
+
ImplementationDetails.add_member(:identifier, Shapes::ShapeRef.new(shape: ImplementationIdentifier, location_name: "Identifier"))
|
135
145
|
ImplementationDetails.struct_class = Types::ImplementationDetails
|
136
146
|
|
147
|
+
ImplementationSummary.add_member(:type, Shapes::ShapeRef.new(shape: ImplementationType, required: true, location_name: "Type"))
|
148
|
+
ImplementationSummary.add_member(:identifier, Shapes::ShapeRef.new(shape: ImplementationIdentifier, location_name: "Identifier"))
|
149
|
+
ImplementationSummary.struct_class = Types::ImplementationSummary
|
150
|
+
|
137
151
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
|
138
152
|
InternalServerException.struct_class = Types::InternalServerException
|
139
153
|
|
@@ -205,12 +205,34 @@ module Aws::ControlCatalog
|
|
205
205
|
# Describes the functionality of the control.
|
206
206
|
# @return [String]
|
207
207
|
#
|
208
|
+
# @!attribute [rw] behavior
|
209
|
+
# An enumerated type, with the following possible values:
|
210
|
+
# @return [String]
|
211
|
+
#
|
212
|
+
# @!attribute [rw] severity
|
213
|
+
# An enumerated type, with the following possible values:
|
214
|
+
# @return [String]
|
215
|
+
#
|
216
|
+
# @!attribute [rw] implementation
|
217
|
+
# An object of type `ImplementationSummary` that describes how the
|
218
|
+
# control is implemented.
|
219
|
+
# @return [Types::ImplementationSummary]
|
220
|
+
#
|
221
|
+
# @!attribute [rw] create_time
|
222
|
+
# A timestamp that notes the time when the control was released (start
|
223
|
+
# of its life) as a governance capability in Amazon Web Services.
|
224
|
+
# @return [Time]
|
225
|
+
#
|
208
226
|
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ControlSummary AWS API Documentation
|
209
227
|
#
|
210
228
|
class ControlSummary < Struct.new(
|
211
229
|
:arn,
|
212
230
|
:name,
|
213
|
-
:description
|
231
|
+
:description,
|
232
|
+
:behavior,
|
233
|
+
:severity,
|
234
|
+
:implementation,
|
235
|
+
:create_time)
|
214
236
|
SENSITIVE = []
|
215
237
|
include Aws::Structure
|
216
238
|
end
|
@@ -306,6 +328,10 @@ module Aws::ControlCatalog
|
|
306
328
|
# `Preventive`, `Detective`, `Proactive`
|
307
329
|
# @return [String]
|
308
330
|
#
|
331
|
+
# @!attribute [rw] severity
|
332
|
+
# An enumerated type, with the following possible values:
|
333
|
+
# @return [String]
|
334
|
+
#
|
309
335
|
# @!attribute [rw] region_configuration
|
310
336
|
# Returns information about the control, including the scope of the
|
311
337
|
# control, if enabled, and the Regions in which the control currently
|
@@ -339,6 +365,11 @@ module Aws::ControlCatalog
|
|
339
365
|
# controls that don’t support parameters.
|
340
366
|
# @return [Array<Types::ControlParameter>]
|
341
367
|
#
|
368
|
+
# @!attribute [rw] create_time
|
369
|
+
# A timestamp that notes the time when the control was released (start
|
370
|
+
# of its life) as a governance capability in Amazon Web Services.
|
371
|
+
# @return [Time]
|
372
|
+
#
|
342
373
|
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/GetControlResponse AWS API Documentation
|
343
374
|
#
|
344
375
|
class GetControlResponse < Struct.new(
|
@@ -346,9 +377,11 @@ module Aws::ControlCatalog
|
|
346
377
|
:name,
|
347
378
|
:description,
|
348
379
|
:behavior,
|
380
|
+
:severity,
|
349
381
|
:region_configuration,
|
350
382
|
:implementation,
|
351
|
-
:parameters
|
383
|
+
:parameters,
|
384
|
+
:create_time)
|
352
385
|
SENSITIVE = []
|
353
386
|
include Aws::Structure
|
354
387
|
end
|
@@ -384,10 +417,48 @@ module Aws::ControlCatalog
|
|
384
417
|
# A string that describes a control's implementation type.
|
385
418
|
# @return [String]
|
386
419
|
#
|
420
|
+
# @!attribute [rw] identifier
|
421
|
+
# A service-specific identifier for the control, assigned by the
|
422
|
+
# service that implemented the control. For example, this identifier
|
423
|
+
# could be an Amazon Web Services Config Rule ID or a Security Hub
|
424
|
+
# Control ID.
|
425
|
+
# @return [String]
|
426
|
+
#
|
387
427
|
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ImplementationDetails AWS API Documentation
|
388
428
|
#
|
389
429
|
class ImplementationDetails < Struct.new(
|
390
|
-
:type
|
430
|
+
:type,
|
431
|
+
:identifier)
|
432
|
+
SENSITIVE = []
|
433
|
+
include Aws::Structure
|
434
|
+
end
|
435
|
+
|
436
|
+
# A summary of how the control is implemented, including the Amazon Web
|
437
|
+
# Services service that enforces the control and its service-specific
|
438
|
+
# identifier. For example, the value of this field could indicate that
|
439
|
+
# the control is implemented as an Amazon Web Services Config Rule or an
|
440
|
+
# Amazon Web Services Security Hub control.
|
441
|
+
#
|
442
|
+
# @!attribute [rw] type
|
443
|
+
# A string that represents the Amazon Web Services service that
|
444
|
+
# implements this control. For example, a value of
|
445
|
+
# `AWS::Config::ConfigRule` indicates that the control is implemented
|
446
|
+
# by Amazon Web Services Config, and
|
447
|
+
# `AWS::SecurityHub::SecurityControl` indicates implementation by
|
448
|
+
# Amazon Web Services Security Hub.
|
449
|
+
# @return [String]
|
450
|
+
#
|
451
|
+
# @!attribute [rw] identifier
|
452
|
+
# The identifier originally assigned by the Amazon Web Services
|
453
|
+
# service that implements the control. For example,
|
454
|
+
# `CODEPIPELINE_DEPLOYMENT_COUNT_CHECK`.
|
455
|
+
# @return [String]
|
456
|
+
#
|
457
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ImplementationSummary AWS API Documentation
|
458
|
+
#
|
459
|
+
class ImplementationSummary < Struct.new(
|
460
|
+
:type,
|
461
|
+
:identifier)
|
391
462
|
SENSITIVE = []
|
392
463
|
include Aws::Structure
|
393
464
|
end
|
data/sig/client.rbs
CHANGED
@@ -83,9 +83,11 @@ module Aws
|
|
83
83
|
def name: () -> ::String
|
84
84
|
def description: () -> ::String
|
85
85
|
def behavior: () -> ("PREVENTIVE" | "PROACTIVE" | "DETECTIVE")
|
86
|
+
def severity: () -> ("LOW" | "MEDIUM" | "HIGH" | "CRITICAL")
|
86
87
|
def region_configuration: () -> Types::RegionConfiguration
|
87
88
|
def implementation: () -> Types::ImplementationDetails
|
88
89
|
def parameters: () -> ::Array[Types::ControlParameter]
|
90
|
+
def create_time: () -> ::Time
|
89
91
|
end
|
90
92
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlCatalog/Client.html#get_control-instance_method
|
91
93
|
def get_control: (
|
data/sig/types.rbs
CHANGED
@@ -50,6 +50,10 @@ module Aws::ControlCatalog
|
|
50
50
|
attr_accessor arn: ::String
|
51
51
|
attr_accessor name: ::String
|
52
52
|
attr_accessor description: ::String
|
53
|
+
attr_accessor behavior: ("PREVENTIVE" | "PROACTIVE" | "DETECTIVE")
|
54
|
+
attr_accessor severity: ("LOW" | "MEDIUM" | "HIGH" | "CRITICAL")
|
55
|
+
attr_accessor implementation: Types::ImplementationSummary
|
56
|
+
attr_accessor create_time: ::Time
|
53
57
|
SENSITIVE: []
|
54
58
|
end
|
55
59
|
|
@@ -77,14 +81,23 @@ module Aws::ControlCatalog
|
|
77
81
|
attr_accessor name: ::String
|
78
82
|
attr_accessor description: ::String
|
79
83
|
attr_accessor behavior: ("PREVENTIVE" | "PROACTIVE" | "DETECTIVE")
|
84
|
+
attr_accessor severity: ("LOW" | "MEDIUM" | "HIGH" | "CRITICAL")
|
80
85
|
attr_accessor region_configuration: Types::RegionConfiguration
|
81
86
|
attr_accessor implementation: Types::ImplementationDetails
|
82
87
|
attr_accessor parameters: ::Array[Types::ControlParameter]
|
88
|
+
attr_accessor create_time: ::Time
|
83
89
|
SENSITIVE: []
|
84
90
|
end
|
85
91
|
|
86
92
|
class ImplementationDetails
|
87
93
|
attr_accessor type: ::String
|
94
|
+
attr_accessor identifier: ::String
|
95
|
+
SENSITIVE: []
|
96
|
+
end
|
97
|
+
|
98
|
+
class ImplementationSummary
|
99
|
+
attr_accessor type: ::String
|
100
|
+
attr_accessor identifier: ::String
|
88
101
|
SENSITIVE: []
|
89
102
|
end
|
90
103
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-controlcatalog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|