aws-sdk-guardduty 1.50.0 → 1.54.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-guardduty/client.rb +135 -43
- data/lib/aws-sdk-guardduty/client_api.rb +129 -0
- data/lib/aws-sdk-guardduty/types.rb +608 -49
- data/lib/aws-sdk-guardduty.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e147e69f8acd9cb6dd498c5a69df832b4e7d0fb43325ddac96f12077bcf98909
|
4
|
+
data.tar.gz: '090cbcb445fcba86d7b7f0e1eaa8cbef74370ff8c037e581004d4e8afce02358'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 902aeb9916eebf8e0e4b1ac9f8a5db1ef0d4fd1f40a06a1fa0616b86b7ae055acf1fa7db6eab0b67bb8e39f313b99d236e8f51267c735476f57ba5653f6c0c6b
|
7
|
+
data.tar.gz: 46deb062685b564f8cf90ee5dbb327c189bab832d49e95d900c487186305d75369e10b1a2a255857dd8276ad67f18146efa4812cf47302bcf83ec1c2910af694
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.54.0 (2022-01-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon GuardDuty expands threat detection coverage to protect Amazon Elastic Kubernetes Service (EKS) workloads.
|
8
|
+
|
9
|
+
1.53.0 (2022-01-20)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon GuardDuty findings now include remoteAccountDetails under AwsApiCallAction section if instance credential is exfiltrated.
|
13
|
+
|
14
|
+
1.52.0 (2021-12-21)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.51.0 (2021-11-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.50.0 (2021-11-04)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.54.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
30
31
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
32
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
33
|
|
@@ -73,6 +74,7 @@ module Aws::GuardDuty
|
|
73
74
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
75
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
76
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
76
78
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
79
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
80
|
|
@@ -119,7 +121,9 @@ module Aws::GuardDuty
|
|
119
121
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
122
|
# are very aggressive. Construct and pass an instance of
|
121
123
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
124
|
+
# enable retries and extended timeouts. Instance profile credential
|
125
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
126
|
+
# to true.
|
123
127
|
#
|
124
128
|
# @option options [required, String] :region
|
125
129
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +177,10 @@ module Aws::GuardDuty
|
|
173
177
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
178
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
179
|
#
|
180
|
+
# @option options [String] :defaults_mode ("legacy")
|
181
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
182
|
+
# accepted modes and the configuration defaults that are included.
|
183
|
+
#
|
176
184
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
185
|
# Set to true to disable SDK automatically adding host prefix
|
178
186
|
# to default service endpoint when available.
|
@@ -295,7 +303,7 @@ module Aws::GuardDuty
|
|
295
303
|
# seconds to wait when opening a HTTP session before raising a
|
296
304
|
# `Timeout::Error`.
|
297
305
|
#
|
298
|
-
# @option options [
|
306
|
+
# @option options [Float] :http_read_timeout (60) The default
|
299
307
|
# number of seconds to wait for response data. This value can
|
300
308
|
# safely be set per-request on the session.
|
301
309
|
#
|
@@ -311,6 +319,9 @@ module Aws::GuardDuty
|
|
311
319
|
# disables this behaviour. This value can safely be set per
|
312
320
|
# request on the session.
|
313
321
|
#
|
322
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
323
|
+
# in seconds.
|
324
|
+
#
|
314
325
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
315
326
|
# HTTP debug output will be sent to the `:logger`.
|
316
327
|
#
|
@@ -440,6 +451,11 @@ module Aws::GuardDuty
|
|
440
451
|
# s3_logs: {
|
441
452
|
# enable: false, # required
|
442
453
|
# },
|
454
|
+
# kubernetes: {
|
455
|
+
# audit_logs: { # required
|
456
|
+
# enable: false, # required
|
457
|
+
# },
|
458
|
+
# },
|
443
459
|
# },
|
444
460
|
# tags: {
|
445
461
|
# "TagKey" => "TagValue",
|
@@ -580,6 +596,16 @@ module Aws::GuardDuty
|
|
580
596
|
#
|
581
597
|
# * service.additionalInfo.threatListName
|
582
598
|
#
|
599
|
+
# * resource.s3BucketDetails.publicAccess.effectivePermissions
|
600
|
+
#
|
601
|
+
# * resource.s3BucketDetails.name
|
602
|
+
#
|
603
|
+
# * resource.s3BucketDetails.tags.key
|
604
|
+
#
|
605
|
+
# * resource.s3BucketDetails.tags.value
|
606
|
+
#
|
607
|
+
# * resource.s3BucketDetails.type
|
608
|
+
#
|
583
609
|
# * service.archived
|
584
610
|
#
|
585
611
|
# When this attribute is set to TRUE, only archived findings are
|
@@ -659,10 +685,10 @@ module Aws::GuardDuty
|
|
659
685
|
|
660
686
|
# Creates a new IPSet, which is called a trusted IP list in the console
|
661
687
|
# user interface. An IPSet is a list of IP addresses that are trusted
|
662
|
-
# for secure communication with
|
663
|
-
# GuardDuty doesn't generate findings for IP addresses
|
664
|
-
# included in IPSets. Only users from the administrator account
|
665
|
-
# this operation.
|
688
|
+
# for secure communication with Amazon Web Services infrastructure and
|
689
|
+
# applications. GuardDuty doesn't generate findings for IP addresses
|
690
|
+
# that are included in IPSets. Only users from the administrator account
|
691
|
+
# can use this operation.
|
666
692
|
#
|
667
693
|
# @option params [required, String] :detector_id
|
668
694
|
# The unique ID of the detector of the GuardDuty account that you want
|
@@ -678,8 +704,7 @@ module Aws::GuardDuty
|
|
678
704
|
# The format of the file that contains the IPSet.
|
679
705
|
#
|
680
706
|
# @option params [required, String] :location
|
681
|
-
# The URI of the file that contains the IPSet.
|
682
|
-
# https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
|
707
|
+
# The URI of the file that contains the IPSet.
|
683
708
|
#
|
684
709
|
# @option params [required, Boolean] :activate
|
685
710
|
# A Boolean value that indicates whether GuardDuty is to start using the
|
@@ -725,10 +750,10 @@ module Aws::GuardDuty
|
|
725
750
|
req.send_request(options)
|
726
751
|
end
|
727
752
|
|
728
|
-
# Creates member accounts of the current
|
729
|
-
# list of
|
730
|
-
# associated member accounts either by
|
731
|
-
# organization.
|
753
|
+
# Creates member accounts of the current Amazon Web Services account by
|
754
|
+
# specifying a list of Amazon Web Services account IDs. This step is a
|
755
|
+
# prerequisite for managing the associated member accounts either by
|
756
|
+
# invitation or through an organization.
|
732
757
|
#
|
733
758
|
# When using `Create Members` as an organizations delegated
|
734
759
|
# administrator this action will enable GuardDuty in the added member
|
@@ -879,8 +904,7 @@ module Aws::GuardDuty
|
|
879
904
|
# The format of the file that contains the ThreatIntelSet.
|
880
905
|
#
|
881
906
|
# @option params [required, String] :location
|
882
|
-
# The URI of the file that contains the ThreatIntelSet.
|
883
|
-
# https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
|
907
|
+
# The URI of the file that contains the ThreatIntelSet.
|
884
908
|
#
|
885
909
|
# @option params [required, Boolean] :activate
|
886
910
|
# A Boolean value that indicates whether GuardDuty is to start using the
|
@@ -926,12 +950,13 @@ module Aws::GuardDuty
|
|
926
950
|
req.send_request(options)
|
927
951
|
end
|
928
952
|
|
929
|
-
# Declines invitations sent to the current member account by
|
930
|
-
# accounts specified by their account IDs.
|
953
|
+
# Declines invitations sent to the current member account by Amazon Web
|
954
|
+
# Services accounts specified by their account IDs.
|
931
955
|
#
|
932
956
|
# @option params [required, Array<String>] :account_ids
|
933
|
-
# A list of account IDs of the
|
934
|
-
# current member account that you want to decline
|
957
|
+
# A list of account IDs of the Amazon Web Services accounts that sent
|
958
|
+
# invitations to the current member account that you want to decline
|
959
|
+
# invitations from.
|
935
960
|
#
|
936
961
|
# @return [Types::DeclineInvitationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
937
962
|
#
|
@@ -1034,12 +1059,13 @@ module Aws::GuardDuty
|
|
1034
1059
|
req.send_request(options)
|
1035
1060
|
end
|
1036
1061
|
|
1037
|
-
# Deletes invitations sent to the current member account by
|
1038
|
-
# specified by their account IDs.
|
1062
|
+
# Deletes invitations sent to the current member account by Amazon Web
|
1063
|
+
# Services accounts specified by their account IDs.
|
1039
1064
|
#
|
1040
1065
|
# @option params [required, Array<String>] :account_ids
|
1041
|
-
# A list of account IDs of the
|
1042
|
-
# current member account that you want to delete
|
1066
|
+
# A list of account IDs of the Amazon Web Services accounts that sent
|
1067
|
+
# invitations to the current member account that you want to delete
|
1068
|
+
# invitations from.
|
1043
1069
|
#
|
1044
1070
|
# @return [Types::DeleteInvitationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1045
1071
|
#
|
@@ -1181,6 +1207,7 @@ module Aws::GuardDuty
|
|
1181
1207
|
# resp.auto_enable #=> Boolean
|
1182
1208
|
# resp.member_account_limit_reached #=> Boolean
|
1183
1209
|
# resp.data_sources.s3_logs.auto_enable #=> Boolean
|
1210
|
+
# resp.data_sources.kubernetes.audit_logs.auto_enable #=> Boolean
|
1184
1211
|
#
|
1185
1212
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfiguration AWS API Documentation
|
1186
1213
|
#
|
@@ -1234,12 +1261,12 @@ module Aws::GuardDuty
|
|
1234
1261
|
req.send_request(options)
|
1235
1262
|
end
|
1236
1263
|
|
1237
|
-
# Disables an
|
1238
|
-
# delegated administrator.
|
1264
|
+
# Disables an Amazon Web Services account within the Organization as the
|
1265
|
+
# GuardDuty delegated administrator.
|
1239
1266
|
#
|
1240
1267
|
# @option params [required, String] :admin_account_id
|
1241
|
-
# The
|
1242
|
-
# GuardDuty delegated administrator.
|
1268
|
+
# The Amazon Web Services Account ID for the organizations account to be
|
1269
|
+
# disabled as a GuardDuty delegated administrator.
|
1243
1270
|
#
|
1244
1271
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1245
1272
|
#
|
@@ -1318,12 +1345,12 @@ module Aws::GuardDuty
|
|
1318
1345
|
req.send_request(options)
|
1319
1346
|
end
|
1320
1347
|
|
1321
|
-
# Enables an
|
1322
|
-
# delegated administrator.
|
1348
|
+
# Enables an Amazon Web Services account within the organization as the
|
1349
|
+
# GuardDuty delegated administrator.
|
1323
1350
|
#
|
1324
1351
|
# @option params [required, String] :admin_account_id
|
1325
|
-
# The
|
1326
|
-
# GuardDuty delegated administrator.
|
1352
|
+
# The Amazon Web Services Account ID for the organization account to be
|
1353
|
+
# enabled as a GuardDuty delegated administrator.
|
1327
1354
|
#
|
1328
1355
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1329
1356
|
#
|
@@ -1374,6 +1401,7 @@ module Aws::GuardDuty
|
|
1374
1401
|
# resp.data_sources.dns_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1375
1402
|
# resp.data_sources.flow_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1376
1403
|
# resp.data_sources.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1404
|
+
# resp.data_sources.kubernetes.audit_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1377
1405
|
# resp.tags #=> Hash
|
1378
1406
|
# resp.tags["TagKey"] #=> String
|
1379
1407
|
#
|
@@ -1544,6 +1572,36 @@ module Aws::GuardDuty
|
|
1544
1572
|
# resp.findings[0].resource.instance_details.tags #=> Array
|
1545
1573
|
# resp.findings[0].resource.instance_details.tags[0].key #=> String
|
1546
1574
|
# resp.findings[0].resource.instance_details.tags[0].value #=> String
|
1575
|
+
# resp.findings[0].resource.eks_cluster_details.name #=> String
|
1576
|
+
# resp.findings[0].resource.eks_cluster_details.arn #=> String
|
1577
|
+
# resp.findings[0].resource.eks_cluster_details.vpc_id #=> String
|
1578
|
+
# resp.findings[0].resource.eks_cluster_details.status #=> String
|
1579
|
+
# resp.findings[0].resource.eks_cluster_details.tags #=> Array
|
1580
|
+
# resp.findings[0].resource.eks_cluster_details.tags[0].key #=> String
|
1581
|
+
# resp.findings[0].resource.eks_cluster_details.tags[0].value #=> String
|
1582
|
+
# resp.findings[0].resource.eks_cluster_details.created_at #=> Time
|
1583
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_user_details.username #=> String
|
1584
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_user_details.uid #=> String
|
1585
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_user_details.groups #=> Array
|
1586
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_user_details.groups[0] #=> String
|
1587
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.name #=> String
|
1588
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.type #=> String
|
1589
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.uid #=> String
|
1590
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.namespace #=> String
|
1591
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.host_network #=> Boolean
|
1592
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers #=> Array
|
1593
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers[0].container_runtime #=> String
|
1594
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers[0].id #=> String
|
1595
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers[0].name #=> String
|
1596
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers[0].image #=> String
|
1597
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers[0].image_prefix #=> String
|
1598
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers[0].volume_mounts #=> Array
|
1599
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers[0].volume_mounts[0].name #=> String
|
1600
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers[0].volume_mounts[0].mount_path #=> String
|
1601
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers[0].security_context.privileged #=> Boolean
|
1602
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.volumes #=> Array
|
1603
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.volumes[0].name #=> String
|
1604
|
+
# resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.volumes[0].host_path.path #=> String
|
1547
1605
|
# resp.findings[0].resource.resource_type #=> String
|
1548
1606
|
# resp.findings[0].schema_version #=> String
|
1549
1607
|
# resp.findings[0].service.action.action_type #=> String
|
@@ -1551,6 +1609,7 @@ module Aws::GuardDuty
|
|
1551
1609
|
# resp.findings[0].service.action.aws_api_call_action.caller_type #=> String
|
1552
1610
|
# resp.findings[0].service.action.aws_api_call_action.domain_details.domain #=> String
|
1553
1611
|
# resp.findings[0].service.action.aws_api_call_action.error_code #=> String
|
1612
|
+
# resp.findings[0].service.action.aws_api_call_action.user_agent #=> String
|
1554
1613
|
# resp.findings[0].service.action.aws_api_call_action.remote_ip_details.city.city_name #=> String
|
1555
1614
|
# resp.findings[0].service.action.aws_api_call_action.remote_ip_details.country.country_code #=> String
|
1556
1615
|
# resp.findings[0].service.action.aws_api_call_action.remote_ip_details.country.country_name #=> String
|
@@ -1562,6 +1621,8 @@ module Aws::GuardDuty
|
|
1562
1621
|
# resp.findings[0].service.action.aws_api_call_action.remote_ip_details.organization.isp #=> String
|
1563
1622
|
# resp.findings[0].service.action.aws_api_call_action.remote_ip_details.organization.org #=> String
|
1564
1623
|
# resp.findings[0].service.action.aws_api_call_action.service_name #=> String
|
1624
|
+
# resp.findings[0].service.action.aws_api_call_action.remote_account_details.account_id #=> String
|
1625
|
+
# resp.findings[0].service.action.aws_api_call_action.remote_account_details.affiliated #=> Boolean
|
1565
1626
|
# resp.findings[0].service.action.dns_request_action.domain #=> String
|
1566
1627
|
# resp.findings[0].service.action.network_connection_action.blocked #=> Boolean
|
1567
1628
|
# resp.findings[0].service.action.network_connection_action.connection_direction #=> String
|
@@ -1596,6 +1657,23 @@ module Aws::GuardDuty
|
|
1596
1657
|
# resp.findings[0].service.action.port_probe_action.port_probe_details[0].remote_ip_details.organization.asn_org #=> String
|
1597
1658
|
# resp.findings[0].service.action.port_probe_action.port_probe_details[0].remote_ip_details.organization.isp #=> String
|
1598
1659
|
# resp.findings[0].service.action.port_probe_action.port_probe_details[0].remote_ip_details.organization.org #=> String
|
1660
|
+
# resp.findings[0].service.action.kubernetes_api_call_action.request_uri #=> String
|
1661
|
+
# resp.findings[0].service.action.kubernetes_api_call_action.verb #=> String
|
1662
|
+
# resp.findings[0].service.action.kubernetes_api_call_action.source_ips #=> Array
|
1663
|
+
# resp.findings[0].service.action.kubernetes_api_call_action.source_ips[0] #=> String
|
1664
|
+
# resp.findings[0].service.action.kubernetes_api_call_action.user_agent #=> String
|
1665
|
+
# resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.city.city_name #=> String
|
1666
|
+
# resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.country.country_code #=> String
|
1667
|
+
# resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.country.country_name #=> String
|
1668
|
+
# resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.geo_location.lat #=> Float
|
1669
|
+
# resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.geo_location.lon #=> Float
|
1670
|
+
# resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.ip_address_v4 #=> String
|
1671
|
+
# resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.organization.asn #=> String
|
1672
|
+
# resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.organization.asn_org #=> String
|
1673
|
+
# resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.organization.isp #=> String
|
1674
|
+
# resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.organization.org #=> String
|
1675
|
+
# resp.findings[0].service.action.kubernetes_api_call_action.status_code #=> Integer
|
1676
|
+
# resp.findings[0].service.action.kubernetes_api_call_action.parameters #=> String
|
1599
1677
|
# resp.findings[0].service.evidence.threat_intelligence_details #=> Array
|
1600
1678
|
# resp.findings[0].service.evidence.threat_intelligence_details[0].threat_list_name #=> String
|
1601
1679
|
# resp.findings[0].service.evidence.threat_intelligence_details[0].threat_names #=> Array
|
@@ -1801,6 +1879,7 @@ module Aws::GuardDuty
|
|
1801
1879
|
# resp.member_data_source_configurations[0].data_sources.dns_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1802
1880
|
# resp.member_data_source_configurations[0].data_sources.flow_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1803
1881
|
# resp.member_data_source_configurations[0].data_sources.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1882
|
+
# resp.member_data_source_configurations[0].data_sources.kubernetes.audit_logs.status #=> String, one of "ENABLED", "DISABLED"
|
1804
1883
|
# resp.unprocessed_accounts #=> Array
|
1805
1884
|
# resp.unprocessed_accounts[0].account_id #=> String
|
1806
1885
|
# resp.unprocessed_accounts[0].result #=> String
|
@@ -1952,7 +2031,7 @@ module Aws::GuardDuty
|
|
1952
2031
|
# usage_statistic_type: "SUM_BY_ACCOUNT", # required, accepts SUM_BY_ACCOUNT, SUM_BY_DATA_SOURCE, SUM_BY_RESOURCE, TOP_RESOURCES
|
1953
2032
|
# usage_criteria: { # required
|
1954
2033
|
# account_ids: ["AccountId"],
|
1955
|
-
# data_sources: ["FLOW_LOGS"], # required, accepts FLOW_LOGS, CLOUD_TRAIL, DNS_LOGS, S3_LOGS
|
2034
|
+
# data_sources: ["FLOW_LOGS"], # required, accepts FLOW_LOGS, CLOUD_TRAIL, DNS_LOGS, S3_LOGS, KUBERNETES_AUDIT_LOGS
|
1956
2035
|
# resources: ["String"],
|
1957
2036
|
# },
|
1958
2037
|
# unit: "String",
|
@@ -1967,7 +2046,7 @@ module Aws::GuardDuty
|
|
1967
2046
|
# resp.usage_statistics.sum_by_account[0].total.amount #=> String
|
1968
2047
|
# resp.usage_statistics.sum_by_account[0].total.unit #=> String
|
1969
2048
|
# resp.usage_statistics.sum_by_data_source #=> Array
|
1970
|
-
# resp.usage_statistics.sum_by_data_source[0].data_source #=> String, one of "FLOW_LOGS", "CLOUD_TRAIL", "DNS_LOGS", "S3_LOGS"
|
2049
|
+
# resp.usage_statistics.sum_by_data_source[0].data_source #=> String, one of "FLOW_LOGS", "CLOUD_TRAIL", "DNS_LOGS", "S3_LOGS", "KUBERNETES_AUDIT_LOGS"
|
1971
2050
|
# resp.usage_statistics.sum_by_data_source[0].total.amount #=> String
|
1972
2051
|
# resp.usage_statistics.sum_by_data_source[0].total.unit #=> String
|
1973
2052
|
# resp.usage_statistics.sum_by_resource #=> Array
|
@@ -1989,10 +2068,11 @@ module Aws::GuardDuty
|
|
1989
2068
|
req.send_request(options)
|
1990
2069
|
end
|
1991
2070
|
|
1992
|
-
# Invites other
|
1993
|
-
# account by CreateMembers) to enable
|
1994
|
-
#
|
1995
|
-
# behalf as the GuardDuty
|
2071
|
+
# Invites other Amazon Web Services accounts (created as members of the
|
2072
|
+
# current Amazon Web Services account by CreateMembers) to enable
|
2073
|
+
# GuardDuty, and allow the current Amazon Web Services account to view
|
2074
|
+
# and manage these accounts' findings on their behalf as the GuardDuty
|
2075
|
+
# administrator account.
|
1996
2076
|
#
|
1997
2077
|
# @option params [required, String] :detector_id
|
1998
2078
|
# The unique ID of the detector of the GuardDuty account that you want
|
@@ -2214,8 +2294,6 @@ module Aws::GuardDuty
|
|
2214
2294
|
#
|
2215
2295
|
# * service.action.networkConnectionAction.protocol
|
2216
2296
|
#
|
2217
|
-
# * service.action.networkConnectionAction.remoteIpDetails.city.cityName
|
2218
|
-
#
|
2219
2297
|
# * service.action.networkConnectionAction.remoteIpDetails.country.countryName
|
2220
2298
|
#
|
2221
2299
|
# * service.action.networkConnectionAction.remoteIpDetails.ipAddressV4
|
@@ -2362,7 +2440,7 @@ module Aws::GuardDuty
|
|
2362
2440
|
end
|
2363
2441
|
|
2364
2442
|
# Lists all GuardDuty membership invitations that were sent to the
|
2365
|
-
# current
|
2443
|
+
# current Amazon Web Services account.
|
2366
2444
|
#
|
2367
2445
|
# @option params [Integer] :max_results
|
2368
2446
|
# You can use this parameter to indicate the maximum number of items
|
@@ -2511,7 +2589,7 @@ module Aws::GuardDuty
|
|
2511
2589
|
end
|
2512
2590
|
|
2513
2591
|
# Returns a list of publishing destinations associated with the
|
2514
|
-
# specified `
|
2592
|
+
# specified `detectorId`.
|
2515
2593
|
#
|
2516
2594
|
# @option params [required, String] :detector_id
|
2517
2595
|
# The ID of the detector to retrieve publishing destinations for.
|
@@ -2824,6 +2902,11 @@ module Aws::GuardDuty
|
|
2824
2902
|
# s3_logs: {
|
2825
2903
|
# enable: false, # required
|
2826
2904
|
# },
|
2905
|
+
# kubernetes: {
|
2906
|
+
# audit_logs: { # required
|
2907
|
+
# enable: false, # required
|
2908
|
+
# },
|
2909
|
+
# },
|
2827
2910
|
# },
|
2828
2911
|
# })
|
2829
2912
|
#
|
@@ -2954,8 +3037,7 @@ module Aws::GuardDuty
|
|
2954
3037
|
# The unique ID that specifies the IPSet that you want to update.
|
2955
3038
|
#
|
2956
3039
|
# @option params [String] :location
|
2957
|
-
# The updated URI of the file that contains the IPSet.
|
2958
|
-
# https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
|
3040
|
+
# The updated URI of the file that contains the IPSet.
|
2959
3041
|
#
|
2960
3042
|
# @option params [Boolean] :activate
|
2961
3043
|
# The updated Boolean value that specifies whether the IPSet is active
|
@@ -3006,6 +3088,11 @@ module Aws::GuardDuty
|
|
3006
3088
|
# s3_logs: {
|
3007
3089
|
# enable: false, # required
|
3008
3090
|
# },
|
3091
|
+
# kubernetes: {
|
3092
|
+
# audit_logs: { # required
|
3093
|
+
# enable: false, # required
|
3094
|
+
# },
|
3095
|
+
# },
|
3009
3096
|
# },
|
3010
3097
|
# })
|
3011
3098
|
#
|
@@ -3047,6 +3134,11 @@ module Aws::GuardDuty
|
|
3047
3134
|
# s3_logs: {
|
3048
3135
|
# auto_enable: false, # required
|
3049
3136
|
# },
|
3137
|
+
# kubernetes: {
|
3138
|
+
# audit_logs: { # required
|
3139
|
+
# auto_enable: false, # required
|
3140
|
+
# },
|
3141
|
+
# },
|
3050
3142
|
# },
|
3051
3143
|
# })
|
3052
3144
|
#
|
@@ -3150,7 +3242,7 @@ module Aws::GuardDuty
|
|
3150
3242
|
params: params,
|
3151
3243
|
config: config)
|
3152
3244
|
context[:gem_name] = 'aws-sdk-guardduty'
|
3153
|
-
context[:gem_version] = '1.
|
3245
|
+
context[:gem_version] = '1.54.0'
|
3154
3246
|
Seahorse::Client::Request.new(handlers, context)
|
3155
3247
|
end
|
3156
3248
|
|