aws-sdk-securityhub 1.120.0 → 1.122.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: 3bc3fb1c663b60caaf174cac0810440cdf7bba1c865963079188024be8050995
4
- data.tar.gz: de7ccae79af4b641fe510eede7cb1bdd8bbb53833c0a56127954580b76f3744a
3
+ metadata.gz: 3dc2d38b1e454234f56b20e7cc7e134b55a752454201edddc4613226ade97464
4
+ data.tar.gz: 6cc0594484289e7475cef50a30b00fbb70fa6961e707f2fa1ea8b0661b1dc862
5
5
  SHA512:
6
- metadata.gz: 536731afe80d481697e2e0ce40f803a58def9786b1fb721331527f6e4b8a27232c626c394e0b78ce9ec47e87d19139c672bcaf35a6c41a834e4d6a153f075714
7
- data.tar.gz: 4b8ea07ac3858546a3b739a399cc90d271b570159b445c4406410c9d23a1b93073bd7f65f24653da281da2866ae917f4d72a917df512f92162fbd604f82f0a34
6
+ metadata.gz: 93fee3dc1e581c875e0e6a758eb61ee14d49b1d371bb8be63d260a2569dbe5800ee8519bec9ab5f3485968f0225cb22ef5e01bba92ebe032d09fafbdff4513cd
7
+ data.tar.gz: 42f3aa53a0a385ad44ad6e073310e9a9a6b0486a1ef5b7db5a3f7efe8c655e434ce0610e2b7d60620f2d78894f885023a0557d0731a29a6448016b49ee38b560
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.122.0 (2024-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.121.0 (2024-09-27)
10
+ ------------------
11
+
12
+ * Feature - Documentation updates for AWS Security Hub
13
+
4
14
  1.120.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.120.0
1
+ 1.122.0
@@ -447,6 +447,13 @@ module Aws::SecurityHub
447
447
 
448
448
  # @!group API Operations
449
449
 
450
+ # <note markdown="1"> We recommend using Organizations instead of Security Hub invitations
451
+ # to manage your member accounts. For information, see [Managing
452
+ # Security Hub administrator and member accounts with Organizations][1]
453
+ # in the *Security Hub User Guide*.
454
+ #
455
+ # </note>
456
+ #
450
457
  # Accepts the invitation to be a member account and be monitored by the
451
458
  # Security Hub administrator account that the invitation was sent from.
452
459
  #
@@ -457,6 +464,10 @@ module Aws::SecurityHub
457
464
  # to the administrator account to view findings generated in the member
458
465
  # account.
459
466
  #
467
+ #
468
+ #
469
+ # [1]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-accounts-orgs.html
470
+ #
460
471
  # @option params [required, String] :administrator_id
461
472
  # The account ID of the Security Hub administrator account that sent the
462
473
  # invitation.
@@ -1855,7 +1866,7 @@ module Aws::SecurityHub
1855
1866
  # account and their member accounts. Member accounts can update findings
1856
1867
  # for their account.
1857
1868
  #
1858
- # Updates from `BatchUpdateFindings` do not affect the value of
1869
+ # Updates from `BatchUpdateFindings` don't affect the value of
1859
1870
  # `UpdatedAt` for a finding.
1860
1871
  #
1861
1872
  # Administrator and member accounts can use `BatchUpdateFindings` to
@@ -2848,11 +2859,16 @@ module Aws::SecurityHub
2848
2859
  req.send_request(options)
2849
2860
  end
2850
2861
 
2851
- # Used to enable finding aggregation. Must be called from the
2852
- # aggregation Region.
2862
+ # <note markdown="1"> The *aggregation Region* is now called the *home Region*.
2853
2863
  #
2854
- # For more details about cross-Region replication, see [Configuring
2855
- # finding aggregation][1] in the *Security Hub User Guide*.
2864
+ # </note>
2865
+ #
2866
+ # Used to enable cross-Region aggregation. This operation can be invoked
2867
+ # from the home Region only.
2868
+ #
2869
+ # For information about how cross-Region aggregation works, see
2870
+ # [Understanding cross-Region aggregation in Security Hub][1] in the
2871
+ # *Security Hub User Guide*.
2856
2872
  #
2857
2873
  #
2858
2874
  #
@@ -2889,12 +2905,12 @@ module Aws::SecurityHub
2889
2905
  #
2890
2906
  # @option params [Array<String>] :regions
2891
2907
  # If `RegionLinkingMode` is `ALL_REGIONS_EXCEPT_SPECIFIED`, then this is
2892
- # a space-separated list of Regions that do not aggregate findings to
2893
- # the aggregation Region.
2908
+ # a space-separated list of Regions that don't replicate and send
2909
+ # findings to the home Region.
2894
2910
  #
2895
2911
  # If `RegionLinkingMode` is `SPECIFIED_REGIONS`, then this is a
2896
- # space-separated list of Regions that do aggregate findings to the
2897
- # aggregation Region.
2912
+ # space-separated list of Regions that do replicate and send findings to
2913
+ # the home Region.
2898
2914
  #
2899
2915
  # An `InvalidInputException` error results if you populate this field
2900
2916
  # while `RegionLinkingMode` is `NO_REGIONS`.
@@ -3752,7 +3768,7 @@ module Aws::SecurityHub
3752
3768
  # owner accepts the invitation, the account becomes a member account in
3753
3769
  # Security Hub.
3754
3770
  #
3755
- # Accounts that are managed using Organizations do not receive an
3771
+ # Accounts that are managed using Organizations don't receive an
3756
3772
  # invitation. They automatically become a member account in Security
3757
3773
  # Hub.
3758
3774
  #
@@ -3832,13 +3848,25 @@ module Aws::SecurityHub
3832
3848
  req.send_request(options)
3833
3849
  end
3834
3850
 
3835
- # Declines invitations to become a member account.
3851
+ # <note markdown="1"> We recommend using Organizations instead of Security Hub invitations
3852
+ # to manage your member accounts. For information, see [Managing
3853
+ # Security Hub administrator and member accounts with Organizations][1]
3854
+ # in the *Security Hub User Guide*.
3855
+ #
3856
+ # </note>
3857
+ #
3858
+ # Declines invitations to become a Security Hub member account.
3836
3859
  #
3837
3860
  # A prospective member account uses this operation to decline an
3838
3861
  # invitation to become a member.
3839
3862
  #
3840
- # This operation is only called by member accounts that aren't part of
3841
- # an organization. Organization accounts don't receive invitations.
3863
+ # Only member accounts that aren't part of an Amazon Web Services
3864
+ # organization should use this operation. Organization accounts don't
3865
+ # receive invitations.
3866
+ #
3867
+ #
3868
+ #
3869
+ # [1]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-accounts-orgs.html
3842
3870
  #
3843
3871
  # @option params [required, Array<String>] :account_ids
3844
3872
  # The list of prospective member account IDs for which to decline an
@@ -3972,13 +4000,18 @@ module Aws::SecurityHub
3972
4000
  req.send_request(options)
3973
4001
  end
3974
4002
 
4003
+ # <note markdown="1"> The *aggregation Region* is now called the *home Region*.
4004
+ #
4005
+ # </note>
4006
+ #
3975
4007
  # Deletes a finding aggregator. When you delete the finding aggregator,
3976
- # you stop finding aggregation.
4008
+ # you stop cross-Region aggregation. Finding replication stops occurring
4009
+ # from the linked Regions to the home Region.
3977
4010
  #
3978
- # When you stop finding aggregation, findings that were already
3979
- # aggregated to the aggregation Region are still visible from the
3980
- # aggregation Region. New findings and finding updates are not
3981
- # aggregated.
4011
+ # When you stop cross-Region aggregation, findings that were already
4012
+ # replicated and sent to the home Region are still visible from the home
4013
+ # Region. However, new findings and finding updates are no longer
4014
+ # replicated and sent to the home Region.
3982
4015
  #
3983
4016
  # @option params [required, String] :finding_aggregator_arn
3984
4017
  # The ARN of the finding aggregator to delete. To obtain the ARN, use
@@ -4053,15 +4086,26 @@ module Aws::SecurityHub
4053
4086
  req.send_request(options)
4054
4087
  end
4055
4088
 
4056
- # Deletes invitations received by the Amazon Web Services account to
4057
- # become a member account.
4089
+ # <note markdown="1"> We recommend using Organizations instead of Security Hub invitations
4090
+ # to manage your member accounts. For information, see [Managing
4091
+ # Security Hub administrator and member accounts with Organizations][1]
4092
+ # in the *Security Hub User Guide*.
4093
+ #
4094
+ # </note>
4095
+ #
4096
+ # Deletes invitations to become a Security Hub member account.
4058
4097
  #
4059
4098
  # A Security Hub administrator account can use this operation to delete
4060
- # invitations sent to one or more member accounts.
4099
+ # invitations sent to one or more prospective member accounts.
4061
4100
  #
4062
4101
  # This operation is only used to delete invitations that are sent to
4063
- # member accounts that aren't part of an organization. Organization
4064
- # accounts don't receive invitations.
4102
+ # prospective member accounts that aren't part of an Amazon Web
4103
+ # Services organization. Organization accounts don't receive
4104
+ # invitations.
4105
+ #
4106
+ #
4107
+ #
4108
+ # [1]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-accounts-orgs.html
4065
4109
  #
4066
4110
  # @option params [required, Array<String>] :account_ids
4067
4111
  # The list of member account IDs that received the invitations you want
@@ -4345,7 +4389,7 @@ module Aws::SecurityHub
4345
4389
  # You can optionally provide an integration ARN. If you provide an
4346
4390
  # integration ARN, then the results only include that integration.
4347
4391
  #
4348
- # If you do not provide an integration ARN, then the results include all
4392
+ # If you don't provide an integration ARN, then the results include all
4349
4393
  # of the available product integrations.
4350
4394
  #
4351
4395
  # @option params [String] :next_token
@@ -4952,7 +4996,7 @@ module Aws::SecurityHub
4952
4996
  #
4953
4997
  # @option params [Boolean] :enable_default_standards
4954
4998
  # Whether to enable the security standards that Security Hub has
4955
- # designated as automatically enabled. If you do not provide a value for
4999
+ # designated as automatically enabled. If you don't provide a value for
4956
5000
  # `EnableDefaultStandards`, it is set to `true`. To not enable the
4957
5001
  # automatically enabled standards, set `EnableDefaultStandards` to
4958
5002
  # `false`.
@@ -5312,7 +5356,13 @@ module Aws::SecurityHub
5312
5356
  req.send_request(options)
5313
5357
  end
5314
5358
 
5315
- # Returns the current finding aggregation configuration.
5359
+ # <note markdown="1"> The *aggregation Region* is now called the *home Region*.
5360
+ #
5361
+ # </note>
5362
+ #
5363
+ # Returns the current configuration in the calling account for
5364
+ # cross-Region aggregation. A finding aggregator is a resource that
5365
+ # establishes the home Region and any linked Regions.
5316
5366
  #
5317
5367
  # @option params [required, String] :finding_aggregator_arn
5318
5368
  # The ARN of the finding aggregator to return details for. To obtain the
@@ -5550,9 +5600,9 @@ module Aws::SecurityHub
5550
5600
 
5551
5601
  # Returns a list of findings that match the specified criteria.
5552
5602
  #
5553
- # If finding aggregation is enabled, then when you call `GetFindings`
5554
- # from the aggregation Region, the results include all of the matching
5555
- # findings from both the aggregation Region and the linked Regions.
5603
+ # If cross-Region aggregation is enabled, then when you call
5604
+ # `GetFindings` from the home Region, the results include all of the
5605
+ # matching findings from both the home Region and linked Regions.
5556
5606
  #
5557
5607
  # @option params [Types::AwsSecurityFindingFilters] :filters
5558
5608
  # The finding attributes used to define a condition to filter the
@@ -6476,7 +6526,7 @@ module Aws::SecurityHub
6476
6526
  # Lists and describes insights for the specified insight ARNs.
6477
6527
  #
6478
6528
  # @option params [Array<String>] :insight_arns
6479
- # The ARNs of the insights to describe. If you do not provide any
6529
+ # The ARNs of the insights to describe. If you don't provide any
6480
6530
  # insight ARNs, then `GetInsights` returns all of your custom insights.
6481
6531
  # It does not return any managed insights.
6482
6532
  #
@@ -6919,10 +6969,21 @@ module Aws::SecurityHub
6919
6969
  req.send_request(options)
6920
6970
  end
6921
6971
 
6972
+ # <note markdown="1"> We recommend using Organizations instead of Security Hub invitations
6973
+ # to manage your member accounts. For information, see [Managing
6974
+ # Security Hub administrator and member accounts with Organizations][1]
6975
+ # in the *Security Hub User Guide*.
6976
+ #
6977
+ # </note>
6978
+ #
6922
6979
  # Returns the count of all Security Hub membership invitations that were
6923
- # sent to the current member account, not including the currently
6980
+ # sent to the calling member account, not including the currently
6924
6981
  # accepted invitation.
6925
6982
  #
6983
+ #
6984
+ #
6985
+ # [1]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-accounts-orgs.html
6986
+ #
6926
6987
  # @return [Types::GetInvitationsCountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6927
6988
  #
6928
6989
  # * {Types::GetInvitationsCountResponse#invitations_count #invitations_count} => Integer
@@ -7176,12 +7237,20 @@ module Aws::SecurityHub
7176
7237
  req.send_request(options)
7177
7238
  end
7178
7239
 
7240
+ # <note markdown="1"> We recommend using Organizations instead of Security Hub invitations
7241
+ # to manage your member accounts. For information, see [Managing
7242
+ # Security Hub administrator and member accounts with Organizations][1]
7243
+ # in the *Security Hub User Guide*.
7244
+ #
7245
+ # </note>
7246
+ #
7179
7247
  # Invites other Amazon Web Services accounts to become member accounts
7180
7248
  # for the Security Hub administrator account that the invitation is sent
7181
7249
  # from.
7182
7250
  #
7183
- # This operation is only used to invite accounts that do not belong to
7184
- # an organization. Organization accounts do not receive invitations.
7251
+ # This operation is only used to invite accounts that don't belong to
7252
+ # an Amazon Web Services organization. Organization accounts don't
7253
+ # receive invitations.
7185
7254
  #
7186
7255
  # Before you can use this action to invite a member, you must first use
7187
7256
  # the `CreateMembers` action to create the member account in Security
@@ -7189,7 +7258,11 @@ module Aws::SecurityHub
7189
7258
  #
7190
7259
  # When the account owner enables Security Hub and accepts the invitation
7191
7260
  # to become a member account, the administrator account can view the
7192
- # findings generated from the member account.
7261
+ # findings generated in the member account.
7262
+ #
7263
+ #
7264
+ #
7265
+ # [1]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-accounts-orgs.html
7193
7266
  #
7194
7267
  # @option params [required, Array<String>] :account_ids
7195
7268
  # The list of account IDs of the Amazon Web Services accounts to invite
@@ -7564,9 +7637,9 @@ module Aws::SecurityHub
7564
7637
  req.send_request(options)
7565
7638
  end
7566
7639
 
7567
- # If finding aggregation is enabled, then `ListFindingAggregators`
7568
- # returns the ARN of the finding aggregator. You can run this operation
7569
- # from any Region.
7640
+ # If cross-Region aggregation is enabled, then `ListFindingAggregators`
7641
+ # returns the Amazon Resource Name (ARN) of the finding aggregator. You
7642
+ # can run this operation from any Amazon Web Services Region.
7570
7643
  #
7571
7644
  # @option params [String] :next_token
7572
7645
  # The token returned with the previous set of results. Identifies the
@@ -7622,12 +7695,23 @@ module Aws::SecurityHub
7622
7695
  req.send_request(options)
7623
7696
  end
7624
7697
 
7698
+ # <note markdown="1"> We recommend using Organizations instead of Security Hub invitations
7699
+ # to manage your member accounts. For information, see [Managing
7700
+ # Security Hub administrator and member accounts with Organizations][1]
7701
+ # in the *Security Hub User Guide*.
7702
+ #
7703
+ # </note>
7704
+ #
7625
7705
  # Lists all Security Hub membership invitations that were sent to the
7626
- # current Amazon Web Services account.
7706
+ # calling account.
7707
+ #
7708
+ # Only accounts that are managed by invitation can use this operation.
7709
+ # Accounts that are managed using the integration with Organizations
7710
+ # don't receive invitations.
7627
7711
  #
7628
- # This operation is only used by accounts that are managed by
7629
- # invitation. Accounts that are managed using the integration with
7630
- # Organizations do not receive invitations.
7712
+ #
7713
+ #
7714
+ # [1]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-accounts-orgs.html
7631
7715
  #
7632
7716
  # @option params [Integer] :max_results
7633
7717
  # The maximum number of items to return in the response.
@@ -8594,12 +8678,16 @@ module Aws::SecurityHub
8594
8678
  req.send_request(options)
8595
8679
  end
8596
8680
 
8597
- # Updates the finding aggregation configuration. Used to update the
8598
- # Region linking mode and the list of included or excluded Regions. You
8599
- # cannot use `UpdateFindingAggregator` to change the aggregation Region.
8681
+ # <note markdown="1"> The *aggregation Region* is now called the *home Region*.
8600
8682
  #
8601
- # You must run `UpdateFindingAggregator` from the current aggregation
8602
- # Region.
8683
+ # </note>
8684
+ #
8685
+ # Updates cross-Region aggregation settings. You can use this operation
8686
+ # to update the Region linking mode and the list of included or excluded
8687
+ # Amazon Web Services Regions. However, you can't use this operation to
8688
+ # change the home Region.
8689
+ #
8690
+ # You can invoke this operation from the current home Region only.
8603
8691
  #
8604
8692
  # @option params [required, String] :finding_aggregator_arn
8605
8693
  # The ARN of the finding aggregator. To obtain the ARN, use
@@ -8636,12 +8724,12 @@ module Aws::SecurityHub
8636
8724
  #
8637
8725
  # @option params [Array<String>] :regions
8638
8726
  # If `RegionLinkingMode` is `ALL_REGIONS_EXCEPT_SPECIFIED`, then this is
8639
- # a space-separated list of Regions that do not aggregate findings to
8640
- # the aggregation Region.
8727
+ # a space-separated list of Regions that don't replicate and send
8728
+ # findings to the home Region.
8641
8729
  #
8642
8730
  # If `RegionLinkingMode` is `SPECIFIED_REGIONS`, then this is a
8643
- # space-separated list of Regions that do aggregate findings to the
8644
- # aggregation Region.
8731
+ # space-separated list of Regions that do replicate and send findings to
8732
+ # the home Region.
8645
8733
  #
8646
8734
  # An `InvalidInputException` error results if you populate this field
8647
8735
  # while `RegionLinkingMode` is `NO_REGIONS`.
@@ -10460,7 +10548,7 @@ module Aws::SecurityHub
10460
10548
  tracer: tracer
10461
10549
  )
10462
10550
  context[:gem_name] = 'aws-sdk-securityhub'
10463
- context[:gem_version] = '1.120.0'
10551
+ context[:gem_version] = '1.122.0'
10464
10552
  Seahorse::Client::Request.new(handlers, context)
10465
10553
  end
10466
10554
 
@@ -52,15 +52,18 @@ module Aws::SecurityHub
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end