aws-sdk-guardduty 1.36.0 → 1.37.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: 0b31e6be5da0f7f691fe98f9e0f431c3c313aa2267e59e8a456b9138e167f00c
4
- data.tar.gz: 20abf5a840390cc62d4d6c168536d640d5c613ebd3f38f4c8390073a0d908177
3
+ metadata.gz: f76294e737e82177c93c2dbc5727860d1ab902652d16cd2b33eafb75b28d773f
4
+ data.tar.gz: f255983aa415d0a00307f525982e85e4b6a69137c8c1302f8b5d9d027279700f
5
5
  SHA512:
6
- metadata.gz: 301174c7ee0c0208913ab17c76f5f3a4e96f3c24aff9d3714a7bcfbb63341cadca77777dd1dd22c1318fe7ea51b362ee5333251b6e19841e6dc119916f9c0ad4
7
- data.tar.gz: acc43203f71aa487f9da853348b06b156e7758610abb1238ee738c18a5e0d7b7595e5d325708b29b1b09a0f3c69e854dac54f3c21202d536737d65449664d8d0
6
+ metadata.gz: 2f6b94345f3bdcc3c7c91ea721d9c816de6d90312f47af329fa51fd99c533c0ad62a3a38f0aca21b1c4fb6bb647857d5e541a35b959d2a41053196b88df55662
7
+ data.tar.gz: c2c0dc8c3d46ad6784f2299ae887a9abbeba5d9e0ddc0448a07a4f8490964f539bb5e69fffdbf060c88e2c813906a05735461ecc9b604982a9ec93eda0a6f6ad
@@ -47,6 +47,6 @@ require_relative 'aws-sdk-guardduty/customizations'
47
47
  # @service
48
48
  module Aws::GuardDuty
49
49
 
50
- GEM_VERSION = '1.36.0'
50
+ GEM_VERSION = '1.37.0'
51
51
 
52
52
  end
@@ -395,6 +395,10 @@ module Aws::GuardDuty
395
395
  # An enum value that specifies how frequently updated findings are
396
396
  # exported.
397
397
  #
398
+ # @option params [Types::DataSourceConfigurations] :data_sources
399
+ # An object that describes which data sources will be enabled for the
400
+ # detector.
401
+ #
398
402
  # @option params [Hash<String,String>] :tags
399
403
  # The tags to be added to a new detector resource.
400
404
  #
@@ -408,6 +412,11 @@ module Aws::GuardDuty
408
412
  # enable: false, # required
409
413
  # client_token: "ClientToken",
410
414
  # finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
415
+ # data_sources: {
416
+ # s3_logs: {
417
+ # enable: false, # required
418
+ # },
419
+ # },
411
420
  # tags: {
412
421
  # "TagKey" => "TagValue",
413
422
  # },
@@ -641,8 +650,7 @@ module Aws::GuardDuty
641
650
  # The format of the file that contains the IPSet.
642
651
  #
643
652
  # @option params [required, String] :location
644
- # The URI of the file that contains the IPSet. For example:
645
- # https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
653
+ # The URI of the file that contains the IPSet.
646
654
  #
647
655
  # @option params [required, Boolean] :activate
648
656
  # A Boolean value that indicates whether GuardDuty is to start using the
@@ -827,8 +835,7 @@ module Aws::GuardDuty
827
835
  # The format of the file that contains the ThreatIntelSet.
828
836
  #
829
837
  # @option params [required, String] :location
830
- # The URI of the file that contains the ThreatIntelSet. For example:
831
- # https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
838
+ # The URI of the file that contains the ThreatIntelSet.
832
839
  #
833
840
  # @option params [required, Boolean] :activate
834
841
  # A Boolean value that indicates whether GuardDuty is to start using the
@@ -1116,6 +1123,7 @@ module Aws::GuardDuty
1116
1123
  #
1117
1124
  # * {Types::DescribeOrganizationConfigurationResponse#auto_enable #auto_enable} => Boolean
1118
1125
  # * {Types::DescribeOrganizationConfigurationResponse#member_account_limit_reached #member_account_limit_reached} => Boolean
1126
+ # * {Types::DescribeOrganizationConfigurationResponse#data_sources #data_sources} => Types::OrganizationDataSourceConfigurationsResult
1119
1127
  #
1120
1128
  # @example Request syntax with placeholder values
1121
1129
  #
@@ -1127,6 +1135,7 @@ module Aws::GuardDuty
1127
1135
  #
1128
1136
  # resp.auto_enable #=> Boolean
1129
1137
  # resp.member_account_limit_reached #=> Boolean
1138
+ # resp.data_sources.s3_logs.auto_enable #=> Boolean
1130
1139
  #
1131
1140
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfiguration AWS API Documentation
1132
1141
  #
@@ -1300,6 +1309,7 @@ module Aws::GuardDuty
1300
1309
  # * {Types::GetDetectorResponse#service_role #service_role} => String
1301
1310
  # * {Types::GetDetectorResponse#status #status} => String
1302
1311
  # * {Types::GetDetectorResponse#updated_at #updated_at} => String
1312
+ # * {Types::GetDetectorResponse#data_sources #data_sources} => Types::DataSourceConfigurationsResult
1303
1313
  # * {Types::GetDetectorResponse#tags #tags} => Hash&lt;String,String&gt;
1304
1314
  #
1305
1315
  # @example Request syntax with placeholder values
@@ -1315,6 +1325,10 @@ module Aws::GuardDuty
1315
1325
  # resp.service_role #=> String
1316
1326
  # resp.status #=> String, one of "ENABLED", "DISABLED"
1317
1327
  # resp.updated_at #=> String
1328
+ # resp.data_sources.cloud_trail.status #=> String, one of "ENABLED", "DISABLED"
1329
+ # resp.data_sources.dns_logs.status #=> String, one of "ENABLED", "DISABLED"
1330
+ # resp.data_sources.flow_logs.status #=> String, one of "ENABLED", "DISABLED"
1331
+ # resp.data_sources.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
1318
1332
  # resp.tags #=> Hash
1319
1333
  # resp.tags["TagKey"] #=> String
1320
1334
  #
@@ -1712,6 +1726,48 @@ module Aws::GuardDuty
1712
1726
  req.send_request(options)
1713
1727
  end
1714
1728
 
1729
+ # Describes which data sources are enabled for the member account's
1730
+ # detector.
1731
+ #
1732
+ # @option params [required, String] :detector_id
1733
+ # The detector ID for the master account.
1734
+ #
1735
+ # @option params [required, Array<String>] :account_ids
1736
+ # The account ID of the member account.
1737
+ #
1738
+ # @return [Types::GetMemberDetectorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1739
+ #
1740
+ # * {Types::GetMemberDetectorsResponse#member_data_source_configurations #member_data_source_configurations} => Array&lt;Types::MemberDataSourceConfiguration&gt;
1741
+ # * {Types::GetMemberDetectorsResponse#unprocessed_accounts #unprocessed_accounts} => Array&lt;Types::UnprocessedAccount&gt;
1742
+ #
1743
+ # @example Request syntax with placeholder values
1744
+ #
1745
+ # resp = client.get_member_detectors({
1746
+ # detector_id: "DetectorId", # required
1747
+ # account_ids: ["AccountId"], # required
1748
+ # })
1749
+ #
1750
+ # @example Response structure
1751
+ #
1752
+ # resp.member_data_source_configurations #=> Array
1753
+ # resp.member_data_source_configurations[0].account_id #=> String
1754
+ # resp.member_data_source_configurations[0].data_sources.cloud_trail.status #=> String, one of "ENABLED", "DISABLED"
1755
+ # resp.member_data_source_configurations[0].data_sources.dns_logs.status #=> String, one of "ENABLED", "DISABLED"
1756
+ # resp.member_data_source_configurations[0].data_sources.flow_logs.status #=> String, one of "ENABLED", "DISABLED"
1757
+ # resp.member_data_source_configurations[0].data_sources.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
1758
+ # resp.unprocessed_accounts #=> Array
1759
+ # resp.unprocessed_accounts[0].account_id #=> String
1760
+ # resp.unprocessed_accounts[0].result #=> String
1761
+ #
1762
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMemberDetectors AWS API Documentation
1763
+ #
1764
+ # @overload get_member_detectors(params = {})
1765
+ # @param [Hash] params ({})
1766
+ def get_member_detectors(params = {}, options = {})
1767
+ req = build_request(:get_member_detectors, params)
1768
+ req.send_request(options)
1769
+ end
1770
+
1715
1771
  # Retrieves GuardDuty member accounts (to the current GuardDuty master
1716
1772
  # account) specified by the account IDs.
1717
1773
  #
@@ -1976,6 +2032,8 @@ module Aws::GuardDuty
1976
2032
  #
1977
2033
  # * resource.instanceDetails.instanceId
1978
2034
  #
2035
+ # * resource.instanceDetails.outpostArn
2036
+ #
1979
2037
  # * resource.instanceDetails.networkInterfaces.ipv6Addresses
1980
2038
  #
1981
2039
  # * resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress
@@ -2026,6 +2084,8 @@ module Aws::GuardDuty
2026
2084
  #
2027
2085
  # * service.action.networkConnectionAction.protocol
2028
2086
  #
2087
+ # * service.action.networkConnectionAction.localIpDetails.ipAddressV4
2088
+ #
2029
2089
  # * service.action.networkConnectionAction.remoteIpDetails.city.cityName
2030
2090
  #
2031
2091
  # * service.action.networkConnectionAction.remoteIpDetails.country.countryName
@@ -2220,8 +2280,8 @@ module Aws::GuardDuty
2220
2280
  req.send_request(options)
2221
2281
  end
2222
2282
 
2223
- # Lists details about all member accounts for the current GuardDuty
2224
- # master account.
2283
+ # Lists details about associated member accounts for the current
2284
+ # GuardDuty master account.
2225
2285
  #
2226
2286
  # @option params [required, String] :detector_id
2227
2287
  # The unique ID of the detector the member is associated with.
@@ -2239,9 +2299,11 @@ module Aws::GuardDuty
2239
2299
  # data.
2240
2300
  #
2241
2301
  # @option params [String] :only_associated
2242
- # Specifies whether to only return associated members or to return all
2243
- # members (including members who haven't been invited yet or have been
2244
- # disassociated).
2302
+ # Specifies what member accounts the response includes based on their
2303
+ # relationship status with the master account. The default value is
2304
+ # "true". If set to "false" the response includes all existing
2305
+ # member accounts (including members who haven't been invited yet or
2306
+ # have been disassociated).
2245
2307
  #
2246
2308
  # @return [Types::ListMembersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2247
2309
  #
@@ -2620,6 +2682,9 @@ module Aws::GuardDuty
2620
2682
  # An enum value that specifies how frequently findings are exported,
2621
2683
  # such as to CloudWatch Events.
2622
2684
  #
2685
+ # @option params [Types::DataSourceConfigurations] :data_sources
2686
+ # An object that describes which data sources will be updated.
2687
+ #
2623
2688
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2624
2689
  #
2625
2690
  # @example Request syntax with placeholder values
@@ -2628,6 +2693,11 @@ module Aws::GuardDuty
2628
2693
  # detector_id: "DetectorId", # required
2629
2694
  # enable: false,
2630
2695
  # finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
2696
+ # data_sources: {
2697
+ # s3_logs: {
2698
+ # enable: false, # required
2699
+ # },
2700
+ # },
2631
2701
  # })
2632
2702
  #
2633
2703
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetector AWS API Documentation
@@ -2757,8 +2827,7 @@ module Aws::GuardDuty
2757
2827
  # The unique ID that specifies the IPSet that you want to update.
2758
2828
  #
2759
2829
  # @option params [String] :location
2760
- # The updated URI of the file that contains the IPSet. For example:
2761
- # https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
2830
+ # The updated URI of the file that contains the IPSet.
2762
2831
  #
2763
2832
  # @option params [Boolean] :activate
2764
2833
  # The updated Boolean value that specifies whether the IPSet is active
@@ -2785,6 +2854,48 @@ module Aws::GuardDuty
2785
2854
  req.send_request(options)
2786
2855
  end
2787
2856
 
2857
+ # Contains information on member accounts to be updated.
2858
+ #
2859
+ # @option params [required, String] :detector_id
2860
+ # The detector ID of the master account.
2861
+ #
2862
+ # @option params [required, Array<String>] :account_ids
2863
+ # A list of member account IDs to be updated.
2864
+ #
2865
+ # @option params [Types::DataSourceConfigurations] :data_sources
2866
+ # An object describes which data sources will be updated.
2867
+ #
2868
+ # @return [Types::UpdateMemberDetectorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2869
+ #
2870
+ # * {Types::UpdateMemberDetectorsResponse#unprocessed_accounts #unprocessed_accounts} => Array&lt;Types::UnprocessedAccount&gt;
2871
+ #
2872
+ # @example Request syntax with placeholder values
2873
+ #
2874
+ # resp = client.update_member_detectors({
2875
+ # detector_id: "DetectorId", # required
2876
+ # account_ids: ["AccountId"], # required
2877
+ # data_sources: {
2878
+ # s3_logs: {
2879
+ # enable: false, # required
2880
+ # },
2881
+ # },
2882
+ # })
2883
+ #
2884
+ # @example Response structure
2885
+ #
2886
+ # resp.unprocessed_accounts #=> Array
2887
+ # resp.unprocessed_accounts[0].account_id #=> String
2888
+ # resp.unprocessed_accounts[0].result #=> String
2889
+ #
2890
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateMemberDetectors AWS API Documentation
2891
+ #
2892
+ # @overload update_member_detectors(params = {})
2893
+ # @param [Hash] params ({})
2894
+ def update_member_detectors(params = {}, options = {})
2895
+ req = build_request(:update_member_detectors, params)
2896
+ req.send_request(options)
2897
+ end
2898
+
2788
2899
  # Updates the delegated administrator account with the values provided.
2789
2900
  #
2790
2901
  # @option params [required, String] :detector_id
@@ -2794,6 +2905,9 @@ module Aws::GuardDuty
2794
2905
  # Indicates whether to automatically enable member accounts in the
2795
2906
  # organization.
2796
2907
  #
2908
+ # @option params [Types::OrganizationDataSourceConfigurations] :data_sources
2909
+ # An object describes which data sources will be updated.
2910
+ #
2797
2911
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2798
2912
  #
2799
2913
  # @example Request syntax with placeholder values
@@ -2801,6 +2915,11 @@ module Aws::GuardDuty
2801
2915
  # resp = client.update_organization_configuration({
2802
2916
  # detector_id: "DetectorId", # required
2803
2917
  # auto_enable: false, # required
2918
+ # data_sources: {
2919
+ # s3_logs: {
2920
+ # auto_enable: false, # required
2921
+ # },
2922
+ # },
2804
2923
  # })
2805
2924
  #
2806
2925
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateOrganizationConfiguration AWS API Documentation
@@ -2863,8 +2982,7 @@ module Aws::GuardDuty
2863
2982
  # update.
2864
2983
  #
2865
2984
  # @option params [String] :location
2866
- # The updated URI of the file that contains the ThreateIntelSet. For
2867
- # example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
2985
+ # The updated URI of the file that contains the ThreateIntelSet.
2868
2986
  #
2869
2987
  # @option params [Boolean] :activate
2870
2988
  # The updated Boolean value that specifies whether the ThreateIntelSet
@@ -2904,7 +3022,7 @@ module Aws::GuardDuty
2904
3022
  params: params,
2905
3023
  config: config)
2906
3024
  context[:gem_name] = 'aws-sdk-guardduty'
2907
- context[:gem_version] = '1.36.0'
3025
+ context[:gem_version] = '1.37.0'
2908
3026
  Seahorse::Client::Request.new(handlers, context)
2909
3027
  end
2910
3028
 
@@ -36,6 +36,7 @@ module Aws::GuardDuty
36
36
  BucketPolicy = Shapes::StructureShape.new(name: 'BucketPolicy')
37
37
  City = Shapes::StructureShape.new(name: 'City')
38
38
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
39
+ CloudTrailConfigurationResult = Shapes::StructureShape.new(name: 'CloudTrailConfigurationResult')
39
40
  Condition = Shapes::StructureShape.new(name: 'Condition')
40
41
  CountBySeverity = Shapes::MapShape.new(name: 'CountBySeverity')
41
42
  Country = Shapes::StructureShape.new(name: 'Country')
@@ -54,6 +55,10 @@ module Aws::GuardDuty
54
55
  CreateThreatIntelSetRequest = Shapes::StructureShape.new(name: 'CreateThreatIntelSetRequest')
55
56
  CreateThreatIntelSetResponse = Shapes::StructureShape.new(name: 'CreateThreatIntelSetResponse')
56
57
  Criterion = Shapes::MapShape.new(name: 'Criterion')
58
+ DNSLogsConfigurationResult = Shapes::StructureShape.new(name: 'DNSLogsConfigurationResult')
59
+ DataSourceConfigurations = Shapes::StructureShape.new(name: 'DataSourceConfigurations')
60
+ DataSourceConfigurationsResult = Shapes::StructureShape.new(name: 'DataSourceConfigurationsResult')
61
+ DataSourceStatus = Shapes::StringShape.new(name: 'DataSourceStatus')
57
62
  DeclineInvitationsRequest = Shapes::StructureShape.new(name: 'DeclineInvitationsRequest')
58
63
  DeclineInvitationsResponse = Shapes::StructureShape.new(name: 'DeclineInvitationsResponse')
59
64
  DefaultServerSideEncryption = Shapes::StructureShape.new(name: 'DefaultServerSideEncryption')
@@ -114,6 +119,7 @@ module Aws::GuardDuty
114
119
  FindingType = Shapes::StringShape.new(name: 'FindingType')
115
120
  FindingTypes = Shapes::ListShape.new(name: 'FindingTypes')
116
121
  Findings = Shapes::ListShape.new(name: 'Findings')
122
+ FlowLogsConfigurationResult = Shapes::StructureShape.new(name: 'FlowLogsConfigurationResult')
117
123
  GeoLocation = Shapes::StructureShape.new(name: 'GeoLocation')
118
124
  GetDetectorRequest = Shapes::StructureShape.new(name: 'GetDetectorRequest')
119
125
  GetDetectorResponse = Shapes::StructureShape.new(name: 'GetDetectorResponse')
@@ -129,6 +135,8 @@ module Aws::GuardDuty
129
135
  GetInvitationsCountResponse = Shapes::StructureShape.new(name: 'GetInvitationsCountResponse')
130
136
  GetMasterAccountRequest = Shapes::StructureShape.new(name: 'GetMasterAccountRequest')
131
137
  GetMasterAccountResponse = Shapes::StructureShape.new(name: 'GetMasterAccountResponse')
138
+ GetMemberDetectorsRequest = Shapes::StructureShape.new(name: 'GetMemberDetectorsRequest')
139
+ GetMemberDetectorsResponse = Shapes::StructureShape.new(name: 'GetMemberDetectorsResponse')
132
140
  GetMembersRequest = Shapes::StructureShape.new(name: 'GetMembersRequest')
133
141
  GetMembersResponse = Shapes::StructureShape.new(name: 'GetMembersResponse')
134
142
  GetThreatIntelSetRequest = Shapes::StructureShape.new(name: 'GetThreatIntelSetRequest')
@@ -173,6 +181,8 @@ module Aws::GuardDuty
173
181
  Master = Shapes::StructureShape.new(name: 'Master')
174
182
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
175
183
  Member = Shapes::StructureShape.new(name: 'Member')
184
+ MemberDataSourceConfiguration = Shapes::StructureShape.new(name: 'MemberDataSourceConfiguration')
185
+ MemberDataSourceConfigurations = Shapes::ListShape.new(name: 'MemberDataSourceConfigurations')
176
186
  Members = Shapes::ListShape.new(name: 'Members')
177
187
  Name = Shapes::StringShape.new(name: 'Name')
178
188
  Neq = Shapes::ListShape.new(name: 'Neq')
@@ -182,6 +192,10 @@ module Aws::GuardDuty
182
192
  NotEquals = Shapes::ListShape.new(name: 'NotEquals')
183
193
  OrderBy = Shapes::StringShape.new(name: 'OrderBy')
184
194
  Organization = Shapes::StructureShape.new(name: 'Organization')
195
+ OrganizationDataSourceConfigurations = Shapes::StructureShape.new(name: 'OrganizationDataSourceConfigurations')
196
+ OrganizationDataSourceConfigurationsResult = Shapes::StructureShape.new(name: 'OrganizationDataSourceConfigurationsResult')
197
+ OrganizationS3LogsConfiguration = Shapes::StructureShape.new(name: 'OrganizationS3LogsConfiguration')
198
+ OrganizationS3LogsConfigurationResult = Shapes::StructureShape.new(name: 'OrganizationS3LogsConfigurationResult')
185
199
  Owner = Shapes::StructureShape.new(name: 'Owner')
186
200
  PermissionConfiguration = Shapes::StructureShape.new(name: 'PermissionConfiguration')
187
201
  PortProbeAction = Shapes::StructureShape.new(name: 'PortProbeAction')
@@ -198,6 +212,8 @@ module Aws::GuardDuty
198
212
  Resource = Shapes::StructureShape.new(name: 'Resource')
199
213
  S3BucketDetail = Shapes::StructureShape.new(name: 'S3BucketDetail')
200
214
  S3BucketDetails = Shapes::ListShape.new(name: 'S3BucketDetails')
215
+ S3LogsConfiguration = Shapes::StructureShape.new(name: 'S3LogsConfiguration')
216
+ S3LogsConfigurationResult = Shapes::StructureShape.new(name: 'S3LogsConfigurationResult')
201
217
  SecurityGroup = Shapes::StructureShape.new(name: 'SecurityGroup')
202
218
  SecurityGroups = Shapes::ListShape.new(name: 'SecurityGroups')
203
219
  Service = Shapes::StructureShape.new(name: 'Service')
@@ -236,6 +252,8 @@ module Aws::GuardDuty
236
252
  UpdateFindingsFeedbackResponse = Shapes::StructureShape.new(name: 'UpdateFindingsFeedbackResponse')
237
253
  UpdateIPSetRequest = Shapes::StructureShape.new(name: 'UpdateIPSetRequest')
238
254
  UpdateIPSetResponse = Shapes::StructureShape.new(name: 'UpdateIPSetResponse')
255
+ UpdateMemberDetectorsRequest = Shapes::StructureShape.new(name: 'UpdateMemberDetectorsRequest')
256
+ UpdateMemberDetectorsResponse = Shapes::StructureShape.new(name: 'UpdateMemberDetectorsResponse')
239
257
  UpdateOrganizationConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateOrganizationConfigurationRequest')
240
258
  UpdateOrganizationConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateOrganizationConfigurationResponse')
241
259
  UpdatePublishingDestinationRequest = Shapes::StructureShape.new(name: 'UpdatePublishingDestinationRequest')
@@ -319,6 +337,9 @@ module Aws::GuardDuty
319
337
  City.add_member(:city_name, Shapes::ShapeRef.new(shape: String, location_name: "cityName"))
320
338
  City.struct_class = Types::City
321
339
 
340
+ CloudTrailConfigurationResult.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceStatus, required: true, location_name: "status"))
341
+ CloudTrailConfigurationResult.struct_class = Types::CloudTrailConfigurationResult
342
+
322
343
  Condition.add_member(:eq, Shapes::ShapeRef.new(shape: Eq, deprecated: true, location_name: "eq"))
323
344
  Condition.add_member(:neq, Shapes::ShapeRef.new(shape: Neq, deprecated: true, location_name: "neq"))
324
345
  Condition.add_member(:gt, Shapes::ShapeRef.new(shape: Integer, deprecated: true, location_name: "gt"))
@@ -343,6 +364,7 @@ module Aws::GuardDuty
343
364
  CreateDetectorRequest.add_member(:enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enable"))
344
365
  CreateDetectorRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
345
366
  CreateDetectorRequest.add_member(:finding_publishing_frequency, Shapes::ShapeRef.new(shape: FindingPublishingFrequency, location_name: "findingPublishingFrequency"))
367
+ CreateDetectorRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurations, location_name: "dataSources"))
346
368
  CreateDetectorRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
347
369
  CreateDetectorRequest.struct_class = Types::CreateDetectorRequest
348
370
 
@@ -411,6 +433,18 @@ module Aws::GuardDuty
411
433
  Criterion.key = Shapes::ShapeRef.new(shape: String)
412
434
  Criterion.value = Shapes::ShapeRef.new(shape: Condition)
413
435
 
436
+ DNSLogsConfigurationResult.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceStatus, required: true, location_name: "status"))
437
+ DNSLogsConfigurationResult.struct_class = Types::DNSLogsConfigurationResult
438
+
439
+ DataSourceConfigurations.add_member(:s3_logs, Shapes::ShapeRef.new(shape: S3LogsConfiguration, location_name: "s3Logs"))
440
+ DataSourceConfigurations.struct_class = Types::DataSourceConfigurations
441
+
442
+ DataSourceConfigurationsResult.add_member(:cloud_trail, Shapes::ShapeRef.new(shape: CloudTrailConfigurationResult, required: true, location_name: "cloudTrail"))
443
+ DataSourceConfigurationsResult.add_member(:dns_logs, Shapes::ShapeRef.new(shape: DNSLogsConfigurationResult, required: true, location_name: "dnsLogs"))
444
+ DataSourceConfigurationsResult.add_member(:flow_logs, Shapes::ShapeRef.new(shape: FlowLogsConfigurationResult, required: true, location_name: "flowLogs"))
445
+ DataSourceConfigurationsResult.add_member(:s3_logs, Shapes::ShapeRef.new(shape: S3LogsConfigurationResult, required: true, location_name: "s3Logs"))
446
+ DataSourceConfigurationsResult.struct_class = Types::DataSourceConfigurationsResult
447
+
414
448
  DeclineInvitationsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
415
449
  DeclineInvitationsRequest.struct_class = Types::DeclineInvitationsRequest
416
450
 
@@ -468,6 +502,7 @@ module Aws::GuardDuty
468
502
 
469
503
  DescribeOrganizationConfigurationResponse.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "autoEnable"))
470
504
  DescribeOrganizationConfigurationResponse.add_member(:member_account_limit_reached, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "memberAccountLimitReached"))
505
+ DescribeOrganizationConfigurationResponse.add_member(:data_sources, Shapes::ShapeRef.new(shape: OrganizationDataSourceConfigurationsResult, location_name: "dataSources"))
471
506
  DescribeOrganizationConfigurationResponse.struct_class = Types::DescribeOrganizationConfigurationResponse
472
507
 
473
508
  DescribePublishingDestinationRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
@@ -562,6 +597,9 @@ module Aws::GuardDuty
562
597
 
563
598
  Findings.member = Shapes::ShapeRef.new(shape: Finding)
564
599
 
600
+ FlowLogsConfigurationResult.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceStatus, required: true, location_name: "status"))
601
+ FlowLogsConfigurationResult.struct_class = Types::FlowLogsConfigurationResult
602
+
565
603
  GeoLocation.add_member(:lat, Shapes::ShapeRef.new(shape: Double, location_name: "lat"))
566
604
  GeoLocation.add_member(:lon, Shapes::ShapeRef.new(shape: Double, location_name: "lon"))
567
605
  GeoLocation.struct_class = Types::GeoLocation
@@ -574,6 +612,7 @@ module Aws::GuardDuty
574
612
  GetDetectorResponse.add_member(:service_role, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceRole"))
575
613
  GetDetectorResponse.add_member(:status, Shapes::ShapeRef.new(shape: DetectorStatus, required: true, location_name: "status"))
576
614
  GetDetectorResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: String, location_name: "updatedAt"))
615
+ GetDetectorResponse.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurationsResult, location_name: "dataSources"))
577
616
  GetDetectorResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
578
617
  GetDetectorResponse.struct_class = Types::GetDetectorResponse
579
618
 
@@ -627,6 +666,14 @@ module Aws::GuardDuty
627
666
  GetMasterAccountResponse.add_member(:master, Shapes::ShapeRef.new(shape: Master, required: true, location_name: "master"))
628
667
  GetMasterAccountResponse.struct_class = Types::GetMasterAccountResponse
629
668
 
669
+ GetMemberDetectorsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
670
+ GetMemberDetectorsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
671
+ GetMemberDetectorsRequest.struct_class = Types::GetMemberDetectorsRequest
672
+
673
+ GetMemberDetectorsResponse.add_member(:member_data_source_configurations, Shapes::ShapeRef.new(shape: MemberDataSourceConfigurations, required: true, location_name: "members"))
674
+ GetMemberDetectorsResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, required: true, location_name: "unprocessedAccounts"))
675
+ GetMemberDetectorsResponse.struct_class = Types::GetMemberDetectorsResponse
676
+
630
677
  GetMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
631
678
  GetMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
632
679
  GetMembersRequest.struct_class = Types::GetMembersRequest
@@ -799,6 +846,12 @@ module Aws::GuardDuty
799
846
  Member.add_member(:updated_at, Shapes::ShapeRef.new(shape: String, required: true, location_name: "updatedAt"))
800
847
  Member.struct_class = Types::Member
801
848
 
849
+ MemberDataSourceConfiguration.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, required: true, location_name: "accountId"))
850
+ MemberDataSourceConfiguration.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurationsResult, required: true, location_name: "dataSources"))
851
+ MemberDataSourceConfiguration.struct_class = Types::MemberDataSourceConfiguration
852
+
853
+ MemberDataSourceConfigurations.member = Shapes::ShapeRef.new(shape: MemberDataSourceConfiguration)
854
+
802
855
  Members.member = Shapes::ShapeRef.new(shape: Member)
803
856
 
804
857
  Neq.member = Shapes::ShapeRef.new(shape: String)
@@ -834,6 +887,18 @@ module Aws::GuardDuty
834
887
  Organization.add_member(:org, Shapes::ShapeRef.new(shape: String, location_name: "org"))
835
888
  Organization.struct_class = Types::Organization
836
889
 
890
+ OrganizationDataSourceConfigurations.add_member(:s3_logs, Shapes::ShapeRef.new(shape: OrganizationS3LogsConfiguration, location_name: "s3Logs"))
891
+ OrganizationDataSourceConfigurations.struct_class = Types::OrganizationDataSourceConfigurations
892
+
893
+ OrganizationDataSourceConfigurationsResult.add_member(:s3_logs, Shapes::ShapeRef.new(shape: OrganizationS3LogsConfigurationResult, required: true, location_name: "s3Logs"))
894
+ OrganizationDataSourceConfigurationsResult.struct_class = Types::OrganizationDataSourceConfigurationsResult
895
+
896
+ OrganizationS3LogsConfiguration.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "autoEnable"))
897
+ OrganizationS3LogsConfiguration.struct_class = Types::OrganizationS3LogsConfiguration
898
+
899
+ OrganizationS3LogsConfigurationResult.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "autoEnable"))
900
+ OrganizationS3LogsConfigurationResult.struct_class = Types::OrganizationS3LogsConfigurationResult
901
+
837
902
  Owner.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
838
903
  Owner.struct_class = Types::Owner
839
904
 
@@ -897,6 +962,12 @@ module Aws::GuardDuty
897
962
 
898
963
  S3BucketDetails.member = Shapes::ShapeRef.new(shape: S3BucketDetail)
899
964
 
965
+ S3LogsConfiguration.add_member(:enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enable"))
966
+ S3LogsConfiguration.struct_class = Types::S3LogsConfiguration
967
+
968
+ S3LogsConfigurationResult.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceStatus, required: true, location_name: "status"))
969
+ S3LogsConfigurationResult.struct_class = Types::S3LogsConfigurationResult
970
+
900
971
  SecurityGroup.add_member(:group_id, Shapes::ShapeRef.new(shape: String, location_name: "groupId"))
901
972
  SecurityGroup.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
902
973
  SecurityGroup.struct_class = Types::SecurityGroup
@@ -981,6 +1052,7 @@ module Aws::GuardDuty
981
1052
  UpdateDetectorRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
982
1053
  UpdateDetectorRequest.add_member(:enable, Shapes::ShapeRef.new(shape: Boolean, location_name: "enable"))
983
1054
  UpdateDetectorRequest.add_member(:finding_publishing_frequency, Shapes::ShapeRef.new(shape: FindingPublishingFrequency, location_name: "findingPublishingFrequency"))
1055
+ UpdateDetectorRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurations, location_name: "dataSources"))
984
1056
  UpdateDetectorRequest.struct_class = Types::UpdateDetectorRequest
985
1057
 
986
1058
  UpdateDetectorResponse.struct_class = Types::UpdateDetectorResponse
@@ -1013,8 +1085,17 @@ module Aws::GuardDuty
1013
1085
 
1014
1086
  UpdateIPSetResponse.struct_class = Types::UpdateIPSetResponse
1015
1087
 
1088
+ UpdateMemberDetectorsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1089
+ UpdateMemberDetectorsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
1090
+ UpdateMemberDetectorsRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceConfigurations, location_name: "dataSources"))
1091
+ UpdateMemberDetectorsRequest.struct_class = Types::UpdateMemberDetectorsRequest
1092
+
1093
+ UpdateMemberDetectorsResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccounts, required: true, location_name: "unprocessedAccounts"))
1094
+ UpdateMemberDetectorsResponse.struct_class = Types::UpdateMemberDetectorsResponse
1095
+
1016
1096
  UpdateOrganizationConfigurationRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1017
1097
  UpdateOrganizationConfigurationRequest.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "autoEnable"))
1098
+ UpdateOrganizationConfigurationRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: OrganizationDataSourceConfigurations, location_name: "dataSources"))
1018
1099
  UpdateOrganizationConfigurationRequest.struct_class = Types::UpdateOrganizationConfigurationRequest
1019
1100
 
1020
1101
  UpdateOrganizationConfigurationResponse.struct_class = Types::UpdateOrganizationConfigurationResponse
@@ -1353,6 +1434,16 @@ module Aws::GuardDuty
1353
1434
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1354
1435
  end)
1355
1436
 
1437
+ api.add_operation(:get_member_detectors, Seahorse::Model::Operation.new.tap do |o|
1438
+ o.name = "GetMemberDetectors"
1439
+ o.http_method = "POST"
1440
+ o.http_request_uri = "/detector/{detectorId}/member/detector/get"
1441
+ o.input = Shapes::ShapeRef.new(shape: GetMemberDetectorsRequest)
1442
+ o.output = Shapes::ShapeRef.new(shape: GetMemberDetectorsResponse)
1443
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1444
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1445
+ end)
1446
+
1356
1447
  api.add_operation(:get_members, Seahorse::Model::Operation.new.tap do |o|
1357
1448
  o.name = "GetMembers"
1358
1449
  o.http_method = "POST"
@@ -1627,6 +1718,16 @@ module Aws::GuardDuty
1627
1718
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1628
1719
  end)
1629
1720
 
1721
+ api.add_operation(:update_member_detectors, Seahorse::Model::Operation.new.tap do |o|
1722
+ o.name = "UpdateMemberDetectors"
1723
+ o.http_method = "POST"
1724
+ o.http_request_uri = "/detector/{detectorId}/member/detector/update"
1725
+ o.input = Shapes::ShapeRef.new(shape: UpdateMemberDetectorsRequest)
1726
+ o.output = Shapes::ShapeRef.new(shape: UpdateMemberDetectorsResponse)
1727
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1728
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1729
+ end)
1730
+
1630
1731
  api.add_operation(:update_organization_configuration, Seahorse::Model::Operation.new.tap do |o|
1631
1732
  o.name = "UpdateOrganizationConfiguration"
1632
1733
  o.http_method = "POST"
@@ -379,6 +379,22 @@ module Aws::GuardDuty
379
379
  include Aws::Structure
380
380
  end
381
381
 
382
+ # Contains information on the status of CloudTrail as a data source for
383
+ # the detector.
384
+ #
385
+ # @!attribute [rw] status
386
+ # Describes whether CloudTrail is enabled as a data source for the
387
+ # detector.
388
+ # @return [String]
389
+ #
390
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CloudTrailConfigurationResult AWS API Documentation
391
+ #
392
+ class CloudTrailConfigurationResult < Struct.new(
393
+ :status)
394
+ SENSITIVE = []
395
+ include Aws::Structure
396
+ end
397
+
382
398
  # Contains information about the condition.
383
399
  #
384
400
  # @note When making an API call, you may pass Condition
@@ -505,6 +521,11 @@ module Aws::GuardDuty
505
521
  # enable: false, # required
506
522
  # client_token: "ClientToken",
507
523
  # finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
524
+ # data_sources: {
525
+ # s3_logs: {
526
+ # enable: false, # required
527
+ # },
528
+ # },
508
529
  # tags: {
509
530
  # "TagKey" => "TagValue",
510
531
  # },
@@ -527,6 +548,11 @@ module Aws::GuardDuty
527
548
  # exported.
528
549
  # @return [String]
529
550
  #
551
+ # @!attribute [rw] data_sources
552
+ # An object that describes which data sources will be enabled for the
553
+ # detector.
554
+ # @return [Types::DataSourceConfigurations]
555
+ #
530
556
  # @!attribute [rw] tags
531
557
  # The tags to be added to a new detector resource.
532
558
  # @return [Hash<String,String>]
@@ -537,6 +563,7 @@ module Aws::GuardDuty
537
563
  :enable,
538
564
  :client_token,
539
565
  :finding_publishing_frequency,
566
+ :data_sources,
540
567
  :tags)
541
568
  SENSITIVE = []
542
569
  include Aws::Structure
@@ -797,8 +824,7 @@ module Aws::GuardDuty
797
824
  # @return [String]
798
825
  #
799
826
  # @!attribute [rw] location
800
- # The URI of the file that contains the IPSet. For example:
801
- # https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
827
+ # The URI of the file that contains the IPSet.
802
828
  # @return [String]
803
829
  #
804
830
  # @!attribute [rw] activate
@@ -1006,8 +1032,7 @@ module Aws::GuardDuty
1006
1032
  # @return [String]
1007
1033
  #
1008
1034
  # @!attribute [rw] location
1009
- # The URI of the file that contains the ThreatIntelSet. For example:
1010
- # https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
1035
+ # The URI of the file that contains the ThreatIntelSet.
1011
1036
  # @return [String]
1012
1037
  #
1013
1038
  # @!attribute [rw] activate
@@ -1052,6 +1077,76 @@ module Aws::GuardDuty
1052
1077
  include Aws::Structure
1053
1078
  end
1054
1079
 
1080
+ # Contains information on the status of DNS logs as a data source.
1081
+ #
1082
+ # @!attribute [rw] status
1083
+ # Denotes whether DNS logs is enabled as a data source.
1084
+ # @return [String]
1085
+ #
1086
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DNSLogsConfigurationResult AWS API Documentation
1087
+ #
1088
+ class DNSLogsConfigurationResult < Struct.new(
1089
+ :status)
1090
+ SENSITIVE = []
1091
+ include Aws::Structure
1092
+ end
1093
+
1094
+ # Contains information about which data sources are enabled.
1095
+ #
1096
+ # @note When making an API call, you may pass DataSourceConfigurations
1097
+ # data as a hash:
1098
+ #
1099
+ # {
1100
+ # s3_logs: {
1101
+ # enable: false, # required
1102
+ # },
1103
+ # }
1104
+ #
1105
+ # @!attribute [rw] s3_logs
1106
+ # Describes whether S3 data event logs are enabled as a data source.
1107
+ # @return [Types::S3LogsConfiguration]
1108
+ #
1109
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DataSourceConfigurations AWS API Documentation
1110
+ #
1111
+ class DataSourceConfigurations < Struct.new(
1112
+ :s3_logs)
1113
+ SENSITIVE = []
1114
+ include Aws::Structure
1115
+ end
1116
+
1117
+ # Contains information on the status of data sources for the detector.
1118
+ #
1119
+ # @!attribute [rw] cloud_trail
1120
+ # An object that contains information on the status of CloudTrail as a
1121
+ # data source.
1122
+ # @return [Types::CloudTrailConfigurationResult]
1123
+ #
1124
+ # @!attribute [rw] dns_logs
1125
+ # An object that contains information on the status of DNS logs as a
1126
+ # data source.
1127
+ # @return [Types::DNSLogsConfigurationResult]
1128
+ #
1129
+ # @!attribute [rw] flow_logs
1130
+ # An object that contains information on the status of VPC flow logs
1131
+ # as a data source.
1132
+ # @return [Types::FlowLogsConfigurationResult]
1133
+ #
1134
+ # @!attribute [rw] s3_logs
1135
+ # An object that contains information on the status of S3 Data event
1136
+ # logs as a data source.
1137
+ # @return [Types::S3LogsConfigurationResult]
1138
+ #
1139
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DataSourceConfigurationsResult AWS API Documentation
1140
+ #
1141
+ class DataSourceConfigurationsResult < Struct.new(
1142
+ :cloud_trail,
1143
+ :dns_logs,
1144
+ :flow_logs,
1145
+ :s3_logs)
1146
+ SENSITIVE = []
1147
+ include Aws::Structure
1148
+ end
1149
+
1055
1150
  # @note When making an API call, you may pass DeclineInvitationsRequest
1056
1151
  # data as a hash:
1057
1152
  #
@@ -1354,11 +1449,17 @@ module Aws::GuardDuty
1354
1449
  # already associated with the delegated administrator master account.
1355
1450
  # @return [Boolean]
1356
1451
  #
1452
+ # @!attribute [rw] data_sources
1453
+ # An object that describes which data sources are enabled
1454
+ # automatically for member accounts.
1455
+ # @return [Types::OrganizationDataSourceConfigurationsResult]
1456
+ #
1357
1457
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfigurationResponse AWS API Documentation
1358
1458
  #
1359
1459
  class DescribeOrganizationConfigurationResponse < Struct.new(
1360
1460
  :auto_enable,
1361
- :member_account_limit_reached)
1461
+ :member_account_limit_reached,
1462
+ :data_sources)
1362
1463
  SENSITIVE = []
1363
1464
  include Aws::Structure
1364
1465
  end
@@ -1771,6 +1872,20 @@ module Aws::GuardDuty
1771
1872
  include Aws::Structure
1772
1873
  end
1773
1874
 
1875
+ # Contains information on the status of VPC flow logs as a data source.
1876
+ #
1877
+ # @!attribute [rw] status
1878
+ # Denotes whether VPC flow logs is enabled as a data source.
1879
+ # @return [String]
1880
+ #
1881
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FlowLogsConfigurationResult AWS API Documentation
1882
+ #
1883
+ class FlowLogsConfigurationResult < Struct.new(
1884
+ :status)
1885
+ SENSITIVE = []
1886
+ include Aws::Structure
1887
+ end
1888
+
1774
1889
  # Contains information about the location of the remote IP address.
1775
1890
  #
1776
1891
  # @!attribute [rw] lat
@@ -1829,6 +1944,11 @@ module Aws::GuardDuty
1829
1944
  # The last-updated timestamp for the detector.
1830
1945
  # @return [String]
1831
1946
  #
1947
+ # @!attribute [rw] data_sources
1948
+ # An object that describes which data sources are enabled for the
1949
+ # detector.
1950
+ # @return [Types::DataSourceConfigurationsResult]
1951
+ #
1832
1952
  # @!attribute [rw] tags
1833
1953
  # The tags of the detector resource.
1834
1954
  # @return [Hash<String,String>]
@@ -1841,6 +1961,7 @@ module Aws::GuardDuty
1841
1961
  :service_role,
1842
1962
  :status,
1843
1963
  :updated_at,
1964
+ :data_sources,
1844
1965
  :tags)
1845
1966
  SENSITIVE = []
1846
1967
  include Aws::Structure
@@ -2054,8 +2175,7 @@ module Aws::GuardDuty
2054
2175
  # @return [String]
2055
2176
  #
2056
2177
  # @!attribute [rw] location
2057
- # The URI of the file that contains the IPSet. For example:
2058
- # https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
2178
+ # The URI of the file that contains the IPSet.
2059
2179
  # @return [String]
2060
2180
  #
2061
2181
  # @!attribute [rw] status
@@ -2127,6 +2247,50 @@ module Aws::GuardDuty
2127
2247
  include Aws::Structure
2128
2248
  end
2129
2249
 
2250
+ # @note When making an API call, you may pass GetMemberDetectorsRequest
2251
+ # data as a hash:
2252
+ #
2253
+ # {
2254
+ # detector_id: "DetectorId", # required
2255
+ # account_ids: ["AccountId"], # required
2256
+ # }
2257
+ #
2258
+ # @!attribute [rw] detector_id
2259
+ # The detector ID for the master account.
2260
+ # @return [String]
2261
+ #
2262
+ # @!attribute [rw] account_ids
2263
+ # The account ID of the member account.
2264
+ # @return [Array<String>]
2265
+ #
2266
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMemberDetectorsRequest AWS API Documentation
2267
+ #
2268
+ class GetMemberDetectorsRequest < Struct.new(
2269
+ :detector_id,
2270
+ :account_ids)
2271
+ SENSITIVE = []
2272
+ include Aws::Structure
2273
+ end
2274
+
2275
+ # @!attribute [rw] member_data_source_configurations
2276
+ # An object that describes which data sources are enabled for a member
2277
+ # account.
2278
+ # @return [Array<Types::MemberDataSourceConfiguration>]
2279
+ #
2280
+ # @!attribute [rw] unprocessed_accounts
2281
+ # A list of member account IDs that were unable to be processed along
2282
+ # with an explanation for why they were not processed.
2283
+ # @return [Array<Types::UnprocessedAccount>]
2284
+ #
2285
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMemberDetectorsResponse AWS API Documentation
2286
+ #
2287
+ class GetMemberDetectorsResponse < Struct.new(
2288
+ :member_data_source_configurations,
2289
+ :unprocessed_accounts)
2290
+ SENSITIVE = []
2291
+ include Aws::Structure
2292
+ end
2293
+
2130
2294
  # @note When making an API call, you may pass GetMembersRequest
2131
2295
  # data as a hash:
2132
2296
  #
@@ -2209,8 +2373,7 @@ module Aws::GuardDuty
2209
2373
  # @return [String]
2210
2374
  #
2211
2375
  # @!attribute [rw] location
2212
- # The URI of the file that contains the ThreatIntelSet. For example:
2213
- # https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
2376
+ # The URI of the file that contains the ThreatIntelSet.
2214
2377
  # @return [String]
2215
2378
  #
2216
2379
  # @!attribute [rw] status
@@ -2600,6 +2763,8 @@ module Aws::GuardDuty
2600
2763
  #
2601
2764
  # * resource.instanceDetails.instanceId
2602
2765
  #
2766
+ # * resource.instanceDetails.outpostArn
2767
+ #
2603
2768
  # * resource.instanceDetails.networkInterfaces.ipv6Addresses
2604
2769
  #
2605
2770
  # * resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress
@@ -2650,6 +2815,8 @@ module Aws::GuardDuty
2650
2815
  #
2651
2816
  # * service.action.networkConnectionAction.protocol
2652
2817
  #
2818
+ # * service.action.networkConnectionAction.localIpDetails.ipAddressV4
2819
+ #
2653
2820
  # * service.action.networkConnectionAction.remoteIpDetails.city.cityName
2654
2821
  #
2655
2822
  # * service.action.networkConnectionAction.remoteIpDetails.country.countryName
@@ -2863,9 +3030,11 @@ module Aws::GuardDuty
2863
3030
  # @return [String]
2864
3031
  #
2865
3032
  # @!attribute [rw] only_associated
2866
- # Specifies whether to only return associated members or to return all
2867
- # members (including members who haven't been invited yet or have
2868
- # been disassociated).
3033
+ # Specifies what member accounts the response includes based on their
3034
+ # relationship status with the master account. The default value is
3035
+ # "true". If set to "false" the response includes all existing
3036
+ # member accounts (including members who haven't been invited yet or
3037
+ # have been disassociated).
2869
3038
  # @return [String]
2870
3039
  #
2871
3040
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembersRequest AWS API Documentation
@@ -3196,6 +3365,26 @@ module Aws::GuardDuty
3196
3365
  include Aws::Structure
3197
3366
  end
3198
3367
 
3368
+ # Contains information on which data sources are enabled for a member
3369
+ # account.
3370
+ #
3371
+ # @!attribute [rw] account_id
3372
+ # The account ID for the member account.
3373
+ # @return [String]
3374
+ #
3375
+ # @!attribute [rw] data_sources
3376
+ # Contains information on the status of data sources for the account.
3377
+ # @return [Types::DataSourceConfigurationsResult]
3378
+ #
3379
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberDataSourceConfiguration AWS API Documentation
3380
+ #
3381
+ class MemberDataSourceConfiguration < Struct.new(
3382
+ :account_id,
3383
+ :data_sources)
3384
+ SENSITIVE = []
3385
+ include Aws::Structure
3386
+ end
3387
+
3199
3388
  # Contains information about the NETWORK\_CONNECTION action described in
3200
3389
  # the finding.
3201
3390
  #
@@ -3333,6 +3522,86 @@ module Aws::GuardDuty
3333
3522
  include Aws::Structure
3334
3523
  end
3335
3524
 
3525
+ # An object that contains information on which data sources will be
3526
+ # configured to be automatically enabled for new members within the
3527
+ # organization.
3528
+ #
3529
+ # @note When making an API call, you may pass OrganizationDataSourceConfigurations
3530
+ # data as a hash:
3531
+ #
3532
+ # {
3533
+ # s3_logs: {
3534
+ # auto_enable: false, # required
3535
+ # },
3536
+ # }
3537
+ #
3538
+ # @!attribute [rw] s3_logs
3539
+ # Describes whether S3 data event logs are enabled for new members of
3540
+ # the organization.
3541
+ # @return [Types::OrganizationS3LogsConfiguration]
3542
+ #
3543
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationDataSourceConfigurations AWS API Documentation
3544
+ #
3545
+ class OrganizationDataSourceConfigurations < Struct.new(
3546
+ :s3_logs)
3547
+ SENSITIVE = []
3548
+ include Aws::Structure
3549
+ end
3550
+
3551
+ # An object that contains information on which data sources are
3552
+ # automatically enabled for new members within the organization.
3553
+ #
3554
+ # @!attribute [rw] s3_logs
3555
+ # Describes whether S3 data event logs are enabled as a data source.
3556
+ # @return [Types::OrganizationS3LogsConfigurationResult]
3557
+ #
3558
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationDataSourceConfigurationsResult AWS API Documentation
3559
+ #
3560
+ class OrganizationDataSourceConfigurationsResult < Struct.new(
3561
+ :s3_logs)
3562
+ SENSITIVE = []
3563
+ include Aws::Structure
3564
+ end
3565
+
3566
+ # Describes whether S3 data event logs will be automatically enabled for
3567
+ # new members of the organization.
3568
+ #
3569
+ # @note When making an API call, you may pass OrganizationS3LogsConfiguration
3570
+ # data as a hash:
3571
+ #
3572
+ # {
3573
+ # auto_enable: false, # required
3574
+ # }
3575
+ #
3576
+ # @!attribute [rw] auto_enable
3577
+ # A value that contains information on whether S3 data event logs will
3578
+ # be enabled automatically as a data source for the organization.
3579
+ # @return [Boolean]
3580
+ #
3581
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationS3LogsConfiguration AWS API Documentation
3582
+ #
3583
+ class OrganizationS3LogsConfiguration < Struct.new(
3584
+ :auto_enable)
3585
+ SENSITIVE = []
3586
+ include Aws::Structure
3587
+ end
3588
+
3589
+ # The current configuration of S3 data event logs as a data source for
3590
+ # the organization.
3591
+ #
3592
+ # @!attribute [rw] auto_enable
3593
+ # A value that describes whether S3 data event logs are automatically
3594
+ # enabled for new members of the organization.
3595
+ # @return [Boolean]
3596
+ #
3597
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationS3LogsConfigurationResult AWS API Documentation
3598
+ #
3599
+ class OrganizationS3LogsConfigurationResult < Struct.new(
3600
+ :auto_enable)
3601
+ SENSITIVE = []
3602
+ include Aws::Structure
3603
+ end
3604
+
3336
3605
  # Contains information on the owner of the bucket.
3337
3606
  #
3338
3607
  # @!attribute [rw] id
@@ -3565,6 +3834,8 @@ module Aws::GuardDuty
3565
3834
  include Aws::Structure
3566
3835
  end
3567
3836
 
3837
+ # Contains information on the S3 bucket.
3838
+ #
3568
3839
  # @!attribute [rw] arn
3569
3840
  # The Amazon Resource Name (ARN) of the S3 bucket.
3570
3841
  # @return [String]
@@ -3612,6 +3883,42 @@ module Aws::GuardDuty
3612
3883
  include Aws::Structure
3613
3884
  end
3614
3885
 
3886
+ # Describes whether S3 data event logs will be enabled as a data source.
3887
+ #
3888
+ # @note When making an API call, you may pass S3LogsConfiguration
3889
+ # data as a hash:
3890
+ #
3891
+ # {
3892
+ # enable: false, # required
3893
+ # }
3894
+ #
3895
+ # @!attribute [rw] enable
3896
+ # The status of S3 data event logs as a data source.
3897
+ # @return [Boolean]
3898
+ #
3899
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/S3LogsConfiguration AWS API Documentation
3900
+ #
3901
+ class S3LogsConfiguration < Struct.new(
3902
+ :enable)
3903
+ SENSITIVE = []
3904
+ include Aws::Structure
3905
+ end
3906
+
3907
+ # Describes whether S3 data event logs will be enabled as a data source.
3908
+ #
3909
+ # @!attribute [rw] status
3910
+ # A value that describes whether S3 data event logs are automatically
3911
+ # enabled for new members of the organization.
3912
+ # @return [String]
3913
+ #
3914
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/S3LogsConfigurationResult AWS API Documentation
3915
+ #
3916
+ class S3LogsConfigurationResult < Struct.new(
3917
+ :status)
3918
+ SENSITIVE = []
3919
+ include Aws::Structure
3920
+ end
3921
+
3615
3922
  # Contains information about the security groups associated with the EC2
3616
3923
  # instance.
3617
3924
  #
@@ -3957,6 +4264,11 @@ module Aws::GuardDuty
3957
4264
  # detector_id: "DetectorId", # required
3958
4265
  # enable: false,
3959
4266
  # finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
4267
+ # data_sources: {
4268
+ # s3_logs: {
4269
+ # enable: false, # required
4270
+ # },
4271
+ # },
3960
4272
  # }
3961
4273
  #
3962
4274
  # @!attribute [rw] detector_id
@@ -3972,12 +4284,17 @@ module Aws::GuardDuty
3972
4284
  # such as to CloudWatch Events.
3973
4285
  # @return [String]
3974
4286
  #
4287
+ # @!attribute [rw] data_sources
4288
+ # An object that describes which data sources will be updated.
4289
+ # @return [Types::DataSourceConfigurations]
4290
+ #
3975
4291
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorRequest AWS API Documentation
3976
4292
  #
3977
4293
  class UpdateDetectorRequest < Struct.new(
3978
4294
  :detector_id,
3979
4295
  :enable,
3980
- :finding_publishing_frequency)
4296
+ :finding_publishing_frequency,
4297
+ :data_sources)
3981
4298
  SENSITIVE = []
3982
4299
  include Aws::Structure
3983
4300
  end
@@ -4137,8 +4454,7 @@ module Aws::GuardDuty
4137
4454
  # @return [String]
4138
4455
  #
4139
4456
  # @!attribute [rw] location
4140
- # The updated URI of the file that contains the IPSet. For example:
4141
- # https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
4457
+ # The updated URI of the file that contains the IPSet.
4142
4458
  # @return [String]
4143
4459
  #
4144
4460
  # @!attribute [rw] activate
@@ -4162,12 +4478,65 @@ module Aws::GuardDuty
4162
4478
  #
4163
4479
  class UpdateIPSetResponse < Aws::EmptyStructure; end
4164
4480
 
4481
+ # @note When making an API call, you may pass UpdateMemberDetectorsRequest
4482
+ # data as a hash:
4483
+ #
4484
+ # {
4485
+ # detector_id: "DetectorId", # required
4486
+ # account_ids: ["AccountId"], # required
4487
+ # data_sources: {
4488
+ # s3_logs: {
4489
+ # enable: false, # required
4490
+ # },
4491
+ # },
4492
+ # }
4493
+ #
4494
+ # @!attribute [rw] detector_id
4495
+ # The detector ID of the master account.
4496
+ # @return [String]
4497
+ #
4498
+ # @!attribute [rw] account_ids
4499
+ # A list of member account IDs to be updated.
4500
+ # @return [Array<String>]
4501
+ #
4502
+ # @!attribute [rw] data_sources
4503
+ # An object describes which data sources will be updated.
4504
+ # @return [Types::DataSourceConfigurations]
4505
+ #
4506
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateMemberDetectorsRequest AWS API Documentation
4507
+ #
4508
+ class UpdateMemberDetectorsRequest < Struct.new(
4509
+ :detector_id,
4510
+ :account_ids,
4511
+ :data_sources)
4512
+ SENSITIVE = []
4513
+ include Aws::Structure
4514
+ end
4515
+
4516
+ # @!attribute [rw] unprocessed_accounts
4517
+ # A list of member account IDs that were unable to be processed along
4518
+ # with an explanation for why they were not processed.
4519
+ # @return [Array<Types::UnprocessedAccount>]
4520
+ #
4521
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateMemberDetectorsResponse AWS API Documentation
4522
+ #
4523
+ class UpdateMemberDetectorsResponse < Struct.new(
4524
+ :unprocessed_accounts)
4525
+ SENSITIVE = []
4526
+ include Aws::Structure
4527
+ end
4528
+
4165
4529
  # @note When making an API call, you may pass UpdateOrganizationConfigurationRequest
4166
4530
  # data as a hash:
4167
4531
  #
4168
4532
  # {
4169
4533
  # detector_id: "DetectorId", # required
4170
4534
  # auto_enable: false, # required
4535
+ # data_sources: {
4536
+ # s3_logs: {
4537
+ # auto_enable: false, # required
4538
+ # },
4539
+ # },
4171
4540
  # }
4172
4541
  #
4173
4542
  # @!attribute [rw] detector_id
@@ -4179,11 +4548,16 @@ module Aws::GuardDuty
4179
4548
  # organization.
4180
4549
  # @return [Boolean]
4181
4550
  #
4551
+ # @!attribute [rw] data_sources
4552
+ # An object describes which data sources will be updated.
4553
+ # @return [Types::OrganizationDataSourceConfigurations]
4554
+ #
4182
4555
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateOrganizationConfigurationRequest AWS API Documentation
4183
4556
  #
4184
4557
  class UpdateOrganizationConfigurationRequest < Struct.new(
4185
4558
  :detector_id,
4186
- :auto_enable)
4559
+ :auto_enable,
4560
+ :data_sources)
4187
4561
  SENSITIVE = []
4188
4562
  include Aws::Structure
4189
4563
  end
@@ -4259,8 +4633,7 @@ module Aws::GuardDuty
4259
4633
  # @return [String]
4260
4634
  #
4261
4635
  # @!attribute [rw] location
4262
- # The updated URI of the file that contains the ThreateIntelSet. For
4263
- # example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
4636
+ # The updated URI of the file that contains the ThreateIntelSet.
4264
4637
  # @return [String]
4265
4638
  #
4266
4639
  # @!attribute [rw] activate
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-guardduty
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.36.0
4
+ version: 1.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-23 00:00:00.000000000 Z
11
+ date: 2020-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core