aws-sdk-guardduty 1.64.0 → 1.66.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 +161 -11
- data/lib/aws-sdk-guardduty/client_api.rb +144 -11
- data/lib/aws-sdk-guardduty/types.rb +449 -16
- 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
|
@@ -662,6 +673,10 @@ module Aws::GuardDuty
|
|
662
673
|
# The tags to be added to a new detector resource.
|
663
674
|
# @return [Hash<String,String>]
|
664
675
|
#
|
676
|
+
# @!attribute [rw] features
|
677
|
+
# A list of features that will be configured for the detector.
|
678
|
+
# @return [Array<Types::DetectorFeatureConfiguration>]
|
679
|
+
#
|
665
680
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetectorRequest AWS API Documentation
|
666
681
|
#
|
667
682
|
class CreateDetectorRequest < Struct.new(
|
@@ -669,7 +684,8 @@ module Aws::GuardDuty
|
|
669
684
|
:client_token,
|
670
685
|
:finding_publishing_frequency,
|
671
686
|
:data_sources,
|
672
|
-
:tags
|
687
|
+
:tags,
|
688
|
+
:features)
|
673
689
|
SENSITIVE = []
|
674
690
|
include Aws::Structure
|
675
691
|
end
|
@@ -705,8 +721,9 @@ module Aws::GuardDuty
|
|
705
721
|
#
|
706
722
|
# @!attribute [rw] description
|
707
723
|
# The description of the filter. Valid characters include alphanumeric
|
708
|
-
# characters, and special characters such as
|
709
|
-
#
|
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
|
710
727
|
# whitespace.
|
711
728
|
# @return [String]
|
712
729
|
#
|
@@ -1520,10 +1537,25 @@ module Aws::GuardDuty
|
|
1520
1537
|
# administrator from.
|
1521
1538
|
# @return [String]
|
1522
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
|
+
#
|
1523
1553
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfigurationRequest AWS API Documentation
|
1524
1554
|
#
|
1525
1555
|
class DescribeOrganizationConfigurationRequest < Struct.new(
|
1526
|
-
:detector_id
|
1556
|
+
:detector_id,
|
1557
|
+
:max_results,
|
1558
|
+
:next_token)
|
1527
1559
|
SENSITIVE = []
|
1528
1560
|
include Aws::Structure
|
1529
1561
|
end
|
@@ -1544,12 +1576,39 @@ module Aws::GuardDuty
|
|
1544
1576
|
# accounts.
|
1545
1577
|
# @return [Types::OrganizationDataSourceConfigurationsResult]
|
1546
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
|
+
#
|
1588
|
+
# @!attribute [rw] auto_enable_organization_members
|
1589
|
+
# Indicates the auto-enablement configuration of GuardDuty for the
|
1590
|
+
# member accounts in the organization.
|
1591
|
+
#
|
1592
|
+
# * `NEW`: Indicates that new accounts joining the organization are
|
1593
|
+
# configured to have GuardDuty enabled automatically.
|
1594
|
+
#
|
1595
|
+
# * `ALL`: Indicates that all accounts (new and existing members) in
|
1596
|
+
# the organization are configured to have GuardDuty enabled
|
1597
|
+
# automatically.
|
1598
|
+
#
|
1599
|
+
# * `NONE`: Indicates that no account in the organization will be
|
1600
|
+
# configured to have GuardDuty enabled automatically.
|
1601
|
+
# @return [String]
|
1602
|
+
#
|
1547
1603
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfigurationResponse AWS API Documentation
|
1548
1604
|
#
|
1549
1605
|
class DescribeOrganizationConfigurationResponse < Struct.new(
|
1550
1606
|
:auto_enable,
|
1551
1607
|
:member_account_limit_reached,
|
1552
|
-
:data_sources
|
1608
|
+
:data_sources,
|
1609
|
+
:features,
|
1610
|
+
:next_token,
|
1611
|
+
:auto_enable_organization_members)
|
1553
1612
|
SENSITIVE = []
|
1554
1613
|
include Aws::Structure
|
1555
1614
|
end
|
@@ -1657,6 +1716,51 @@ module Aws::GuardDuty
|
|
1657
1716
|
include Aws::Structure
|
1658
1717
|
end
|
1659
1718
|
|
1719
|
+
# Contains information about a GuardDuty feature.
|
1720
|
+
#
|
1721
|
+
# @!attribute [rw] name
|
1722
|
+
# The name of the feature.
|
1723
|
+
# @return [String]
|
1724
|
+
#
|
1725
|
+
# @!attribute [rw] status
|
1726
|
+
# The status of the feature.
|
1727
|
+
# @return [String]
|
1728
|
+
#
|
1729
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DetectorFeatureConfiguration AWS API Documentation
|
1730
|
+
#
|
1731
|
+
class DetectorFeatureConfiguration < Struct.new(
|
1732
|
+
:name,
|
1733
|
+
:status)
|
1734
|
+
SENSITIVE = []
|
1735
|
+
include Aws::Structure
|
1736
|
+
end
|
1737
|
+
|
1738
|
+
# Contains information about a GuardDuty feature.
|
1739
|
+
#
|
1740
|
+
# @!attribute [rw] name
|
1741
|
+
# Indicates the name of the feature that can be enabled for the
|
1742
|
+
# detector.
|
1743
|
+
# @return [String]
|
1744
|
+
#
|
1745
|
+
# @!attribute [rw] status
|
1746
|
+
# Indicates the status of the feature that is enabled for the
|
1747
|
+
# detector.
|
1748
|
+
# @return [String]
|
1749
|
+
#
|
1750
|
+
# @!attribute [rw] updated_at
|
1751
|
+
# The timestamp at which the feature object was updated.
|
1752
|
+
# @return [Time]
|
1753
|
+
#
|
1754
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DetectorFeatureConfigurationResult AWS API Documentation
|
1755
|
+
#
|
1756
|
+
class DetectorFeatureConfigurationResult < Struct.new(
|
1757
|
+
:name,
|
1758
|
+
:status,
|
1759
|
+
:updated_at)
|
1760
|
+
SENSITIVE = []
|
1761
|
+
include Aws::Structure
|
1762
|
+
end
|
1763
|
+
|
1660
1764
|
# @!attribute [rw] admin_account_id
|
1661
1765
|
# The Amazon Web Services Account ID for the organizations account to
|
1662
1766
|
# be disabled as a GuardDuty delegated administrator.
|
@@ -2233,6 +2337,25 @@ module Aws::GuardDuty
|
|
2233
2337
|
include Aws::Structure
|
2234
2338
|
end
|
2235
2339
|
|
2340
|
+
# Contains information about the free trial period for a feature.
|
2341
|
+
#
|
2342
|
+
# @!attribute [rw] name
|
2343
|
+
# The name of the feature for which the free trial is configured.
|
2344
|
+
# @return [String]
|
2345
|
+
#
|
2346
|
+
# @!attribute [rw] free_trial_days_remaining
|
2347
|
+
# The number of the remaining free trial days for the feature.
|
2348
|
+
# @return [Integer]
|
2349
|
+
#
|
2350
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FreeTrialFeatureConfigurationResult AWS API Documentation
|
2351
|
+
#
|
2352
|
+
class FreeTrialFeatureConfigurationResult < Struct.new(
|
2353
|
+
:name,
|
2354
|
+
:free_trial_days_remaining)
|
2355
|
+
SENSITIVE = []
|
2356
|
+
include Aws::Structure
|
2357
|
+
end
|
2358
|
+
|
2236
2359
|
# Contains information about the location of the remote IP address.
|
2237
2360
|
#
|
2238
2361
|
# @!attribute [rw] lat
|
@@ -2316,6 +2439,10 @@ module Aws::GuardDuty
|
|
2316
2439
|
# The tags of the detector resource.
|
2317
2440
|
# @return [Hash<String,String>]
|
2318
2441
|
#
|
2442
|
+
# @!attribute [rw] features
|
2443
|
+
# Describes the features that have been enabled for the detector.
|
2444
|
+
# @return [Array<Types::DetectorFeatureConfigurationResult>]
|
2445
|
+
#
|
2319
2446
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetectorResponse AWS API Documentation
|
2320
2447
|
#
|
2321
2448
|
class GetDetectorResponse < Struct.new(
|
@@ -2325,7 +2452,8 @@ module Aws::GuardDuty
|
|
2325
2452
|
:status,
|
2326
2453
|
:updated_at,
|
2327
2454
|
:data_sources,
|
2328
|
-
:tags
|
2455
|
+
:tags,
|
2456
|
+
:features)
|
2329
2457
|
SENSITIVE = []
|
2330
2458
|
include Aws::Structure
|
2331
2459
|
end
|
@@ -3831,6 +3959,37 @@ module Aws::GuardDuty
|
|
3831
3959
|
include Aws::Structure
|
3832
3960
|
end
|
3833
3961
|
|
3962
|
+
# Information about the login attempts.
|
3963
|
+
#
|
3964
|
+
# @!attribute [rw] user
|
3965
|
+
# Indicates the user name which attempted to log in.
|
3966
|
+
# @return [String]
|
3967
|
+
#
|
3968
|
+
# @!attribute [rw] application
|
3969
|
+
# Indicates the application name used to attempt log in.
|
3970
|
+
# @return [String]
|
3971
|
+
#
|
3972
|
+
# @!attribute [rw] failed_login_attempts
|
3973
|
+
# Represents the sum of failed (unsuccessful) login attempts made to
|
3974
|
+
# establish a connection to the database instance.
|
3975
|
+
# @return [Integer]
|
3976
|
+
#
|
3977
|
+
# @!attribute [rw] successful_login_attempts
|
3978
|
+
# Represents the sum of successful connections (a correct combination
|
3979
|
+
# of login attributes) made to the database instance by the actor.
|
3980
|
+
# @return [Integer]
|
3981
|
+
#
|
3982
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/LoginAttribute AWS API Documentation
|
3983
|
+
#
|
3984
|
+
class LoginAttribute < Struct.new(
|
3985
|
+
:user,
|
3986
|
+
:application,
|
3987
|
+
:failed_login_attempts,
|
3988
|
+
:successful_login_attempts)
|
3989
|
+
SENSITIVE = []
|
3990
|
+
include Aws::Structure
|
3991
|
+
end
|
3992
|
+
|
3834
3993
|
# Describes whether Malware Protection will be enabled as a data source.
|
3835
3994
|
#
|
3836
3995
|
# @!attribute [rw] scan_ec2_instance_with_findings
|
@@ -3975,11 +4134,61 @@ module Aws::GuardDuty
|
|
3975
4134
|
# Contains information on the status of data sources for the account.
|
3976
4135
|
# @return [Types::DataSourceConfigurationsResult]
|
3977
4136
|
#
|
4137
|
+
# @!attribute [rw] features
|
4138
|
+
# Contains information about the status of the features for the member
|
4139
|
+
# account.
|
4140
|
+
# @return [Array<Types::MemberFeaturesConfigurationResult>]
|
4141
|
+
#
|
3978
4142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberDataSourceConfiguration AWS API Documentation
|
3979
4143
|
#
|
3980
4144
|
class MemberDataSourceConfiguration < Struct.new(
|
3981
4145
|
:account_id,
|
3982
|
-
:data_sources
|
4146
|
+
:data_sources,
|
4147
|
+
:features)
|
4148
|
+
SENSITIVE = []
|
4149
|
+
include Aws::Structure
|
4150
|
+
end
|
4151
|
+
|
4152
|
+
# Contains information about the features for the member account.
|
4153
|
+
#
|
4154
|
+
# @!attribute [rw] name
|
4155
|
+
# The name of the feature.
|
4156
|
+
# @return [String]
|
4157
|
+
#
|
4158
|
+
# @!attribute [rw] status
|
4159
|
+
# The status of the feature.
|
4160
|
+
# @return [String]
|
4161
|
+
#
|
4162
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberFeaturesConfiguration AWS API Documentation
|
4163
|
+
#
|
4164
|
+
class MemberFeaturesConfiguration < Struct.new(
|
4165
|
+
:name,
|
4166
|
+
:status)
|
4167
|
+
SENSITIVE = []
|
4168
|
+
include Aws::Structure
|
4169
|
+
end
|
4170
|
+
|
4171
|
+
# Contains information about the features for the member account.
|
4172
|
+
#
|
4173
|
+
# @!attribute [rw] name
|
4174
|
+
# Indicates the name of the feature that is enabled for the detector.
|
4175
|
+
# @return [String]
|
4176
|
+
#
|
4177
|
+
# @!attribute [rw] status
|
4178
|
+
# Indicates the status of the feature that is enabled for the
|
4179
|
+
# detector.
|
4180
|
+
# @return [String]
|
4181
|
+
#
|
4182
|
+
# @!attribute [rw] updated_at
|
4183
|
+
# The timestamp at which the feature object was updated.
|
4184
|
+
# @return [Time]
|
4185
|
+
#
|
4186
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/MemberFeaturesConfigurationResult AWS API Documentation
|
4187
|
+
#
|
4188
|
+
class MemberFeaturesConfigurationResult < Struct.new(
|
4189
|
+
:name,
|
4190
|
+
:status,
|
4191
|
+
:updated_at)
|
3983
4192
|
SENSITIVE = []
|
3984
4193
|
include Aws::Structure
|
3985
4194
|
end
|
@@ -4207,6 +4416,54 @@ module Aws::GuardDuty
|
|
4207
4416
|
include Aws::Structure
|
4208
4417
|
end
|
4209
4418
|
|
4419
|
+
# A list of features which will be configured for the organization.
|
4420
|
+
#
|
4421
|
+
# @!attribute [rw] name
|
4422
|
+
# The name of the feature that will be configured for the
|
4423
|
+
# organization.
|
4424
|
+
# @return [String]
|
4425
|
+
#
|
4426
|
+
# @!attribute [rw] auto_enable
|
4427
|
+
# The status of the feature that will be configured for the
|
4428
|
+
# organization.
|
4429
|
+
# @return [String]
|
4430
|
+
#
|
4431
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationFeatureConfiguration AWS API Documentation
|
4432
|
+
#
|
4433
|
+
class OrganizationFeatureConfiguration < Struct.new(
|
4434
|
+
:name,
|
4435
|
+
:auto_enable)
|
4436
|
+
SENSITIVE = []
|
4437
|
+
include Aws::Structure
|
4438
|
+
end
|
4439
|
+
|
4440
|
+
# A list of features which will be configured for the organization.
|
4441
|
+
#
|
4442
|
+
# @!attribute [rw] name
|
4443
|
+
# The name of the feature that is configured for the member accounts
|
4444
|
+
# within the organization.
|
4445
|
+
# @return [String]
|
4446
|
+
#
|
4447
|
+
# @!attribute [rw] auto_enable
|
4448
|
+
# Describes how The status of the feature that are configured for the
|
4449
|
+
# member accounts within the organization.
|
4450
|
+
#
|
4451
|
+
# If you set `AutoEnable` to `NEW`, a feature will be configured for
|
4452
|
+
# only the new accounts when they join the organization.
|
4453
|
+
#
|
4454
|
+
# If you set `AutoEnable` to `NONE`, no feature will be configured for
|
4455
|
+
# the accounts when they join the organization.
|
4456
|
+
# @return [String]
|
4457
|
+
#
|
4458
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/OrganizationFeatureConfigurationResult AWS API Documentation
|
4459
|
+
#
|
4460
|
+
class OrganizationFeatureConfigurationResult < Struct.new(
|
4461
|
+
:name,
|
4462
|
+
:auto_enable)
|
4463
|
+
SENSITIVE = []
|
4464
|
+
include Aws::Structure
|
4465
|
+
end
|
4466
|
+
|
4210
4467
|
# Organization-wide Kubernetes audit logs configuration.
|
4211
4468
|
#
|
4212
4469
|
# @!attribute [rw] auto_enable
|
@@ -4510,6 +4767,107 @@ module Aws::GuardDuty
|
|
4510
4767
|
include Aws::Structure
|
4511
4768
|
end
|
4512
4769
|
|
4770
|
+
# Contains information about the resource type `RDSDBInstance` involved
|
4771
|
+
# in a GuardDuty finding.
|
4772
|
+
#
|
4773
|
+
# @!attribute [rw] db_instance_identifier
|
4774
|
+
# The identifier associated to the database instance that was involved
|
4775
|
+
# in the finding.
|
4776
|
+
# @return [String]
|
4777
|
+
#
|
4778
|
+
# @!attribute [rw] engine
|
4779
|
+
# The database engine of the database instance involved in the
|
4780
|
+
# finding.
|
4781
|
+
# @return [String]
|
4782
|
+
#
|
4783
|
+
# @!attribute [rw] engine_version
|
4784
|
+
# The version of the database engine that was involved in the finding.
|
4785
|
+
# @return [String]
|
4786
|
+
#
|
4787
|
+
# @!attribute [rw] db_cluster_identifier
|
4788
|
+
# The identifier of the database cluster that contains the database
|
4789
|
+
# instance ID involved in the finding.
|
4790
|
+
# @return [String]
|
4791
|
+
#
|
4792
|
+
# @!attribute [rw] db_instance_arn
|
4793
|
+
# The Amazon Resource Name (ARN) that identifies the database instance
|
4794
|
+
# involved in the finding.
|
4795
|
+
# @return [String]
|
4796
|
+
#
|
4797
|
+
# @!attribute [rw] tags
|
4798
|
+
# Instance tag key-value pairs associated with the database instance
|
4799
|
+
# ID.
|
4800
|
+
# @return [Array<Types::Tag>]
|
4801
|
+
#
|
4802
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RdsDbInstanceDetails AWS API Documentation
|
4803
|
+
#
|
4804
|
+
class RdsDbInstanceDetails < Struct.new(
|
4805
|
+
:db_instance_identifier,
|
4806
|
+
:engine,
|
4807
|
+
:engine_version,
|
4808
|
+
:db_cluster_identifier,
|
4809
|
+
:db_instance_arn,
|
4810
|
+
:tags)
|
4811
|
+
SENSITIVE = []
|
4812
|
+
include Aws::Structure
|
4813
|
+
end
|
4814
|
+
|
4815
|
+
# Contains information about the user and authentication details for a
|
4816
|
+
# database instance involved in the finding.
|
4817
|
+
#
|
4818
|
+
# @!attribute [rw] user
|
4819
|
+
# The user name used in the anomalous login attempt.
|
4820
|
+
# @return [String]
|
4821
|
+
#
|
4822
|
+
# @!attribute [rw] application
|
4823
|
+
# The application name used in the anomalous login attempt.
|
4824
|
+
# @return [String]
|
4825
|
+
#
|
4826
|
+
# @!attribute [rw] database
|
4827
|
+
# The name of the database instance involved in the anomalous login
|
4828
|
+
# attempt.
|
4829
|
+
# @return [String]
|
4830
|
+
#
|
4831
|
+
# @!attribute [rw] ssl
|
4832
|
+
# The version of the Secure Socket Layer (SSL) used for the network.
|
4833
|
+
# @return [String]
|
4834
|
+
#
|
4835
|
+
# @!attribute [rw] auth_method
|
4836
|
+
# The authentication method used by the user involved in the finding.
|
4837
|
+
# @return [String]
|
4838
|
+
#
|
4839
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RdsDbUserDetails AWS API Documentation
|
4840
|
+
#
|
4841
|
+
class RdsDbUserDetails < Struct.new(
|
4842
|
+
:user,
|
4843
|
+
:application,
|
4844
|
+
:database,
|
4845
|
+
:ssl,
|
4846
|
+
:auth_method)
|
4847
|
+
SENSITIVE = []
|
4848
|
+
include Aws::Structure
|
4849
|
+
end
|
4850
|
+
|
4851
|
+
# Indicates that a login attempt was made to the potentially compromised
|
4852
|
+
# database from a remote IP address.
|
4853
|
+
#
|
4854
|
+
# @!attribute [rw] remote_ip_details
|
4855
|
+
# Contains information about the remote IP address of the connection.
|
4856
|
+
# @return [Types::RemoteIpDetails]
|
4857
|
+
#
|
4858
|
+
# @!attribute [rw] login_attributes
|
4859
|
+
# Indicates the login attributes used in the login attempt.
|
4860
|
+
# @return [Array<Types::LoginAttribute>]
|
4861
|
+
#
|
4862
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/RdsLoginAttemptAction AWS API Documentation
|
4863
|
+
#
|
4864
|
+
class RdsLoginAttemptAction < Struct.new(
|
4865
|
+
:remote_ip_details,
|
4866
|
+
:login_attributes)
|
4867
|
+
SENSITIVE = []
|
4868
|
+
include Aws::Structure
|
4869
|
+
end
|
4870
|
+
|
4513
4871
|
# Contains details about the remote Amazon Web Services account that
|
4514
4872
|
# made the API call.
|
4515
4873
|
#
|
@@ -4628,6 +4986,16 @@ module Aws::GuardDuty
|
|
4628
4986
|
# Details of a container.
|
4629
4987
|
# @return [Types::Container]
|
4630
4988
|
#
|
4989
|
+
# @!attribute [rw] rds_db_instance_details
|
4990
|
+
# Contains information about the database instance to which an
|
4991
|
+
# anomalous login attempt was made.
|
4992
|
+
# @return [Types::RdsDbInstanceDetails]
|
4993
|
+
#
|
4994
|
+
# @!attribute [rw] rds_db_user_details
|
4995
|
+
# Contains information about the user details through which anomalous
|
4996
|
+
# login attempt was made.
|
4997
|
+
# @return [Types::RdsDbUserDetails]
|
4998
|
+
#
|
4631
4999
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Resource AWS API Documentation
|
4632
5000
|
#
|
4633
5001
|
class Resource < Struct.new(
|
@@ -4639,7 +5007,9 @@ module Aws::GuardDuty
|
|
4639
5007
|
:resource_type,
|
4640
5008
|
:ebs_volume_details,
|
4641
5009
|
:ecs_cluster_details,
|
4642
|
-
:container_details
|
5010
|
+
:container_details,
|
5011
|
+
:rds_db_instance_details,
|
5012
|
+
:rds_db_user_details)
|
4643
5013
|
SENSITIVE = []
|
4644
5014
|
include Aws::Structure
|
4645
5015
|
end
|
@@ -5497,13 +5867,18 @@ module Aws::GuardDuty
|
|
5497
5867
|
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
|
5498
5868
|
# @return [Types::DataSourceConfigurations]
|
5499
5869
|
#
|
5870
|
+
# @!attribute [rw] features
|
5871
|
+
# Provides the features that will be updated for the detector.
|
5872
|
+
# @return [Array<Types::DetectorFeatureConfiguration>]
|
5873
|
+
#
|
5500
5874
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetectorRequest AWS API Documentation
|
5501
5875
|
#
|
5502
5876
|
class UpdateDetectorRequest < Struct.new(
|
5503
5877
|
:detector_id,
|
5504
5878
|
:enable,
|
5505
5879
|
:finding_publishing_frequency,
|
5506
|
-
:data_sources
|
5880
|
+
:data_sources,
|
5881
|
+
:features)
|
5507
5882
|
SENSITIVE = []
|
5508
5883
|
include Aws::Structure
|
5509
5884
|
end
|
@@ -5681,12 +6056,18 @@ module Aws::GuardDuty
|
|
5681
6056
|
# Describes which data sources will be updated.
|
5682
6057
|
# @return [Types::DataSourceConfigurations]
|
5683
6058
|
#
|
6059
|
+
# @!attribute [rw] features
|
6060
|
+
# A list of features that will be updated for the specified member
|
6061
|
+
# accounts.
|
6062
|
+
# @return [Array<Types::MemberFeaturesConfiguration>]
|
6063
|
+
#
|
5684
6064
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateMemberDetectorsRequest AWS API Documentation
|
5685
6065
|
#
|
5686
6066
|
class UpdateMemberDetectorsRequest < Struct.new(
|
5687
6067
|
:detector_id,
|
5688
6068
|
:account_ids,
|
5689
|
-
:data_sources
|
6069
|
+
:data_sources,
|
6070
|
+
:features)
|
5690
6071
|
SENSITIVE = []
|
5691
6072
|
include Aws::Structure
|
5692
6073
|
end
|
@@ -5705,7 +6086,7 @@ module Aws::GuardDuty
|
|
5705
6086
|
end
|
5706
6087
|
|
5707
6088
|
# @!attribute [rw] detector_id
|
5708
|
-
# The ID of the detector
|
6089
|
+
# The ID of the detector that configures the delegated administrator.
|
5709
6090
|
# @return [String]
|
5710
6091
|
#
|
5711
6092
|
# @!attribute [rw] auto_enable
|
@@ -5717,12 +6098,33 @@ module Aws::GuardDuty
|
|
5717
6098
|
# Describes which data sources will be updated.
|
5718
6099
|
# @return [Types::OrganizationDataSourceConfigurations]
|
5719
6100
|
#
|
6101
|
+
# @!attribute [rw] features
|
6102
|
+
# A list of features that will be configured for the organization.
|
6103
|
+
# @return [Array<Types::OrganizationFeatureConfiguration>]
|
6104
|
+
#
|
6105
|
+
# @!attribute [rw] auto_enable_organization_members
|
6106
|
+
# Indicates the auto-enablement configuration of GuardDuty for the
|
6107
|
+
# member accounts in the organization.
|
6108
|
+
#
|
6109
|
+
# * `NEW`: Indicates that new accounts joining the organization are
|
6110
|
+
# configured to have GuardDuty enabled automatically.
|
6111
|
+
#
|
6112
|
+
# * `ALL`: Indicates that all accounts (new and existing members) in
|
6113
|
+
# the organization are configured to have GuardDuty enabled
|
6114
|
+
# automatically.
|
6115
|
+
#
|
6116
|
+
# * `NONE`: Indicates that no account in the organization will be
|
6117
|
+
# configured to have GuardDuty enabled automatically.
|
6118
|
+
# @return [String]
|
6119
|
+
#
|
5720
6120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateOrganizationConfigurationRequest AWS API Documentation
|
5721
6121
|
#
|
5722
6122
|
class UpdateOrganizationConfigurationRequest < Struct.new(
|
5723
6123
|
:detector_id,
|
5724
6124
|
:auto_enable,
|
5725
|
-
:data_sources
|
6125
|
+
:data_sources,
|
6126
|
+
:features,
|
6127
|
+
:auto_enable_organization_members)
|
5726
6128
|
SENSITIVE = []
|
5727
6129
|
include Aws::Structure
|
5728
6130
|
end
|
@@ -5834,12 +6236,17 @@ module Aws::GuardDuty
|
|
5834
6236
|
# resource names.
|
5835
6237
|
# @return [Array<String>]
|
5836
6238
|
#
|
6239
|
+
# @!attribute [rw] features
|
6240
|
+
# The features to aggregate usage statistics from.
|
6241
|
+
# @return [Array<String>]
|
6242
|
+
#
|
5837
6243
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageCriteria AWS API Documentation
|
5838
6244
|
#
|
5839
6245
|
class UsageCriteria < Struct.new(
|
5840
6246
|
:account_ids,
|
5841
6247
|
:data_sources,
|
5842
|
-
:resources
|
6248
|
+
:resources,
|
6249
|
+
:features)
|
5843
6250
|
SENSITIVE = []
|
5844
6251
|
include Aws::Structure
|
5845
6252
|
end
|
@@ -5863,6 +6270,27 @@ module Aws::GuardDuty
|
|
5863
6270
|
include Aws::Structure
|
5864
6271
|
end
|
5865
6272
|
|
6273
|
+
# Contains information about the result of the total usage based on the
|
6274
|
+
# feature.
|
6275
|
+
#
|
6276
|
+
# @!attribute [rw] feature
|
6277
|
+
# The feature that generated the usage cost.
|
6278
|
+
# @return [String]
|
6279
|
+
#
|
6280
|
+
# @!attribute [rw] total
|
6281
|
+
# Contains the total usage with the corresponding currency unit for
|
6282
|
+
# that value.
|
6283
|
+
# @return [Types::Total]
|
6284
|
+
#
|
6285
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageFeatureResult AWS API Documentation
|
6286
|
+
#
|
6287
|
+
class UsageFeatureResult < Struct.new(
|
6288
|
+
:feature,
|
6289
|
+
:total)
|
6290
|
+
SENSITIVE = []
|
6291
|
+
include Aws::Structure
|
6292
|
+
end
|
6293
|
+
|
5866
6294
|
# Contains information on the sum of usage based on an Amazon Web
|
5867
6295
|
# Services resource.
|
5868
6296
|
#
|
@@ -5903,13 +6331,18 @@ module Aws::GuardDuty
|
|
5903
6331
|
# usage, in order from most to least expensive.
|
5904
6332
|
# @return [Array<Types::UsageResourceResult>]
|
5905
6333
|
#
|
6334
|
+
# @!attribute [rw] sum_by_feature
|
6335
|
+
# The usage statistic sum organized by feature.
|
6336
|
+
# @return [Array<Types::UsageFeatureResult>]
|
6337
|
+
#
|
5906
6338
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UsageStatistics AWS API Documentation
|
5907
6339
|
#
|
5908
6340
|
class UsageStatistics < Struct.new(
|
5909
6341
|
:sum_by_account,
|
5910
6342
|
:sum_by_data_source,
|
5911
6343
|
:sum_by_resource,
|
5912
|
-
:top_resources
|
6344
|
+
:top_resources,
|
6345
|
+
:sum_by_feature)
|
5913
6346
|
SENSITIVE = []
|
5914
6347
|
include Aws::Structure
|
5915
6348
|
end
|
data/lib/aws-sdk-guardduty.rb
CHANGED
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.
|
4
|
+
version: 1.66.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: 2023-
|
11
|
+
date: 2023-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|