aws-sdk-guardduty 1.59.0 → 1.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14858a583fa7b814db83884128fdc343437d8e63aeb571f460bee977d8a874e2
4
- data.tar.gz: 5249beafe46d31cd9251c589248137958f5fbf2851fe433900570e7542bbbc88
3
+ metadata.gz: c816009d91648e8c1ec630881cc3be9ce5728800b209a5a60e6805d3a406ebd9
4
+ data.tar.gz: 62f153a02a619f120aef19a2d220327afe96b32dad43d619b6be8ca96214ec00
5
5
  SHA512:
6
- metadata.gz: 3aa05b0122bfc802c1428b911004a0bbb9600e997488389153ac0e163b55e885decba26acad14ed104d86d8ddfd9cd3b30577d9269121e0def97ed146874d75c
7
- data.tar.gz: ebbae9e1e0e553ad0dcfddd379805a2bf89a76777574af33ffef4f6f66f9d1a4d1af84e8505d16865d8838c4b7655da3215cb0004c6bb51c9725a57fe1e3bf82
6
+ metadata.gz: cdf81633dcd4ce86f6dfc92b614f509f93b397147faea8daf473e515b2290fbcab12415e6ddf9bd0de089a00204ff6841fa7be066dcc1edb7ddc1bcb696fc171
7
+ data.tar.gz: 5cc93b75797ddc0933e0a2b6eb6e0f72db8d205f9dca9148e4208499b2bc940a45fd0d71a9051b038462bb62d606bbfe74565e6dd008ff0ed33e195ff0178d30
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.60.0 (2022-10-13)
5
+ ------------------
6
+
7
+ * Feature - Add UnprocessedDataSources to CreateDetectorResponse which specifies the data sources that couldn't be enabled during the CreateDetector request. In addition, update documentations.
8
+
4
9
  1.59.0 (2022-07-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.59.0
1
+ 1.60.0
@@ -477,6 +477,7 @@ module Aws::GuardDuty
477
477
  # @return [Types::CreateDetectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
478
478
  #
479
479
  # * {Types::CreateDetectorResponse#detector_id #detector_id} => String
480
+ # * {Types::CreateDetectorResponse#unprocessed_data_sources #unprocessed_data_sources} => Types::UnprocessedDataSourcesResult
480
481
  #
481
482
  # @example Request syntax with placeholder values
482
483
  #
@@ -507,6 +508,9 @@ module Aws::GuardDuty
507
508
  # @example Response structure
508
509
  #
509
510
  # resp.detector_id #=> String
511
+ # resp.unprocessed_data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.status #=> String, one of "ENABLED", "DISABLED"
512
+ # resp.unprocessed_data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.reason #=> String
513
+ # resp.unprocessed_data_sources.malware_protection.service_role #=> String
510
514
  #
511
515
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetector AWS API Documentation
512
516
  #
@@ -1227,7 +1231,9 @@ module Aws::GuardDuty
1227
1231
  req.send_request(options)
1228
1232
  end
1229
1233
 
1230
- # Returns a list of malware scans.
1234
+ # Returns a list of malware scans. Each member account can view the
1235
+ # malware scans for their own accounts. An administrator can view the
1236
+ # malware scans for all the member accounts.
1231
1237
  #
1232
1238
  # @option params [required, String] :detector_id
1233
1239
  # The unique ID of the detector that the request is associated with.
@@ -1467,8 +1473,8 @@ module Aws::GuardDuty
1467
1473
  req.send_request(options)
1468
1474
  end
1469
1475
 
1470
- # Disassociates GuardDuty member accounts (to the current GuardDuty
1471
- # administrator account) specified by the account IDs.
1476
+ # Disassociates GuardDuty member accounts (to the current administrator
1477
+ # account) specified by the account IDs.
1472
1478
  #
1473
1479
  # @option params [required, String] :detector_id
1474
1480
  # The unique ID of the detector of the GuardDuty account whose members
@@ -1594,6 +1600,7 @@ module Aws::GuardDuty
1594
1600
  # resp.data_sources.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
1595
1601
  # resp.data_sources.kubernetes.audit_logs.status #=> String, one of "ENABLED", "DISABLED"
1596
1602
  # resp.data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.status #=> String, one of "ENABLED", "DISABLED"
1603
+ # resp.data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.reason #=> String
1597
1604
  # resp.data_sources.malware_protection.service_role #=> String
1598
1605
  # resp.tags #=> Hash
1599
1606
  # resp.tags["TagKey"] #=> String
@@ -2201,6 +2208,7 @@ module Aws::GuardDuty
2201
2208
  # resp.member_data_source_configurations[0].data_sources.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
2202
2209
  # resp.member_data_source_configurations[0].data_sources.kubernetes.audit_logs.status #=> String, one of "ENABLED", "DISABLED"
2203
2210
  # resp.member_data_source_configurations[0].data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.status #=> String, one of "ENABLED", "DISABLED"
2211
+ # resp.member_data_source_configurations[0].data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.reason #=> String
2204
2212
  # resp.member_data_source_configurations[0].data_sources.malware_protection.service_role #=> String
2205
2213
  # resp.unprocessed_accounts #=> Array
2206
2214
  # resp.unprocessed_accounts[0].account_id #=> String
@@ -2874,7 +2882,13 @@ module Aws::GuardDuty
2874
2882
  # @option params [String] :only_associated
2875
2883
  # Specifies whether to only return associated members or to return all
2876
2884
  # members (including members who haven't been invited yet or have been
2877
- # disassociated).
2885
+ # disassociated). Member accounts must have been previously associated
2886
+ # with the GuardDuty administrator account using [ `Create Members`
2887
+ # ][1].
2888
+ #
2889
+ #
2890
+ #
2891
+ # [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_CreateMembers.html
2878
2892
  #
2879
2893
  # @return [Types::ListMembersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2880
2894
  #
@@ -3448,7 +3462,7 @@ module Aws::GuardDuty
3448
3462
  # resources to scan.
3449
3463
  #
3450
3464
  # @option params [String] :ebs_snapshot_preservation
3451
- # An enum value representing possible snapshot preservations.
3465
+ # An enum value representing possible snapshot preservation settings.
3452
3466
  #
3453
3467
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3454
3468
  #
@@ -3680,7 +3694,7 @@ module Aws::GuardDuty
3680
3694
  params: params,
3681
3695
  config: config)
3682
3696
  context[:gem_name] = 'aws-sdk-guardduty'
3683
- context[:gem_version] = '1.59.0'
3697
+ context[:gem_version] = '1.60.0'
3684
3698
  Seahorse::Client::Request.new(handlers, context)
3685
3699
  end
3686
3700
 
@@ -338,6 +338,7 @@ module Aws::GuardDuty
338
338
  UnarchiveFindingsResponse = Shapes::StructureShape.new(name: 'UnarchiveFindingsResponse')
339
339
  UnprocessedAccount = Shapes::StructureShape.new(name: 'UnprocessedAccount')
340
340
  UnprocessedAccounts = Shapes::ListShape.new(name: 'UnprocessedAccounts')
341
+ UnprocessedDataSourcesResult = Shapes::StructureShape.new(name: 'UnprocessedDataSourcesResult')
341
342
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
342
343
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
343
344
  UpdateDetectorRequest = Shapes::StructureShape.new(name: 'UpdateDetectorRequest')
@@ -520,6 +521,7 @@ module Aws::GuardDuty
520
521
  CreateDetectorRequest.struct_class = Types::CreateDetectorRequest
521
522
 
522
523
  CreateDetectorResponse.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, location_name: "detectorId"))
524
+ CreateDetectorResponse.add_member(:unprocessed_data_sources, Shapes::ShapeRef.new(shape: UnprocessedDataSourcesResult, location_name: "unprocessedDataSources"))
523
525
  CreateDetectorResponse.struct_class = Types::CreateDetectorResponse
524
526
 
525
527
  CreateFilterRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
@@ -751,6 +753,7 @@ module Aws::GuardDuty
751
753
  EbsVolumeScanDetails.struct_class = Types::EbsVolumeScanDetails
752
754
 
753
755
  EbsVolumesResult.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceStatus, location_name: "status"))
756
+ EbsVolumesResult.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
754
757
  EbsVolumesResult.struct_class = Types::EbsVolumesResult
755
758
 
756
759
  EcsClusterDetails.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
@@ -1533,6 +1536,9 @@ module Aws::GuardDuty
1533
1536
 
1534
1537
  UnprocessedAccounts.member = Shapes::ShapeRef.new(shape: UnprocessedAccount)
1535
1538
 
1539
+ UnprocessedDataSourcesResult.add_member(:malware_protection, Shapes::ShapeRef.new(shape: MalwareProtectionConfigurationResult, location_name: "malwareProtection"))
1540
+ UnprocessedDataSourcesResult.struct_class = Types::UnprocessedDataSourcesResult
1541
+
1536
1542
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: GuardDutyArn, required: true, location: "uri", location_name: "resourceArn"))
1537
1543
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
1538
1544
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -748,10 +748,16 @@ module Aws::GuardDuty
748
748
  # The unique ID of the created detector.
749
749
  # @return [String]
750
750
  #
751
+ # @!attribute [rw] unprocessed_data_sources
752
+ # Specifies the data sources that couldn't be enabled when GuardDuty
753
+ # was enabled for the first time.
754
+ # @return [Types::UnprocessedDataSourcesResult]
755
+ #
751
756
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetectorResponse AWS API Documentation
752
757
  #
753
758
  class CreateDetectorResponse < Struct.new(
754
- :detector_id)
759
+ :detector_id,
760
+ :unprocessed_data_sources)
755
761
  SENSITIVE = []
756
762
  include Aws::Structure
757
763
  end
@@ -1389,8 +1395,8 @@ module Aws::GuardDuty
1389
1395
  # GuardDuty member account.
1390
1396
  #
1391
1397
  # @!attribute [rw] cloud_trail
1392
- # Describes whether any AWS CloudTrail management event logs are
1393
- # enabled as data sources.
1398
+ # Describes whether any Amazon Web Services CloudTrail management
1399
+ # event logs are enabled as data sources.
1394
1400
  # @return [Types::DataSourceFreeTrial]
1395
1401
  #
1396
1402
  # @!attribute [rw] dns_logs
@@ -2161,10 +2167,16 @@ module Aws::GuardDuty
2161
2167
  # Describes whether scanning EBS volumes is enabled as a data source.
2162
2168
  # @return [String]
2163
2169
  #
2170
+ # @!attribute [rw] reason
2171
+ # Specifies the reason why scanning EBS volumes (Malware Protection)
2172
+ # was not enabled as a data source.
2173
+ # @return [String]
2174
+ #
2164
2175
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/EbsVolumesResult AWS API Documentation
2165
2176
  #
2166
2177
  class EbsVolumesResult < Struct.new(
2167
- :status)
2178
+ :status,
2179
+ :reason)
2168
2180
  SENSITIVE = []
2169
2181
  include Aws::Structure
2170
2182
  end
@@ -2424,7 +2436,10 @@ module Aws::GuardDuty
2424
2436
  end
2425
2437
 
2426
2438
  # Represents a condition that when matched will be added to the response
2427
- # of the operation.
2439
+ # of the operation. Irrespective of using any filter criteria, an
2440
+ # administrator account can view the scan entries for all of its member
2441
+ # accounts. However, each member account can view the scan entries only
2442
+ # for their own account.
2428
2443
  #
2429
2444
  # @note When making an API call, you may pass FilterCriterion
2430
2445
  # data as a hash:
@@ -2995,7 +3010,7 @@ module Aws::GuardDuty
2995
3010
  # @return [Types::ScanResourceCriteria]
2996
3011
  #
2997
3012
  # @!attribute [rw] ebs_snapshot_preservation
2998
- # An enum value representing possible snapshot preservations.
3013
+ # An enum value representing possible snapshot preservation settings.
2999
3014
  # @return [String]
3000
3015
  #
3001
3016
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMalwareScanSettingsResponse AWS API Documentation
@@ -4209,7 +4224,13 @@ module Aws::GuardDuty
4209
4224
  # @!attribute [rw] only_associated
4210
4225
  # Specifies whether to only return associated members or to return all
4211
4226
  # members (including members who haven't been invited yet or have
4212
- # been disassociated).
4227
+ # been disassociated). Member accounts must have been previously
4228
+ # associated with the GuardDuty administrator account using [ `Create
4229
+ # Members` ][1].
4230
+ #
4231
+ #
4232
+ #
4233
+ # [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_CreateMembers.html
4213
4234
  # @return [String]
4214
4235
  #
4215
4236
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListMembersRequest AWS API Documentation
@@ -6252,6 +6273,21 @@ module Aws::GuardDuty
6252
6273
  include Aws::Structure
6253
6274
  end
6254
6275
 
6276
+ # Specifies the names of the data sources that couldn't be enabled.
6277
+ #
6278
+ # @!attribute [rw] malware_protection
6279
+ # An object that contains information on the status of all Malware
6280
+ # Protection data sources.
6281
+ # @return [Types::MalwareProtectionConfigurationResult]
6282
+ #
6283
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UnprocessedDataSourcesResult AWS API Documentation
6284
+ #
6285
+ class UnprocessedDataSourcesResult < Struct.new(
6286
+ :malware_protection)
6287
+ SENSITIVE = []
6288
+ include Aws::Structure
6289
+ end
6290
+
6255
6291
  # @note When making an API call, you may pass UntagResourceRequest
6256
6292
  # data as a hash:
6257
6293
  #
@@ -6553,7 +6589,7 @@ module Aws::GuardDuty
6553
6589
  # @return [Types::ScanResourceCriteria]
6554
6590
  #
6555
6591
  # @!attribute [rw] ebs_snapshot_preservation
6556
- # An enum value representing possible snapshot preservations.
6592
+ # An enum value representing possible snapshot preservation settings.
6557
6593
  # @return [String]
6558
6594
  #
6559
6595
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateMalwareScanSettingsRequest AWS API Documentation
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-guardduty/customizations'
48
48
  # @!group service
49
49
  module Aws::GuardDuty
50
50
 
51
- GEM_VERSION = '1.59.0'
51
+ GEM_VERSION = '1.60.0'
52
52
 
53
53
  end
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.59.0
4
+ version: 1.60.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: 2022-07-26 00:00:00.000000000 Z
11
+ date: 2022-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core