aws-sdk-guardduty 1.66.0 → 1.68.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 +295 -15
- data/lib/aws-sdk-guardduty/client_api.rb +268 -0
- data/lib/aws-sdk-guardduty/endpoints.rb +28 -0
- data/lib/aws-sdk-guardduty/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-guardduty/types.rb +877 -22
- 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: 3ff5bf924b3cd09c298b323fca839e37e4742e6b91ad78277b1f9fed741b81d4
|
4
|
+
data.tar.gz: bdeffcea7e97f871baf2461bb95387bb351102146b3b93085f83ed865117413b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 588ea396bddcb12c84c76a5d74f1245e455e0857c8fa17dffba026b8333ab6775ce12718b3496c01d58b00d8725bf0a64a539b2bb48660319b58aa99eece9714
|
7
|
+
data.tar.gz: f381b33dd8c0e8564fc4cf2721dd90df57ef9c12ab25b7746612b29239a1fd6d06bbb23be5dbb235f56fc36559ae830778bd6066d40e925cfbf6703d9adb661c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.68.0 (2023-04-20)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for the new Lambda Protection feature.
|
8
|
+
|
9
|
+
1.67.0 (2023-03-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added EKS Runtime Monitoring feature support to existing detector, finding APIs and introducing new Coverage APIs
|
13
|
+
|
4
14
|
1.66.0 (2023-03-23)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.68.0
|
@@ -543,8 +543,14 @@ module Aws::GuardDuty
|
|
543
543
|
# },
|
544
544
|
# features: [
|
545
545
|
# {
|
546
|
-
# name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS
|
546
|
+
# name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS, EKS_RUNTIME_MONITORING, LAMBDA_NETWORK_LOGS
|
547
547
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
548
|
+
# additional_configuration: [
|
549
|
+
# {
|
550
|
+
# name: "EKS_ADDON_MANAGEMENT", # accepts EKS_ADDON_MANAGEMENT
|
551
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
552
|
+
# },
|
553
|
+
# ],
|
548
554
|
# },
|
549
555
|
# ],
|
550
556
|
# })
|
@@ -1441,8 +1447,11 @@ module Aws::GuardDuty
|
|
1441
1447
|
# resp.data_sources.kubernetes.audit_logs.auto_enable #=> Boolean
|
1442
1448
|
# resp.data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.auto_enable #=> Boolean
|
1443
1449
|
# resp.features #=> Array
|
1444
|
-
# resp.features[0].name #=> String, one of "S3_DATA_EVENTS", "EKS_AUDIT_LOGS", "EBS_MALWARE_PROTECTION", "RDS_LOGIN_EVENTS"
|
1450
|
+
# resp.features[0].name #=> String, one of "S3_DATA_EVENTS", "EKS_AUDIT_LOGS", "EBS_MALWARE_PROTECTION", "RDS_LOGIN_EVENTS", "EKS_RUNTIME_MONITORING", "LAMBDA_NETWORK_LOGS"
|
1445
1451
|
# resp.features[0].auto_enable #=> String, one of "NEW", "NONE"
|
1452
|
+
# resp.features[0].additional_configuration #=> Array
|
1453
|
+
# resp.features[0].additional_configuration[0].name #=> String, one of "EKS_ADDON_MANAGEMENT"
|
1454
|
+
# resp.features[0].additional_configuration[0].auto_enable #=> String, one of "NEW", "NONE"
|
1446
1455
|
# resp.next_token #=> String
|
1447
1456
|
# resp.auto_enable_organization_members #=> String, one of "NEW", "ALL", "NONE"
|
1448
1457
|
#
|
@@ -1670,6 +1679,60 @@ module Aws::GuardDuty
|
|
1670
1679
|
req.send_request(options)
|
1671
1680
|
end
|
1672
1681
|
|
1682
|
+
# Retrieves aggregated statistics for your account. If you are a
|
1683
|
+
# GuardDuty administrator, you can retrieve the statistics for all the
|
1684
|
+
# resources associated with the active member accounts in your
|
1685
|
+
# organization who have enabled EKS Runtime Monitoring and have the
|
1686
|
+
# GuardDuty agent running on their EKS nodes.
|
1687
|
+
#
|
1688
|
+
# @option params [required, String] :detector_id
|
1689
|
+
# The unique ID of the GuardDuty detector associated to the coverage
|
1690
|
+
# statistics.
|
1691
|
+
#
|
1692
|
+
# @option params [Types::CoverageFilterCriteria] :filter_criteria
|
1693
|
+
# Represents the criteria used to filter the coverage statistics
|
1694
|
+
#
|
1695
|
+
# @option params [required, Array<String>] :statistics_type
|
1696
|
+
# Represents the statistics type used to aggregate the coverage details.
|
1697
|
+
#
|
1698
|
+
# @return [Types::GetCoverageStatisticsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1699
|
+
#
|
1700
|
+
# * {Types::GetCoverageStatisticsResponse#coverage_statistics #coverage_statistics} => Types::CoverageStatistics
|
1701
|
+
#
|
1702
|
+
# @example Request syntax with placeholder values
|
1703
|
+
#
|
1704
|
+
# resp = client.get_coverage_statistics({
|
1705
|
+
# detector_id: "DetectorId", # required
|
1706
|
+
# filter_criteria: {
|
1707
|
+
# filter_criterion: [
|
1708
|
+
# {
|
1709
|
+
# criterion_key: "ACCOUNT_ID", # accepts ACCOUNT_ID, CLUSTER_NAME, RESOURCE_TYPE, COVERAGE_STATUS, ADDON_VERSION
|
1710
|
+
# filter_condition: {
|
1711
|
+
# equals: ["String"],
|
1712
|
+
# not_equals: ["String"],
|
1713
|
+
# },
|
1714
|
+
# },
|
1715
|
+
# ],
|
1716
|
+
# },
|
1717
|
+
# statistics_type: ["COUNT_BY_RESOURCE_TYPE"], # required, accepts COUNT_BY_RESOURCE_TYPE, COUNT_BY_COVERAGE_STATUS
|
1718
|
+
# })
|
1719
|
+
#
|
1720
|
+
# @example Response structure
|
1721
|
+
#
|
1722
|
+
# resp.coverage_statistics.count_by_resource_type #=> Hash
|
1723
|
+
# resp.coverage_statistics.count_by_resource_type["ResourceType"] #=> Integer
|
1724
|
+
# resp.coverage_statistics.count_by_coverage_status #=> Hash
|
1725
|
+
# resp.coverage_statistics.count_by_coverage_status["CoverageStatus"] #=> Integer
|
1726
|
+
#
|
1727
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetCoverageStatistics AWS API Documentation
|
1728
|
+
#
|
1729
|
+
# @overload get_coverage_statistics(params = {})
|
1730
|
+
# @param [Hash] params ({})
|
1731
|
+
def get_coverage_statistics(params = {}, options = {})
|
1732
|
+
req = build_request(:get_coverage_statistics, params)
|
1733
|
+
req.send_request(options)
|
1734
|
+
end
|
1735
|
+
|
1673
1736
|
# Retrieves an Amazon GuardDuty detector specified by the detectorId.
|
1674
1737
|
#
|
1675
1738
|
# There might be regional differences because some data sources might
|
@@ -1719,9 +1782,13 @@ module Aws::GuardDuty
|
|
1719
1782
|
# resp.tags #=> Hash
|
1720
1783
|
# resp.tags["TagKey"] #=> String
|
1721
1784
|
# resp.features #=> Array
|
1722
|
-
# resp.features[0].name #=> String, one of "FLOW_LOGS", "CLOUD_TRAIL", "DNS_LOGS", "S3_DATA_EVENTS", "EKS_AUDIT_LOGS", "EBS_MALWARE_PROTECTION", "RDS_LOGIN_EVENTS"
|
1785
|
+
# resp.features[0].name #=> String, one of "FLOW_LOGS", "CLOUD_TRAIL", "DNS_LOGS", "S3_DATA_EVENTS", "EKS_AUDIT_LOGS", "EBS_MALWARE_PROTECTION", "RDS_LOGIN_EVENTS", "EKS_RUNTIME_MONITORING", "LAMBDA_NETWORK_LOGS"
|
1723
1786
|
# resp.features[0].status #=> String, one of "ENABLED", "DISABLED"
|
1724
1787
|
# resp.features[0].updated_at #=> Time
|
1788
|
+
# resp.features[0].additional_configuration #=> Array
|
1789
|
+
# resp.features[0].additional_configuration[0].name #=> String, one of "EKS_ADDON_MANAGEMENT"
|
1790
|
+
# resp.features[0].additional_configuration[0].status #=> String, one of "ENABLED", "DISABLED"
|
1791
|
+
# resp.features[0].additional_configuration[0].updated_at #=> Time
|
1725
1792
|
#
|
1726
1793
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetector AWS API Documentation
|
1727
1794
|
#
|
@@ -1991,6 +2058,22 @@ module Aws::GuardDuty
|
|
1991
2058
|
# resp.findings[0].resource.rds_db_user_details.database #=> String
|
1992
2059
|
# resp.findings[0].resource.rds_db_user_details.ssl #=> String
|
1993
2060
|
# resp.findings[0].resource.rds_db_user_details.auth_method #=> String
|
2061
|
+
# resp.findings[0].resource.lambda_details.function_arn #=> String
|
2062
|
+
# resp.findings[0].resource.lambda_details.function_name #=> String
|
2063
|
+
# resp.findings[0].resource.lambda_details.description #=> String
|
2064
|
+
# resp.findings[0].resource.lambda_details.last_modified_at #=> Time
|
2065
|
+
# resp.findings[0].resource.lambda_details.revision_id #=> String
|
2066
|
+
# resp.findings[0].resource.lambda_details.function_version #=> String
|
2067
|
+
# resp.findings[0].resource.lambda_details.role #=> String
|
2068
|
+
# resp.findings[0].resource.lambda_details.vpc_config.subnet_ids #=> Array
|
2069
|
+
# resp.findings[0].resource.lambda_details.vpc_config.subnet_ids[0] #=> String
|
2070
|
+
# resp.findings[0].resource.lambda_details.vpc_config.vpc_id #=> String
|
2071
|
+
# resp.findings[0].resource.lambda_details.vpc_config.security_groups #=> Array
|
2072
|
+
# resp.findings[0].resource.lambda_details.vpc_config.security_groups[0].group_id #=> String
|
2073
|
+
# resp.findings[0].resource.lambda_details.vpc_config.security_groups[0].group_name #=> String
|
2074
|
+
# resp.findings[0].resource.lambda_details.tags #=> Array
|
2075
|
+
# resp.findings[0].resource.lambda_details.tags[0].key #=> String
|
2076
|
+
# resp.findings[0].resource.lambda_details.tags[0].value #=> String
|
1994
2077
|
# resp.findings[0].schema_version #=> String
|
1995
2078
|
# resp.findings[0].service.action.action_type #=> String
|
1996
2079
|
# resp.findings[0].service.action.aws_api_call_action.api #=> String
|
@@ -2121,6 +2204,92 @@ module Aws::GuardDuty
|
|
2121
2204
|
# resp.findings[0].service.ebs_volume_scan_details.scan_detections.threat_detected_by_name.threat_names[0].file_paths[0].volume_arn #=> String
|
2122
2205
|
# resp.findings[0].service.ebs_volume_scan_details.scan_detections.threat_detected_by_name.threat_names[0].file_paths[0].hash #=> String
|
2123
2206
|
# resp.findings[0].service.ebs_volume_scan_details.scan_detections.threat_detected_by_name.threat_names[0].file_paths[0].file_name #=> String
|
2207
|
+
# resp.findings[0].service.runtime_details.process.name #=> String
|
2208
|
+
# resp.findings[0].service.runtime_details.process.executable_path #=> String
|
2209
|
+
# resp.findings[0].service.runtime_details.process.executable_sha_256 #=> String
|
2210
|
+
# resp.findings[0].service.runtime_details.process.namespace_pid #=> Integer
|
2211
|
+
# resp.findings[0].service.runtime_details.process.pwd #=> String
|
2212
|
+
# resp.findings[0].service.runtime_details.process.pid #=> Integer
|
2213
|
+
# resp.findings[0].service.runtime_details.process.start_time #=> Time
|
2214
|
+
# resp.findings[0].service.runtime_details.process.uuid #=> String
|
2215
|
+
# resp.findings[0].service.runtime_details.process.parent_uuid #=> String
|
2216
|
+
# resp.findings[0].service.runtime_details.process.user #=> String
|
2217
|
+
# resp.findings[0].service.runtime_details.process.user_id #=> Integer
|
2218
|
+
# resp.findings[0].service.runtime_details.process.euid #=> Integer
|
2219
|
+
# resp.findings[0].service.runtime_details.process.lineage #=> Array
|
2220
|
+
# resp.findings[0].service.runtime_details.process.lineage[0].start_time #=> Time
|
2221
|
+
# resp.findings[0].service.runtime_details.process.lineage[0].namespace_pid #=> Integer
|
2222
|
+
# resp.findings[0].service.runtime_details.process.lineage[0].user_id #=> Integer
|
2223
|
+
# resp.findings[0].service.runtime_details.process.lineage[0].name #=> String
|
2224
|
+
# resp.findings[0].service.runtime_details.process.lineage[0].pid #=> Integer
|
2225
|
+
# resp.findings[0].service.runtime_details.process.lineage[0].uuid #=> String
|
2226
|
+
# resp.findings[0].service.runtime_details.process.lineage[0].executable_path #=> String
|
2227
|
+
# resp.findings[0].service.runtime_details.process.lineage[0].euid #=> Integer
|
2228
|
+
# resp.findings[0].service.runtime_details.process.lineage[0].parent_uuid #=> String
|
2229
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.name #=> String
|
2230
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.executable_path #=> String
|
2231
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.executable_sha_256 #=> String
|
2232
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.namespace_pid #=> Integer
|
2233
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.pwd #=> String
|
2234
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.pid #=> Integer
|
2235
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.start_time #=> Time
|
2236
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.uuid #=> String
|
2237
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.parent_uuid #=> String
|
2238
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.user #=> String
|
2239
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.user_id #=> Integer
|
2240
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.euid #=> Integer
|
2241
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.lineage #=> Array
|
2242
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.lineage[0].start_time #=> Time
|
2243
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.lineage[0].namespace_pid #=> Integer
|
2244
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.lineage[0].user_id #=> Integer
|
2245
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.lineage[0].name #=> String
|
2246
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.lineage[0].pid #=> Integer
|
2247
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.lineage[0].uuid #=> String
|
2248
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.lineage[0].executable_path #=> String
|
2249
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.lineage[0].euid #=> Integer
|
2250
|
+
# resp.findings[0].service.runtime_details.context.modifying_process.lineage[0].parent_uuid #=> String
|
2251
|
+
# resp.findings[0].service.runtime_details.context.modified_at #=> Time
|
2252
|
+
# resp.findings[0].service.runtime_details.context.script_path #=> String
|
2253
|
+
# resp.findings[0].service.runtime_details.context.library_path #=> String
|
2254
|
+
# resp.findings[0].service.runtime_details.context.ld_preload_value #=> String
|
2255
|
+
# resp.findings[0].service.runtime_details.context.socket_path #=> String
|
2256
|
+
# resp.findings[0].service.runtime_details.context.runc_binary_path #=> String
|
2257
|
+
# resp.findings[0].service.runtime_details.context.release_agent_path #=> String
|
2258
|
+
# resp.findings[0].service.runtime_details.context.mount_source #=> String
|
2259
|
+
# resp.findings[0].service.runtime_details.context.mount_target #=> String
|
2260
|
+
# resp.findings[0].service.runtime_details.context.file_system_type #=> String
|
2261
|
+
# resp.findings[0].service.runtime_details.context.flags #=> Array
|
2262
|
+
# resp.findings[0].service.runtime_details.context.flags[0] #=> String
|
2263
|
+
# resp.findings[0].service.runtime_details.context.module_name #=> String
|
2264
|
+
# resp.findings[0].service.runtime_details.context.module_file_path #=> String
|
2265
|
+
# resp.findings[0].service.runtime_details.context.module_sha_256 #=> String
|
2266
|
+
# resp.findings[0].service.runtime_details.context.shell_history_file_path #=> String
|
2267
|
+
# resp.findings[0].service.runtime_details.context.target_process.name #=> String
|
2268
|
+
# resp.findings[0].service.runtime_details.context.target_process.executable_path #=> String
|
2269
|
+
# resp.findings[0].service.runtime_details.context.target_process.executable_sha_256 #=> String
|
2270
|
+
# resp.findings[0].service.runtime_details.context.target_process.namespace_pid #=> Integer
|
2271
|
+
# resp.findings[0].service.runtime_details.context.target_process.pwd #=> String
|
2272
|
+
# resp.findings[0].service.runtime_details.context.target_process.pid #=> Integer
|
2273
|
+
# resp.findings[0].service.runtime_details.context.target_process.start_time #=> Time
|
2274
|
+
# resp.findings[0].service.runtime_details.context.target_process.uuid #=> String
|
2275
|
+
# resp.findings[0].service.runtime_details.context.target_process.parent_uuid #=> String
|
2276
|
+
# resp.findings[0].service.runtime_details.context.target_process.user #=> String
|
2277
|
+
# resp.findings[0].service.runtime_details.context.target_process.user_id #=> Integer
|
2278
|
+
# resp.findings[0].service.runtime_details.context.target_process.euid #=> Integer
|
2279
|
+
# resp.findings[0].service.runtime_details.context.target_process.lineage #=> Array
|
2280
|
+
# resp.findings[0].service.runtime_details.context.target_process.lineage[0].start_time #=> Time
|
2281
|
+
# resp.findings[0].service.runtime_details.context.target_process.lineage[0].namespace_pid #=> Integer
|
2282
|
+
# resp.findings[0].service.runtime_details.context.target_process.lineage[0].user_id #=> Integer
|
2283
|
+
# resp.findings[0].service.runtime_details.context.target_process.lineage[0].name #=> String
|
2284
|
+
# resp.findings[0].service.runtime_details.context.target_process.lineage[0].pid #=> Integer
|
2285
|
+
# resp.findings[0].service.runtime_details.context.target_process.lineage[0].uuid #=> String
|
2286
|
+
# resp.findings[0].service.runtime_details.context.target_process.lineage[0].executable_path #=> String
|
2287
|
+
# resp.findings[0].service.runtime_details.context.target_process.lineage[0].euid #=> Integer
|
2288
|
+
# resp.findings[0].service.runtime_details.context.target_process.lineage[0].parent_uuid #=> String
|
2289
|
+
# resp.findings[0].service.runtime_details.context.address_family #=> String
|
2290
|
+
# resp.findings[0].service.runtime_details.context.iana_protocol_number #=> Integer
|
2291
|
+
# resp.findings[0].service.runtime_details.context.memory_regions #=> Array
|
2292
|
+
# resp.findings[0].service.runtime_details.context.memory_regions[0] #=> String
|
2124
2293
|
# resp.findings[0].severity #=> Float
|
2125
2294
|
# resp.findings[0].title #=> String
|
2126
2295
|
# resp.findings[0].type #=> String
|
@@ -2375,9 +2544,13 @@ module Aws::GuardDuty
|
|
2375
2544
|
# resp.member_data_source_configurations[0].data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.reason #=> String
|
2376
2545
|
# resp.member_data_source_configurations[0].data_sources.malware_protection.service_role #=> String
|
2377
2546
|
# resp.member_data_source_configurations[0].features #=> Array
|
2378
|
-
# resp.member_data_source_configurations[0].features[0].name #=> String, one of "S3_DATA_EVENTS", "EKS_AUDIT_LOGS", "EBS_MALWARE_PROTECTION", "RDS_LOGIN_EVENTS"
|
2547
|
+
# resp.member_data_source_configurations[0].features[0].name #=> String, one of "S3_DATA_EVENTS", "EKS_AUDIT_LOGS", "EBS_MALWARE_PROTECTION", "RDS_LOGIN_EVENTS", "EKS_RUNTIME_MONITORING", "LAMBDA_NETWORK_LOGS"
|
2379
2548
|
# resp.member_data_source_configurations[0].features[0].status #=> String, one of "ENABLED", "DISABLED"
|
2380
2549
|
# resp.member_data_source_configurations[0].features[0].updated_at #=> Time
|
2550
|
+
# resp.member_data_source_configurations[0].features[0].additional_configuration #=> Array
|
2551
|
+
# resp.member_data_source_configurations[0].features[0].additional_configuration[0].name #=> String, one of "EKS_ADDON_MANAGEMENT"
|
2552
|
+
# resp.member_data_source_configurations[0].features[0].additional_configuration[0].status #=> String, one of "ENABLED", "DISABLED"
|
2553
|
+
# resp.member_data_source_configurations[0].features[0].additional_configuration[0].updated_at #=> Time
|
2381
2554
|
# resp.unprocessed_accounts #=> Array
|
2382
2555
|
# resp.unprocessed_accounts[0].account_id #=> String
|
2383
2556
|
# resp.unprocessed_accounts[0].result #=> String
|
@@ -2470,7 +2643,7 @@ module Aws::GuardDuty
|
|
2470
2643
|
# resp.accounts[0].data_sources.kubernetes.audit_logs.free_trial_days_remaining #=> Integer
|
2471
2644
|
# resp.accounts[0].data_sources.malware_protection.scan_ec2_instance_with_findings.free_trial_days_remaining #=> Integer
|
2472
2645
|
# resp.accounts[0].features #=> Array
|
2473
|
-
# resp.accounts[0].features[0].name #=> String, one of "FLOW_LOGS", "CLOUD_TRAIL", "DNS_LOGS", "S3_DATA_EVENTS", "EKS_AUDIT_LOGS", "EBS_MALWARE_PROTECTION", "RDS_LOGIN_EVENTS"
|
2646
|
+
# resp.accounts[0].features[0].name #=> String, one of "FLOW_LOGS", "CLOUD_TRAIL", "DNS_LOGS", "S3_DATA_EVENTS", "EKS_AUDIT_LOGS", "EBS_MALWARE_PROTECTION", "RDS_LOGIN_EVENTS", "EKS_RUNTIME_MONITORING", "LAMBDA_NETWORK_LOGS"
|
2474
2647
|
# resp.accounts[0].features[0].free_trial_days_remaining #=> Integer
|
2475
2648
|
# resp.unprocessed_accounts #=> Array
|
2476
2649
|
# resp.unprocessed_accounts[0].account_id #=> String
|
@@ -2670,6 +2843,89 @@ module Aws::GuardDuty
|
|
2670
2843
|
req.send_request(options)
|
2671
2844
|
end
|
2672
2845
|
|
2846
|
+
# Lists coverage details for your GuardDuty account. If you're a
|
2847
|
+
# GuardDuty administrator, you can retrieve all resources associated
|
2848
|
+
# with the active member accounts in your organization.
|
2849
|
+
#
|
2850
|
+
# Make sure the accounts have EKS Runtime Monitoring enabled and
|
2851
|
+
# GuardDuty agent running on their EKS nodes.
|
2852
|
+
#
|
2853
|
+
# @option params [required, String] :detector_id
|
2854
|
+
# The unique ID of the detector whose coverage details you want to
|
2855
|
+
# retrieve.
|
2856
|
+
#
|
2857
|
+
# @option params [String] :next_token
|
2858
|
+
# A token to use for paginating results that are returned in the
|
2859
|
+
# response. Set the value of this parameter to null for the first
|
2860
|
+
# request to a list action. For subsequent calls, use the NextToken
|
2861
|
+
# value returned from the previous request to continue listing results
|
2862
|
+
# after the first page.
|
2863
|
+
#
|
2864
|
+
# @option params [Integer] :max_results
|
2865
|
+
# The maximum number of results to return in the response.
|
2866
|
+
#
|
2867
|
+
# @option params [Types::CoverageFilterCriteria] :filter_criteria
|
2868
|
+
# Represents the criteria used to filter the coverage details.
|
2869
|
+
#
|
2870
|
+
# @option params [Types::CoverageSortCriteria] :sort_criteria
|
2871
|
+
# Represents the criteria used to sort the coverage details.
|
2872
|
+
#
|
2873
|
+
# @return [Types::ListCoverageResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2874
|
+
#
|
2875
|
+
# * {Types::ListCoverageResponse#resources #resources} => Array<Types::CoverageResource>
|
2876
|
+
# * {Types::ListCoverageResponse#next_token #next_token} => String
|
2877
|
+
#
|
2878
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2879
|
+
#
|
2880
|
+
# @example Request syntax with placeholder values
|
2881
|
+
#
|
2882
|
+
# resp = client.list_coverage({
|
2883
|
+
# detector_id: "DetectorId", # required
|
2884
|
+
# next_token: "String",
|
2885
|
+
# max_results: 1,
|
2886
|
+
# filter_criteria: {
|
2887
|
+
# filter_criterion: [
|
2888
|
+
# {
|
2889
|
+
# criterion_key: "ACCOUNT_ID", # accepts ACCOUNT_ID, CLUSTER_NAME, RESOURCE_TYPE, COVERAGE_STATUS, ADDON_VERSION
|
2890
|
+
# filter_condition: {
|
2891
|
+
# equals: ["String"],
|
2892
|
+
# not_equals: ["String"],
|
2893
|
+
# },
|
2894
|
+
# },
|
2895
|
+
# ],
|
2896
|
+
# },
|
2897
|
+
# sort_criteria: {
|
2898
|
+
# attribute_name: "ACCOUNT_ID", # accepts ACCOUNT_ID, CLUSTER_NAME, COVERAGE_STATUS, ISSUE, ADDON_VERSION, UPDATED_AT
|
2899
|
+
# order_by: "ASC", # accepts ASC, DESC
|
2900
|
+
# },
|
2901
|
+
# })
|
2902
|
+
#
|
2903
|
+
# @example Response structure
|
2904
|
+
#
|
2905
|
+
# resp.resources #=> Array
|
2906
|
+
# resp.resources[0].resource_id #=> String
|
2907
|
+
# resp.resources[0].detector_id #=> String
|
2908
|
+
# resp.resources[0].account_id #=> String
|
2909
|
+
# resp.resources[0].resource_details.eks_cluster_details.cluster_name #=> String
|
2910
|
+
# resp.resources[0].resource_details.eks_cluster_details.covered_nodes #=> Integer
|
2911
|
+
# resp.resources[0].resource_details.eks_cluster_details.compatible_nodes #=> Integer
|
2912
|
+
# resp.resources[0].resource_details.eks_cluster_details.addon_details.addon_version #=> String
|
2913
|
+
# resp.resources[0].resource_details.eks_cluster_details.addon_details.addon_status #=> String
|
2914
|
+
# resp.resources[0].resource_details.resource_type #=> String, one of "EKS"
|
2915
|
+
# resp.resources[0].coverage_status #=> String, one of "HEALTHY", "UNHEALTHY"
|
2916
|
+
# resp.resources[0].issue #=> String
|
2917
|
+
# resp.resources[0].updated_at #=> Time
|
2918
|
+
# resp.next_token #=> String
|
2919
|
+
#
|
2920
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ListCoverage AWS API Documentation
|
2921
|
+
#
|
2922
|
+
# @overload list_coverage(params = {})
|
2923
|
+
# @param [Hash] params ({})
|
2924
|
+
def list_coverage(params = {}, options = {})
|
2925
|
+
req = build_request(:list_coverage, params)
|
2926
|
+
req.send_request(options)
|
2927
|
+
end
|
2928
|
+
|
2673
2929
|
# Lists detectorIds of all the existing Amazon GuardDuty detector
|
2674
2930
|
# resources.
|
2675
2931
|
#
|
@@ -3502,8 +3758,14 @@ module Aws::GuardDuty
|
|
3502
3758
|
# },
|
3503
3759
|
# features: [
|
3504
3760
|
# {
|
3505
|
-
# name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS
|
3761
|
+
# name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS, EKS_RUNTIME_MONITORING, LAMBDA_NETWORK_LOGS
|
3506
3762
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
3763
|
+
# additional_configuration: [
|
3764
|
+
# {
|
3765
|
+
# name: "EKS_ADDON_MANAGEMENT", # accepts EKS_ADDON_MANAGEMENT
|
3766
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
3767
|
+
# },
|
3768
|
+
# ],
|
3507
3769
|
# },
|
3508
3770
|
# ],
|
3509
3771
|
# })
|
@@ -3778,8 +4040,14 @@ module Aws::GuardDuty
|
|
3778
4040
|
# },
|
3779
4041
|
# features: [
|
3780
4042
|
# {
|
3781
|
-
# name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS
|
4043
|
+
# name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS, EKS_RUNTIME_MONITORING, LAMBDA_NETWORK_LOGS
|
3782
4044
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
4045
|
+
# additional_configuration: [
|
4046
|
+
# {
|
4047
|
+
# name: "EKS_ADDON_MANAGEMENT", # accepts EKS_ADDON_MANAGEMENT
|
4048
|
+
# status: "ENABLED", # accepts ENABLED, DISABLED
|
4049
|
+
# },
|
4050
|
+
# ],
|
3783
4051
|
# },
|
3784
4052
|
# ],
|
3785
4053
|
# })
|
@@ -3819,6 +4087,9 @@ module Aws::GuardDuty
|
|
3819
4087
|
# Indicates whether to automatically enable member accounts in the
|
3820
4088
|
# organization.
|
3821
4089
|
#
|
4090
|
+
# Even though this is still supported, we recommend using
|
4091
|
+
# `AutoEnableOrganizationMembers` to achieve the similar results.
|
4092
|
+
#
|
3822
4093
|
# @option params [Types::OrganizationDataSourceConfigurations] :data_sources
|
3823
4094
|
# Describes which data sources will be updated.
|
3824
4095
|
#
|
@@ -3829,14 +4100,17 @@ module Aws::GuardDuty
|
|
3829
4100
|
# Indicates the auto-enablement configuration of GuardDuty for the
|
3830
4101
|
# member accounts in the organization.
|
3831
4102
|
#
|
3832
|
-
# * `NEW`: Indicates that new
|
3833
|
-
#
|
4103
|
+
# * `NEW`: Indicates that when a new account joins the organization,
|
4104
|
+
# they will have GuardDuty enabled automatically.
|
3834
4105
|
#
|
3835
|
-
# * `ALL`: Indicates that all accounts
|
3836
|
-
#
|
4106
|
+
# * `ALL`: Indicates that all accounts in the Amazon Web Services
|
4107
|
+
# Organization have GuardDuty enabled automatically. This includes
|
4108
|
+
# `NEW` accounts that join the organization and accounts that may have
|
4109
|
+
# been suspended or removed from the organization in GuardDuty.
|
3837
4110
|
#
|
3838
|
-
# * `NONE`: Indicates that
|
3839
|
-
#
|
4111
|
+
# * `NONE`: Indicates that GuardDuty will not be automatically enabled
|
4112
|
+
# for any accounts in the organization. GuardDuty must be managed for
|
4113
|
+
# each account individually by the administrator.
|
3840
4114
|
#
|
3841
4115
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3842
4116
|
#
|
@@ -3864,8 +4138,14 @@ module Aws::GuardDuty
|
|
3864
4138
|
# },
|
3865
4139
|
# features: [
|
3866
4140
|
# {
|
3867
|
-
# name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS
|
4141
|
+
# name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS, EKS_RUNTIME_MONITORING, LAMBDA_NETWORK_LOGS
|
3868
4142
|
# auto_enable: "NEW", # accepts NEW, NONE
|
4143
|
+
# additional_configuration: [
|
4144
|
+
# {
|
4145
|
+
# name: "EKS_ADDON_MANAGEMENT", # accepts EKS_ADDON_MANAGEMENT
|
4146
|
+
# auto_enable: "NEW", # accepts NEW, NONE
|
4147
|
+
# },
|
4148
|
+
# ],
|
3869
4149
|
# },
|
3870
4150
|
# ],
|
3871
4151
|
# auto_enable_organization_members: "NEW", # accepts NEW, ALL, NONE
|
@@ -3971,7 +4251,7 @@ module Aws::GuardDuty
|
|
3971
4251
|
params: params,
|
3972
4252
|
config: config)
|
3973
4253
|
context[:gem_name] = 'aws-sdk-guardduty'
|
3974
|
-
context[:gem_version] = '1.
|
4254
|
+
context[:gem_version] = '1.68.0'
|
3975
4255
|
Seahorse::Client::Request.new(handlers, context)
|
3976
4256
|
end
|
3977
4257
|
|