aws-sdk-guardduty 1.98.0 → 1.100.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23a519597fea3d1f529f4f8cd43e95686f0e2fbea7adae18d7abbe2a173ccd5c
4
- data.tar.gz: 0ca27de4f5f266ff3568e41f212a28ba768321381a4f734501194f40d6eebc6b
3
+ metadata.gz: a079b2e7d8db834862ade6a2ff677d4d0d590bd1c974e618c4386fa62d01c065
4
+ data.tar.gz: 978c64937385ed271a98f61aef6a894265464f139283d5d3a0c5e6a88cf8e5ec
5
5
  SHA512:
6
- metadata.gz: 66ecf74d8bfc19166c77c02f2c0c1fa741a2c382e6e9e90b07f871cb4b3c3ac05d6808699606f51fef8c99d241bcbe463463013c87c85cf14365db728756b863
7
- data.tar.gz: b6added0c95ca67ed6dda9325ff5c23a28fcbb6a6ec8328d3e5acbdab22fdf25376fc6ed0380755902280667dcec169d9be0cbe9871b231397dd6aa99a3c565a
6
+ metadata.gz: 997d91975f7da7f7905729d6ccdb11f0a8734065d938ada325a2efb99b0cc647da41515a779759f7d074f8e1d87ba508d3ab25df2151d0df3755a3b68dae23e5
7
+ data.tar.gz: bcefc02c311f10dfdc49adbc7f39282e67fc52da92854493a808182326f1a0edab7d1340a9f2345206e5c95ec1177dae9db04065d345dbaa3087631176b89fb0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.100.0 (2024-09-18)
5
+ ------------------
6
+
7
+ * Feature - Add `launchType` and `sourceIPs` fields to GuardDuty findings.
8
+
9
+ 1.99.0 (2024-09-11)
10
+ ------------------
11
+
12
+ * Feature - Add support for new statistic types in GetFindingsStatistics.
13
+
4
14
  1.98.0 (2024-09-10)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.98.0
1
+ 1.100.0
@@ -670,8 +670,8 @@ module Aws::GuardDuty
670
670
  # [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_limits.html
671
671
  #
672
672
  # @option params [required, String] :detector_id
673
- # The ID of the detector belonging to the GuardDuty account that you
674
- # want to create a filter for.
673
+ # The detector ID associated with the GuardDuty account for which you
674
+ # want to create a filter.
675
675
  #
676
676
  # @option params [required, String] :name
677
677
  # The name of the filter. Valid characters include period (.),
@@ -977,8 +977,8 @@ module Aws::GuardDuty
977
977
  # can use this operation.
978
978
  #
979
979
  # @option params [required, String] :detector_id
980
- # The unique ID of the detector of the GuardDuty account that you want
981
- # to create an IPSet for.
980
+ # The unique ID of the detector of the GuardDuty account for which you
981
+ # want to create an IPSet.
982
982
  #
983
983
  # @option params [required, String] :name
984
984
  # The user-friendly name to identify the IPSet.
@@ -1054,8 +1054,8 @@ module Aws::GuardDuty
1054
1054
  # not need to pass this option.**
1055
1055
  #
1056
1056
  # @option params [required, String] :role
1057
- # IAM role with permissions required to scan and add tags to the
1058
- # associated protected resource.
1057
+ # Amazon Resource Name (ARN) of the IAM role that has the permissions to
1058
+ # scan and add tags to the associated protected resource.
1059
1059
  #
1060
1060
  # @option params [required, Types::CreateProtectedResource] :protected_resource
1061
1061
  # Information about the protected resource that is associated with the
@@ -1144,8 +1144,8 @@ module Aws::GuardDuty
1144
1144
  # [3]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html
1145
1145
  #
1146
1146
  # @option params [required, String] :detector_id
1147
- # The unique ID of the detector of the GuardDuty account that you want
1148
- # to associate member accounts with.
1147
+ # The unique ID of the detector of the GuardDuty account for which you
1148
+ # want to associate member accounts.
1149
1149
  #
1150
1150
  # @option params [required, Array<Types::AccountDetail>] :account_details
1151
1151
  # A list of account ID and email address pairs of the accounts that you
@@ -1182,8 +1182,9 @@ module Aws::GuardDuty
1182
1182
  req.send_request(options)
1183
1183
  end
1184
1184
 
1185
- # Creates a publishing destination to export findings to. The resource
1186
- # to export findings to must exist before you use this operation.
1185
+ # Creates a publishing destination where you can export your GuardDuty
1186
+ # findings. Before you start exporting the findings, the destination
1187
+ # resource must exist.
1187
1188
  #
1188
1189
  # @option params [required, String] :detector_id
1189
1190
  # The ID of the GuardDuty detector associated with the publishing
@@ -1237,7 +1238,7 @@ module Aws::GuardDuty
1237
1238
  # sample findings of all supported finding types.
1238
1239
  #
1239
1240
  # @option params [required, String] :detector_id
1240
- # The ID of the detector to create sample findings for.
1241
+ # The ID of the detector for which you need to create sample findings.
1241
1242
  #
1242
1243
  # @option params [Array<String>] :finding_types
1243
1244
  # The types of sample findings to generate.
@@ -1266,8 +1267,8 @@ module Aws::GuardDuty
1266
1267
  # operation.
1267
1268
  #
1268
1269
  # @option params [required, String] :detector_id
1269
- # The unique ID of the detector of the GuardDuty account that you want
1270
- # to create a threatIntelSet for.
1270
+ # The unique ID of the detector of the GuardDuty account for which you
1271
+ # want to create a `ThreatIntelSet`.
1271
1272
  #
1272
1273
  # @option params [required, String] :name
1273
1274
  # A user-friendly ThreatIntelSet name displayed in all findings that are
@@ -1383,7 +1384,7 @@ module Aws::GuardDuty
1383
1384
  # Deletes the filter specified by the filter name.
1384
1385
  #
1385
1386
  # @option params [required, String] :detector_id
1386
- # The unique ID of the detector that the filter is associated with.
1387
+ # The unique ID of the detector that is associated with the filter.
1387
1388
  #
1388
1389
  # @option params [required, String] :filter_name
1389
1390
  # The name of the filter that you want to delete.
@@ -1561,8 +1562,8 @@ module Aws::GuardDuty
1561
1562
  # Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.
1562
1563
  #
1563
1564
  # @option params [required, String] :detector_id
1564
- # The unique ID of the detector that the threatIntelSet is associated
1565
- # with.
1565
+ # The unique ID of the detector that is associated with the
1566
+ # threatIntelSet.
1566
1567
  #
1567
1568
  # @option params [required, String] :threat_intel_set_id
1568
1569
  # The unique ID of the threatIntelSet that you want to delete.
@@ -1706,8 +1707,8 @@ module Aws::GuardDuty
1706
1707
  # [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
1707
1708
  #
1708
1709
  # @option params [required, String] :detector_id
1709
- # The ID of the detector to retrieve information about the delegated
1710
- # administrator from.
1710
+ # The detector ID of the delegated administrator for which you need to
1711
+ # retrieve the information.
1711
1712
  #
1712
1713
  # @option params [Integer] :max_results
1713
1714
  # You can use this parameter to indicate the maximum number of items
@@ -2051,11 +2052,10 @@ module Aws::GuardDuty
2051
2052
  # GuardDuty security agent running on their resources.
2052
2053
  #
2053
2054
  # @option params [required, String] :detector_id
2054
- # The unique ID of the GuardDuty detector associated to the coverage
2055
- # statistics.
2055
+ # The unique ID of the GuardDuty detector.
2056
2056
  #
2057
2057
  # @option params [Types::CoverageFilterCriteria] :filter_criteria
2058
- # Represents the criteria used to filter the coverage statistics
2058
+ # Represents the criteria used to filter the coverage statistics.
2059
2059
  #
2060
2060
  # @option params [required, Array<String>] :statistics_type
2061
2061
  # Represents the statistics type used to aggregate the coverage details.
@@ -2098,7 +2098,7 @@ module Aws::GuardDuty
2098
2098
  req.send_request(options)
2099
2099
  end
2100
2100
 
2101
- # Retrieves an Amazon GuardDuty detector specified by the detectorId.
2101
+ # Retrieves a GuardDuty detector specified by the detectorId.
2102
2102
  #
2103
2103
  # There might be regional differences because some data sources might
2104
2104
  # not be available in all the Amazon Web Services Regions where
@@ -2167,7 +2167,7 @@ module Aws::GuardDuty
2167
2167
  # Returns the details of the filter specified by the filter name.
2168
2168
  #
2169
2169
  # @option params [required, String] :detector_id
2170
- # The unique ID of the detector that the filter is associated with.
2170
+ # The unique ID of the detector that is associated with this filter.
2171
2171
  #
2172
2172
  # @option params [required, String] :filter_name
2173
2173
  # The name of the filter you want to get.
@@ -2417,6 +2417,7 @@ module Aws::GuardDuty
2417
2417
  # resp.findings[0].resource.ecs_cluster_details.task_details.containers[0].security_context.privileged #=> Boolean
2418
2418
  # resp.findings[0].resource.ecs_cluster_details.task_details.containers[0].security_context.allow_privilege_escalation #=> Boolean
2419
2419
  # resp.findings[0].resource.ecs_cluster_details.task_details.group #=> String
2420
+ # resp.findings[0].resource.ecs_cluster_details.task_details.launch_type #=> String
2420
2421
  # resp.findings[0].resource.container_details.container_runtime #=> String
2421
2422
  # resp.findings[0].resource.container_details.id #=> String
2422
2423
  # resp.findings[0].resource.container_details.name #=> String
@@ -2736,8 +2737,11 @@ module Aws::GuardDuty
2736
2737
  req.send_request(options)
2737
2738
  end
2738
2739
 
2739
- # Lists Amazon GuardDuty findings statistics for the specified detector
2740
- # ID.
2740
+ # Lists GuardDuty findings statistics for the specified detector ID.
2741
+ #
2742
+ # You must provide either `findingStatisticTypes` or `groupBy`
2743
+ # parameter, and not both. You can use the `maxResults` and `orderBy`
2744
+ # parameters only when using `groupBy`.
2741
2745
  #
2742
2746
  # There might be regional differences because some flags might not be
2743
2747
  # available in all the Regions where GuardDuty is currently supported.
@@ -2748,24 +2752,40 @@ module Aws::GuardDuty
2748
2752
  # [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
2749
2753
  #
2750
2754
  # @option params [required, String] :detector_id
2751
- # The ID of the detector that specifies the GuardDuty service whose
2752
- # findings' statistics you want to retrieve.
2755
+ # The ID of the detector whose findings statistics you want to retrieve.
2753
2756
  #
2754
- # @option params [required, Array<String>] :finding_statistic_types
2757
+ # @option params [Array<String>] :finding_statistic_types
2755
2758
  # The types of finding statistics to retrieve.
2756
2759
  #
2757
2760
  # @option params [Types::FindingCriteria] :finding_criteria
2758
2761
  # Represents the criteria that is used for querying findings.
2759
2762
  #
2763
+ # @option params [String] :group_by
2764
+ # Displays the findings statistics grouped by one of the listed valid
2765
+ # values.
2766
+ #
2767
+ # @option params [String] :order_by
2768
+ # Displays the sorted findings in the requested order. The default value
2769
+ # of `orderBy` is `DESC`.
2770
+ #
2771
+ # You can use this parameter only with the `groupBy` parameter.
2772
+ #
2773
+ # @option params [Integer] :max_results
2774
+ # The maximum number of results to be returned in the response. The
2775
+ # default value is 25.
2776
+ #
2777
+ # You can use this parameter only with the `groupBy` parameter.
2778
+ #
2760
2779
  # @return [Types::GetFindingsStatisticsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2761
2780
  #
2762
2781
  # * {Types::GetFindingsStatisticsResponse#finding_statistics #finding_statistics} => Types::FindingStatistics
2782
+ # * {Types::GetFindingsStatisticsResponse#next_token #next_token} => String
2763
2783
  #
2764
2784
  # @example Request syntax with placeholder values
2765
2785
  #
2766
2786
  # resp = client.get_findings_statistics({
2767
2787
  # detector_id: "DetectorId", # required
2768
- # finding_statistic_types: ["COUNT_BY_SEVERITY"], # required, accepts COUNT_BY_SEVERITY
2788
+ # finding_statistic_types: ["COUNT_BY_SEVERITY"], # accepts COUNT_BY_SEVERITY
2769
2789
  # finding_criteria: {
2770
2790
  # criterion: {
2771
2791
  # "String" => {
@@ -2784,12 +2804,39 @@ module Aws::GuardDuty
2784
2804
  # },
2785
2805
  # },
2786
2806
  # },
2807
+ # group_by: "ACCOUNT", # accepts ACCOUNT, DATE, FINDING_TYPE, RESOURCE, SEVERITY
2808
+ # order_by: "ASC", # accepts ASC, DESC
2809
+ # max_results: 1,
2787
2810
  # })
2788
2811
  #
2789
2812
  # @example Response structure
2790
2813
  #
2791
2814
  # resp.finding_statistics.count_by_severity #=> Hash
2792
2815
  # resp.finding_statistics.count_by_severity["String"] #=> Integer
2816
+ # resp.finding_statistics.grouped_by_account #=> Array
2817
+ # resp.finding_statistics.grouped_by_account[0].account_id #=> String
2818
+ # resp.finding_statistics.grouped_by_account[0].last_generated_at #=> Time
2819
+ # resp.finding_statistics.grouped_by_account[0].total_findings #=> Integer
2820
+ # resp.finding_statistics.grouped_by_date #=> Array
2821
+ # resp.finding_statistics.grouped_by_date[0].date #=> Time
2822
+ # resp.finding_statistics.grouped_by_date[0].last_generated_at #=> Time
2823
+ # resp.finding_statistics.grouped_by_date[0].severity #=> Float
2824
+ # resp.finding_statistics.grouped_by_date[0].total_findings #=> Integer
2825
+ # resp.finding_statistics.grouped_by_finding_type #=> Array
2826
+ # resp.finding_statistics.grouped_by_finding_type[0].finding_type #=> String
2827
+ # resp.finding_statistics.grouped_by_finding_type[0].last_generated_at #=> Time
2828
+ # resp.finding_statistics.grouped_by_finding_type[0].total_findings #=> Integer
2829
+ # resp.finding_statistics.grouped_by_resource #=> Array
2830
+ # resp.finding_statistics.grouped_by_resource[0].account_id #=> String
2831
+ # resp.finding_statistics.grouped_by_resource[0].last_generated_at #=> Time
2832
+ # resp.finding_statistics.grouped_by_resource[0].resource_id #=> String
2833
+ # resp.finding_statistics.grouped_by_resource[0].resource_type #=> String
2834
+ # resp.finding_statistics.grouped_by_resource[0].total_findings #=> Integer
2835
+ # resp.finding_statistics.grouped_by_severity #=> Array
2836
+ # resp.finding_statistics.grouped_by_severity[0].last_generated_at #=> Time
2837
+ # resp.finding_statistics.grouped_by_severity[0].severity #=> Float
2838
+ # resp.finding_statistics.grouped_by_severity[0].total_findings #=> Integer
2839
+ # resp.next_token #=> String
2793
2840
  #
2794
2841
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatistics AWS API Documentation
2795
2842
  #
@@ -2803,7 +2850,7 @@ module Aws::GuardDuty
2803
2850
  # Retrieves the IPSet specified by the `ipSetId`.
2804
2851
  #
2805
2852
  # @option params [required, String] :detector_id
2806
- # The unique ID of the detector that the IPSet is associated with.
2853
+ # The unique ID of the detector that is associated with the IPSet.
2807
2854
  #
2808
2855
  # @option params [required, String] :ip_set_id
2809
2856
  # The unique ID of the IPSet to retrieve.
@@ -2922,8 +2969,7 @@ module Aws::GuardDuty
2922
2969
  # [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
2923
2970
  #
2924
2971
  # @option params [required, String] :detector_id
2925
- # The unique ID of the detector that the scan setting is associated
2926
- # with.
2972
+ # The unique ID of the detector that is associated with this scan.
2927
2973
  #
2928
2974
  # @return [Types::GetMalwareScanSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2929
2975
  #
@@ -3005,7 +3051,7 @@ module Aws::GuardDuty
3005
3051
  # The detector ID for the administrator account.
3006
3052
  #
3007
3053
  # @option params [required, Array<String>] :account_ids
3008
- # The account ID of the member account.
3054
+ # A list of member account IDs.
3009
3055
  #
3010
3056
  # @return [Types::GetMemberDetectorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3011
3057
  #
@@ -3184,8 +3230,8 @@ module Aws::GuardDuty
3184
3230
  # ID.
3185
3231
  #
3186
3232
  # @option params [required, String] :detector_id
3187
- # The unique ID of the detector that the threatIntelSet is associated
3188
- # with.
3233
+ # The unique ID of the detector that is associated with the
3234
+ # threatIntelSet.
3189
3235
  #
3190
3236
  # @option params [required, String] :threat_intel_set_id
3191
3237
  # The unique ID of the threatIntelSet that you want to get.
@@ -3367,8 +3413,8 @@ module Aws::GuardDuty
3367
3413
  # [6]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html
3368
3414
  #
3369
3415
  # @option params [required, String] :detector_id
3370
- # The unique ID of the detector of the GuardDuty account that you want
3371
- # to invite members with.
3416
+ # The unique ID of the detector of the GuardDuty account with which you
3417
+ # want to invite members.
3372
3418
  #
3373
3419
  # @option params [required, Array<String>] :account_ids
3374
3420
  # A list of account IDs of the accounts that you want to invite to
@@ -3553,7 +3599,7 @@ module Aws::GuardDuty
3553
3599
  # Returns a paginated list of the current filters.
3554
3600
  #
3555
3601
  # @option params [required, String] :detector_id
3556
- # The unique ID of the detector that the filter is associated with.
3602
+ # The unique ID of the detector that is associated with the filter.
3557
3603
  #
3558
3604
  # @option params [Integer] :max_results
3559
3605
  # You can use this parameter to indicate the maximum number of items
@@ -3710,6 +3756,8 @@ module Aws::GuardDuty
3710
3756
  # listed. When this attribute is not set, all existing findings are
3711
3757
  # listed.
3712
3758
  #
3759
+ # * service.ebsVolumeScanDetails.scanId
3760
+ #
3713
3761
  # * service.resourceRole
3714
3762
  #
3715
3763
  # * severity
@@ -3792,7 +3840,7 @@ module Aws::GuardDuty
3792
3840
  # returned are the IPSets from the associated administrator account.
3793
3841
  #
3794
3842
  # @option params [required, String] :detector_id
3795
- # The unique ID of the detector that the IPSet is associated with.
3843
+ # The unique ID of the detector that is associated with IPSet.
3796
3844
  #
3797
3845
  # @option params [Integer] :max_results
3798
3846
  # You can use this parameter to indicate the maximum number of items you
@@ -3923,7 +3971,7 @@ module Aws::GuardDuty
3923
3971
  # administrator account.
3924
3972
  #
3925
3973
  # @option params [required, String] :detector_id
3926
- # The unique ID of the detector the member is associated with.
3974
+ # The unique ID of the detector that is associated with the member.
3927
3975
  #
3928
3976
  # @option params [Integer] :max_results
3929
3977
  # You can use this parameter to indicate the maximum number of items you
@@ -4034,7 +4082,8 @@ module Aws::GuardDuty
4034
4082
  # specified `detectorId`.
4035
4083
  #
4036
4084
  # @option params [required, String] :detector_id
4037
- # The ID of the detector to retrieve publishing destinations for.
4085
+ # The detector ID for which you want to retrieve the publishing
4086
+ # destination.
4038
4087
  #
4039
4088
  # @option params [Integer] :max_results
4040
4089
  # The maximum number of results to return in the response.
@@ -4116,8 +4165,8 @@ module Aws::GuardDuty
4116
4165
  # returned.
4117
4166
  #
4118
4167
  # @option params [required, String] :detector_id
4119
- # The unique ID of the detector that the threatIntelSet is associated
4120
- # with.
4168
+ # The unique ID of the detector that is associated with the
4169
+ # threatIntelSet.
4121
4170
  #
4122
4171
  # @option params [Integer] :max_results
4123
4172
  # You can use this parameter to indicate the maximum number of items
@@ -4530,8 +4579,8 @@ module Aws::GuardDuty
4530
4579
  # Marks the specified GuardDuty findings as useful or not useful.
4531
4580
  #
4532
4581
  # @option params [required, String] :detector_id
4533
- # The ID of the detector associated with the findings to update feedback
4534
- # for.
4582
+ # The ID of the detector that is associated with the findings for which
4583
+ # you want to update the feedback.
4535
4584
  #
4536
4585
  # @option params [required, Array<String>] :finding_ids
4537
4586
  # The IDs of the findings that you want to mark as useful or not useful.
@@ -4608,8 +4657,8 @@ module Aws::GuardDuty
4608
4657
  # A unique identifier associated with the Malware Protection plan.
4609
4658
  #
4610
4659
  # @option params [String] :role
4611
- # IAM role with permissions required to scan and add tags to the
4612
- # associated protected resource.
4660
+ # Amazon Resource Name (ARN) of the IAM role with permissions to scan
4661
+ # and add tags to the associated protected resource.
4613
4662
  #
4614
4663
  # @option params [Types::MalwareProtectionPlanActions] :actions
4615
4664
  # Information about whether the tags will be added to the S3 object
@@ -5006,7 +5055,7 @@ module Aws::GuardDuty
5006
5055
  tracer: tracer
5007
5056
  )
5008
5057
  context[:gem_name] = 'aws-sdk-guardduty'
5009
- context[:gem_version] = '1.98.0'
5058
+ context[:gem_version] = '1.100.0'
5010
5059
  Seahorse::Client::Request.new(handlers, context)
5011
5060
  end
5012
5061
 
@@ -27,6 +27,7 @@ module Aws::GuardDuty
27
27
  AccountId = Shapes::StringShape.new(name: 'AccountId')
28
28
  AccountIds = Shapes::ListShape.new(name: 'AccountIds')
29
29
  AccountLevelPermissions = Shapes::StructureShape.new(name: 'AccountLevelPermissions')
30
+ AccountStatistics = Shapes::StructureShape.new(name: 'AccountStatistics')
30
31
  Action = Shapes::StructureShape.new(name: 'Action')
31
32
  AddonDetails = Shapes::StructureShape.new(name: 'AddonDetails')
32
33
  AdminAccount = Shapes::StructureShape.new(name: 'AdminAccount')
@@ -109,6 +110,7 @@ module Aws::GuardDuty
109
110
  DataSourceList = Shapes::ListShape.new(name: 'DataSourceList')
110
111
  DataSourceStatus = Shapes::StringShape.new(name: 'DataSourceStatus')
111
112
  DataSourcesFreeTrial = Shapes::StructureShape.new(name: 'DataSourcesFreeTrial')
113
+ DateStatistics = Shapes::StructureShape.new(name: 'DateStatistics')
112
114
  DeclineInvitationsRequest = Shapes::StructureShape.new(name: 'DeclineInvitationsRequest')
113
115
  DeclineInvitationsResponse = Shapes::StructureShape.new(name: 'DeclineInvitationsResponse')
114
116
  DefaultServerSideEncryption = Shapes::StructureShape.new(name: 'DefaultServerSideEncryption')
@@ -198,6 +200,7 @@ module Aws::GuardDuty
198
200
  FindingStatisticTypes = Shapes::ListShape.new(name: 'FindingStatisticTypes')
199
201
  FindingStatistics = Shapes::StructureShape.new(name: 'FindingStatistics')
200
202
  FindingType = Shapes::StringShape.new(name: 'FindingType')
203
+ FindingTypeStatistics = Shapes::StructureShape.new(name: 'FindingTypeStatistics')
201
204
  FindingTypes = Shapes::ListShape.new(name: 'FindingTypes')
202
205
  Findings = Shapes::ListShape.new(name: 'Findings')
203
206
  FlagsList = Shapes::ListShape.new(name: 'FlagsList')
@@ -239,6 +242,12 @@ module Aws::GuardDuty
239
242
  GetThreatIntelSetResponse = Shapes::StructureShape.new(name: 'GetThreatIntelSetResponse')
240
243
  GetUsageStatisticsRequest = Shapes::StructureShape.new(name: 'GetUsageStatisticsRequest')
241
244
  GetUsageStatisticsResponse = Shapes::StructureShape.new(name: 'GetUsageStatisticsResponse')
245
+ GroupByType = Shapes::StringShape.new(name: 'GroupByType')
246
+ GroupedByAccount = Shapes::ListShape.new(name: 'GroupedByAccount')
247
+ GroupedByDate = Shapes::ListShape.new(name: 'GroupedByDate')
248
+ GroupedByFindingType = Shapes::ListShape.new(name: 'GroupedByFindingType')
249
+ GroupedByResource = Shapes::ListShape.new(name: 'GroupedByResource')
250
+ GroupedBySeverity = Shapes::ListShape.new(name: 'GroupedBySeverity')
242
251
  Groups = Shapes::ListShape.new(name: 'Groups')
243
252
  GuardDutyArn = Shapes::StringShape.new(name: 'GuardDutyArn')
244
253
  HighestSeverityThreatDetails = Shapes::StructureShape.new(name: 'HighestSeverityThreatDetails')
@@ -324,6 +333,7 @@ module Aws::GuardDuty
324
333
  MapEquals = Shapes::ListShape.new(name: 'MapEquals')
325
334
  Master = Shapes::StructureShape.new(name: 'Master')
326
335
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
336
+ MaxResults100 = Shapes::IntegerShape.new(name: 'MaxResults100')
327
337
  Member = Shapes::StructureShape.new(name: 'Member')
328
338
  MemberAdditionalConfiguration = Shapes::StructureShape.new(name: 'MemberAdditionalConfiguration')
329
339
  MemberAdditionalConfigurationResult = Shapes::StructureShape.new(name: 'MemberAdditionalConfigurationResult')
@@ -405,6 +415,7 @@ module Aws::GuardDuty
405
415
  ResourceDetails = Shapes::StructureShape.new(name: 'ResourceDetails')
406
416
  ResourceList = Shapes::ListShape.new(name: 'ResourceList')
407
417
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
418
+ ResourceStatistics = Shapes::StructureShape.new(name: 'ResourceStatistics')
408
419
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
409
420
  RuntimeContext = Shapes::StructureShape.new(name: 'RuntimeContext')
410
421
  RuntimeDetails = Shapes::StructureShape.new(name: 'RuntimeDetails')
@@ -439,6 +450,7 @@ module Aws::GuardDuty
439
450
  Service = Shapes::StructureShape.new(name: 'Service')
440
451
  ServiceAdditionalInfo = Shapes::StructureShape.new(name: 'ServiceAdditionalInfo')
441
452
  SessionNameList = Shapes::ListShape.new(name: 'SessionNameList')
453
+ SeverityStatistics = Shapes::StructureShape.new(name: 'SeverityStatistics')
442
454
  SortCriteria = Shapes::StructureShape.new(name: 'SortCriteria')
443
455
  SourceIps = Shapes::ListShape.new(name: 'SourceIps')
444
456
  Sources = Shapes::ListShape.new(name: 'Sources')
@@ -570,6 +582,11 @@ module Aws::GuardDuty
570
582
  AccountLevelPermissions.add_member(:block_public_access, Shapes::ShapeRef.new(shape: BlockPublicAccess, location_name: "blockPublicAccess"))
571
583
  AccountLevelPermissions.struct_class = Types::AccountLevelPermissions
572
584
 
585
+ AccountStatistics.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "accountId"))
586
+ AccountStatistics.add_member(:last_generated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastGeneratedAt"))
587
+ AccountStatistics.add_member(:total_findings, Shapes::ShapeRef.new(shape: Integer, location_name: "totalFindings"))
588
+ AccountStatistics.struct_class = Types::AccountStatistics
589
+
573
590
  Action.add_member(:action_type, Shapes::ShapeRef.new(shape: String, location_name: "actionType"))
574
591
  Action.add_member(:aws_api_call_action, Shapes::ShapeRef.new(shape: AwsApiCallAction, location_name: "awsApiCallAction"))
575
592
  Action.add_member(:dns_request_action, Shapes::ShapeRef.new(shape: DnsRequestAction, location_name: "dnsRequestAction"))
@@ -897,6 +914,12 @@ module Aws::GuardDuty
897
914
  DataSourcesFreeTrial.add_member(:malware_protection, Shapes::ShapeRef.new(shape: MalwareProtectionDataSourceFreeTrial, location_name: "malwareProtection"))
898
915
  DataSourcesFreeTrial.struct_class = Types::DataSourcesFreeTrial
899
916
 
917
+ DateStatistics.add_member(:date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "date"))
918
+ DateStatistics.add_member(:last_generated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastGeneratedAt"))
919
+ DateStatistics.add_member(:severity, Shapes::ShapeRef.new(shape: Double, location_name: "severity"))
920
+ DateStatistics.add_member(:total_findings, Shapes::ShapeRef.new(shape: Integer, location_name: "totalFindings"))
921
+ DateStatistics.struct_class = Types::DateStatistics
922
+
900
923
  DeclineInvitationsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
901
924
  DeclineInvitationsRequest.struct_class = Types::DeclineInvitationsRequest
902
925
 
@@ -1099,6 +1122,7 @@ module Aws::GuardDuty
1099
1122
  EcsTaskDetails.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
1100
1123
  EcsTaskDetails.add_member(:containers, Shapes::ShapeRef.new(shape: Containers, location_name: "containers"))
1101
1124
  EcsTaskDetails.add_member(:group, Shapes::ShapeRef.new(shape: String, location_name: "group"))
1125
+ EcsTaskDetails.add_member(:launch_type, Shapes::ShapeRef.new(shape: String, location_name: "launchType"))
1102
1126
  EcsTaskDetails.struct_class = Types::EcsTaskDetails
1103
1127
 
1104
1128
  EksClusterDetails.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
@@ -1167,9 +1191,19 @@ module Aws::GuardDuty
1167
1191
 
1168
1192
  FindingStatisticTypes.member = Shapes::ShapeRef.new(shape: FindingStatisticType)
1169
1193
 
1170
- FindingStatistics.add_member(:count_by_severity, Shapes::ShapeRef.new(shape: CountBySeverity, location_name: "countBySeverity"))
1194
+ FindingStatistics.add_member(:count_by_severity, Shapes::ShapeRef.new(shape: CountBySeverity, deprecated: true, location_name: "countBySeverity", metadata: {"deprecatedMessage"=>"This parameter is deprecated. Please set GroupBy to 'SEVERITY' to return GroupedBySeverity instead."}))
1195
+ FindingStatistics.add_member(:grouped_by_account, Shapes::ShapeRef.new(shape: GroupedByAccount, location_name: "groupedByAccount"))
1196
+ FindingStatistics.add_member(:grouped_by_date, Shapes::ShapeRef.new(shape: GroupedByDate, location_name: "groupedByDate"))
1197
+ FindingStatistics.add_member(:grouped_by_finding_type, Shapes::ShapeRef.new(shape: GroupedByFindingType, location_name: "groupedByFindingType"))
1198
+ FindingStatistics.add_member(:grouped_by_resource, Shapes::ShapeRef.new(shape: GroupedByResource, location_name: "groupedByResource"))
1199
+ FindingStatistics.add_member(:grouped_by_severity, Shapes::ShapeRef.new(shape: GroupedBySeverity, location_name: "groupedBySeverity"))
1171
1200
  FindingStatistics.struct_class = Types::FindingStatistics
1172
1201
 
1202
+ FindingTypeStatistics.add_member(:finding_type, Shapes::ShapeRef.new(shape: String, location_name: "findingType"))
1203
+ FindingTypeStatistics.add_member(:last_generated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastGeneratedAt"))
1204
+ FindingTypeStatistics.add_member(:total_findings, Shapes::ShapeRef.new(shape: Integer, location_name: "totalFindings"))
1205
+ FindingTypeStatistics.struct_class = Types::FindingTypeStatistics
1206
+
1173
1207
  FindingTypes.member = Shapes::ShapeRef.new(shape: FindingType)
1174
1208
 
1175
1209
  Findings.member = Shapes::ShapeRef.new(shape: Finding)
@@ -1237,11 +1271,15 @@ module Aws::GuardDuty
1237
1271
  GetFindingsResponse.struct_class = Types::GetFindingsResponse
1238
1272
 
1239
1273
  GetFindingsStatisticsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1240
- GetFindingsStatisticsRequest.add_member(:finding_statistic_types, Shapes::ShapeRef.new(shape: FindingStatisticTypes, required: true, location_name: "findingStatisticTypes"))
1274
+ GetFindingsStatisticsRequest.add_member(:finding_statistic_types, Shapes::ShapeRef.new(shape: FindingStatisticTypes, deprecated: true, location_name: "findingStatisticTypes", metadata: {"deprecatedMessage"=>"This parameter is deprecated, please use GroupBy instead"}))
1241
1275
  GetFindingsStatisticsRequest.add_member(:finding_criteria, Shapes::ShapeRef.new(shape: FindingCriteria, location_name: "findingCriteria"))
1276
+ GetFindingsStatisticsRequest.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupByType, location_name: "groupBy"))
1277
+ GetFindingsStatisticsRequest.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
1278
+ GetFindingsStatisticsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults100, location_name: "maxResults"))
1242
1279
  GetFindingsStatisticsRequest.struct_class = Types::GetFindingsStatisticsRequest
1243
1280
 
1244
1281
  GetFindingsStatisticsResponse.add_member(:finding_statistics, Shapes::ShapeRef.new(shape: FindingStatistics, required: true, location_name: "findingStatistics"))
1282
+ GetFindingsStatisticsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
1245
1283
  GetFindingsStatisticsResponse.struct_class = Types::GetFindingsStatisticsResponse
1246
1284
 
1247
1285
  GetIPSetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
@@ -1336,6 +1374,16 @@ module Aws::GuardDuty
1336
1374
  GetUsageStatisticsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
1337
1375
  GetUsageStatisticsResponse.struct_class = Types::GetUsageStatisticsResponse
1338
1376
 
1377
+ GroupedByAccount.member = Shapes::ShapeRef.new(shape: AccountStatistics)
1378
+
1379
+ GroupedByDate.member = Shapes::ShapeRef.new(shape: DateStatistics)
1380
+
1381
+ GroupedByFindingType.member = Shapes::ShapeRef.new(shape: FindingTypeStatistics)
1382
+
1383
+ GroupedByResource.member = Shapes::ShapeRef.new(shape: ResourceStatistics)
1384
+
1385
+ GroupedBySeverity.member = Shapes::ShapeRef.new(shape: SeverityStatistics)
1386
+
1339
1387
  Groups.member = Shapes::ShapeRef.new(shape: String)
1340
1388
 
1341
1389
  HighestSeverityThreatDetails.add_member(:severity, Shapes::ShapeRef.new(shape: String, location_name: "severity"))
@@ -1404,7 +1452,7 @@ module Aws::GuardDuty
1404
1452
 
1405
1453
  KubernetesApiCallAction.add_member(:request_uri, Shapes::ShapeRef.new(shape: String, location_name: "requestUri"))
1406
1454
  KubernetesApiCallAction.add_member(:verb, Shapes::ShapeRef.new(shape: String, location_name: "verb"))
1407
- KubernetesApiCallAction.add_member(:source_ips, Shapes::ShapeRef.new(shape: SourceIps, location_name: "sourceIps"))
1455
+ KubernetesApiCallAction.add_member(:source_ips, Shapes::ShapeRef.new(shape: SourceIps, location_name: "sourceIPs"))
1408
1456
  KubernetesApiCallAction.add_member(:user_agent, Shapes::ShapeRef.new(shape: String, location_name: "userAgent"))
1409
1457
  KubernetesApiCallAction.add_member(:remote_ip_details, Shapes::ShapeRef.new(shape: RemoteIpDetails, location_name: "remoteIpDetails"))
1410
1458
  KubernetesApiCallAction.add_member(:status_code, Shapes::ShapeRef.new(shape: Integer, location_name: "statusCode"))
@@ -1946,6 +1994,13 @@ module Aws::GuardDuty
1946
1994
  ResourceNotFoundException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "__type"))
1947
1995
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1948
1996
 
1997
+ ResourceStatistics.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "accountId"))
1998
+ ResourceStatistics.add_member(:last_generated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastGeneratedAt"))
1999
+ ResourceStatistics.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
2000
+ ResourceStatistics.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
2001
+ ResourceStatistics.add_member(:total_findings, Shapes::ShapeRef.new(shape: Integer, location_name: "totalFindings"))
2002
+ ResourceStatistics.struct_class = Types::ResourceStatistics
2003
+
1949
2004
  RuntimeContext.add_member(:modifying_process, Shapes::ShapeRef.new(shape: ProcessDetails, location_name: "modifyingProcess"))
1950
2005
  RuntimeContext.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "modifiedAt"))
1951
2006
  RuntimeContext.add_member(:script_path, Shapes::ShapeRef.new(shape: String, location_name: "scriptPath"))
@@ -2106,6 +2161,11 @@ module Aws::GuardDuty
2106
2161
 
2107
2162
  SessionNameList.member = Shapes::ShapeRef.new(shape: String)
2108
2163
 
2164
+ SeverityStatistics.add_member(:last_generated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastGeneratedAt"))
2165
+ SeverityStatistics.add_member(:severity, Shapes::ShapeRef.new(shape: Double, location_name: "severity"))
2166
+ SeverityStatistics.add_member(:total_findings, Shapes::ShapeRef.new(shape: Integer, location_name: "totalFindings"))
2167
+ SeverityStatistics.struct_class = Types::SeverityStatistics
2168
+
2109
2169
  SortCriteria.add_member(:attribute_name, Shapes::ShapeRef.new(shape: String, location_name: "attributeName"))
2110
2170
  SortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
2111
2171
  SortCriteria.struct_class = Types::SortCriteria