aws-sdk-securityhub 1.153.0 → 1.155.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.
@@ -929,21 +929,25 @@ module Aws::SecurityHub
929
929
  # resp.rules[0].criteria.first_observed_at[0].end #=> String
930
930
  # resp.rules[0].criteria.first_observed_at[0].date_range.value #=> Integer
931
931
  # resp.rules[0].criteria.first_observed_at[0].date_range.unit #=> String, one of "DAYS"
932
+ # resp.rules[0].criteria.first_observed_at[0].date_range.comparison #=> String, one of "WITHIN", "OLDER_THAN"
932
933
  # resp.rules[0].criteria.last_observed_at #=> Array
933
934
  # resp.rules[0].criteria.last_observed_at[0].start #=> String
934
935
  # resp.rules[0].criteria.last_observed_at[0].end #=> String
935
936
  # resp.rules[0].criteria.last_observed_at[0].date_range.value #=> Integer
936
937
  # resp.rules[0].criteria.last_observed_at[0].date_range.unit #=> String, one of "DAYS"
938
+ # resp.rules[0].criteria.last_observed_at[0].date_range.comparison #=> String, one of "WITHIN", "OLDER_THAN"
937
939
  # resp.rules[0].criteria.created_at #=> Array
938
940
  # resp.rules[0].criteria.created_at[0].start #=> String
939
941
  # resp.rules[0].criteria.created_at[0].end #=> String
940
942
  # resp.rules[0].criteria.created_at[0].date_range.value #=> Integer
941
943
  # resp.rules[0].criteria.created_at[0].date_range.unit #=> String, one of "DAYS"
944
+ # resp.rules[0].criteria.created_at[0].date_range.comparison #=> String, one of "WITHIN", "OLDER_THAN"
942
945
  # resp.rules[0].criteria.updated_at #=> Array
943
946
  # resp.rules[0].criteria.updated_at[0].start #=> String
944
947
  # resp.rules[0].criteria.updated_at[0].end #=> String
945
948
  # resp.rules[0].criteria.updated_at[0].date_range.value #=> Integer
946
949
  # resp.rules[0].criteria.updated_at[0].date_range.unit #=> String, one of "DAYS"
950
+ # resp.rules[0].criteria.updated_at[0].date_range.comparison #=> String, one of "WITHIN", "OLDER_THAN"
947
951
  # resp.rules[0].criteria.confidence #=> Array
948
952
  # resp.rules[0].criteria.confidence[0].gte #=> Float
949
953
  # resp.rules[0].criteria.confidence[0].lte #=> Float
@@ -1026,6 +1030,7 @@ module Aws::SecurityHub
1026
1030
  # resp.rules[0].criteria.note_updated_at[0].end #=> String
1027
1031
  # resp.rules[0].criteria.note_updated_at[0].date_range.value #=> Integer
1028
1032
  # resp.rules[0].criteria.note_updated_at[0].date_range.unit #=> String, one of "DAYS"
1033
+ # resp.rules[0].criteria.note_updated_at[0].date_range.comparison #=> String, one of "WITHIN", "OLDER_THAN"
1029
1034
  # resp.rules[0].criteria.note_updated_by #=> Array
1030
1035
  # resp.rules[0].criteria.note_updated_by[0].value #=> String
1031
1036
  # resp.rules[0].criteria.note_updated_by[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS", "CONTAINS", "NOT_CONTAINS", "CONTAINS_WORD"
@@ -1622,6 +1627,7 @@ module Aws::SecurityHub
1622
1627
  # date_range: {
1623
1628
  # value: 1,
1624
1629
  # unit: "DAYS", # accepts DAYS
1630
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
1625
1631
  # },
1626
1632
  # },
1627
1633
  # ],
@@ -1632,6 +1638,7 @@ module Aws::SecurityHub
1632
1638
  # date_range: {
1633
1639
  # value: 1,
1634
1640
  # unit: "DAYS", # accepts DAYS
1641
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
1635
1642
  # },
1636
1643
  # },
1637
1644
  # ],
@@ -1642,6 +1649,7 @@ module Aws::SecurityHub
1642
1649
  # date_range: {
1643
1650
  # value: 1,
1644
1651
  # unit: "DAYS", # accepts DAYS
1652
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
1645
1653
  # },
1646
1654
  # },
1647
1655
  # ],
@@ -1652,6 +1660,7 @@ module Aws::SecurityHub
1652
1660
  # date_range: {
1653
1661
  # value: 1,
1654
1662
  # unit: "DAYS", # accepts DAYS
1663
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
1655
1664
  # },
1656
1665
  # },
1657
1666
  # ],
@@ -1808,6 +1817,7 @@ module Aws::SecurityHub
1808
1817
  # date_range: {
1809
1818
  # value: 1,
1810
1819
  # unit: "DAYS", # accepts DAYS
1820
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
1811
1821
  # },
1812
1822
  # },
1813
1823
  # ],
@@ -2131,17 +2141,30 @@ module Aws::SecurityHub
2131
2141
  req.send_request(options)
2132
2142
  end
2133
2143
 
2134
- # Used by customers to update information about their investigation into
2135
- # a finding. Requested by delegated administrator accounts or member
2136
- # accounts. Delegated administrator accounts can update findings for
2137
- # their account and their member accounts. Member accounts can update
2138
- # findings for their account. `BatchUpdateFindings` and
2139
- # `BatchUpdateFindingV2` both use `securityhub:BatchUpdateFindings` in
2140
- # the `Action` element of an IAM policy statement. You must have
2141
- # permission to perform the `securityhub:BatchUpdateFindings` action.
2144
+ # Updates information about a customer's investigation into a finding.
2145
+ # Delegated administrator accounts can update findings for their account
2146
+ # and their member accounts. Member accounts can update findings for
2147
+ # their own account.
2148
+ #
2149
+ # `BatchUpdateFindings` and `BatchUpdateFindingsV2` both use
2150
+ # `securityhub:BatchUpdateFindings` in the `Action` element of an IAM
2151
+ # policy statement. You must have permission to perform the
2152
+ # `securityhub:BatchUpdateFindings` action. You can configure IAM
2153
+ # policies to restrict access to specific finding fields or field values
2154
+ # by using the `securityhub:OCSFSyntaxPath/<fieldName>` condition key,
2155
+ # where `<fieldName>` is one of the following supported fields:
2156
+ # `SeverityId`, `StatusId`, or `Comment`.
2157
+ #
2158
+ # To prevent a user from updating a specific field, use a `Null`
2159
+ # condition with `securityhub:OCSFSyntaxPath/<fieldName>` set to
2160
+ # `"false"`. To prevent a user from setting a field to a specific value,
2161
+ # use a `StringEquals` condition with
2162
+ # `securityhub:OCSFSyntaxPath/<fieldName>` set to the disallowed value
2163
+ # or list of values.
2164
+ #
2142
2165
  # Updates from `BatchUpdateFindingsV2` don't affect the value of
2143
- # f`inding_info.modified_time`, `finding_info.modified_time_dt`, `time`,
2144
- # `time_dt for a finding`.
2166
+ # `finding_info.modified_time`, `finding_info.modified_time_dt`, `time`,
2167
+ # or `time_dt` for a finding.
2145
2168
  #
2146
2169
  # @option params [Array<String>] :metadata_uids
2147
2170
  # The list of finding `metadata.uid` to indicate findings to update.
@@ -2158,14 +2181,14 @@ module Aws::SecurityHub
2158
2181
  #
2159
2182
  # @option params [Integer] :severity_id
2160
2183
  # The updated value for the normalized severity identifier. The severity
2161
- # ID is an integer with the allowed enum values \[0, 1, 2, 3, 4, 5,
2184
+ # ID is an integer with the allowed enum values \[0, 1, 2, 3, 4, 5, 6,
2162
2185
  # 99\]. When customer provides the updated severity ID, the string
2163
2186
  # sibling severity will automatically be updated in the finding.
2164
2187
  #
2165
2188
  # @option params [Integer] :status_id
2166
2189
  # The updated value for the normalized status identifier. The status ID
2167
- # is an integer with the allowed enum values \[0, 1, 2, 3, 4, 5, 6,
2168
- # 99\]. When customer provides the updated status ID, the string sibling
2190
+ # is an integer with the allowed enum values \[0, 1, 2, 3, 4, 5, 99\].
2191
+ # When customer provides the updated status ID, the string sibling
2169
2192
  # status will automatically be updated in the finding.
2170
2193
  #
2171
2194
  # @return [Types::BatchUpdateFindingsV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -2574,6 +2597,7 @@ module Aws::SecurityHub
2574
2597
  # date_range: {
2575
2598
  # value: 1,
2576
2599
  # unit: "DAYS", # accepts DAYS
2600
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
2577
2601
  # },
2578
2602
  # },
2579
2603
  # ],
@@ -2584,6 +2608,7 @@ module Aws::SecurityHub
2584
2608
  # date_range: {
2585
2609
  # value: 1,
2586
2610
  # unit: "DAYS", # accepts DAYS
2611
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
2587
2612
  # },
2588
2613
  # },
2589
2614
  # ],
@@ -2594,6 +2619,7 @@ module Aws::SecurityHub
2594
2619
  # date_range: {
2595
2620
  # value: 1,
2596
2621
  # unit: "DAYS", # accepts DAYS
2622
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
2597
2623
  # },
2598
2624
  # },
2599
2625
  # ],
@@ -2604,6 +2630,7 @@ module Aws::SecurityHub
2604
2630
  # date_range: {
2605
2631
  # value: 1,
2606
2632
  # unit: "DAYS", # accepts DAYS
2633
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
2607
2634
  # },
2608
2635
  # },
2609
2636
  # ],
@@ -2760,6 +2787,7 @@ module Aws::SecurityHub
2760
2787
  # date_range: {
2761
2788
  # value: 1,
2762
2789
  # unit: "DAYS", # accepts DAYS
2790
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
2763
2791
  # },
2764
2792
  # },
2765
2793
  # ],
@@ -2905,6 +2933,7 @@ module Aws::SecurityHub
2905
2933
  # date_range: {
2906
2934
  # value: 1,
2907
2935
  # unit: "DAYS", # accepts DAYS
2936
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
2908
2937
  # },
2909
2938
  # },
2910
2939
  # },
@@ -3467,6 +3496,7 @@ module Aws::SecurityHub
3467
3496
  # date_range: {
3468
3497
  # value: 1,
3469
3498
  # unit: "DAYS", # accepts DAYS
3499
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
3470
3500
  # },
3471
3501
  # },
3472
3502
  # ],
@@ -3477,6 +3507,7 @@ module Aws::SecurityHub
3477
3507
  # date_range: {
3478
3508
  # value: 1,
3479
3509
  # unit: "DAYS", # accepts DAYS
3510
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
3480
3511
  # },
3481
3512
  # },
3482
3513
  # ],
@@ -3487,6 +3518,7 @@ module Aws::SecurityHub
3487
3518
  # date_range: {
3488
3519
  # value: 1,
3489
3520
  # unit: "DAYS", # accepts DAYS
3521
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
3490
3522
  # },
3491
3523
  # },
3492
3524
  # ],
@@ -3497,6 +3529,7 @@ module Aws::SecurityHub
3497
3529
  # date_range: {
3498
3530
  # value: 1,
3499
3531
  # unit: "DAYS", # accepts DAYS
3532
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
3500
3533
  # },
3501
3534
  # },
3502
3535
  # ],
@@ -3721,6 +3754,7 @@ module Aws::SecurityHub
3721
3754
  # date_range: {
3722
3755
  # value: 1,
3723
3756
  # unit: "DAYS", # accepts DAYS
3757
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
3724
3758
  # },
3725
3759
  # },
3726
3760
  # ],
@@ -3731,6 +3765,7 @@ module Aws::SecurityHub
3731
3765
  # date_range: {
3732
3766
  # value: 1,
3733
3767
  # unit: "DAYS", # accepts DAYS
3768
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
3734
3769
  # },
3735
3770
  # },
3736
3771
  # ],
@@ -3759,6 +3794,7 @@ module Aws::SecurityHub
3759
3794
  # date_range: {
3760
3795
  # value: 1,
3761
3796
  # unit: "DAYS", # accepts DAYS
3797
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
3762
3798
  # },
3763
3799
  # },
3764
3800
  # ],
@@ -3858,6 +3894,7 @@ module Aws::SecurityHub
3858
3894
  # date_range: {
3859
3895
  # value: 1,
3860
3896
  # unit: "DAYS", # accepts DAYS
3897
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
3861
3898
  # },
3862
3899
  # },
3863
3900
  # ],
@@ -3898,6 +3935,7 @@ module Aws::SecurityHub
3898
3935
  # date_range: {
3899
3936
  # value: 1,
3900
3937
  # unit: "DAYS", # accepts DAYS
3938
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
3901
3939
  # },
3902
3940
  # },
3903
3941
  # ],
@@ -3932,6 +3970,7 @@ module Aws::SecurityHub
3932
3970
  # date_range: {
3933
3971
  # value: 1,
3934
3972
  # unit: "DAYS", # accepts DAYS
3973
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
3935
3974
  # },
3936
3975
  # },
3937
3976
  # ],
@@ -3997,6 +4036,7 @@ module Aws::SecurityHub
3997
4036
  # date_range: {
3998
4037
  # value: 1,
3999
4038
  # unit: "DAYS", # accepts DAYS
4039
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
4000
4040
  # },
4001
4041
  # },
4002
4042
  # ],
@@ -5700,6 +5740,31 @@ module Aws::SecurityHub
5700
5740
  req.send_request(options)
5701
5741
  end
5702
5742
 
5743
+ # Begins the recommended policy generation to remediate a Security Hub
5744
+ # finding. `GenerateRecommendedPolicyV2` only supports findings for
5745
+ # unused permissions.
5746
+ #
5747
+ # @option params [required, String] :metadata_uid
5748
+ # The unique identifier (ID) of Security Hub OCSF findings found under
5749
+ # the `metadata.uid` field of the finding.
5750
+ #
5751
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5752
+ #
5753
+ # @example Request syntax with placeholder values
5754
+ #
5755
+ # resp = client.generate_recommended_policy_v2({
5756
+ # metadata_uid: "NonEmptyString", # required
5757
+ # })
5758
+ #
5759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GenerateRecommendedPolicyV2 AWS API Documentation
5760
+ #
5761
+ # @overload generate_recommended_policy_v2(params = {})
5762
+ # @param [Hash] params ({})
5763
+ def generate_recommended_policy_v2(params = {}, options = {})
5764
+ req = build_request(:generate_recommended_policy_v2, params)
5765
+ req.send_request(options)
5766
+ end
5767
+
5703
5768
  # Provides the details for the Security Hub CSPM administrator account
5704
5769
  # for the current member account.
5705
5770
  #
@@ -5822,6 +5887,7 @@ module Aws::SecurityHub
5822
5887
  # resp.criteria.ocsf_finding_criteria.composite_filters[0].date_filters[0].filter.end #=> String
5823
5888
  # resp.criteria.ocsf_finding_criteria.composite_filters[0].date_filters[0].filter.date_range.value #=> Integer
5824
5889
  # resp.criteria.ocsf_finding_criteria.composite_filters[0].date_filters[0].filter.date_range.unit #=> String, one of "DAYS"
5890
+ # resp.criteria.ocsf_finding_criteria.composite_filters[0].date_filters[0].filter.date_range.comparison #=> String, one of "WITHIN", "OLDER_THAN"
5825
5891
  # resp.criteria.ocsf_finding_criteria.composite_filters[0].boolean_filters #=> Array
5826
5892
  # resp.criteria.ocsf_finding_criteria.composite_filters[0].boolean_filters[0].field_name #=> String, one of "compliance.assessments.meets_criteria", "vulnerabilities.is_exploit_available", "vulnerabilities.is_fix_available"
5827
5893
  # resp.criteria.ocsf_finding_criteria.composite_filters[0].boolean_filters[0].filter.value #=> Boolean
@@ -6400,15 +6466,37 @@ module Aws::SecurityHub
6400
6466
  end
6401
6467
 
6402
6468
  # Returns aggregated statistical data about findings.
6403
- # `GetFindingStatisticsV2` use `securityhub:GetAdhocInsightResults` in
6469
+ #
6470
+ # You can use the `Scopes` parameter to define the data boundary for the
6471
+ # query. Currently, `Scopes` supports `AwsOrganizations`, which lets you
6472
+ # aggregate findings from your entire organization or from specific
6473
+ # organizational units. Only the delegated administrator account can use
6474
+ # `Scopes`.
6475
+ #
6476
+ # `GetFindingStatisticsV2` uses `securityhub:GetAdhocInsightResults` in
6404
6477
  # the `Action` element of an IAM policy statement. You must have
6405
- # permission to perform the `s` action.
6478
+ # permission to perform the `securityhub:GetAdhocInsightResults` action.
6406
6479
  #
6407
6480
  # @option params [required, Array<Types::GroupByRule>] :group_by_rules
6408
6481
  # Specifies how security findings should be aggregated and organized in
6409
6482
  # the statistical analysis. It can accept up to 5 `groupBy` fields in a
6410
6483
  # single call.
6411
6484
  #
6485
+ # @option params [Types::FindingScopes] :scopes
6486
+ # Limits the results to findings from specific organizational units or
6487
+ # from the delegated administrator's organization. Only the delegated
6488
+ # administrator account can use this parameter. Other accounts receive
6489
+ # an `AccessDeniedException`.
6490
+ #
6491
+ # This parameter is optional. If you omit it, the delegated
6492
+ # administrator sees statistics from all accounts across the entire
6493
+ # organization. Other accounts see only statistics for their own
6494
+ # findings.
6495
+ #
6496
+ # You can specify up to 10 entries in `Scopes.AwsOrganizations`. If
6497
+ # multiple entries are specified, the entries are combined using OR
6498
+ # logic.
6499
+ #
6412
6500
  # @option params [String] :sort_order
6413
6501
  # Orders the aggregation count in descending or ascending order.
6414
6502
  # Descending order is the default.
@@ -6446,6 +6534,7 @@ module Aws::SecurityHub
6446
6534
  # date_range: {
6447
6535
  # value: 1,
6448
6536
  # unit: "DAYS", # accepts DAYS
6537
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
6449
6538
  # },
6450
6539
  # },
6451
6540
  # },
@@ -6499,6 +6588,14 @@ module Aws::SecurityHub
6499
6588
  # group_by_field: "activity_name", # required, accepts activity_name, cloud.account.uid, cloud.provider, cloud.region, compliance.assessments.name, compliance.status, compliance.control, finding_info.title, finding_info.related_events.traits.category, finding_info.types, metadata.product.name, metadata.product.uid, resources.type, resources.uid, severity, status, vulnerabilities.fix_coverage, class_name, vulnerabilities.affected_packages.name, finding_info.analytic.name, compliance.standards, cloud.account.name, vendor_attributes.severity, metadata.product.vendor_name
6500
6589
  # },
6501
6590
  # ],
6591
+ # scopes: {
6592
+ # aws_organizations: [
6593
+ # {
6594
+ # organization_id: "NonEmptyString",
6595
+ # organizational_unit_id: "NonEmptyString",
6596
+ # },
6597
+ # ],
6598
+ # },
6502
6599
  # sort_order: "asc", # accepts asc, desc
6503
6600
  # max_statistic_results: 1,
6504
6601
  # })
@@ -6714,6 +6811,7 @@ module Aws::SecurityHub
6714
6811
  # date_range: {
6715
6812
  # value: 1,
6716
6813
  # unit: "DAYS", # accepts DAYS
6814
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
6717
6815
  # },
6718
6816
  # },
6719
6817
  # ],
@@ -6724,6 +6822,7 @@ module Aws::SecurityHub
6724
6822
  # date_range: {
6725
6823
  # value: 1,
6726
6824
  # unit: "DAYS", # accepts DAYS
6825
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
6727
6826
  # },
6728
6827
  # },
6729
6828
  # ],
@@ -6734,6 +6833,7 @@ module Aws::SecurityHub
6734
6833
  # date_range: {
6735
6834
  # value: 1,
6736
6835
  # unit: "DAYS", # accepts DAYS
6836
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
6737
6837
  # },
6738
6838
  # },
6739
6839
  # ],
@@ -6744,6 +6844,7 @@ module Aws::SecurityHub
6744
6844
  # date_range: {
6745
6845
  # value: 1,
6746
6846
  # unit: "DAYS", # accepts DAYS
6847
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
6747
6848
  # },
6748
6849
  # },
6749
6850
  # ],
@@ -6968,6 +7069,7 @@ module Aws::SecurityHub
6968
7069
  # date_range: {
6969
7070
  # value: 1,
6970
7071
  # unit: "DAYS", # accepts DAYS
7072
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
6971
7073
  # },
6972
7074
  # },
6973
7075
  # ],
@@ -6978,6 +7080,7 @@ module Aws::SecurityHub
6978
7080
  # date_range: {
6979
7081
  # value: 1,
6980
7082
  # unit: "DAYS", # accepts DAYS
7083
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
6981
7084
  # },
6982
7085
  # },
6983
7086
  # ],
@@ -7006,6 +7109,7 @@ module Aws::SecurityHub
7006
7109
  # date_range: {
7007
7110
  # value: 1,
7008
7111
  # unit: "DAYS", # accepts DAYS
7112
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
7009
7113
  # },
7010
7114
  # },
7011
7115
  # ],
@@ -7105,6 +7209,7 @@ module Aws::SecurityHub
7105
7209
  # date_range: {
7106
7210
  # value: 1,
7107
7211
  # unit: "DAYS", # accepts DAYS
7212
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
7108
7213
  # },
7109
7214
  # },
7110
7215
  # ],
@@ -7145,6 +7250,7 @@ module Aws::SecurityHub
7145
7250
  # date_range: {
7146
7251
  # value: 1,
7147
7252
  # unit: "DAYS", # accepts DAYS
7253
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
7148
7254
  # },
7149
7255
  # },
7150
7256
  # ],
@@ -7179,6 +7285,7 @@ module Aws::SecurityHub
7179
7285
  # date_range: {
7180
7286
  # value: 1,
7181
7287
  # unit: "DAYS", # accepts DAYS
7288
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
7182
7289
  # },
7183
7290
  # },
7184
7291
  # ],
@@ -7244,6 +7351,7 @@ module Aws::SecurityHub
7244
7351
  # date_range: {
7245
7352
  # value: 1,
7246
7353
  # unit: "DAYS", # accepts DAYS
7354
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
7247
7355
  # },
7248
7356
  # },
7249
7357
  # ],
@@ -7469,7 +7577,19 @@ module Aws::SecurityHub
7469
7577
  req.send_request(options)
7470
7578
  end
7471
7579
 
7472
- # Return a list of findings that match the specified criteria.
7580
+ # Returns a list of findings that match the specified criteria.
7581
+ #
7582
+ # You can use the `Scopes` parameter to define the data boundary for the
7583
+ # query. Currently, `Scopes` supports `AwsOrganizations`, which lets you
7584
+ # retrieve findings from your entire organization or from specific
7585
+ # organizational units. Only the delegated administrator account can use
7586
+ # `Scopes`.
7587
+ #
7588
+ # You can use the `Filters` parameter to refine results based on finding
7589
+ # attributes. You can use `Scopes` and `Filters` independently or
7590
+ # together. When both are provided, `Scopes` narrows the data set first,
7591
+ # and then `Filters` refines results within that scoped data set.
7592
+ #
7473
7593
  # `GetFindings` and `GetFindingsV2` both use `securityhub:GetFindings`
7474
7594
  # in the `Action` element of an IAM policy statement. You must have
7475
7595
  # permission to perform the `securityhub:GetFindings` action.
@@ -7480,6 +7600,20 @@ module Aws::SecurityHub
7480
7600
  # each filter type inside of a composite filter, you can provide up to
7481
7601
  # 20 filters.
7482
7602
  #
7603
+ # @option params [Types::FindingScopes] :scopes
7604
+ # Limits the results to findings from specific organizational units or
7605
+ # from the delegated administrator's organization. Only the delegated
7606
+ # administrator account can use this parameter. Other accounts receive
7607
+ # an `AccessDeniedException`.
7608
+ #
7609
+ # This parameter is optional. If you omit it, the delegated
7610
+ # administrator sees findings from all accounts across the entire
7611
+ # organization. Other accounts see only their own findings.
7612
+ #
7613
+ # You can specify up to 10 entries in `Scopes.AwsOrganizations`. If
7614
+ # multiple entries are specified, the entries are combined using OR
7615
+ # logic.
7616
+ #
7483
7617
  # @option params [Array<Types::SortCriterion>] :sort_criteria
7484
7618
  # The finding attributes used to sort the list of returned findings.
7485
7619
  #
@@ -7523,6 +7657,7 @@ module Aws::SecurityHub
7523
7657
  # date_range: {
7524
7658
  # value: 1,
7525
7659
  # unit: "DAYS", # accepts DAYS
7660
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
7526
7661
  # },
7527
7662
  # },
7528
7663
  # },
@@ -7573,6 +7708,14 @@ module Aws::SecurityHub
7573
7708
  # ],
7574
7709
  # composite_operator: "AND", # accepts AND, OR
7575
7710
  # },
7711
+ # scopes: {
7712
+ # aws_organizations: [
7713
+ # {
7714
+ # organization_id: "NonEmptyString",
7715
+ # organizational_unit_id: "NonEmptyString",
7716
+ # },
7717
+ # ],
7718
+ # },
7576
7719
  # sort_criteria: [
7577
7720
  # {
7578
7721
  # field: "NonEmptyString",
@@ -7754,21 +7897,25 @@ module Aws::SecurityHub
7754
7897
  # resp.insights[0].filters.first_observed_at[0].end #=> String
7755
7898
  # resp.insights[0].filters.first_observed_at[0].date_range.value #=> Integer
7756
7899
  # resp.insights[0].filters.first_observed_at[0].date_range.unit #=> String, one of "DAYS"
7900
+ # resp.insights[0].filters.first_observed_at[0].date_range.comparison #=> String, one of "WITHIN", "OLDER_THAN"
7757
7901
  # resp.insights[0].filters.last_observed_at #=> Array
7758
7902
  # resp.insights[0].filters.last_observed_at[0].start #=> String
7759
7903
  # resp.insights[0].filters.last_observed_at[0].end #=> String
7760
7904
  # resp.insights[0].filters.last_observed_at[0].date_range.value #=> Integer
7761
7905
  # resp.insights[0].filters.last_observed_at[0].date_range.unit #=> String, one of "DAYS"
7906
+ # resp.insights[0].filters.last_observed_at[0].date_range.comparison #=> String, one of "WITHIN", "OLDER_THAN"
7762
7907
  # resp.insights[0].filters.created_at #=> Array
7763
7908
  # resp.insights[0].filters.created_at[0].start #=> String
7764
7909
  # resp.insights[0].filters.created_at[0].end #=> String
7765
7910
  # resp.insights[0].filters.created_at[0].date_range.value #=> Integer
7766
7911
  # resp.insights[0].filters.created_at[0].date_range.unit #=> String, one of "DAYS"
7912
+ # resp.insights[0].filters.created_at[0].date_range.comparison #=> String, one of "WITHIN", "OLDER_THAN"
7767
7913
  # resp.insights[0].filters.updated_at #=> Array
7768
7914
  # resp.insights[0].filters.updated_at[0].start #=> String
7769
7915
  # resp.insights[0].filters.updated_at[0].end #=> String
7770
7916
  # resp.insights[0].filters.updated_at[0].date_range.value #=> Integer
7771
7917
  # resp.insights[0].filters.updated_at[0].date_range.unit #=> String, one of "DAYS"
7918
+ # resp.insights[0].filters.updated_at[0].date_range.comparison #=> String, one of "WITHIN", "OLDER_THAN"
7772
7919
  # resp.insights[0].filters.severity_product #=> Array
7773
7920
  # resp.insights[0].filters.severity_product[0].gte #=> Float
7774
7921
  # resp.insights[0].filters.severity_product[0].lte #=> Float
@@ -7892,11 +8039,13 @@ module Aws::SecurityHub
7892
8039
  # resp.insights[0].filters.process_launched_at[0].end #=> String
7893
8040
  # resp.insights[0].filters.process_launched_at[0].date_range.value #=> Integer
7894
8041
  # resp.insights[0].filters.process_launched_at[0].date_range.unit #=> String, one of "DAYS"
8042
+ # resp.insights[0].filters.process_launched_at[0].date_range.comparison #=> String, one of "WITHIN", "OLDER_THAN"
7895
8043
  # resp.insights[0].filters.process_terminated_at #=> Array
7896
8044
  # resp.insights[0].filters.process_terminated_at[0].start #=> String
7897
8045
  # resp.insights[0].filters.process_terminated_at[0].end #=> String
7898
8046
  # resp.insights[0].filters.process_terminated_at[0].date_range.value #=> Integer
7899
8047
  # resp.insights[0].filters.process_terminated_at[0].date_range.unit #=> String, one of "DAYS"
8048
+ # resp.insights[0].filters.process_terminated_at[0].date_range.comparison #=> String, one of "WITHIN", "OLDER_THAN"
7900
8049
  # resp.insights[0].filters.threat_intel_indicator_type #=> Array
7901
8050
  # resp.insights[0].filters.threat_intel_indicator_type[0].value #=> String
7902
8051
  # resp.insights[0].filters.threat_intel_indicator_type[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS", "CONTAINS", "NOT_CONTAINS", "CONTAINS_WORD"
@@ -7911,6 +8060,7 @@ module Aws::SecurityHub
7911
8060
  # resp.insights[0].filters.threat_intel_indicator_last_observed_at[0].end #=> String
7912
8061
  # resp.insights[0].filters.threat_intel_indicator_last_observed_at[0].date_range.value #=> Integer
7913
8062
  # resp.insights[0].filters.threat_intel_indicator_last_observed_at[0].date_range.unit #=> String, one of "DAYS"
8063
+ # resp.insights[0].filters.threat_intel_indicator_last_observed_at[0].date_range.comparison #=> String, one of "WITHIN", "OLDER_THAN"
7914
8064
  # resp.insights[0].filters.threat_intel_indicator_source #=> Array
7915
8065
  # resp.insights[0].filters.threat_intel_indicator_source[0].value #=> String
7916
8066
  # resp.insights[0].filters.threat_intel_indicator_source[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS", "CONTAINS", "NOT_CONTAINS", "CONTAINS_WORD"
@@ -7960,6 +8110,7 @@ module Aws::SecurityHub
7960
8110
  # resp.insights[0].filters.resource_aws_ec2_instance_launched_at[0].end #=> String
7961
8111
  # resp.insights[0].filters.resource_aws_ec2_instance_launched_at[0].date_range.value #=> Integer
7962
8112
  # resp.insights[0].filters.resource_aws_ec2_instance_launched_at[0].date_range.unit #=> String, one of "DAYS"
8113
+ # resp.insights[0].filters.resource_aws_ec2_instance_launched_at[0].date_range.comparison #=> String, one of "WITHIN", "OLDER_THAN"
7963
8114
  # resp.insights[0].filters.resource_aws_s3_bucket_owner_id #=> Array
7964
8115
  # resp.insights[0].filters.resource_aws_s3_bucket_owner_id[0].value #=> String
7965
8116
  # resp.insights[0].filters.resource_aws_s3_bucket_owner_id[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS", "CONTAINS", "NOT_CONTAINS", "CONTAINS_WORD"
@@ -7980,6 +8131,7 @@ module Aws::SecurityHub
7980
8131
  # resp.insights[0].filters.resource_aws_iam_access_key_created_at[0].end #=> String
7981
8132
  # resp.insights[0].filters.resource_aws_iam_access_key_created_at[0].date_range.value #=> Integer
7982
8133
  # resp.insights[0].filters.resource_aws_iam_access_key_created_at[0].date_range.unit #=> String, one of "DAYS"
8134
+ # resp.insights[0].filters.resource_aws_iam_access_key_created_at[0].date_range.comparison #=> String, one of "WITHIN", "OLDER_THAN"
7983
8135
  # resp.insights[0].filters.resource_aws_iam_user_user_name #=> Array
7984
8136
  # resp.insights[0].filters.resource_aws_iam_user_user_name[0].value #=> String
7985
8137
  # resp.insights[0].filters.resource_aws_iam_user_user_name[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS", "CONTAINS", "NOT_CONTAINS", "CONTAINS_WORD"
@@ -7997,6 +8149,7 @@ module Aws::SecurityHub
7997
8149
  # resp.insights[0].filters.resource_container_launched_at[0].end #=> String
7998
8150
  # resp.insights[0].filters.resource_container_launched_at[0].date_range.value #=> Integer
7999
8151
  # resp.insights[0].filters.resource_container_launched_at[0].date_range.unit #=> String, one of "DAYS"
8152
+ # resp.insights[0].filters.resource_container_launched_at[0].date_range.comparison #=> String, one of "WITHIN", "OLDER_THAN"
8000
8153
  # resp.insights[0].filters.resource_details_other #=> Array
8001
8154
  # resp.insights[0].filters.resource_details_other[0].key #=> String
8002
8155
  # resp.insights[0].filters.resource_details_other[0].value #=> String
@@ -8030,6 +8183,7 @@ module Aws::SecurityHub
8030
8183
  # resp.insights[0].filters.note_updated_at[0].end #=> String
8031
8184
  # resp.insights[0].filters.note_updated_at[0].date_range.value #=> Integer
8032
8185
  # resp.insights[0].filters.note_updated_at[0].date_range.unit #=> String, one of "DAYS"
8186
+ # resp.insights[0].filters.note_updated_at[0].date_range.comparison #=> String, one of "WITHIN", "OLDER_THAN"
8033
8187
  # resp.insights[0].filters.note_updated_by #=> Array
8034
8188
  # resp.insights[0].filters.note_updated_by[0].value #=> String
8035
8189
  # resp.insights[0].filters.note_updated_by[0].comparison #=> String, one of "EQUALS", "PREFIX", "NOT_EQUALS", "PREFIX_NOT_EQUALS", "CONTAINS", "NOT_CONTAINS", "CONTAINS_WORD"
@@ -8271,13 +8425,95 @@ module Aws::SecurityHub
8271
8425
  req.send_request(options)
8272
8426
  end
8273
8427
 
8428
+ # Retrieves the recommended policy to remediate a Security Hub finding.
8429
+ # `GetRecommendedPolicyV2` only supports findings for unused
8430
+ # permissions.
8431
+ #
8432
+ # @option params [required, String] :metadata_uid
8433
+ # The unique identifier (ID) of Security Hub OCSF findings found under
8434
+ # the `metadata.uid` field of the finding.
8435
+ #
8436
+ # @option params [String] :next_token
8437
+ # The token used to paginate the `RecommendationSteps` list returned. On
8438
+ # your first call to `GetRecommendedPolicyV2`, omit this parameter or
8439
+ # set it to `NULL`. For subsequent calls, use the `NextToken` value
8440
+ # returned in the previous response to retrieve the next page of
8441
+ # results.
8442
+ #
8443
+ # @option params [Integer] :max_results
8444
+ # The maximum number of recommendation steps to return.
8445
+ #
8446
+ # @return [Types::GetRecommendedPolicyV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8447
+ #
8448
+ # * {Types::GetRecommendedPolicyV2Response#next_token #next_token} => String
8449
+ # * {Types::GetRecommendedPolicyV2Response#recommendation_type #recommendation_type} => String
8450
+ # * {Types::GetRecommendedPolicyV2Response#recommendation_steps #recommendation_steps} => Array&lt;Types::RecommendationStep&gt;
8451
+ # * {Types::GetRecommendedPolicyV2Response#error #error} => Types::RecommendationError
8452
+ # * {Types::GetRecommendedPolicyV2Response#status #status} => String
8453
+ # * {Types::GetRecommendedPolicyV2Response#resource_arn #resource_arn} => String
8454
+ #
8455
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
8456
+ #
8457
+ # @example Request syntax with placeholder values
8458
+ #
8459
+ # resp = client.get_recommended_policy_v2({
8460
+ # metadata_uid: "NonEmptyString", # required
8461
+ # next_token: "NextToken",
8462
+ # max_results: 1,
8463
+ # })
8464
+ #
8465
+ # @example Response structure
8466
+ #
8467
+ # resp.next_token #=> String
8468
+ # resp.recommendation_type #=> String, one of "UNUSED_PERMISSION_RECOMMENDATION"
8469
+ # resp.recommendation_steps #=> Array
8470
+ # resp.recommendation_steps[0].unused_permissions.recommended_action #=> String
8471
+ # resp.recommendation_steps[0].unused_permissions.existing_policy #=> String
8472
+ # resp.recommendation_steps[0].unused_permissions.existing_policy_id #=> String
8473
+ # resp.recommendation_steps[0].unused_permissions.policy_updated_at #=> Time
8474
+ # resp.recommendation_steps[0].unused_permissions.recommended_policy #=> String
8475
+ # resp.error.code #=> String
8476
+ # resp.error.message #=> String
8477
+ # resp.status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
8478
+ # resp.resource_arn #=> String
8479
+ #
8480
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetRecommendedPolicyV2 AWS API Documentation
8481
+ #
8482
+ # @overload get_recommended_policy_v2(params = {})
8483
+ # @param [Hash] params ({})
8484
+ def get_recommended_policy_v2(params = {}, options = {})
8485
+ req = build_request(:get_recommended_policy_v2, params)
8486
+ req.send_request(options)
8487
+ end
8488
+
8274
8489
  # Retrieves statistical information about Amazon Web Services resources
8275
8490
  # and their associated security findings.
8276
8491
  #
8492
+ # You can use the `Scopes` parameter to define the data boundary for the
8493
+ # query. Currently, `Scopes` supports `AwsOrganizations`, which lets you
8494
+ # aggregate resources from your entire organization or from specific
8495
+ # organizational units. Only the delegated administrator account can use
8496
+ # `Scopes`.
8497
+ #
8277
8498
  # @option params [required, Array<Types::ResourceGroupByRule>] :group_by_rules
8278
8499
  # How resource statistics should be aggregated and organized in the
8279
8500
  # response.
8280
8501
  #
8502
+ # @option params [Types::ResourceScopes] :scopes
8503
+ # Limits the results to resources from specific organizational units or
8504
+ # from the delegated administrator's organization. Only the delegated
8505
+ # administrator account can use this parameter. Other accounts receive
8506
+ # an `AccessDeniedException`.
8507
+ #
8508
+ # This parameter is optional. If you omit it, the delegated
8509
+ # administrator sees statistics from all accounts across the entire
8510
+ # organization. Other accounts see only statistics for their own
8511
+ # resources.
8512
+ #
8513
+ # You can specify up to 10 entries in `Scopes.AwsOrganizations`. If
8514
+ # multiple entries are specified, the entries are combined using OR
8515
+ # logic.
8516
+ #
8281
8517
  # @option params [String] :sort_order
8282
8518
  # Sorts aggregated statistics.
8283
8519
  #
@@ -8315,6 +8551,7 @@ module Aws::SecurityHub
8315
8551
  # date_range: {
8316
8552
  # value: 1,
8317
8553
  # unit: "DAYS", # accepts DAYS
8554
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
8318
8555
  # },
8319
8556
  # },
8320
8557
  # },
@@ -8351,6 +8588,14 @@ module Aws::SecurityHub
8351
8588
  # },
8352
8589
  # },
8353
8590
  # ],
8591
+ # scopes: {
8592
+ # aws_organizations: [
8593
+ # {
8594
+ # organization_id: "NonEmptyString",
8595
+ # organizational_unit_id: "NonEmptyString",
8596
+ # },
8597
+ # ],
8598
+ # },
8354
8599
  # sort_order: "asc", # accepts asc, desc
8355
8600
  # max_statistic_results: 1,
8356
8601
  # })
@@ -8451,11 +8696,36 @@ module Aws::SecurityHub
8451
8696
 
8452
8697
  # Returns a list of resources.
8453
8698
  #
8699
+ # You can use the `Scopes` parameter to define the data boundary for the
8700
+ # query. Currently, `Scopes` supports `AwsOrganizations`, which lets you
8701
+ # retrieve resources from your entire organization or from specific
8702
+ # organizational units. Only the delegated administrator account can use
8703
+ # `Scopes`.
8704
+ #
8705
+ # You can use the `Filters` parameter to refine results based on
8706
+ # resource attributes. You can use `Scopes` and `Filters` independently
8707
+ # or together. When both are provided, `Scopes` narrows the data set
8708
+ # first, and then `Filters` refines results within that scoped data set.
8709
+ #
8454
8710
  # @option params [Types::ResourcesFilters] :filters
8455
8711
  # Filters resources based on a set of criteria.
8456
8712
  #
8713
+ # @option params [Types::ResourceScopes] :scopes
8714
+ # Limits the results to resources from specific organizational units or
8715
+ # from the delegated administrator's organization. Only the delegated
8716
+ # administrator account can use this parameter. Other accounts receive
8717
+ # an `AccessDeniedException`.
8718
+ #
8719
+ # This parameter is optional. If you omit it, the delegated
8720
+ # administrator sees resources from all accounts across the entire
8721
+ # organization. Other accounts see only their own resources.
8722
+ #
8723
+ # You can specify up to 10 entries in `Scopes.AwsOrganizations`. If
8724
+ # multiple entries are specified, the entries are combined using OR
8725
+ # logic.
8726
+ #
8457
8727
  # @option params [Array<Types::SortCriterion>] :sort_criteria
8458
- # The finding attributes used to sort the list of returned findings.
8728
+ # The resource attributes used to sort the list of returned resources.
8459
8729
  #
8460
8730
  # @option params [String] :next_token
8461
8731
  # The token required for pagination. On your first call, set the value
@@ -8497,6 +8767,7 @@ module Aws::SecurityHub
8497
8767
  # date_range: {
8498
8768
  # value: 1,
8499
8769
  # unit: "DAYS", # accepts DAYS
8770
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
8500
8771
  # },
8501
8772
  # },
8502
8773
  # },
@@ -8531,6 +8802,14 @@ module Aws::SecurityHub
8531
8802
  # ],
8532
8803
  # composite_operator: "AND", # accepts AND, OR
8533
8804
  # },
8805
+ # scopes: {
8806
+ # aws_organizations: [
8807
+ # {
8808
+ # organization_id: "NonEmptyString",
8809
+ # organizational_unit_id: "NonEmptyString",
8810
+ # },
8811
+ # ],
8812
+ # },
8534
8813
  # sort_criteria: [
8535
8814
  # {
8536
8815
  # field: "NonEmptyString",
@@ -10208,6 +10487,7 @@ module Aws::SecurityHub
10208
10487
  # date_range: {
10209
10488
  # value: 1,
10210
10489
  # unit: "DAYS", # accepts DAYS
10490
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
10211
10491
  # },
10212
10492
  # },
10213
10493
  # },
@@ -10710,6 +10990,7 @@ module Aws::SecurityHub
10710
10990
  # date_range: {
10711
10991
  # value: 1,
10712
10992
  # unit: "DAYS", # accepts DAYS
10993
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
10713
10994
  # },
10714
10995
  # },
10715
10996
  # ],
@@ -10720,6 +11001,7 @@ module Aws::SecurityHub
10720
11001
  # date_range: {
10721
11002
  # value: 1,
10722
11003
  # unit: "DAYS", # accepts DAYS
11004
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
10723
11005
  # },
10724
11006
  # },
10725
11007
  # ],
@@ -10730,6 +11012,7 @@ module Aws::SecurityHub
10730
11012
  # date_range: {
10731
11013
  # value: 1,
10732
11014
  # unit: "DAYS", # accepts DAYS
11015
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
10733
11016
  # },
10734
11017
  # },
10735
11018
  # ],
@@ -10740,6 +11023,7 @@ module Aws::SecurityHub
10740
11023
  # date_range: {
10741
11024
  # value: 1,
10742
11025
  # unit: "DAYS", # accepts DAYS
11026
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
10743
11027
  # },
10744
11028
  # },
10745
11029
  # ],
@@ -10964,6 +11248,7 @@ module Aws::SecurityHub
10964
11248
  # date_range: {
10965
11249
  # value: 1,
10966
11250
  # unit: "DAYS", # accepts DAYS
11251
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
10967
11252
  # },
10968
11253
  # },
10969
11254
  # ],
@@ -10974,6 +11259,7 @@ module Aws::SecurityHub
10974
11259
  # date_range: {
10975
11260
  # value: 1,
10976
11261
  # unit: "DAYS", # accepts DAYS
11262
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
10977
11263
  # },
10978
11264
  # },
10979
11265
  # ],
@@ -11002,6 +11288,7 @@ module Aws::SecurityHub
11002
11288
  # date_range: {
11003
11289
  # value: 1,
11004
11290
  # unit: "DAYS", # accepts DAYS
11291
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
11005
11292
  # },
11006
11293
  # },
11007
11294
  # ],
@@ -11101,6 +11388,7 @@ module Aws::SecurityHub
11101
11388
  # date_range: {
11102
11389
  # value: 1,
11103
11390
  # unit: "DAYS", # accepts DAYS
11391
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
11104
11392
  # },
11105
11393
  # },
11106
11394
  # ],
@@ -11141,6 +11429,7 @@ module Aws::SecurityHub
11141
11429
  # date_range: {
11142
11430
  # value: 1,
11143
11431
  # unit: "DAYS", # accepts DAYS
11432
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
11144
11433
  # },
11145
11434
  # },
11146
11435
  # ],
@@ -11175,6 +11464,7 @@ module Aws::SecurityHub
11175
11464
  # date_range: {
11176
11465
  # value: 1,
11177
11466
  # unit: "DAYS", # accepts DAYS
11467
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
11178
11468
  # },
11179
11469
  # },
11180
11470
  # ],
@@ -11240,6 +11530,7 @@ module Aws::SecurityHub
11240
11530
  # date_range: {
11241
11531
  # value: 1,
11242
11532
  # unit: "DAYS", # accepts DAYS
11533
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
11243
11534
  # },
11244
11535
  # },
11245
11536
  # ],
@@ -11468,6 +11759,7 @@ module Aws::SecurityHub
11468
11759
  # date_range: {
11469
11760
  # value: 1,
11470
11761
  # unit: "DAYS", # accepts DAYS
11762
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
11471
11763
  # },
11472
11764
  # },
11473
11765
  # ],
@@ -11478,6 +11770,7 @@ module Aws::SecurityHub
11478
11770
  # date_range: {
11479
11771
  # value: 1,
11480
11772
  # unit: "DAYS", # accepts DAYS
11773
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
11481
11774
  # },
11482
11775
  # },
11483
11776
  # ],
@@ -11488,6 +11781,7 @@ module Aws::SecurityHub
11488
11781
  # date_range: {
11489
11782
  # value: 1,
11490
11783
  # unit: "DAYS", # accepts DAYS
11784
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
11491
11785
  # },
11492
11786
  # },
11493
11787
  # ],
@@ -11498,6 +11792,7 @@ module Aws::SecurityHub
11498
11792
  # date_range: {
11499
11793
  # value: 1,
11500
11794
  # unit: "DAYS", # accepts DAYS
11795
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
11501
11796
  # },
11502
11797
  # },
11503
11798
  # ],
@@ -11722,6 +12017,7 @@ module Aws::SecurityHub
11722
12017
  # date_range: {
11723
12018
  # value: 1,
11724
12019
  # unit: "DAYS", # accepts DAYS
12020
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
11725
12021
  # },
11726
12022
  # },
11727
12023
  # ],
@@ -11732,6 +12028,7 @@ module Aws::SecurityHub
11732
12028
  # date_range: {
11733
12029
  # value: 1,
11734
12030
  # unit: "DAYS", # accepts DAYS
12031
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
11735
12032
  # },
11736
12033
  # },
11737
12034
  # ],
@@ -11760,6 +12057,7 @@ module Aws::SecurityHub
11760
12057
  # date_range: {
11761
12058
  # value: 1,
11762
12059
  # unit: "DAYS", # accepts DAYS
12060
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
11763
12061
  # },
11764
12062
  # },
11765
12063
  # ],
@@ -11859,6 +12157,7 @@ module Aws::SecurityHub
11859
12157
  # date_range: {
11860
12158
  # value: 1,
11861
12159
  # unit: "DAYS", # accepts DAYS
12160
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
11862
12161
  # },
11863
12162
  # },
11864
12163
  # ],
@@ -11899,6 +12198,7 @@ module Aws::SecurityHub
11899
12198
  # date_range: {
11900
12199
  # value: 1,
11901
12200
  # unit: "DAYS", # accepts DAYS
12201
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
11902
12202
  # },
11903
12203
  # },
11904
12204
  # ],
@@ -11933,6 +12233,7 @@ module Aws::SecurityHub
11933
12233
  # date_range: {
11934
12234
  # value: 1,
11935
12235
  # unit: "DAYS", # accepts DAYS
12236
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
11936
12237
  # },
11937
12238
  # },
11938
12239
  # ],
@@ -11998,6 +12299,7 @@ module Aws::SecurityHub
11998
12299
  # date_range: {
11999
12300
  # value: 1,
12000
12301
  # unit: "DAYS", # accepts DAYS
12302
+ # comparison: "WITHIN", # accepts WITHIN, OLDER_THAN
12001
12303
  # },
12002
12304
  # },
12003
12305
  # ],
@@ -12409,7 +12711,7 @@ module Aws::SecurityHub
12409
12711
  tracer: tracer
12410
12712
  )
12411
12713
  context[:gem_name] = 'aws-sdk-securityhub'
12412
- context[:gem_version] = '1.153.0'
12714
+ context[:gem_version] = '1.155.0'
12413
12715
  Seahorse::Client::Request.new(handlers, context)
12414
12716
  end
12415
12717