aws-sdk-guardduty 1.63.0 → 1.65.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-guardduty/client.rb +243 -26
- data/lib/aws-sdk-guardduty/client_api.rb +139 -9
- data/lib/aws-sdk-guardduty/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-guardduty/endpoint_provider.rb +29 -26
- data/lib/aws-sdk-guardduty/types.rb +453 -36
- data/lib/aws-sdk-guardduty.rb +1 -1
- metadata +2 -2
@@ -147,11 +147,16 @@ module Aws::GuardDuty
|
|
147
147
|
# Describes the data source enabled for the GuardDuty member account.
|
148
148
|
# @return [Types::DataSourcesFreeTrial]
|
149
149
|
#
|
150
|
+
# @!attribute [rw] features
|
151
|
+
# A list of features enabled for the GuardDuty account.
|
152
|
+
# @return [Array<Types::FreeTrialFeatureConfigurationResult>]
|
153
|
+
#
|
150
154
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccountFreeTrialInfo AWS API Documentation
|
151
155
|
#
|
152
156
|
class AccountFreeTrialInfo < Struct.new(
|
153
157
|
:account_id,
|
154
|
-
:data_sources
|
158
|
+
:data_sources,
|
159
|
+
:features)
|
155
160
|
SENSITIVE = []
|
156
161
|
include Aws::Structure
|
157
162
|
end
|
@@ -201,6 +206,11 @@ module Aws::GuardDuty
|
|
201
206
|
# finding.
|
202
207
|
# @return [Types::KubernetesApiCallAction]
|
203
208
|
#
|
209
|
+
# @!attribute [rw] rds_login_attempt_action
|
210
|
+
# Information about `RDS_LOGIN_ATTEMPT` action described in this
|
211
|
+
# finding.
|
212
|
+
# @return [Types::RdsLoginAttemptAction]
|
213
|
+
#
|
204
214
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Action AWS API Documentation
|
205
215
|
#
|
206
216
|
class Action < Struct.new(
|
@@ -209,7 +219,8 @@ module Aws::GuardDuty
|
|
209
219
|
:dns_request_action,
|
210
220
|
:network_connection_action,
|
211
221
|
:port_probe_action,
|
212
|
-
:kubernetes_api_call_action
|
222
|
+
:kubernetes_api_call_action,
|
223
|
+
:rds_login_attempt_action)
|
213
224
|
SENSITIVE = []
|
214
225
|
include Aws::Structure
|
215
226
|
end
|
@@ -647,12 +658,25 @@ module Aws::GuardDuty
|
|
647
658
|
#
|
648
659
|
# @!attribute [rw] data_sources
|
649
660
|
# Describes which data sources will be enabled for the detector.
|
661
|
+
#
|
662
|
+
# There might be regional differences because some data sources might
|
663
|
+
# not be available in all the Amazon Web Services Regions where
|
664
|
+
# GuardDuty is presently supported. For more information, see [Regions
|
665
|
+
# and endpoints][1].
|
666
|
+
#
|
667
|
+
#
|
668
|
+
#
|
669
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
|
650
670
|
# @return [Types::DataSourceConfigurations]
|
651
671
|
#
|
652
672
|
# @!attribute [rw] tags
|
653
673
|
# The tags to be added to a new detector resource.
|
654
674
|
# @return [Hash<String,String>]
|
655
675
|
#
|
676
|
+
# @!attribute [rw] features
|
677
|
+
# A list of features that will be configured for the detector.
|
678
|
+
# @return [Array<Types::DetectorFeatureConfiguration>]
|
679
|
+
#
|
656
680
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetectorRequest AWS API Documentation
|
657
681
|
#
|
658
682
|
class CreateDetectorRequest < Struct.new(
|
@@ -660,7 +684,8 @@ module Aws::GuardDuty
|
|
660
684
|
:client_token,
|
661
685
|
:finding_publishing_frequency,
|
662
686
|
:data_sources,
|
663
|
-
:tags
|
687
|
+
:tags,
|
688
|
+
:features)
|
664
689
|
SENSITIVE = []
|
665
690
|
include Aws::Structure
|
666
691
|
end
|
@@ -695,9 +720,11 @@ module Aws::GuardDuty
|
|
695
720
|
# @return [String]
|
696
721
|
#
|
697
722
|
# @!attribute [rw] description
|
698
|
-
# The description of the filter. Valid
|
699
|
-
#
|
700
|
-
#
|
723
|
+
# The description of the filter. Valid characters include alphanumeric
|
724
|
+
# characters, and special characters such as hyphen, period, colon,
|
725
|
+
# underscore, parentheses (`\{ \}`, `[ ]`, and `( )`), forward slash,
|
726
|
+
# horizontal tab, vertical tab, newline, form feed, return, and
|
727
|
+
# whitespace.
|
701
728
|
# @return [String]
|
702
729
|
#
|
703
730
|
# @!attribute [rw] action
|
@@ -721,8 +748,6 @@ module Aws::GuardDuty
|
|
721
748
|
#
|
722
749
|
# * region
|
723
750
|
#
|
724
|
-
# * confidence
|
725
|
-
#
|
726
751
|
# * id
|
727
752
|
#
|
728
753
|
# * resource.accessKeyDetails.accessKeyId
|
@@ -821,13 +846,6 @@ module Aws::GuardDuty
|
|
821
846
|
#
|
822
847
|
# * resource.s3BucketDetails.type
|
823
848
|
#
|
824
|
-
# * service.archived
|
825
|
-
#
|
826
|
-
# When this attribute is set to TRUE, only archived findings are
|
827
|
-
# listed. When it's set to FALSE, only unarchived findings are
|
828
|
-
# listed. When this attribute is not set, all existing findings are
|
829
|
-
# listed.
|
830
|
-
#
|
831
849
|
# * service.resourceRole
|
832
850
|
#
|
833
851
|
# * severity
|
@@ -887,7 +905,7 @@ module Aws::GuardDuty
|
|
887
905
|
# @!attribute [rw] name
|
888
906
|
# The user-friendly name to identify the IPSet.
|
889
907
|
#
|
890
|
-
# Allowed characters are
|
908
|
+
# Allowed characters are alphanumeric, whitespace, dash (-), and
|
891
909
|
# underscores (\_).
|
892
910
|
# @return [String]
|
893
911
|
#
|
@@ -1476,7 +1494,12 @@ module Aws::GuardDuty
|
|
1476
1494
|
# @return [Types::FilterCriteria]
|
1477
1495
|
#
|
1478
1496
|
# @!attribute [rw] sort_criteria
|
1479
|
-
# Represents the criteria used for sorting scan entries.
|
1497
|
+
# Represents the criteria used for sorting scan entries. The [
|
1498
|
+
# `attributeName` ][1] is required and it must be `scanStartTime`.
|
1499
|
+
#
|
1500
|
+
#
|
1501
|
+
#
|
1502
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_SortCriteria.html#guardduty-Type-SortCriteria-attributeName
|
1480
1503
|
# @return [Types::SortCriteria]
|
1481
1504
|
#
|
1482
1505
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeMalwareScansRequest AWS API Documentation
|
@@ -1514,10 +1537,25 @@ module Aws::GuardDuty
|
|
1514
1537
|
# administrator from.
|
1515
1538
|
# @return [String]
|
1516
1539
|
#
|
1540
|
+
# @!attribute [rw] max_results
|
1541
|
+
# You can use this parameter to indicate the maximum number of items
|
1542
|
+
# that you want in the response.
|
1543
|
+
# @return [Integer]
|
1544
|
+
#
|
1545
|
+
# @!attribute [rw] next_token
|
1546
|
+
# You can use this parameter when paginating results. Set the value of
|
1547
|
+
# this parameter to null on your first call to the list action. For
|
1548
|
+
# subsequent calls to the action, fill `nextToken` in the request with
|
1549
|
+
# the value of `NextToken` from the previous response to continue
|
1550
|
+
# listing data.
|
1551
|
+
# @return [String]
|
1552
|
+
#
|
1517
1553
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfigurationRequest AWS API Documentation
|
1518
1554
|
#
|
1519
1555
|
class DescribeOrganizationConfigurationRequest < Struct.new(
|
1520
|
-
:detector_id
|
1556
|
+
:detector_id,
|
1557
|
+
:max_results,
|
1558
|
+
:next_token)
|
1521
1559
|
SENSITIVE = []
|
1522
1560
|
include Aws::Structure
|
1523
1561
|
end
|
@@ -1538,12 +1576,23 @@ module Aws::GuardDuty
|
|
1538
1576
|
# accounts.
|
1539
1577
|
# @return [Types::OrganizationDataSourceConfigurationsResult]
|
1540
1578
|
#
|
1579
|
+
# @!attribute [rw] features
|
1580
|
+
# A list of features that are configured for this organization.
|
1581
|
+
# @return [Array<Types::OrganizationFeatureConfigurationResult>]
|
1582
|
+
#
|
1583
|
+
# @!attribute [rw] next_token
|
1584
|
+
# The pagination parameter to be used on the next list operation to
|
1585
|
+
# retrieve more items.
|
1586
|
+
# @return [String]
|
1587
|
+
#
|
1541
1588
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfigurationResponse AWS API Documentation
|
1542
1589
|
#
|
1543
1590
|
class DescribeOrganizationConfigurationResponse < Struct.new(
|
1544
1591
|
:auto_enable,
|
1545
1592
|
:member_account_limit_reached,
|
1546
|
-
:data_sources
|
1593
|
+
:data_sources,
|
1594
|
+
:features,
|
1595
|
+
:next_token)
|
1547
1596
|
SENSITIVE = []
|
1548
1597
|
include Aws::Structure
|
1549
1598
|
end
|
@@ -1651,6 +1700,51 @@ module Aws::GuardDuty
|
|
1651
1700
|
include Aws::Structure
|
1652
1701
|
end
|
1653
1702
|
|
1703
|
+
# Contains information about a GuardDuty feature.
|
1704
|
+
#
|
1705
|
+
# @!attribute [rw] name
|
1706
|
+
# The name of the feature.
|
1707
|
+
# @return [String]
|
1708
|
+
#
|
1709
|
+
# @!attribute [rw] status
|
1710
|
+
# The status of the feature.
|
1711
|
+
# @return [String]
|
1712
|
+
#
|
1713
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DetectorFeatureConfiguration AWS API Documentation
|
1714
|
+
#
|
1715
|
+
class DetectorFeatureConfiguration < Struct.new(
|
1716
|
+
:name,
|
1717
|
+
:status)
|
1718
|
+
SENSITIVE = []
|
1719
|
+
include Aws::Structure
|
1720
|
+
end
|
1721
|
+
|
1722
|
+
# Contains information about a GuardDuty feature.
|
1723
|
+
#
|
1724
|
+
# @!attribute [rw] name
|
1725
|
+
# Indicates the name of the feature that can be enabled for the
|
1726
|
+
# detector.
|
1727
|
+
# @return [String]
|
1728
|
+
#
|
1729
|
+
# @!attribute [rw] status
|
1730
|
+
# Indicates the status of the feature that is enabled for the
|
1731
|
+
# detector.
|
1732
|
+
# @return [String]
|
1733
|
+
#
|
1734
|
+
# @!attribute [rw] updated_at
|
1735
|
+
# The timestamp at which the feature object was updated.
|
1736
|
+
# @return [Time]
|
1737
|
+
#
|
1738
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DetectorFeatureConfigurationResult AWS API Documentation
|
1739
|
+
#
|
1740
|
+
class DetectorFeatureConfigurationResult < Struct.new(
|
1741
|
+
:name,
|
1742
|
+
:status,
|
1743
|
+
:updated_at)
|
1744
|
+
SENSITIVE = []
|
1745
|
+
include Aws::Structure
|
1746
|
+
end
|
1747
|
+
|
1654
1748
|
# @!attribute [rw] admin_account_id
|
1655
1749
|
# The Amazon Web Services Account ID for the organizations account to
|
1656
1750
|
# be disabled as a GuardDuty delegated administrator.
|
@@ -2227,6 +2321,25 @@ module Aws::GuardDuty
|
|
2227
2321
|
include Aws::Structure
|
2228
2322
|
end
|
2229
2323
|
|
2324
|
+
# Contains information about the free trial period for a feature.
|
2325
|
+
#
|
2326
|
+
# @!attribute [rw] name
|
2327
|
+
# The name of the feature for which the free trial is configured.
|
2328
|
+
# @return [String]
|
2329
|
+
#
|
2330
|
+
# @!attribute [rw] free_trial_days_remaining
|
2331
|
+
# The number of the remaining free trial days for the feature.
|
2332
|
+
# @return [Integer]
|
2333
|
+
#
|
2334
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FreeTrialFeatureConfigurationResult AWS API Documentation
|
2335
|
+
#
|
2336
|
+
class FreeTrialFeatureConfigurationResult < Struct.new(
|
2337
|
+
:name,
|
2338
|
+
:free_trial_days_remaining)
|
2339
|
+
SENSITIVE = []
|
2340
|
+
include Aws::Structure
|
2341
|
+
end
|
2342
|
+
|
2230
2343
|
# Contains information about the location of the remote IP address.
|
2231
2344
|
#
|
2232
2345
|
# @!attribute [rw] lat
|
@@ -2310,6 +2423,10 @@ module Aws::GuardDuty
|
|
2310
2423
|
# The tags of the detector resource.
|
2311
2424
|
# @return [Hash<String,String>]
|
2312
2425
|
#
|
2426
|
+
# @!attribute [rw] features
|
2427
|
+
# Describes the features that have been enabled for the detector.
|
2428
|
+
# @return [Array<Types::DetectorFeatureConfigurationResult>]
|
2429
|
+
#
|
2313
2430
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetectorResponse AWS API Documentation
|
2314
2431
|
#
|
2315
2432
|
class GetDetectorResponse < Struct.new(
|
@@ -2319,7 +2436,8 @@ module Aws::GuardDuty
|
|
2319
2436
|
:status,
|
2320
2437
|
:updated_at,
|
2321
2438
|
:data_sources,
|
2322
|
-
:tags
|
2439
|
+
:tags,
|
2440
|
+
:features)
|
2323
2441
|
SENSITIVE = []
|
2324
2442
|
include Aws::Structure
|
2325
2443
|
end
|
@@ -3825,6 +3943,37 @@ module Aws::GuardDuty
|
|
3825
3943
|
include Aws::Structure
|
3826
3944
|
end
|
3827
3945
|
|
3946
|
+
# Information about the login attempts.
|
3947
|
+
#
|
3948
|
+
# @!attribute [rw] user
|
3949
|
+
# Indicates the user name which attempted to log in.
|
3950
|
+
# @return [String]
|
3951
|
+
#
|
3952
|
+
# @!attribute [rw] application
|
3953
|
+
# Indicates the application name used to attempt log in.
|
3954
|
+
# @return [String]
|
3955
|
+
#
|
3956
|
+
# @!attribute [rw] failed_login_attempts
|
3957
|
+
# Represents the sum of failed (unsuccessful) login attempts made to
|
3958
|
+
# establish a connection to the database instance.
|
3959
|
+
# @return [Integer]
|
3960
|
+
#
|
3961
|
+
# @!attribute [rw] successful_login_attempts
|
3962
|
+
# Represents the sum of successful connections (a correct combination
|
3963
|
+
# of login attributes) made to the database instance by the actor.
|
3964
|
+
# @return [Integer]
|
3965
|
+
#
|
3966
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/LoginAttribute AWS API Documentation
|
3967
|
+
#
|
3968
|
+
class LoginAttribute < Struct.new(
|
3969
|
+
:user,
|
3970
|
+
:application,
|
3971
|
+
:failed_login_attempts,
|
3972
|
+
:successful_login_attempts)
|
3973
|
+
SENSITIVE = []
|
3974
|
+
include Aws::Structure
|
3975
|
+
end
|
3976
|
+
|
3828
3977
|
# Describes whether Malware Protection will be enabled as a data source.
|
3829
3978
|
#
|
3830
3979
|
# @!attribute [rw] scan_ec2_instance_with_findings
|
@@ -3969,11 +4118,61 @@ module Aws::GuardDuty
|
|
3969
4118
|
# Contains information on the status of data sources for the account.
|
3970
4119
|
# @return [Types::DataSourceConfigurationsResult]
|
3971
4120
|
#
|
4121
|
+
# @!attribute [rw] features
|
4122
|
+
# Contains information about the status of the features for the member
|
4123
|
+
# account.
|
4124
|
+
# @return [Array<Types::MemberFeaturesConfigurationResult>]
|
4125
|
+
#
|
3972
4126
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberDataSourceConfiguration AWS API Documentation
|
3973
4127
|
#
|
3974
4128
|
class MemberDataSourceConfiguration < Struct.new(
|
3975
4129
|
:account_id,
|
3976
|
-
:data_sources
|
4130
|
+
:data_sources,
|
4131
|
+
:features)
|
4132
|
+
SENSITIVE = []
|
4133
|
+
include Aws::Structure
|
4134
|
+
end
|
4135
|
+
|
4136
|
+
# Contains information about the features for the member account.
|
4137
|
+
#
|
4138
|
+
# @!attribute [rw] name
|
4139
|
+
# The name of the feature.
|
4140
|
+
# @return [String]
|
4141
|
+
#
|
4142
|
+
# @!attribute [rw] status
|
4143
|
+
# The status of the feature.
|
4144
|
+
# @return [String]
|
4145
|
+
#
|
4146
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberFeaturesConfiguration AWS API Documentation
|
4147
|
+
#
|
4148
|
+
class MemberFeaturesConfiguration < Struct.new(
|
4149
|
+
:name,
|
4150
|
+
:status)
|
4151
|
+
SENSITIVE = []
|
4152
|
+
include Aws::Structure
|
4153
|
+
end
|
4154
|
+
|
4155
|
+
# Contains information about the features for the member account.
|
4156
|
+
#
|
4157
|
+
# @!attribute [rw] name
|
4158
|
+
# Indicates the name of the feature that is enabled for the detector.
|
4159
|
+
# @return [String]
|
4160
|
+
#
|
4161
|
+
# @!attribute [rw] status
|
4162
|
+
# Indicates the status of the feature that is enabled for the
|
4163
|
+
# detector.
|
4164
|
+
# @return [String]
|
4165
|
+
#
|
4166
|
+
# @!attribute [rw] updated_at
|
4167
|
+
# The timestamp at which the feature object was updated.
|
4168
|
+
# @return [Time]
|
4169
|
+
#
|
4170
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberFeaturesConfigurationResult AWS API Documentation
|
4171
|
+
#
|
4172
|
+
class MemberFeaturesConfigurationResult < Struct.new(
|
4173
|
+
:name,
|
4174
|
+
:status,
|
4175
|
+
:updated_at)
|
3977
4176
|
SENSITIVE = []
|
3978
4177
|
include Aws::Structure
|
3979
4178
|
end
|
@@ -4201,6 +4400,54 @@ module Aws::GuardDuty
|
|
4201
4400
|
include Aws::Structure
|
4202
4401
|
end
|
4203
4402
|
|
4403
|
+
# A list of features which will be configured for the organization.
|
4404
|
+
#
|
4405
|
+
# @!attribute [rw] name
|
4406
|
+
# The name of the feature that will be configured for the
|
4407
|
+
# organization.
|
4408
|
+
# @return [String]
|
4409
|
+
#
|
4410
|
+
# @!attribute [rw] auto_enable
|
4411
|
+
# The status of the feature that will be configured for the
|
4412
|
+
# organization.
|
4413
|
+
# @return [String]
|
4414
|
+
#
|
4415
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationFeatureConfiguration AWS API Documentation
|
4416
|
+
#
|
4417
|
+
class OrganizationFeatureConfiguration < Struct.new(
|
4418
|
+
:name,
|
4419
|
+
:auto_enable)
|
4420
|
+
SENSITIVE = []
|
4421
|
+
include Aws::Structure
|
4422
|
+
end
|
4423
|
+
|
4424
|
+
# A list of features which will be configured for the organization.
|
4425
|
+
#
|
4426
|
+
# @!attribute [rw] name
|
4427
|
+
# The name of the feature that is configured for the member accounts
|
4428
|
+
# within the organization.
|
4429
|
+
# @return [String]
|
4430
|
+
#
|
4431
|
+
# @!attribute [rw] auto_enable
|
4432
|
+
# Describes how The status of the feature that are configured for the
|
4433
|
+
# member accounts within the organization.
|
4434
|
+
#
|
4435
|
+
# If you set `AutoEnable` to `NEW`, a feature will be configured for
|
4436
|
+
# only the new accounts when they join the organization.
|
4437
|
+
#
|
4438
|
+
# If you set `AutoEnable` to `NONE`, no feature will be configured for
|
4439
|
+
# the accounts when they join the organization.
|
4440
|
+
# @return [String]
|
4441
|
+
#
|
4442
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationFeatureConfigurationResult AWS API Documentation
|
4443
|
+
#
|
4444
|
+
class OrganizationFeatureConfigurationResult < Struct.new(
|
4445
|
+
:name,
|
4446
|
+
:auto_enable)
|
4447
|
+
SENSITIVE = []
|
4448
|
+
include Aws::Structure
|
4449
|
+
end
|
4450
|
+
|
4204
4451
|
# Organization-wide Kubernetes audit logs configuration.
|
4205
4452
|
#
|
4206
4453
|
# @!attribute [rw] auto_enable
|
@@ -4504,6 +4751,107 @@ module Aws::GuardDuty
|
|
4504
4751
|
include Aws::Structure
|
4505
4752
|
end
|
4506
4753
|
|
4754
|
+
# Contains information about the resource type `RDSDBInstance` involved
|
4755
|
+
# in a GuardDuty finding.
|
4756
|
+
#
|
4757
|
+
# @!attribute [rw] db_instance_identifier
|
4758
|
+
# The identifier associated to the database instance that was involved
|
4759
|
+
# in the finding.
|
4760
|
+
# @return [String]
|
4761
|
+
#
|
4762
|
+
# @!attribute [rw] engine
|
4763
|
+
# The database engine of the database instance involved in the
|
4764
|
+
# finding.
|
4765
|
+
# @return [String]
|
4766
|
+
#
|
4767
|
+
# @!attribute [rw] engine_version
|
4768
|
+
# The version of the database engine that was involved in the finding.
|
4769
|
+
# @return [String]
|
4770
|
+
#
|
4771
|
+
# @!attribute [rw] db_cluster_identifier
|
4772
|
+
# The identifier of the database cluster that contains the database
|
4773
|
+
# instance ID involved in the finding.
|
4774
|
+
# @return [String]
|
4775
|
+
#
|
4776
|
+
# @!attribute [rw] db_instance_arn
|
4777
|
+
# The Amazon Resource Name (ARN) that identifies the database instance
|
4778
|
+
# involved in the finding.
|
4779
|
+
# @return [String]
|
4780
|
+
#
|
4781
|
+
# @!attribute [rw] tags
|
4782
|
+
# Instance tag key-value pairs associated with the database instance
|
4783
|
+
# ID.
|
4784
|
+
# @return [Array<Types::Tag>]
|
4785
|
+
#
|
4786
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RdsDbInstanceDetails AWS API Documentation
|
4787
|
+
#
|
4788
|
+
class RdsDbInstanceDetails < Struct.new(
|
4789
|
+
:db_instance_identifier,
|
4790
|
+
:engine,
|
4791
|
+
:engine_version,
|
4792
|
+
:db_cluster_identifier,
|
4793
|
+
:db_instance_arn,
|
4794
|
+
:tags)
|
4795
|
+
SENSITIVE = []
|
4796
|
+
include Aws::Structure
|
4797
|
+
end
|
4798
|
+
|
4799
|
+
# Contains information about the user and authentication details for a
|
4800
|
+
# database instance involved in the finding.
|
4801
|
+
#
|
4802
|
+
# @!attribute [rw] user
|
4803
|
+
# The user name used in the anomalous login attempt.
|
4804
|
+
# @return [String]
|
4805
|
+
#
|
4806
|
+
# @!attribute [rw] application
|
4807
|
+
# The application name used in the anomalous login attempt.
|
4808
|
+
# @return [String]
|
4809
|
+
#
|
4810
|
+
# @!attribute [rw] database
|
4811
|
+
# The name of the database instance involved in the anomalous login
|
4812
|
+
# attempt.
|
4813
|
+
# @return [String]
|
4814
|
+
#
|
4815
|
+
# @!attribute [rw] ssl
|
4816
|
+
# The version of the Secure Socket Layer (SSL) used for the network.
|
4817
|
+
# @return [String]
|
4818
|
+
#
|
4819
|
+
# @!attribute [rw] auth_method
|
4820
|
+
# The authentication method used by the user involved in the finding.
|
4821
|
+
# @return [String]
|
4822
|
+
#
|
4823
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RdsDbUserDetails AWS API Documentation
|
4824
|
+
#
|
4825
|
+
class RdsDbUserDetails < Struct.new(
|
4826
|
+
:user,
|
4827
|
+
:application,
|
4828
|
+
:database,
|
4829
|
+
:ssl,
|
4830
|
+
:auth_method)
|
4831
|
+
SENSITIVE = []
|
4832
|
+
include Aws::Structure
|
4833
|
+
end
|
4834
|
+
|
4835
|
+
# Indicates that a login attempt was made to the potentially compromised
|
4836
|
+
# database from a remote IP address.
|
4837
|
+
#
|
4838
|
+
# @!attribute [rw] remote_ip_details
|
4839
|
+
# Contains information about the remote IP address of the connection.
|
4840
|
+
# @return [Types::RemoteIpDetails]
|
4841
|
+
#
|
4842
|
+
# @!attribute [rw] login_attributes
|
4843
|
+
# Indicates the login attributes used in the login attempt.
|
4844
|
+
# @return [Array<Types::LoginAttribute>]
|
4845
|
+
#
|
4846
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RdsLoginAttemptAction AWS API Documentation
|
4847
|
+
#
|
4848
|
+
class RdsLoginAttemptAction < Struct.new(
|
4849
|
+
:remote_ip_details,
|
4850
|
+
:login_attributes)
|
4851
|
+
SENSITIVE = []
|
4852
|
+
include Aws::Structure
|
4853
|
+
end
|
4854
|
+
|
4507
4855
|
# Contains details about the remote Amazon Web Services account that
|
4508
4856
|
# made the API call.
|
4509
4857
|
#
|
@@ -4584,9 +4932,8 @@ module Aws::GuardDuty
|
|
4584
4932
|
# with the activity that prompted GuardDuty to generate a finding.
|
4585
4933
|
#
|
4586
4934
|
# @!attribute [rw] access_key_details
|
4587
|
-
# The IAM access key details (
|
4588
|
-
#
|
4589
|
-
# finding.
|
4935
|
+
# The IAM access key details (user information) of a user that engaged
|
4936
|
+
# in the activity that prompted GuardDuty to generate a finding.
|
4590
4937
|
# @return [Types::AccessKeyDetails]
|
4591
4938
|
#
|
4592
4939
|
# @!attribute [rw] s3_bucket_details
|
@@ -4623,6 +4970,16 @@ module Aws::GuardDuty
|
|
4623
4970
|
# Details of a container.
|
4624
4971
|
# @return [Types::Container]
|
4625
4972
|
#
|
4973
|
+
# @!attribute [rw] rds_db_instance_details
|
4974
|
+
# Contains information about the database instance to which an
|
4975
|
+
# anomalous login attempt was made.
|
4976
|
+
# @return [Types::RdsDbInstanceDetails]
|
4977
|
+
#
|
4978
|
+
# @!attribute [rw] rds_db_user_details
|
4979
|
+
# Contains information about the user details through which anomalous
|
4980
|
+
# login attempt was made.
|
4981
|
+
# @return [Types::RdsDbUserDetails]
|
4982
|
+
#
|
4626
4983
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Resource AWS API Documentation
|
4627
4984
|
#
|
4628
4985
|
class Resource < Struct.new(
|
@@ -4634,7 +4991,9 @@ module Aws::GuardDuty
|
|
4634
4991
|
:resource_type,
|
4635
4992
|
:ebs_volume_details,
|
4636
4993
|
:ecs_cluster_details,
|
4637
|
-
:container_details
|
4994
|
+
:container_details,
|
4995
|
+
:rds_db_instance_details,
|
4996
|
+
:rds_db_user_details)
|
4638
4997
|
SENSITIVE = []
|
4639
4998
|
include Aws::Structure
|
4640
4999
|
end
|
@@ -5163,8 +5522,8 @@ module Aws::GuardDuty
|
|
5163
5522
|
# Contains information about the criteria used for sorting findings.
|
5164
5523
|
#
|
5165
5524
|
# @!attribute [rw] attribute_name
|
5166
|
-
# Represents the finding attribute
|
5167
|
-
# findings
|
5525
|
+
# Represents the finding attribute, such as `accountId`, that sorts
|
5526
|
+
# the findings.
|
5168
5527
|
# @return [String]
|
5169
5528
|
#
|
5170
5529
|
# @!attribute [rw] order_by
|
@@ -5374,7 +5733,7 @@ module Aws::GuardDuty
|
|
5374
5733
|
# Represents the reason the scan was triggered.
|
5375
5734
|
#
|
5376
5735
|
# @!attribute [rw] guard_duty_finding_id
|
5377
|
-
# The ID of the GuardDuty finding that triggered the
|
5736
|
+
# The ID of the GuardDuty finding that triggered the malware scan.
|
5378
5737
|
# @return [String]
|
5379
5738
|
#
|
5380
5739
|
# @!attribute [rw] description
|
@@ -5481,15 +5840,29 @@ module Aws::GuardDuty
|
|
5481
5840
|
#
|
5482
5841
|
# @!attribute [rw] data_sources
|
5483
5842
|
# Describes which data sources will be updated.
|
5843
|
+
#
|
5844
|
+
# There might be regional differences because some data sources might
|
5845
|
+
# not be available in all the Amazon Web Services Regions where
|
5846
|
+
# GuardDuty is presently supported. For more information, see [Regions
|
5847
|
+
# and endpoints][1].
|
5848
|
+
#
|
5849
|
+
#
|
5850
|
+
#
|
5851
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
|
5484
5852
|
# @return [Types::DataSourceConfigurations]
|
5485
5853
|
#
|
5854
|
+
# @!attribute [rw] features
|
5855
|
+
# Provides the features that will be updated for the detector.
|
5856
|
+
# @return [Array<Types::DetectorFeatureConfiguration>]
|
5857
|
+
#
|
5486
5858
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorRequest AWS API Documentation
|
5487
5859
|
#
|
5488
5860
|
class UpdateDetectorRequest < Struct.new(
|
5489
5861
|
:detector_id,
|
5490
5862
|
:enable,
|
5491
5863
|
:finding_publishing_frequency,
|
5492
|
-
:data_sources
|
5864
|
+
:data_sources,
|
5865
|
+
:features)
|
5493
5866
|
SENSITIVE = []
|
5494
5867
|
include Aws::Structure
|
5495
5868
|
end
|
@@ -5508,9 +5881,11 @@ module Aws::GuardDuty
|
|
5508
5881
|
# @return [String]
|
5509
5882
|
#
|
5510
5883
|
# @!attribute [rw] description
|
5511
|
-
# The description of the filter. Valid
|
5512
|
-
#
|
5513
|
-
#
|
5884
|
+
# The description of the filter. Valid characters include alphanumeric
|
5885
|
+
# characters, and special characters such as hyphen, period, colon,
|
5886
|
+
# underscore, parentheses (`\{ \}`, `[ ]`, and `( )`), forward slash,
|
5887
|
+
# horizontal tab, vertical tab, newline, form feed, return, and
|
5888
|
+
# whitespace.
|
5514
5889
|
# @return [String]
|
5515
5890
|
#
|
5516
5891
|
# @!attribute [rw] action
|
@@ -5665,12 +6040,18 @@ module Aws::GuardDuty
|
|
5665
6040
|
# Describes which data sources will be updated.
|
5666
6041
|
# @return [Types::DataSourceConfigurations]
|
5667
6042
|
#
|
6043
|
+
# @!attribute [rw] features
|
6044
|
+
# A list of features that will be updated for the specified member
|
6045
|
+
# accounts.
|
6046
|
+
# @return [Array<Types::MemberFeaturesConfiguration>]
|
6047
|
+
#
|
5668
6048
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateMemberDetectorsRequest AWS API Documentation
|
5669
6049
|
#
|
5670
6050
|
class UpdateMemberDetectorsRequest < Struct.new(
|
5671
6051
|
:detector_id,
|
5672
6052
|
:account_ids,
|
5673
|
-
:data_sources
|
6053
|
+
:data_sources,
|
6054
|
+
:features)
|
5674
6055
|
SENSITIVE = []
|
5675
6056
|
include Aws::Structure
|
5676
6057
|
end
|
@@ -5701,12 +6082,17 @@ module Aws::GuardDuty
|
|
5701
6082
|
# Describes which data sources will be updated.
|
5702
6083
|
# @return [Types::OrganizationDataSourceConfigurations]
|
5703
6084
|
#
|
6085
|
+
# @!attribute [rw] features
|
6086
|
+
# A list of features that will be configured for the organization.
|
6087
|
+
# @return [Array<Types::OrganizationFeatureConfiguration>]
|
6088
|
+
#
|
5704
6089
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateOrganizationConfigurationRequest AWS API Documentation
|
5705
6090
|
#
|
5706
6091
|
class UpdateOrganizationConfigurationRequest < Struct.new(
|
5707
6092
|
:detector_id,
|
5708
6093
|
:auto_enable,
|
5709
|
-
:data_sources
|
6094
|
+
:data_sources,
|
6095
|
+
:features)
|
5710
6096
|
SENSITIVE = []
|
5711
6097
|
include Aws::Structure
|
5712
6098
|
end
|
@@ -5818,12 +6204,17 @@ module Aws::GuardDuty
|
|
5818
6204
|
# resource names.
|
5819
6205
|
# @return [Array<String>]
|
5820
6206
|
#
|
6207
|
+
# @!attribute [rw] features
|
6208
|
+
# The features to aggregate usage statistics from.
|
6209
|
+
# @return [Array<String>]
|
6210
|
+
#
|
5821
6211
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageCriteria AWS API Documentation
|
5822
6212
|
#
|
5823
6213
|
class UsageCriteria < Struct.new(
|
5824
6214
|
:account_ids,
|
5825
6215
|
:data_sources,
|
5826
|
-
:resources
|
6216
|
+
:resources,
|
6217
|
+
:features)
|
5827
6218
|
SENSITIVE = []
|
5828
6219
|
include Aws::Structure
|
5829
6220
|
end
|
@@ -5847,6 +6238,27 @@ module Aws::GuardDuty
|
|
5847
6238
|
include Aws::Structure
|
5848
6239
|
end
|
5849
6240
|
|
6241
|
+
# Contains information about the result of the total usage based on the
|
6242
|
+
# feature.
|
6243
|
+
#
|
6244
|
+
# @!attribute [rw] feature
|
6245
|
+
# The feature that generated the usage cost.
|
6246
|
+
# @return [String]
|
6247
|
+
#
|
6248
|
+
# @!attribute [rw] total
|
6249
|
+
# Contains the total usage with the corresponding currency unit for
|
6250
|
+
# that value.
|
6251
|
+
# @return [Types::Total]
|
6252
|
+
#
|
6253
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageFeatureResult AWS API Documentation
|
6254
|
+
#
|
6255
|
+
class UsageFeatureResult < Struct.new(
|
6256
|
+
:feature,
|
6257
|
+
:total)
|
6258
|
+
SENSITIVE = []
|
6259
|
+
include Aws::Structure
|
6260
|
+
end
|
6261
|
+
|
5850
6262
|
# Contains information on the sum of usage based on an Amazon Web
|
5851
6263
|
# Services resource.
|
5852
6264
|
#
|
@@ -5887,13 +6299,18 @@ module Aws::GuardDuty
|
|
5887
6299
|
# usage, in order from most to least expensive.
|
5888
6300
|
# @return [Array<Types::UsageResourceResult>]
|
5889
6301
|
#
|
6302
|
+
# @!attribute [rw] sum_by_feature
|
6303
|
+
# The usage statistic sum organized by feature.
|
6304
|
+
# @return [Array<Types::UsageFeatureResult>]
|
6305
|
+
#
|
5890
6306
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageStatistics AWS API Documentation
|
5891
6307
|
#
|
5892
6308
|
class UsageStatistics < Struct.new(
|
5893
6309
|
:sum_by_account,
|
5894
6310
|
:sum_by_data_source,
|
5895
6311
|
:sum_by_resource,
|
5896
|
-
:top_resources
|
6312
|
+
:top_resources,
|
6313
|
+
:sum_by_feature)
|
5897
6314
|
SENSITIVE = []
|
5898
6315
|
include Aws::Structure
|
5899
6316
|
end
|