aws-sdk-guardduty 1.83.0 → 1.84.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-guardduty/client.rb +34 -23
- data/lib/aws-sdk-guardduty/client_api.rb +33 -0
- data/lib/aws-sdk-guardduty/types.rb +166 -1
- 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: 2afc909a3f71b4a9cb367268f2c8a6df52b7694d49a8a0f0f40e9316bce3cce2
|
|
4
|
+
data.tar.gz: d731f788498a2ded23adda4e3f15ea35282e565a878aa4557185ad7aa7b76fc6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b7897e7905430ebf606ef2d807dccb909d43887084097e04603a0d347da69d5c08f9b9766e5f921cc8ba8f07f9117003db3d6306c0a69ad65b293af60a871000
|
|
7
|
+
data.tar.gz: c6ccb904637a334630e9431e07395a1ce163f0d7ae049874616027094a40adf284a03d717ace661bcc857157bf98c5210802520de9d9380aede57d5ea759edcf
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.84.0
|
|
@@ -563,11 +563,11 @@ module Aws::GuardDuty
|
|
|
563
563
|
# },
|
|
564
564
|
# features: [
|
|
565
565
|
# {
|
|
566
|
-
# name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS, EKS_RUNTIME_MONITORING, LAMBDA_NETWORK_LOGS
|
|
566
|
+
# name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS, EKS_RUNTIME_MONITORING, LAMBDA_NETWORK_LOGS, RUNTIME_MONITORING
|
|
567
567
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
|
568
568
|
# additional_configuration: [
|
|
569
569
|
# {
|
|
570
|
-
# name: "EKS_ADDON_MANAGEMENT", # accepts EKS_ADDON_MANAGEMENT
|
|
570
|
+
# name: "EKS_ADDON_MANAGEMENT", # accepts EKS_ADDON_MANAGEMENT, ECS_FARGATE_AGENT_MANAGEMENT
|
|
571
571
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
|
572
572
|
# },
|
|
573
573
|
# ],
|
|
@@ -1565,10 +1565,10 @@ module Aws::GuardDuty
|
|
|
1565
1565
|
# resp.data_sources.kubernetes.audit_logs.auto_enable #=> Boolean
|
|
1566
1566
|
# resp.data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.auto_enable #=> Boolean
|
|
1567
1567
|
# resp.features #=> Array
|
|
1568
|
-
# 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"
|
|
1568
|
+
# 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", "RUNTIME_MONITORING"
|
|
1569
1569
|
# resp.features[0].auto_enable #=> String, one of "NEW", "NONE", "ALL"
|
|
1570
1570
|
# resp.features[0].additional_configuration #=> Array
|
|
1571
|
-
# resp.features[0].additional_configuration[0].name #=> String, one of "EKS_ADDON_MANAGEMENT"
|
|
1571
|
+
# resp.features[0].additional_configuration[0].name #=> String, one of "EKS_ADDON_MANAGEMENT", "ECS_FARGATE_AGENT_MANAGEMENT"
|
|
1572
1572
|
# resp.features[0].additional_configuration[0].auto_enable #=> String, one of "NEW", "NONE", "ALL"
|
|
1573
1573
|
# resp.next_token #=> String
|
|
1574
1574
|
# resp.auto_enable_organization_members #=> String, one of "NEW", "ALL", "NONE"
|
|
@@ -1876,7 +1876,7 @@ module Aws::GuardDuty
|
|
|
1876
1876
|
# filter_criteria: {
|
|
1877
1877
|
# filter_criterion: [
|
|
1878
1878
|
# {
|
|
1879
|
-
# criterion_key: "ACCOUNT_ID", # accepts ACCOUNT_ID, CLUSTER_NAME, RESOURCE_TYPE, COVERAGE_STATUS, ADDON_VERSION, MANAGEMENT_TYPE, EKS_CLUSTER_NAME
|
|
1879
|
+
# criterion_key: "ACCOUNT_ID", # accepts ACCOUNT_ID, CLUSTER_NAME, RESOURCE_TYPE, COVERAGE_STATUS, ADDON_VERSION, MANAGEMENT_TYPE, EKS_CLUSTER_NAME, ECS_CLUSTER_NAME, AGENT_VERSION, INSTANCE_ID, CLUSTER_ARN
|
|
1880
1880
|
# filter_condition: {
|
|
1881
1881
|
# equals: ["String"],
|
|
1882
1882
|
# not_equals: ["String"],
|
|
@@ -1952,11 +1952,11 @@ module Aws::GuardDuty
|
|
|
1952
1952
|
# resp.tags #=> Hash
|
|
1953
1953
|
# resp.tags["TagKey"] #=> String
|
|
1954
1954
|
# resp.features #=> Array
|
|
1955
|
-
# 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"
|
|
1955
|
+
# 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", "RUNTIME_MONITORING"
|
|
1956
1956
|
# resp.features[0].status #=> String, one of "ENABLED", "DISABLED"
|
|
1957
1957
|
# resp.features[0].updated_at #=> Time
|
|
1958
1958
|
# resp.features[0].additional_configuration #=> Array
|
|
1959
|
-
# resp.features[0].additional_configuration[0].name #=> String, one of "EKS_ADDON_MANAGEMENT"
|
|
1959
|
+
# resp.features[0].additional_configuration[0].name #=> String, one of "EKS_ADDON_MANAGEMENT", "ECS_FARGATE_AGENT_MANAGEMENT"
|
|
1960
1960
|
# resp.features[0].additional_configuration[0].status #=> String, one of "ENABLED", "DISABLED"
|
|
1961
1961
|
# resp.features[0].additional_configuration[0].updated_at #=> Time
|
|
1962
1962
|
#
|
|
@@ -2756,11 +2756,11 @@ module Aws::GuardDuty
|
|
|
2756
2756
|
# resp.member_data_source_configurations[0].data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.reason #=> String
|
|
2757
2757
|
# resp.member_data_source_configurations[0].data_sources.malware_protection.service_role #=> String
|
|
2758
2758
|
# resp.member_data_source_configurations[0].features #=> Array
|
|
2759
|
-
# 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"
|
|
2759
|
+
# 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", "RUNTIME_MONITORING"
|
|
2760
2760
|
# resp.member_data_source_configurations[0].features[0].status #=> String, one of "ENABLED", "DISABLED"
|
|
2761
2761
|
# resp.member_data_source_configurations[0].features[0].updated_at #=> Time
|
|
2762
2762
|
# resp.member_data_source_configurations[0].features[0].additional_configuration #=> Array
|
|
2763
|
-
# resp.member_data_source_configurations[0].features[0].additional_configuration[0].name #=> String, one of "EKS_ADDON_MANAGEMENT"
|
|
2763
|
+
# resp.member_data_source_configurations[0].features[0].additional_configuration[0].name #=> String, one of "EKS_ADDON_MANAGEMENT", "ECS_FARGATE_AGENT_MANAGEMENT"
|
|
2764
2764
|
# resp.member_data_source_configurations[0].features[0].additional_configuration[0].status #=> String, one of "ENABLED", "DISABLED"
|
|
2765
2765
|
# resp.member_data_source_configurations[0].features[0].additional_configuration[0].updated_at #=> Time
|
|
2766
2766
|
# resp.unprocessed_accounts #=> Array
|
|
@@ -2855,7 +2855,7 @@ module Aws::GuardDuty
|
|
|
2855
2855
|
# resp.accounts[0].data_sources.kubernetes.audit_logs.free_trial_days_remaining #=> Integer
|
|
2856
2856
|
# resp.accounts[0].data_sources.malware_protection.scan_ec2_instance_with_findings.free_trial_days_remaining #=> Integer
|
|
2857
2857
|
# resp.accounts[0].features #=> Array
|
|
2858
|
-
# 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"
|
|
2858
|
+
# 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", "FARGATE_RUNTIME_MONITORING", "EC2_RUNTIME_MONITORING"
|
|
2859
2859
|
# resp.accounts[0].features[0].free_trial_days_remaining #=> Integer
|
|
2860
2860
|
# resp.unprocessed_accounts #=> Array
|
|
2861
2861
|
# resp.unprocessed_accounts[0].account_id #=> String
|
|
@@ -2964,7 +2964,7 @@ module Aws::GuardDuty
|
|
|
2964
2964
|
# account_ids: ["AccountId"],
|
|
2965
2965
|
# data_sources: ["FLOW_LOGS"], # accepts FLOW_LOGS, CLOUD_TRAIL, DNS_LOGS, S3_LOGS, KUBERNETES_AUDIT_LOGS, EC2_MALWARE_SCAN
|
|
2966
2966
|
# resources: ["String"],
|
|
2967
|
-
# features: ["FLOW_LOGS"], # accepts FLOW_LOGS, CLOUD_TRAIL, DNS_LOGS, S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS, LAMBDA_NETWORK_LOGS, EKS_RUNTIME_MONITORING
|
|
2967
|
+
# features: ["FLOW_LOGS"], # accepts FLOW_LOGS, CLOUD_TRAIL, DNS_LOGS, S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS, LAMBDA_NETWORK_LOGS, EKS_RUNTIME_MONITORING, FARGATE_RUNTIME_MONITORING, EC2_RUNTIME_MONITORING
|
|
2968
2968
|
# },
|
|
2969
2969
|
# unit: "String",
|
|
2970
2970
|
# max_results: 1,
|
|
@@ -2990,7 +2990,7 @@ module Aws::GuardDuty
|
|
|
2990
2990
|
# resp.usage_statistics.top_resources[0].total.amount #=> String
|
|
2991
2991
|
# resp.usage_statistics.top_resources[0].total.unit #=> String
|
|
2992
2992
|
# resp.usage_statistics.sum_by_feature #=> Array
|
|
2993
|
-
# resp.usage_statistics.sum_by_feature[0].feature #=> String, one of "FLOW_LOGS", "CLOUD_TRAIL", "DNS_LOGS", "S3_DATA_EVENTS", "EKS_AUDIT_LOGS", "EBS_MALWARE_PROTECTION", "RDS_LOGIN_EVENTS", "LAMBDA_NETWORK_LOGS", "EKS_RUNTIME_MONITORING"
|
|
2993
|
+
# resp.usage_statistics.sum_by_feature[0].feature #=> String, one of "FLOW_LOGS", "CLOUD_TRAIL", "DNS_LOGS", "S3_DATA_EVENTS", "EKS_AUDIT_LOGS", "EBS_MALWARE_PROTECTION", "RDS_LOGIN_EVENTS", "LAMBDA_NETWORK_LOGS", "EKS_RUNTIME_MONITORING", "FARGATE_RUNTIME_MONITORING", "EC2_RUNTIME_MONITORING"
|
|
2994
2994
|
# resp.usage_statistics.sum_by_feature[0].total.amount #=> String
|
|
2995
2995
|
# resp.usage_statistics.sum_by_feature[0].total.unit #=> String
|
|
2996
2996
|
# resp.next_token #=> String
|
|
@@ -3124,7 +3124,7 @@ module Aws::GuardDuty
|
|
|
3124
3124
|
# filter_criteria: {
|
|
3125
3125
|
# filter_criterion: [
|
|
3126
3126
|
# {
|
|
3127
|
-
# criterion_key: "ACCOUNT_ID", # accepts ACCOUNT_ID, CLUSTER_NAME, RESOURCE_TYPE, COVERAGE_STATUS, ADDON_VERSION, MANAGEMENT_TYPE, EKS_CLUSTER_NAME
|
|
3127
|
+
# criterion_key: "ACCOUNT_ID", # accepts ACCOUNT_ID, CLUSTER_NAME, RESOURCE_TYPE, COVERAGE_STATUS, ADDON_VERSION, MANAGEMENT_TYPE, EKS_CLUSTER_NAME, ECS_CLUSTER_NAME, AGENT_VERSION, INSTANCE_ID, CLUSTER_ARN
|
|
3128
3128
|
# filter_condition: {
|
|
3129
3129
|
# equals: ["String"],
|
|
3130
3130
|
# not_equals: ["String"],
|
|
@@ -3133,7 +3133,7 @@ module Aws::GuardDuty
|
|
|
3133
3133
|
# ],
|
|
3134
3134
|
# },
|
|
3135
3135
|
# sort_criteria: {
|
|
3136
|
-
# attribute_name: "ACCOUNT_ID", # accepts ACCOUNT_ID, CLUSTER_NAME, COVERAGE_STATUS, ISSUE, ADDON_VERSION, UPDATED_AT, EKS_CLUSTER_NAME
|
|
3136
|
+
# attribute_name: "ACCOUNT_ID", # accepts ACCOUNT_ID, CLUSTER_NAME, COVERAGE_STATUS, ISSUE, ADDON_VERSION, UPDATED_AT, EKS_CLUSTER_NAME, ECS_CLUSTER_NAME, INSTANCE_ID
|
|
3137
3137
|
# order_by: "ASC", # accepts ASC, DESC
|
|
3138
3138
|
# },
|
|
3139
3139
|
# })
|
|
@@ -3149,8 +3149,19 @@ module Aws::GuardDuty
|
|
|
3149
3149
|
# resp.resources[0].resource_details.eks_cluster_details.compatible_nodes #=> Integer
|
|
3150
3150
|
# resp.resources[0].resource_details.eks_cluster_details.addon_details.addon_version #=> String
|
|
3151
3151
|
# resp.resources[0].resource_details.eks_cluster_details.addon_details.addon_status #=> String
|
|
3152
|
-
# resp.resources[0].resource_details.eks_cluster_details.management_type #=> String, one of "AUTO_MANAGED", "MANUAL"
|
|
3153
|
-
# resp.resources[0].resource_details.resource_type #=> String, one of "EKS"
|
|
3152
|
+
# resp.resources[0].resource_details.eks_cluster_details.management_type #=> String, one of "AUTO_MANAGED", "MANUAL", "DISABLED"
|
|
3153
|
+
# resp.resources[0].resource_details.resource_type #=> String, one of "EKS", "ECS", "EC2"
|
|
3154
|
+
# resp.resources[0].resource_details.ecs_cluster_details.cluster_name #=> String
|
|
3155
|
+
# resp.resources[0].resource_details.ecs_cluster_details.fargate_details.issues #=> Array
|
|
3156
|
+
# resp.resources[0].resource_details.ecs_cluster_details.fargate_details.issues[0] #=> String
|
|
3157
|
+
# resp.resources[0].resource_details.ecs_cluster_details.fargate_details.management_type #=> String, one of "AUTO_MANAGED", "MANUAL", "DISABLED"
|
|
3158
|
+
# resp.resources[0].resource_details.ecs_cluster_details.container_instance_details.covered_container_instances #=> Integer
|
|
3159
|
+
# resp.resources[0].resource_details.ecs_cluster_details.container_instance_details.compatible_container_instances #=> Integer
|
|
3160
|
+
# resp.resources[0].resource_details.ec2_instance_details.instance_id #=> String
|
|
3161
|
+
# resp.resources[0].resource_details.ec2_instance_details.instance_type #=> String
|
|
3162
|
+
# resp.resources[0].resource_details.ec2_instance_details.cluster_arn #=> String
|
|
3163
|
+
# resp.resources[0].resource_details.ec2_instance_details.agent_details.version #=> String
|
|
3164
|
+
# resp.resources[0].resource_details.ec2_instance_details.management_type #=> String, one of "AUTO_MANAGED", "MANUAL", "DISABLED"
|
|
3154
3165
|
# resp.resources[0].coverage_status #=> String, one of "HEALTHY", "UNHEALTHY"
|
|
3155
3166
|
# resp.resources[0].issue #=> String
|
|
3156
3167
|
# resp.resources[0].updated_at #=> Time
|
|
@@ -4035,11 +4046,11 @@ module Aws::GuardDuty
|
|
|
4035
4046
|
# },
|
|
4036
4047
|
# features: [
|
|
4037
4048
|
# {
|
|
4038
|
-
# name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS, EKS_RUNTIME_MONITORING, LAMBDA_NETWORK_LOGS
|
|
4049
|
+
# name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS, EKS_RUNTIME_MONITORING, LAMBDA_NETWORK_LOGS, RUNTIME_MONITORING
|
|
4039
4050
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
|
4040
4051
|
# additional_configuration: [
|
|
4041
4052
|
# {
|
|
4042
|
-
# name: "EKS_ADDON_MANAGEMENT", # accepts EKS_ADDON_MANAGEMENT
|
|
4053
|
+
# name: "EKS_ADDON_MANAGEMENT", # accepts EKS_ADDON_MANAGEMENT, ECS_FARGATE_AGENT_MANAGEMENT
|
|
4043
4054
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
|
4044
4055
|
# },
|
|
4045
4056
|
# ],
|
|
@@ -4317,11 +4328,11 @@ module Aws::GuardDuty
|
|
|
4317
4328
|
# },
|
|
4318
4329
|
# features: [
|
|
4319
4330
|
# {
|
|
4320
|
-
# name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS, EKS_RUNTIME_MONITORING, LAMBDA_NETWORK_LOGS
|
|
4331
|
+
# name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS, EKS_RUNTIME_MONITORING, LAMBDA_NETWORK_LOGS, RUNTIME_MONITORING
|
|
4321
4332
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
|
4322
4333
|
# additional_configuration: [
|
|
4323
4334
|
# {
|
|
4324
|
-
# name: "EKS_ADDON_MANAGEMENT", # accepts EKS_ADDON_MANAGEMENT
|
|
4335
|
+
# name: "EKS_ADDON_MANAGEMENT", # accepts EKS_ADDON_MANAGEMENT, ECS_FARGATE_AGENT_MANAGEMENT
|
|
4325
4336
|
# status: "ENABLED", # accepts ENABLED, DISABLED
|
|
4326
4337
|
# },
|
|
4327
4338
|
# ],
|
|
@@ -4424,11 +4435,11 @@ module Aws::GuardDuty
|
|
|
4424
4435
|
# },
|
|
4425
4436
|
# features: [
|
|
4426
4437
|
# {
|
|
4427
|
-
# name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS, EKS_RUNTIME_MONITORING, LAMBDA_NETWORK_LOGS
|
|
4438
|
+
# name: "S3_DATA_EVENTS", # accepts S3_DATA_EVENTS, EKS_AUDIT_LOGS, EBS_MALWARE_PROTECTION, RDS_LOGIN_EVENTS, EKS_RUNTIME_MONITORING, LAMBDA_NETWORK_LOGS, RUNTIME_MONITORING
|
|
4428
4439
|
# auto_enable: "NEW", # accepts NEW, NONE, ALL
|
|
4429
4440
|
# additional_configuration: [
|
|
4430
4441
|
# {
|
|
4431
|
-
# name: "EKS_ADDON_MANAGEMENT", # accepts EKS_ADDON_MANAGEMENT
|
|
4442
|
+
# name: "EKS_ADDON_MANAGEMENT", # accepts EKS_ADDON_MANAGEMENT, ECS_FARGATE_AGENT_MANAGEMENT
|
|
4432
4443
|
# auto_enable: "NEW", # accepts NEW, NONE, ALL
|
|
4433
4444
|
# },
|
|
4434
4445
|
# ],
|
|
@@ -4537,7 +4548,7 @@ module Aws::GuardDuty
|
|
|
4537
4548
|
params: params,
|
|
4538
4549
|
config: config)
|
|
4539
4550
|
context[:gem_name] = 'aws-sdk-guardduty'
|
|
4540
|
-
context[:gem_version] = '1.
|
|
4551
|
+
context[:gem_version] = '1.84.0'
|
|
4541
4552
|
Seahorse::Client::Request.new(handlers, context)
|
|
4542
4553
|
end
|
|
4543
4554
|
|
|
@@ -34,6 +34,7 @@ module Aws::GuardDuty
|
|
|
34
34
|
AdminStatus = Shapes::StringShape.new(name: 'AdminStatus')
|
|
35
35
|
Administrator = Shapes::StructureShape.new(name: 'Administrator')
|
|
36
36
|
AffectedResources = Shapes::MapShape.new(name: 'AffectedResources')
|
|
37
|
+
AgentDetails = Shapes::StructureShape.new(name: 'AgentDetails')
|
|
37
38
|
Anomaly = Shapes::StructureShape.new(name: 'Anomaly')
|
|
38
39
|
AnomalyObject = Shapes::StructureShape.new(name: 'AnomalyObject')
|
|
39
40
|
AnomalyProfileFeatureObjects = Shapes::ListShape.new(name: 'AnomalyProfileFeatureObjects')
|
|
@@ -57,11 +58,14 @@ module Aws::GuardDuty
|
|
|
57
58
|
Condition = Shapes::StructureShape.new(name: 'Condition')
|
|
58
59
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
59
60
|
Container = Shapes::StructureShape.new(name: 'Container')
|
|
61
|
+
ContainerInstanceDetails = Shapes::StructureShape.new(name: 'ContainerInstanceDetails')
|
|
60
62
|
Containers = Shapes::ListShape.new(name: 'Containers')
|
|
61
63
|
CountByCoverageStatus = Shapes::MapShape.new(name: 'CountByCoverageStatus')
|
|
62
64
|
CountByResourceType = Shapes::MapShape.new(name: 'CountByResourceType')
|
|
63
65
|
CountBySeverity = Shapes::MapShape.new(name: 'CountBySeverity')
|
|
64
66
|
Country = Shapes::StructureShape.new(name: 'Country')
|
|
67
|
+
CoverageEc2InstanceDetails = Shapes::StructureShape.new(name: 'CoverageEc2InstanceDetails')
|
|
68
|
+
CoverageEcsClusterDetails = Shapes::StructureShape.new(name: 'CoverageEcsClusterDetails')
|
|
65
69
|
CoverageEksClusterDetails = Shapes::StructureShape.new(name: 'CoverageEksClusterDetails')
|
|
66
70
|
CoverageFilterCondition = Shapes::StructureShape.new(name: 'CoverageFilterCondition')
|
|
67
71
|
CoverageFilterCriteria = Shapes::StructureShape.new(name: 'CoverageFilterCriteria')
|
|
@@ -166,6 +170,7 @@ module Aws::GuardDuty
|
|
|
166
170
|
Eq = Shapes::ListShape.new(name: 'Eq')
|
|
167
171
|
Equals = Shapes::ListShape.new(name: 'Equals')
|
|
168
172
|
Evidence = Shapes::StructureShape.new(name: 'Evidence')
|
|
173
|
+
FargateDetails = Shapes::StructureShape.new(name: 'FargateDetails')
|
|
169
174
|
FeatureAdditionalConfiguration = Shapes::StringShape.new(name: 'FeatureAdditionalConfiguration')
|
|
170
175
|
FeatureStatus = Shapes::StringShape.new(name: 'FeatureStatus')
|
|
171
176
|
Feedback = Shapes::StringShape.new(name: 'Feedback')
|
|
@@ -245,6 +250,7 @@ module Aws::GuardDuty
|
|
|
245
250
|
IpSetIds = Shapes::ListShape.new(name: 'IpSetIds')
|
|
246
251
|
IpSetStatus = Shapes::StringShape.new(name: 'IpSetStatus')
|
|
247
252
|
Ipv6Addresses = Shapes::ListShape.new(name: 'Ipv6Addresses')
|
|
253
|
+
Issues = Shapes::ListShape.new(name: 'Issues')
|
|
248
254
|
KubernetesApiCallAction = Shapes::StructureShape.new(name: 'KubernetesApiCallAction')
|
|
249
255
|
KubernetesAuditLogsConfiguration = Shapes::StructureShape.new(name: 'KubernetesAuditLogsConfiguration')
|
|
250
256
|
KubernetesAuditLogsConfigurationResult = Shapes::StructureShape.new(name: 'KubernetesAuditLogsConfigurationResult')
|
|
@@ -554,6 +560,9 @@ module Aws::GuardDuty
|
|
|
554
560
|
AffectedResources.key = Shapes::ShapeRef.new(shape: String)
|
|
555
561
|
AffectedResources.value = Shapes::ShapeRef.new(shape: String)
|
|
556
562
|
|
|
563
|
+
AgentDetails.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
|
|
564
|
+
AgentDetails.struct_class = Types::AgentDetails
|
|
565
|
+
|
|
557
566
|
Anomaly.add_member(:profiles, Shapes::ShapeRef.new(shape: AnomalyProfiles, location_name: "profiles"))
|
|
558
567
|
Anomaly.add_member(:unusual, Shapes::ShapeRef.new(shape: AnomalyUnusual, location_name: "unusual"))
|
|
559
568
|
Anomaly.struct_class = Types::Anomaly
|
|
@@ -649,6 +658,10 @@ module Aws::GuardDuty
|
|
|
649
658
|
Container.add_member(:security_context, Shapes::ShapeRef.new(shape: SecurityContext, location_name: "securityContext"))
|
|
650
659
|
Container.struct_class = Types::Container
|
|
651
660
|
|
|
661
|
+
ContainerInstanceDetails.add_member(:covered_container_instances, Shapes::ShapeRef.new(shape: Long, location_name: "coveredContainerInstances"))
|
|
662
|
+
ContainerInstanceDetails.add_member(:compatible_container_instances, Shapes::ShapeRef.new(shape: Long, location_name: "compatibleContainerInstances"))
|
|
663
|
+
ContainerInstanceDetails.struct_class = Types::ContainerInstanceDetails
|
|
664
|
+
|
|
652
665
|
Containers.member = Shapes::ShapeRef.new(shape: Container)
|
|
653
666
|
|
|
654
667
|
CountByCoverageStatus.key = Shapes::ShapeRef.new(shape: CoverageStatus)
|
|
@@ -664,6 +677,18 @@ module Aws::GuardDuty
|
|
|
664
677
|
Country.add_member(:country_name, Shapes::ShapeRef.new(shape: String, location_name: "countryName"))
|
|
665
678
|
Country.struct_class = Types::Country
|
|
666
679
|
|
|
680
|
+
CoverageEc2InstanceDetails.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
|
|
681
|
+
CoverageEc2InstanceDetails.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
|
682
|
+
CoverageEc2InstanceDetails.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "clusterArn"))
|
|
683
|
+
CoverageEc2InstanceDetails.add_member(:agent_details, Shapes::ShapeRef.new(shape: AgentDetails, location_name: "agentDetails"))
|
|
684
|
+
CoverageEc2InstanceDetails.add_member(:management_type, Shapes::ShapeRef.new(shape: ManagementType, location_name: "managementType"))
|
|
685
|
+
CoverageEc2InstanceDetails.struct_class = Types::CoverageEc2InstanceDetails
|
|
686
|
+
|
|
687
|
+
CoverageEcsClusterDetails.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
|
688
|
+
CoverageEcsClusterDetails.add_member(:fargate_details, Shapes::ShapeRef.new(shape: FargateDetails, location_name: "fargateDetails"))
|
|
689
|
+
CoverageEcsClusterDetails.add_member(:container_instance_details, Shapes::ShapeRef.new(shape: ContainerInstanceDetails, location_name: "containerInstanceDetails"))
|
|
690
|
+
CoverageEcsClusterDetails.struct_class = Types::CoverageEcsClusterDetails
|
|
691
|
+
|
|
667
692
|
CoverageEksClusterDetails.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
|
668
693
|
CoverageEksClusterDetails.add_member(:covered_nodes, Shapes::ShapeRef.new(shape: Long, location_name: "coveredNodes"))
|
|
669
694
|
CoverageEksClusterDetails.add_member(:compatible_nodes, Shapes::ShapeRef.new(shape: Long, location_name: "compatibleNodes"))
|
|
@@ -695,6 +720,8 @@ module Aws::GuardDuty
|
|
|
695
720
|
|
|
696
721
|
CoverageResourceDetails.add_member(:eks_cluster_details, Shapes::ShapeRef.new(shape: CoverageEksClusterDetails, location_name: "eksClusterDetails"))
|
|
697
722
|
CoverageResourceDetails.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
|
|
723
|
+
CoverageResourceDetails.add_member(:ecs_cluster_details, Shapes::ShapeRef.new(shape: CoverageEcsClusterDetails, location_name: "ecsClusterDetails"))
|
|
724
|
+
CoverageResourceDetails.add_member(:ec2_instance_details, Shapes::ShapeRef.new(shape: CoverageEc2InstanceDetails, location_name: "ec2InstanceDetails"))
|
|
698
725
|
CoverageResourceDetails.struct_class = Types::CoverageResourceDetails
|
|
699
726
|
|
|
700
727
|
CoverageResources.member = Shapes::ShapeRef.new(shape: CoverageResource)
|
|
@@ -1033,6 +1060,10 @@ module Aws::GuardDuty
|
|
|
1033
1060
|
Evidence.add_member(:threat_intelligence_details, Shapes::ShapeRef.new(shape: ThreatIntelligenceDetails, location_name: "threatIntelligenceDetails"))
|
|
1034
1061
|
Evidence.struct_class = Types::Evidence
|
|
1035
1062
|
|
|
1063
|
+
FargateDetails.add_member(:issues, Shapes::ShapeRef.new(shape: Issues, location_name: "issues"))
|
|
1064
|
+
FargateDetails.add_member(:management_type, Shapes::ShapeRef.new(shape: ManagementType, location_name: "managementType"))
|
|
1065
|
+
FargateDetails.struct_class = Types::FargateDetails
|
|
1066
|
+
|
|
1036
1067
|
FilePaths.member = Shapes::ShapeRef.new(shape: ScanFilePath)
|
|
1037
1068
|
|
|
1038
1069
|
FilterCondition.add_member(:equals_value, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "equalsValue"))
|
|
@@ -1286,6 +1317,8 @@ module Aws::GuardDuty
|
|
|
1286
1317
|
|
|
1287
1318
|
Ipv6Addresses.member = Shapes::ShapeRef.new(shape: String)
|
|
1288
1319
|
|
|
1320
|
+
Issues.member = Shapes::ShapeRef.new(shape: String)
|
|
1321
|
+
|
|
1289
1322
|
KubernetesApiCallAction.add_member(:request_uri, Shapes::ShapeRef.new(shape: String, location_name: "requestUri"))
|
|
1290
1323
|
KubernetesApiCallAction.add_member(:verb, Shapes::ShapeRef.new(shape: String, location_name: "verb"))
|
|
1291
1324
|
KubernetesApiCallAction.add_member(:source_ips, Shapes::ShapeRef.new(shape: SourceIps, location_name: "sourceIps"))
|
|
@@ -332,6 +332,20 @@ module Aws::GuardDuty
|
|
|
332
332
|
include Aws::Structure
|
|
333
333
|
end
|
|
334
334
|
|
|
335
|
+
# Information about the installed GuardDuty security agent.
|
|
336
|
+
#
|
|
337
|
+
# @!attribute [rw] version
|
|
338
|
+
# Version of the installed GuardDuty security agent.
|
|
339
|
+
# @return [String]
|
|
340
|
+
#
|
|
341
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AgentDetails AWS API Documentation
|
|
342
|
+
#
|
|
343
|
+
class AgentDetails < Struct.new(
|
|
344
|
+
:version)
|
|
345
|
+
SENSITIVE = []
|
|
346
|
+
include Aws::Structure
|
|
347
|
+
end
|
|
348
|
+
|
|
335
349
|
# Contains information about the anomalies.
|
|
336
350
|
#
|
|
337
351
|
# @!attribute [rw] profiles
|
|
@@ -753,6 +767,27 @@ module Aws::GuardDuty
|
|
|
753
767
|
include Aws::Structure
|
|
754
768
|
end
|
|
755
769
|
|
|
770
|
+
# Contains information about the Amazon EC2 instance that is running the
|
|
771
|
+
# Amazon ECS container.
|
|
772
|
+
#
|
|
773
|
+
# @!attribute [rw] covered_container_instances
|
|
774
|
+
# Represents the nodes in the Amazon ECS cluster that has a `HEALTHY`
|
|
775
|
+
# coverage status.
|
|
776
|
+
# @return [Integer]
|
|
777
|
+
#
|
|
778
|
+
# @!attribute [rw] compatible_container_instances
|
|
779
|
+
# Represents total number of nodes in the Amazon ECS cluster.
|
|
780
|
+
# @return [Integer]
|
|
781
|
+
#
|
|
782
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ContainerInstanceDetails AWS API Documentation
|
|
783
|
+
#
|
|
784
|
+
class ContainerInstanceDetails < Struct.new(
|
|
785
|
+
:covered_container_instances,
|
|
786
|
+
:compatible_container_instances)
|
|
787
|
+
SENSITIVE = []
|
|
788
|
+
include Aws::Structure
|
|
789
|
+
end
|
|
790
|
+
|
|
756
791
|
# Contains information about the country where the remote IP address is
|
|
757
792
|
# located.
|
|
758
793
|
#
|
|
@@ -773,6 +808,87 @@ module Aws::GuardDuty
|
|
|
773
808
|
include Aws::Structure
|
|
774
809
|
end
|
|
775
810
|
|
|
811
|
+
# <note markdown="1"> This API is also used when you use GuardDuty Runtime Monitoring for
|
|
812
|
+
# your Amazon EC2 instances (currently in preview release) and is
|
|
813
|
+
# subject to change.
|
|
814
|
+
#
|
|
815
|
+
# </note>
|
|
816
|
+
#
|
|
817
|
+
# Contains information about the Amazon EC2 instance runtime coverage
|
|
818
|
+
# details.
|
|
819
|
+
#
|
|
820
|
+
# @!attribute [rw] instance_id
|
|
821
|
+
# The Amazon EC2 instance ID.
|
|
822
|
+
# @return [String]
|
|
823
|
+
#
|
|
824
|
+
# @!attribute [rw] instance_type
|
|
825
|
+
# The instance type of the Amazon EC2 instance.
|
|
826
|
+
# @return [String]
|
|
827
|
+
#
|
|
828
|
+
# @!attribute [rw] cluster_arn
|
|
829
|
+
# The cluster ARN of the Amazon ECS cluster running on the Amazon EC2
|
|
830
|
+
# instance.
|
|
831
|
+
# @return [String]
|
|
832
|
+
#
|
|
833
|
+
# @!attribute [rw] agent_details
|
|
834
|
+
# Information about the installed security agent.
|
|
835
|
+
# @return [Types::AgentDetails]
|
|
836
|
+
#
|
|
837
|
+
# @!attribute [rw] management_type
|
|
838
|
+
# Indicates how the GuardDuty security agent is managed for this
|
|
839
|
+
# resource.
|
|
840
|
+
#
|
|
841
|
+
# * `AUTO_MANAGED` indicates that GuardDuty deploys and manages
|
|
842
|
+
# updates for this resource.
|
|
843
|
+
#
|
|
844
|
+
# * `MANUAL` indicates that you are responsible to deploy, update, and
|
|
845
|
+
# manage the GuardDuty security agent updates for this resource.
|
|
846
|
+
#
|
|
847
|
+
# <note markdown="1"> The `DISABLED` status doesn't apply to Amazon EC2 instances and
|
|
848
|
+
# Amazon EKS clusters that run on Amazon EC2 instances.
|
|
849
|
+
#
|
|
850
|
+
# </note>
|
|
851
|
+
# @return [String]
|
|
852
|
+
#
|
|
853
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CoverageEc2InstanceDetails AWS API Documentation
|
|
854
|
+
#
|
|
855
|
+
class CoverageEc2InstanceDetails < Struct.new(
|
|
856
|
+
:instance_id,
|
|
857
|
+
:instance_type,
|
|
858
|
+
:cluster_arn,
|
|
859
|
+
:agent_details,
|
|
860
|
+
:management_type)
|
|
861
|
+
SENSITIVE = []
|
|
862
|
+
include Aws::Structure
|
|
863
|
+
end
|
|
864
|
+
|
|
865
|
+
# Contains information about Amazon ECS cluster runtime coverage
|
|
866
|
+
# details.
|
|
867
|
+
#
|
|
868
|
+
# @!attribute [rw] cluster_name
|
|
869
|
+
# The name of the Amazon ECS cluster.
|
|
870
|
+
# @return [String]
|
|
871
|
+
#
|
|
872
|
+
# @!attribute [rw] fargate_details
|
|
873
|
+
# Information about the Fargate details associated with the Amazon ECS
|
|
874
|
+
# cluster.
|
|
875
|
+
# @return [Types::FargateDetails]
|
|
876
|
+
#
|
|
877
|
+
# @!attribute [rw] container_instance_details
|
|
878
|
+
# Information about the Amazon ECS container running on Amazon EC2
|
|
879
|
+
# instance.
|
|
880
|
+
# @return [Types::ContainerInstanceDetails]
|
|
881
|
+
#
|
|
882
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CoverageEcsClusterDetails AWS API Documentation
|
|
883
|
+
#
|
|
884
|
+
class CoverageEcsClusterDetails < Struct.new(
|
|
885
|
+
:cluster_name,
|
|
886
|
+
:fargate_details,
|
|
887
|
+
:container_instance_details)
|
|
888
|
+
SENSITIVE = []
|
|
889
|
+
include Aws::Structure
|
|
890
|
+
end
|
|
891
|
+
|
|
776
892
|
# Information about the EKS cluster that has a coverage status.
|
|
777
893
|
#
|
|
778
894
|
# @!attribute [rw] cluster_name
|
|
@@ -935,11 +1051,29 @@ module Aws::GuardDuty
|
|
|
935
1051
|
# The type of Amazon Web Services resource.
|
|
936
1052
|
# @return [String]
|
|
937
1053
|
#
|
|
1054
|
+
# @!attribute [rw] ecs_cluster_details
|
|
1055
|
+
# Information about the Amazon ECS cluster that is assessed for
|
|
1056
|
+
# runtime coverage.
|
|
1057
|
+
# @return [Types::CoverageEcsClusterDetails]
|
|
1058
|
+
#
|
|
1059
|
+
# @!attribute [rw] ec2_instance_details
|
|
1060
|
+
# <note markdown="1"> This API is also used when you use GuardDuty Runtime Monitoring for
|
|
1061
|
+
# your Amazon EC2 instances (currently in preview release) and is
|
|
1062
|
+
# subject to change.
|
|
1063
|
+
#
|
|
1064
|
+
# </note>
|
|
1065
|
+
#
|
|
1066
|
+
# Information about the Amazon EC2 instance assessed for runtime
|
|
1067
|
+
# coverage.
|
|
1068
|
+
# @return [Types::CoverageEc2InstanceDetails]
|
|
1069
|
+
#
|
|
938
1070
|
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CoverageResourceDetails AWS API Documentation
|
|
939
1071
|
#
|
|
940
1072
|
class CoverageResourceDetails < Struct.new(
|
|
941
1073
|
:eks_cluster_details,
|
|
942
|
-
:resource_type
|
|
1074
|
+
:resource_type,
|
|
1075
|
+
:ecs_cluster_details,
|
|
1076
|
+
:ec2_instance_details)
|
|
943
1077
|
SENSITIVE = []
|
|
944
1078
|
include Aws::Structure
|
|
945
1079
|
end
|
|
@@ -2664,6 +2798,37 @@ module Aws::GuardDuty
|
|
|
2664
2798
|
include Aws::Structure
|
|
2665
2799
|
end
|
|
2666
2800
|
|
|
2801
|
+
# Contains information about AWS Fargate details associated with an
|
|
2802
|
+
# Amazon ECS cluster.
|
|
2803
|
+
#
|
|
2804
|
+
# @!attribute [rw] issues
|
|
2805
|
+
# Runtime coverage issues identified for the resource running on AWS
|
|
2806
|
+
# Fargate.
|
|
2807
|
+
# @return [Array<String>]
|
|
2808
|
+
#
|
|
2809
|
+
# @!attribute [rw] management_type
|
|
2810
|
+
# Indicates how the GuardDuty security agent is managed for this
|
|
2811
|
+
# resource.
|
|
2812
|
+
#
|
|
2813
|
+
# * `AUTO_MANAGED` indicates that GuardDuty deploys and manages
|
|
2814
|
+
# updates for this resource.
|
|
2815
|
+
#
|
|
2816
|
+
# * `MANUAL` indicates that you are responsible to deploy, update, and
|
|
2817
|
+
# manage the GuardDuty security agent updates for this resource.
|
|
2818
|
+
#
|
|
2819
|
+
# * `DISABLED` indicates that the deployment of the GuardDuty security
|
|
2820
|
+
# agent is disabled for this resource.
|
|
2821
|
+
# @return [String]
|
|
2822
|
+
#
|
|
2823
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FargateDetails AWS API Documentation
|
|
2824
|
+
#
|
|
2825
|
+
class FargateDetails < Struct.new(
|
|
2826
|
+
:issues,
|
|
2827
|
+
:management_type)
|
|
2828
|
+
SENSITIVE = []
|
|
2829
|
+
include Aws::Structure
|
|
2830
|
+
end
|
|
2831
|
+
|
|
2667
2832
|
# Contains information about the condition.
|
|
2668
2833
|
#
|
|
2669
2834
|
# @!attribute [rw] equals_value
|
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.84.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-
|
|
11
|
+
date: 2023-11-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|