aws-sdk-securityhub 1.74.0 → 1.76.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-securityhub/client.rb +55 -1
- data/lib/aws-sdk-securityhub/client_api.rb +11 -0
- data/lib/aws-sdk-securityhub/endpoint_provider.rb +35 -94
- data/lib/aws-sdk-securityhub/types.rb +68 -14
- data/lib/aws-sdk-securityhub.rb +1 -1
- 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: 4551566a066756c3813881b2ed679d93205cb6b959a93ce2ad318acdf74ba6c2
|
4
|
+
data.tar.gz: d2c25b9091800722ed0b1e030b51b8c7d9889a6c68982f3a26f2867eb511209a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c307e08e1229c092c1b88abc7bb11df62e99d88fcb09a2e2010f3beeebc811f407a986d1648f059253fc505705f71e8e667c18ce3ebb34255a1b584951f548e
|
7
|
+
data.tar.gz: a1f468b67e4c962edddadd00229428f6b06056bf7b82276e216ed9f3f834d8e78bf23c3ee69988fa1efc68eff06973593af0d064877db59a6fe5ee563b50b9ea
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.76.0 (2023-01-31)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - New fields have been added to the AWS Security Finding Format. Compliance.SecurityControlId is a unique identifier for a security control across standards. Compliance.AssociatedStandards contains all enabled standards in which a security control is enabled.
|
8
|
+
|
9
|
+
1.75.0 (2023-01-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
15
|
+
|
4
16
|
1.74.0 (2022-12-15)
|
5
17
|
------------------
|
6
18
|
|
@@ -380,4 +392,4 @@ Unreleased Changes
|
|
380
392
|
1.0.0 (2018-11-28)
|
381
393
|
------------------
|
382
394
|
|
383
|
-
* Feature - Initial release of `aws-sdk-securityhub`.
|
395
|
+
* Feature - Initial release of `aws-sdk-securityhub`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.76.0
|
@@ -1566,6 +1566,18 @@ module Aws::SecurityHub
|
|
1566
1566
|
# value: false,
|
1567
1567
|
# },
|
1568
1568
|
# ],
|
1569
|
+
# compliance_security_control_id: [
|
1570
|
+
# {
|
1571
|
+
# value: "NonEmptyString",
|
1572
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
1573
|
+
# },
|
1574
|
+
# ],
|
1575
|
+
# compliance_associated_standards_id: [
|
1576
|
+
# {
|
1577
|
+
# value: "NonEmptyString",
|
1578
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
1579
|
+
# },
|
1580
|
+
# ],
|
1569
1581
|
# },
|
1570
1582
|
# group_by_attribute: "NonEmptyString", # required
|
1571
1583
|
# })
|
@@ -3186,6 +3198,18 @@ module Aws::SecurityHub
|
|
3186
3198
|
# value: false,
|
3187
3199
|
# },
|
3188
3200
|
# ],
|
3201
|
+
# compliance_security_control_id: [
|
3202
|
+
# {
|
3203
|
+
# value: "NonEmptyString",
|
3204
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
3205
|
+
# },
|
3206
|
+
# ],
|
3207
|
+
# compliance_associated_standards_id: [
|
3208
|
+
# {
|
3209
|
+
# value: "NonEmptyString",
|
3210
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
3211
|
+
# },
|
3212
|
+
# ],
|
3189
3213
|
# },
|
3190
3214
|
# sort_criteria: [
|
3191
3215
|
# {
|
@@ -3590,6 +3614,12 @@ module Aws::SecurityHub
|
|
3590
3614
|
# resp.insights[0].filters.finding_provider_fields_types[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS"
|
3591
3615
|
# resp.insights[0].filters.sample #=> Array
|
3592
3616
|
# resp.insights[0].filters.sample[0].value #=> Boolean
|
3617
|
+
# resp.insights[0].filters.compliance_security_control_id #=> Array
|
3618
|
+
# resp.insights[0].filters.compliance_security_control_id[0].value #=> String
|
3619
|
+
# resp.insights[0].filters.compliance_security_control_id[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS"
|
3620
|
+
# resp.insights[0].filters.compliance_associated_standards_id #=> Array
|
3621
|
+
# resp.insights[0].filters.compliance_associated_standards_id[0].value #=> String
|
3622
|
+
# resp.insights[0].filters.compliance_associated_standards_id[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS"
|
3593
3623
|
# resp.insights[0].group_by_attribute #=> String
|
3594
3624
|
# resp.next_token #=> String
|
3595
3625
|
#
|
@@ -4832,6 +4862,18 @@ module Aws::SecurityHub
|
|
4832
4862
|
# value: false,
|
4833
4863
|
# },
|
4834
4864
|
# ],
|
4865
|
+
# compliance_security_control_id: [
|
4866
|
+
# {
|
4867
|
+
# value: "NonEmptyString",
|
4868
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
4869
|
+
# },
|
4870
|
+
# ],
|
4871
|
+
# compliance_associated_standards_id: [
|
4872
|
+
# {
|
4873
|
+
# value: "NonEmptyString",
|
4874
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
4875
|
+
# },
|
4876
|
+
# ],
|
4835
4877
|
# },
|
4836
4878
|
# note: {
|
4837
4879
|
# text: "NonEmptyString", # required
|
@@ -5492,6 +5534,18 @@ module Aws::SecurityHub
|
|
5492
5534
|
# value: false,
|
5493
5535
|
# },
|
5494
5536
|
# ],
|
5537
|
+
# compliance_security_control_id: [
|
5538
|
+
# {
|
5539
|
+
# value: "NonEmptyString",
|
5540
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
5541
|
+
# },
|
5542
|
+
# ],
|
5543
|
+
# compliance_associated_standards_id: [
|
5544
|
+
# {
|
5545
|
+
# value: "NonEmptyString",
|
5546
|
+
# comparison: "EQUALS", # accepts EQUALS, PREFIX, NOT_EQUALS, PREFIX_NOT_EQUALS
|
5547
|
+
# },
|
5548
|
+
# ],
|
5495
5549
|
# },
|
5496
5550
|
# group_by_attribute: "NonEmptyString",
|
5497
5551
|
# })
|
@@ -5623,7 +5677,7 @@ module Aws::SecurityHub
|
|
5623
5677
|
params: params,
|
5624
5678
|
config: config)
|
5625
5679
|
context[:gem_name] = 'aws-sdk-securityhub'
|
5626
|
-
context[:gem_version] = '1.
|
5680
|
+
context[:gem_version] = '1.76.0'
|
5627
5681
|
Seahorse::Client::Request.new(handlers, context)
|
5628
5682
|
end
|
5629
5683
|
|
@@ -36,6 +36,8 @@ module Aws::SecurityHub
|
|
36
36
|
AdminStatus = Shapes::StringShape.new(name: 'AdminStatus')
|
37
37
|
AdminsMaxResults = Shapes::IntegerShape.new(name: 'AdminsMaxResults')
|
38
38
|
ArnList = Shapes::ListShape.new(name: 'ArnList')
|
39
|
+
AssociatedStandard = Shapes::StructureShape.new(name: 'AssociatedStandard')
|
40
|
+
AssociatedStandardsList = Shapes::ListShape.new(name: 'AssociatedStandardsList')
|
39
41
|
AutoEnableStandards = Shapes::StringShape.new(name: 'AutoEnableStandards')
|
40
42
|
AvailabilityZone = Shapes::StructureShape.new(name: 'AvailabilityZone')
|
41
43
|
AvailabilityZones = Shapes::ListShape.new(name: 'AvailabilityZones')
|
@@ -1009,6 +1011,11 @@ module Aws::SecurityHub
|
|
1009
1011
|
|
1010
1012
|
ArnList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
1011
1013
|
|
1014
|
+
AssociatedStandard.add_member(:standards_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "StandardsId"))
|
1015
|
+
AssociatedStandard.struct_class = Types::AssociatedStandard
|
1016
|
+
|
1017
|
+
AssociatedStandardsList.member = Shapes::ShapeRef.new(shape: AssociatedStandard)
|
1018
|
+
|
1012
1019
|
AvailabilityZone.add_member(:zone_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ZoneName"))
|
1013
1020
|
AvailabilityZone.add_member(:subnet_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SubnetId"))
|
1014
1021
|
AvailabilityZone.struct_class = Types::AvailabilityZone
|
@@ -3980,6 +3987,8 @@ module Aws::SecurityHub
|
|
3980
3987
|
AwsSecurityFindingFilters.add_member(:finding_provider_fields_severity_original, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "FindingProviderFieldsSeverityOriginal"))
|
3981
3988
|
AwsSecurityFindingFilters.add_member(:finding_provider_fields_types, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "FindingProviderFieldsTypes"))
|
3982
3989
|
AwsSecurityFindingFilters.add_member(:sample, Shapes::ShapeRef.new(shape: BooleanFilterList, location_name: "Sample"))
|
3990
|
+
AwsSecurityFindingFilters.add_member(:compliance_security_control_id, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ComplianceSecurityControlId"))
|
3991
|
+
AwsSecurityFindingFilters.add_member(:compliance_associated_standards_id, Shapes::ShapeRef.new(shape: StringFilterList, location_name: "ComplianceAssociatedStandardsId"))
|
3983
3992
|
AwsSecurityFindingFilters.struct_class = Types::AwsSecurityFindingFilters
|
3984
3993
|
|
3985
3994
|
AwsSecurityFindingIdentifier.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "Id"))
|
@@ -4337,6 +4346,8 @@ module Aws::SecurityHub
|
|
4337
4346
|
Compliance.add_member(:status, Shapes::ShapeRef.new(shape: ComplianceStatus, location_name: "Status"))
|
4338
4347
|
Compliance.add_member(:related_requirements, Shapes::ShapeRef.new(shape: RelatedRequirementsList, location_name: "RelatedRequirements"))
|
4339
4348
|
Compliance.add_member(:status_reasons, Shapes::ShapeRef.new(shape: StatusReasonsList, location_name: "StatusReasons"))
|
4349
|
+
Compliance.add_member(:security_control_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "SecurityControlId"))
|
4350
|
+
Compliance.add_member(:associated_standards, Shapes::ShapeRef.new(shape: AssociatedStandardsList, location_name: "AssociatedStandards"))
|
4340
4351
|
Compliance.struct_class = Types::Compliance
|
4341
4352
|
|
4342
4353
|
ContainerDetails.add_member(:container_runtime, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ContainerRuntime"))
|
@@ -9,102 +9,43 @@
|
|
9
9
|
|
10
10
|
module Aws::SecurityHub
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://securityhub-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://securityhub-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://securityhub.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://securityhub.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
46
|
end
|
22
|
-
|
23
|
-
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
48
|
|
25
|
-
def res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FkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
|
107
|
-
|
108
|
-
JSON
|
109
50
|
end
|
110
51
|
end
|
@@ -307,6 +307,28 @@ module Aws::SecurityHub
|
|
307
307
|
include Aws::Structure
|
308
308
|
end
|
309
309
|
|
310
|
+
# Information about an enabled security standard in which a security
|
311
|
+
# control is enabled.
|
312
|
+
#
|
313
|
+
# @!attribute [rw] standards_id
|
314
|
+
# The unique identifier of a standard in which a control is enabled.
|
315
|
+
# This field consists of the resource portion of the Amazon Resource
|
316
|
+
# Name (ARN) returned for a standard in the [DescribeStandards][1] API
|
317
|
+
# response.
|
318
|
+
#
|
319
|
+
#
|
320
|
+
#
|
321
|
+
# [1]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_DescribeStandards.html
|
322
|
+
# @return [String]
|
323
|
+
#
|
324
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AssociatedStandard AWS API Documentation
|
325
|
+
#
|
326
|
+
class AssociatedStandard < Struct.new(
|
327
|
+
:standards_id)
|
328
|
+
SENSITIVE = []
|
329
|
+
include Aws::Structure
|
330
|
+
end
|
331
|
+
|
310
332
|
# Information about an Availability Zone.
|
311
333
|
#
|
312
334
|
# @!attribute [rw] zone_name
|
@@ -15395,7 +15417,7 @@ module Aws::SecurityHub
|
|
15395
15417
|
# An array of up to three Git repositories associated with the
|
15396
15418
|
# notebook instance. These can be either the names of Git repositories
|
15397
15419
|
# stored as resources in your account, or the URL of Git repositories
|
15398
|
-
# in [
|
15420
|
+
# in [CodeCommit][1] or in any other Git repository. These
|
15399
15421
|
# repositories are cloned at the same level as the default repository
|
15400
15422
|
# of your notebook instance. For more information, see [Associating
|
15401
15423
|
# Git repositories with SageMaker notebook instances][2] in the
|
@@ -15411,8 +15433,8 @@ module Aws::SecurityHub
|
|
15411
15433
|
# The Git repository associated with the notebook instance as its
|
15412
15434
|
# default code repository. This can be either the name of a Git
|
15413
15435
|
# repository stored as a resource in your account, or the URL of a Git
|
15414
|
-
# repository in [
|
15415
|
-
#
|
15436
|
+
# repository in [CodeCommit][1] or in any other Git repository. When
|
15437
|
+
# you open a notebook instance, it opens in the directory that
|
15416
15438
|
# contains this repository. For more information, see [Associating Git
|
15417
15439
|
# repositories with SageMaker notebook instances][2] in the *Amazon
|
15418
15440
|
# SageMaker Developer Guide*.
|
@@ -16448,6 +16470,23 @@ module Aws::SecurityHub
|
|
16448
16470
|
# results.
|
16449
16471
|
# @return [Array<Types::BooleanFilter>]
|
16450
16472
|
#
|
16473
|
+
# @!attribute [rw] compliance_security_control_id
|
16474
|
+
# The unique identifier of a control across standards. Values for this
|
16475
|
+
# field typically consist of an Amazon Web Service and a number, such
|
16476
|
+
# as APIGateway.5.
|
16477
|
+
# @return [Array<Types::StringFilter>]
|
16478
|
+
#
|
16479
|
+
# @!attribute [rw] compliance_associated_standards_id
|
16480
|
+
# The unique identifier of a standard in which a control is enabled.
|
16481
|
+
# This field consists of the resource portion of the Amazon Resource
|
16482
|
+
# Name (ARN) returned for a standard in the [DescribeStandards][1] API
|
16483
|
+
# response.
|
16484
|
+
#
|
16485
|
+
#
|
16486
|
+
#
|
16487
|
+
# [1]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_DescribeStandards.html
|
16488
|
+
# @return [Array<Types::StringFilter>]
|
16489
|
+
#
|
16451
16490
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsSecurityFindingFilters AWS API Documentation
|
16452
16491
|
#
|
16453
16492
|
class AwsSecurityFindingFilters < Struct.new(
|
@@ -16545,7 +16584,9 @@ module Aws::SecurityHub
|
|
16545
16584
|
:finding_provider_fields_severity_label,
|
16546
16585
|
:finding_provider_fields_severity_original,
|
16547
16586
|
:finding_provider_fields_types,
|
16548
|
-
:sample
|
16587
|
+
:sample,
|
16588
|
+
:compliance_security_control_id,
|
16589
|
+
:compliance_associated_standards_id)
|
16549
16590
|
SENSITIVE = []
|
16550
16591
|
include Aws::Structure
|
16551
16592
|
end
|
@@ -17777,8 +17818,8 @@ module Aws::SecurityHub
|
|
17777
17818
|
|
17778
17819
|
# Provides details about rules in a rule group. A rule identifies web
|
17779
17820
|
# requests that you want to allow, block, or count. Each rule includes
|
17780
|
-
# one top-level Statement that
|
17781
|
-
# requests, and parameters that govern how
|
17821
|
+
# one top-level Statement that WAF uses to identify matching web
|
17822
|
+
# requests, and parameters that govern how WAF handles them.
|
17782
17823
|
#
|
17783
17824
|
# @!attribute [rw] action
|
17784
17825
|
# The action that WAF should take on a web request when it matches the
|
@@ -18463,12 +18504,25 @@ module Aws::SecurityHub
|
|
18463
18504
|
# [1]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards-results.html#securityhub-standards-results-asff
|
18464
18505
|
# @return [Array<Types::StatusReason>]
|
18465
18506
|
#
|
18507
|
+
# @!attribute [rw] security_control_id
|
18508
|
+
# The unique identifier of a control across standards. Values for this
|
18509
|
+
# field typically consist of an Amazon Web Service and a number, such
|
18510
|
+
# as APIGateway.5.
|
18511
|
+
# @return [String]
|
18512
|
+
#
|
18513
|
+
# @!attribute [rw] associated_standards
|
18514
|
+
# The enabled security standards in which a security control is
|
18515
|
+
# currently enabled.
|
18516
|
+
# @return [Array<Types::AssociatedStandard>]
|
18517
|
+
#
|
18466
18518
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Compliance AWS API Documentation
|
18467
18519
|
#
|
18468
18520
|
class Compliance < Struct.new(
|
18469
18521
|
:status,
|
18470
18522
|
:related_requirements,
|
18471
|
-
:status_reasons
|
18523
|
+
:status_reasons,
|
18524
|
+
:security_control_id,
|
18525
|
+
:associated_standards)
|
18472
18526
|
SENSITIVE = []
|
18473
18527
|
include Aws::Structure
|
18474
18528
|
end
|
@@ -20716,27 +20770,27 @@ module Aws::SecurityHub
|
|
20716
20770
|
#
|
20717
20771
|
# The status can have one of the following values:
|
20718
20772
|
#
|
20719
|
-
# * `
|
20773
|
+
# * `Created` - Indicates that the administrator account added the
|
20720
20774
|
# member account, but has not yet invited the member account.
|
20721
20775
|
#
|
20722
|
-
# * `
|
20776
|
+
# * `Invited` - Indicates that the administrator account invited the
|
20723
20777
|
# member account. The member account has not yet responded to the
|
20724
20778
|
# invitation.
|
20725
20779
|
#
|
20726
|
-
# * `
|
20780
|
+
# * `Enabled` - Indicates that the member account is currently active.
|
20727
20781
|
# For manually invited member accounts, indicates that the member
|
20728
20782
|
# account accepted the invitation.
|
20729
20783
|
#
|
20730
|
-
# * `
|
20784
|
+
# * `Removed` - Indicates that the administrator account disassociated
|
20731
20785
|
# the member account.
|
20732
20786
|
#
|
20733
|
-
# * `
|
20787
|
+
# * `Resigned` - Indicates that the member account disassociated
|
20734
20788
|
# themselves from the administrator account.
|
20735
20789
|
#
|
20736
|
-
# * `
|
20790
|
+
# * `Deleted` - Indicates that the administrator account deleted the
|
20737
20791
|
# member account.
|
20738
20792
|
#
|
20739
|
-
# * `
|
20793
|
+
# * `AccountSuspended` - Indicates that an organization account was
|
20740
20794
|
# suspended from Amazon Web Services at the same time that the
|
20741
20795
|
# administrator account tried to enable the organization account as
|
20742
20796
|
# a member account.
|
data/lib/aws-sdk-securityhub.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-securityhub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.76.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:
|
11
|
+
date: 2023-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|