aws-sdk-guardduty 1.71.0 → 1.73.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 +101 -19
- data/lib/aws-sdk-guardduty/client_api.rb +4 -0
- data/lib/aws-sdk-guardduty/endpoints.rb +1 -0
- data/lib/aws-sdk-guardduty/types.rb +8 -2
- data/lib/aws-sdk-guardduty.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4602e10689b2f94e03e34f6902f3a736b7ce25d86ccc73fca184ee16e1a66db
|
4
|
+
data.tar.gz: 921dd95c2dad9954e2224120f922057279cd9686acb93212acd346ca8d066aa1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aff5e97e96450a736b483afe2335c472d4043d85644579c93d328026beadc650dd30876c3e6f784b563b74c8bc31a4b48be40bf2790e8b2ee99973898ccf4b39
|
7
|
+
data.tar.gz: 848c5df221bc129219757ccceee34105d3127b4bf3ab8b02563598436e6ee0234ea47e4111685b514574c4d241c62852d2d3a15903250640001228f9fd5841a0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.73.0 (2023-06-26)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for user.extra.sessionName in Kubernetes Audit Logs Findings.
|
8
|
+
|
9
|
+
1.72.0 (2023-06-15)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Updated descriptions for some APIs.
|
13
|
+
|
4
14
|
1.71.0 (2023-05-31)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.73.0
|
@@ -859,19 +859,27 @@ module Aws::GuardDuty
|
|
859
859
|
# prerequisite for managing the associated member accounts either by
|
860
860
|
# invitation or through an organization.
|
861
861
|
#
|
862
|
-
#
|
863
|
-
#
|
864
|
-
#
|
865
|
-
# administrator
|
866
|
-
# added as a member.
|
862
|
+
# As a delegated administrator, using `CreateMembers` will enable
|
863
|
+
# GuardDuty in the added member accounts, with the exception of the
|
864
|
+
# organization delegated administrator account. A delegated
|
865
|
+
# administrator must enable GuardDuty prior to being added as a member.
|
867
866
|
#
|
868
|
-
# If you are adding accounts by invitation,
|
869
|
-
#
|
870
|
-
#
|
867
|
+
# If you are adding accounts by invitation, before using
|
868
|
+
# [InviteMembers][1], use `CreateMembers` after GuardDuty has been
|
869
|
+
# enabled in potential member accounts.
|
870
|
+
#
|
871
|
+
# If you disassociate a member from a GuardDuty delegated administrator,
|
872
|
+
# the member account details obtained from this API, including the
|
873
|
+
# associated email addresses, will be retained. This is done so that the
|
874
|
+
# delegated administrator can invoke the [InviteMembers][1] API without
|
875
|
+
# the need to invoke the CreateMembers API again. To remove the details
|
876
|
+
# associated with a member account, the delegated administrator must
|
877
|
+
# invoke the [DeleteMembers][2] API.
|
871
878
|
#
|
872
879
|
#
|
873
880
|
#
|
874
881
|
# [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html
|
882
|
+
# [2]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html
|
875
883
|
#
|
876
884
|
# @option params [required, String] :detector_id
|
877
885
|
# The unique ID of the detector of the GuardDuty account that you want
|
@@ -1540,10 +1548,25 @@ module Aws::GuardDuty
|
|
1540
1548
|
# Disassociates the current GuardDuty member account from its
|
1541
1549
|
# administrator account.
|
1542
1550
|
#
|
1551
|
+
# When you disassociate an invited member from a GuardDuty delegated
|
1552
|
+
# administrator, the member account details obtained from the
|
1553
|
+
# [CreateMembers][1] API, including the associated email addresses, are
|
1554
|
+
# retained. This is done so that the delegated administrator can invoke
|
1555
|
+
# the [InviteMembers][2] API without the need to invoke the
|
1556
|
+
# CreateMembers API again. To remove the details associated with a
|
1557
|
+
# member account, the delegated administrator must invoke the
|
1558
|
+
# [DeleteMembers][3] API.
|
1559
|
+
#
|
1543
1560
|
# With `autoEnableOrganizationMembers` configuration for your
|
1544
1561
|
# organization set to `ALL`, you'll receive an error if you attempt to
|
1545
1562
|
# disable GuardDuty in a member account.
|
1546
1563
|
#
|
1564
|
+
#
|
1565
|
+
#
|
1566
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_CreateMembers.html
|
1567
|
+
# [2]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html
|
1568
|
+
# [3]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html
|
1569
|
+
#
|
1547
1570
|
# @option params [required, String] :detector_id
|
1548
1571
|
# The unique ID of the detector of the GuardDuty member account.
|
1549
1572
|
#
|
@@ -1567,6 +1590,21 @@ module Aws::GuardDuty
|
|
1567
1590
|
# Disassociates the current GuardDuty member account from its
|
1568
1591
|
# administrator account.
|
1569
1592
|
#
|
1593
|
+
# When you disassociate an invited member from a GuardDuty delegated
|
1594
|
+
# administrator, the member account details obtained from the
|
1595
|
+
# [CreateMembers][1] API, including the associated email addresses, are
|
1596
|
+
# retained. This is done so that the delegated administrator can invoke
|
1597
|
+
# the [InviteMembers][2] API without the need to invoke the
|
1598
|
+
# CreateMembers API again. To remove the details associated with a
|
1599
|
+
# member account, the delegated administrator must invoke the
|
1600
|
+
# [DeleteMembers][3] API.
|
1601
|
+
#
|
1602
|
+
#
|
1603
|
+
#
|
1604
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_CreateMembers.html
|
1605
|
+
# [2]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html
|
1606
|
+
# [3]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html
|
1607
|
+
#
|
1570
1608
|
# @option params [required, String] :detector_id
|
1571
1609
|
# The unique ID of the detector of the GuardDuty member account.
|
1572
1610
|
#
|
@@ -1587,14 +1625,29 @@ module Aws::GuardDuty
|
|
1587
1625
|
req.send_request(options)
|
1588
1626
|
end
|
1589
1627
|
|
1590
|
-
# Disassociates GuardDuty member accounts (
|
1591
|
-
# account) specified by the account IDs.
|
1628
|
+
# Disassociates GuardDuty member accounts (from the current
|
1629
|
+
# administrator account) specified by the account IDs.
|
1630
|
+
#
|
1631
|
+
# When you disassociate an invited member from a GuardDuty delegated
|
1632
|
+
# administrator, the member account details obtained from the
|
1633
|
+
# [CreateMembers][1] API, including the associated email addresses, are
|
1634
|
+
# retained. This is done so that the delegated administrator can invoke
|
1635
|
+
# the [InviteMembers][2] API without the need to invoke the
|
1636
|
+
# CreateMembers API again. To remove the details associated with a
|
1637
|
+
# member account, the delegated administrator must invoke the
|
1638
|
+
# [DeleteMembers][3] API.
|
1592
1639
|
#
|
1593
1640
|
# With `autoEnableOrganizationMembers` configuration for your
|
1594
1641
|
# organization set to `ALL`, you'll receive an error if you attempt to
|
1595
1642
|
# disassociate a member account before removing them from your Amazon
|
1596
1643
|
# Web Services organization.
|
1597
1644
|
#
|
1645
|
+
#
|
1646
|
+
#
|
1647
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_CreateMembers.html
|
1648
|
+
# [2]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html
|
1649
|
+
# [3]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html
|
1650
|
+
#
|
1598
1651
|
# @option params [required, String] :detector_id
|
1599
1652
|
# The unique ID of the detector of the GuardDuty account whose members
|
1600
1653
|
# you want to disassociate from the administrator account.
|
@@ -1975,6 +2028,8 @@ module Aws::GuardDuty
|
|
1975
2028
|
# resp.findings[0].resource.kubernetes_details.kubernetes_user_details.uid #=> String
|
1976
2029
|
# resp.findings[0].resource.kubernetes_details.kubernetes_user_details.groups #=> Array
|
1977
2030
|
# resp.findings[0].resource.kubernetes_details.kubernetes_user_details.groups[0] #=> String
|
2031
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_user_details.session_name #=> Array
|
2032
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_user_details.session_name[0] #=> String
|
1978
2033
|
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.name #=> String
|
1979
2034
|
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.type #=> String
|
1980
2035
|
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.uid #=> String
|
@@ -2799,11 +2854,38 @@ module Aws::GuardDuty
|
|
2799
2854
|
req.send_request(options)
|
2800
2855
|
end
|
2801
2856
|
|
2802
|
-
# Invites
|
2803
|
-
#
|
2804
|
-
#
|
2805
|
-
#
|
2806
|
-
#
|
2857
|
+
# Invites Amazon Web Services accounts to become members of an
|
2858
|
+
# organization administered by the Amazon Web Services account that
|
2859
|
+
# invokes this API. If you are using Amazon Web Services Organizations
|
2860
|
+
# to manager your GuardDuty environment, this step is not needed. For
|
2861
|
+
# more information, see [Managing accounts with Amazon Web Services
|
2862
|
+
# Organizations][1].
|
2863
|
+
#
|
2864
|
+
# To invite Amazon Web Services accounts, the first step is to ensure
|
2865
|
+
# that GuardDuty has been enabled in the potential member accounts. You
|
2866
|
+
# can now invoke this API to add accounts by invitation. The invited
|
2867
|
+
# accounts can either accept or decline the invitation from their
|
2868
|
+
# GuardDuty accounts. Each invited Amazon Web Services account can
|
2869
|
+
# choose to accept the invitation from only one Amazon Web Services
|
2870
|
+
# account. For more information, see [Managing GuardDuty accounts by
|
2871
|
+
# invitation][2].
|
2872
|
+
#
|
2873
|
+
# After the invite has been accepted and you choose to disassociate a
|
2874
|
+
# member account (by using [DisassociateMembers][3]) from your account,
|
2875
|
+
# the details of the member account obtained by invoking
|
2876
|
+
# [CreateMembers][4], including the associated email addresses, will be
|
2877
|
+
# retained. This is done so that you can invoke InviteMembers without
|
2878
|
+
# the need to invoke [CreateMembers][4] again. To remove the details
|
2879
|
+
# associated with a member account, you must also invoke
|
2880
|
+
# [DeleteMembers][5].
|
2881
|
+
#
|
2882
|
+
#
|
2883
|
+
#
|
2884
|
+
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_organizations.html
|
2885
|
+
# [2]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_invitations.html
|
2886
|
+
# [3]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DisassociateMembers.html
|
2887
|
+
# [4]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_CreateMembers.html
|
2888
|
+
# [5]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html
|
2807
2889
|
#
|
2808
2890
|
# @option params [required, String] :detector_id
|
2809
2891
|
# The unique ID of the detector of the GuardDuty account that you want
|
@@ -3458,9 +3540,9 @@ module Aws::GuardDuty
|
|
3458
3540
|
end
|
3459
3541
|
|
3460
3542
|
# Lists tags for a resource. Tagging is currently supported for
|
3461
|
-
# detectors, finding filters, IP sets,
|
3462
|
-
# limit of 50 tags per resource. When invoked, this
|
3463
|
-
# all assigned tags for a given resource.
|
3543
|
+
# detectors, finding filters, IP sets, threat intel sets, publishing
|
3544
|
+
# destination, with a limit of 50 tags per resource. When invoked, this
|
3545
|
+
# operation returns all assigned tags for a given resource.
|
3464
3546
|
#
|
3465
3547
|
# @option params [required, String] :resource_arn
|
3466
3548
|
# The Amazon Resource Name (ARN) for the given GuardDuty resource.
|
@@ -4292,7 +4374,7 @@ module Aws::GuardDuty
|
|
4292
4374
|
params: params,
|
4293
4375
|
config: config)
|
4294
4376
|
context[:gem_name] = 'aws-sdk-guardduty'
|
4295
|
-
context[:gem_version] = '1.
|
4377
|
+
context[:gem_version] = '1.73.0'
|
4296
4378
|
Seahorse::Client::Request.new(handlers, context)
|
4297
4379
|
end
|
4298
4380
|
|
@@ -382,6 +382,7 @@ module Aws::GuardDuty
|
|
382
382
|
SecurityGroups = Shapes::ListShape.new(name: 'SecurityGroups')
|
383
383
|
Service = Shapes::StructureShape.new(name: 'Service')
|
384
384
|
ServiceAdditionalInfo = Shapes::StructureShape.new(name: 'ServiceAdditionalInfo')
|
385
|
+
SessionNameList = Shapes::ListShape.new(name: 'SessionNameList')
|
385
386
|
SortCriteria = Shapes::StructureShape.new(name: 'SortCriteria')
|
386
387
|
SourceIps = Shapes::ListShape.new(name: 'SourceIps')
|
387
388
|
Sources = Shapes::ListShape.new(name: 'Sources')
|
@@ -1260,6 +1261,7 @@ module Aws::GuardDuty
|
|
1260
1261
|
KubernetesUserDetails.add_member(:username, Shapes::ShapeRef.new(shape: String, location_name: "username"))
|
1261
1262
|
KubernetesUserDetails.add_member(:uid, Shapes::ShapeRef.new(shape: String, location_name: "uid"))
|
1262
1263
|
KubernetesUserDetails.add_member(:groups, Shapes::ShapeRef.new(shape: Groups, location_name: "groups"))
|
1264
|
+
KubernetesUserDetails.add_member(:session_name, Shapes::ShapeRef.new(shape: SessionNameList, location_name: "sessionName"))
|
1263
1265
|
KubernetesUserDetails.struct_class = Types::KubernetesUserDetails
|
1264
1266
|
|
1265
1267
|
KubernetesWorkloadDetails.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
@@ -1822,6 +1824,8 @@ module Aws::GuardDuty
|
|
1822
1824
|
ServiceAdditionalInfo.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
|
1823
1825
|
ServiceAdditionalInfo.struct_class = Types::ServiceAdditionalInfo
|
1824
1826
|
|
1827
|
+
SessionNameList.member = Shapes::ShapeRef.new(shape: String)
|
1828
|
+
|
1825
1829
|
SortCriteria.add_member(:attribute_name, Shapes::ShapeRef.new(shape: String, location_name: "attributeName"))
|
1826
1830
|
SortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
|
1827
1831
|
SortCriteria.struct_class = Types::SortCriteria
|
@@ -2158,7 +2158,7 @@ module Aws::GuardDuty
|
|
2158
2158
|
# finding.
|
2159
2159
|
#
|
2160
2160
|
# @!attribute [rw] domain
|
2161
|
-
# The domain information for the
|
2161
|
+
# The domain information for the DNS query.
|
2162
2162
|
# @return [String]
|
2163
2163
|
#
|
2164
2164
|
# @!attribute [rw] protocol
|
@@ -3672,12 +3672,18 @@ module Aws::GuardDuty
|
|
3672
3672
|
# The groups that include the user who called the Kubernetes API.
|
3673
3673
|
# @return [Array<String>]
|
3674
3674
|
#
|
3675
|
+
# @!attribute [rw] session_name
|
3676
|
+
# Entity that assumes the IAM role when Kubernetes RBAC permissions
|
3677
|
+
# are assigned to that role.
|
3678
|
+
# @return [Array<String>]
|
3679
|
+
#
|
3675
3680
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/KubernetesUserDetails AWS API Documentation
|
3676
3681
|
#
|
3677
3682
|
class KubernetesUserDetails < Struct.new(
|
3678
3683
|
:username,
|
3679
3684
|
:uid,
|
3680
|
-
:groups
|
3685
|
+
:groups,
|
3686
|
+
:session_name)
|
3681
3687
|
SENSITIVE = []
|
3682
3688
|
include Aws::Structure
|
3683
3689
|
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.73.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-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|