aws-sdk-controlcatalog 1.20.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7454cd807ead997ad53d76f058bbe3cbd08ac1e7c852c64f24ae3cf8b81341f0
4
- data.tar.gz: d1eed10c7a523fb6819b5fa1e605e168f16523c5ce96a29422fe61af5ca0add9
3
+ metadata.gz: 5acd2f2c7eb8e1e7a4cd2a2f1031a76648a62cbf41ec8bffc3f9b9bb87e58649
4
+ data.tar.gz: 2dc22fa04fb3af8ad91c727352c94ba4ba2fdad9407ee9347e63d0200ca1449f
5
5
  SHA512:
6
- metadata.gz: 8ca9a9fc496d26e2820c44772e76db1ae9953abff31b4ffc76655b4cd494269f03d290a41db7434882f1d06c2bc11f106c67b9b3efd3917c6f996efc8c63aaf2
7
- data.tar.gz: f8dae8a87d5b150d3dcdec8fc87e0b9d71589665f8f16dcbad2eb07d1ecb3675fd3264393a6a83f123c057ac2ce366461d166f2f1cad951aa2d8d39b6db3130c
6
+ metadata.gz: 42628275d73f93d20b0e1933a6393a4d486ff0ffcd153c9e9b33325df89c775b8c9cdf3ad0a475e38a972ea71cc8cb648624853bafe6206aa4bf11787917625b
7
+ data.tar.gz: b2f958a3c57543b175d44b8a8ac00831c4ba7270fe6b8d325de2caf15e00385d64cd40d567ec1d7b0fbe5970d1129c1f90b991504b62fc98131330a1680983ea
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.21.0 (2025-03-20)
10
+ ------------------
11
+
12
+ * Feature - Add ExemptAssumeRoot parameter to adapt for new AWS AssumeRoot capability.
13
+
4
14
  1.20.0 (2025-02-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.20.0
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.20.0'
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
 
@@ -124,7 +124,7 @@ module Aws::ControlCatalog
124
124
  include Aws::Structure
125
125
  end
126
126
 
127
- # Four types of control parameters are supported.
127
+ # Five types of control parameters are supported.
128
128
  #
129
129
  # * **AllowedRegions**: List of Amazon Web Services Regions exempted
130
130
  # from the control. Each string is expected to be an Amazon Web
@@ -153,6 +153,25 @@ module Aws::ControlCatalog
153
153
  #
154
154
  # Example: `["arn:aws:s3:::my-bucket-name"]`
155
155
  #
156
+ # * **ExemptAssumeRoot**: A parameter that lets you choose whether to
157
+ # exempt requests made with `AssumeRoot` from this control, for this
158
+ # OU. For member accounts, the `AssumeRoot` property is included in
159
+ # requests initiated by IAM centralized root access. This parameter
160
+ # applies only to the `AWS-GR_RESTRICT_ROOT_USER` control. If you add
161
+ # the parameter when enabling the control, the `AssumeRoot` exemption
162
+ # is allowed. If you omit the parameter, the `AssumeRoot` exception is
163
+ # not permitted. The parameter does not accept `False` as a value.
164
+ #
165
+ # <i>Example: Enabling the control and allowing
166
+ # <code>AssumeRoot</code> </i>
167
+ #
168
+ # `{ "controlIdentifier":
169
+ # "arn:aws:controlcatalog:::control/5kvme4m5d2b4d7if2fs5yg2ui",
170
+ # "parameters": [ { "key": "ExemptAssumeRoot", "value": true } ],
171
+ # "targetIdentifier":
172
+ # "arn:aws:organizations::8633900XXXXX:ou/o-6jmn81636m/ou-qsah-jtiihcla"
173
+ # }`
174
+ #
156
175
  # @!attribute [rw] name
157
176
  # The parameter name. This name is the parameter `key` when you call [
158
177
  # `EnableControl` ][1] or [ `UpdateEnabledControl` ][2].
@@ -186,12 +205,34 @@ module Aws::ControlCatalog
186
205
  # Describes the functionality of the control.
187
206
  # @return [String]
188
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
+ #
189
226
  # @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ControlSummary AWS API Documentation
190
227
  #
191
228
  class ControlSummary < Struct.new(
192
229
  :arn,
193
230
  :name,
194
- :description)
231
+ :description,
232
+ :behavior,
233
+ :severity,
234
+ :implementation,
235
+ :create_time)
195
236
  SENSITIVE = []
196
237
  include Aws::Structure
197
238
  end
@@ -287,6 +328,10 @@ module Aws::ControlCatalog
287
328
  # `Preventive`, `Detective`, `Proactive`
288
329
  # @return [String]
289
330
  #
331
+ # @!attribute [rw] severity
332
+ # An enumerated type, with the following possible values:
333
+ # @return [String]
334
+ #
290
335
  # @!attribute [rw] region_configuration
291
336
  # Returns information about the control, including the scope of the
292
337
  # control, if enabled, and the Regions in which the control currently
@@ -320,6 +365,11 @@ module Aws::ControlCatalog
320
365
  # controls that don’t support parameters.
321
366
  # @return [Array<Types::ControlParameter>]
322
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
+ #
323
373
  # @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/GetControlResponse AWS API Documentation
324
374
  #
325
375
  class GetControlResponse < Struct.new(
@@ -327,9 +377,11 @@ module Aws::ControlCatalog
327
377
  :name,
328
378
  :description,
329
379
  :behavior,
380
+ :severity,
330
381
  :region_configuration,
331
382
  :implementation,
332
- :parameters)
383
+ :parameters,
384
+ :create_time)
333
385
  SENSITIVE = []
334
386
  include Aws::Structure
335
387
  end
@@ -365,10 +417,48 @@ module Aws::ControlCatalog
365
417
  # A string that describes a control's implementation type.
366
418
  # @return [String]
367
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
+ #
368
427
  # @see http://docs.aws.amazon.com/goto/WebAPI/controlcatalog-2018-05-10/ImplementationDetails AWS API Documentation
369
428
  #
370
429
  class ImplementationDetails < Struct.new(
371
- :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)
372
462
  SENSITIVE = []
373
463
  include Aws::Structure
374
464
  end
@@ -55,7 +55,7 @@ module Aws::ControlCatalog
55
55
  autoload :EndpointProvider, 'aws-sdk-controlcatalog/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-controlcatalog/endpoints'
57
57
 
58
- GEM_VERSION = '1.20.0'
58
+ GEM_VERSION = '1.22.0'
59
59
 
60
60
  end
61
61
 
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.20.0
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-02-18 00:00:00.000000000 Z
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