lib/aws-sdk-guardduty/client.rb in aws-sdk-guardduty-1.53.0 vs lib/aws-sdk-guardduty/client.rb in aws-sdk-guardduty-1.54.0

- old
+ new

@@ -449,10 +449,15 @@ # finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS # data_sources: { # s3_logs: { # enable: false, # required # }, + # kubernetes: { + # audit_logs: { # required + # enable: false, # required + # }, + # }, # }, # tags: { # "TagKey" => "TagValue", # }, # }) @@ -1200,10 +1205,11 @@ # @example Response structure # # resp.auto_enable #=> Boolean # resp.member_account_limit_reached #=> Boolean # resp.data_sources.s3_logs.auto_enable #=> Boolean + # resp.data_sources.kubernetes.audit_logs.auto_enable #=> Boolean # # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeOrganizationConfiguration AWS API Documentation # # @overload describe_organization_configuration(params = {}) # @param [Hash] params ({}) @@ -1393,10 +1399,11 @@ # resp.updated_at #=> String # resp.data_sources.cloud_trail.status #=> String, one of "ENABLED", "DISABLED" # resp.data_sources.dns_logs.status #=> String, one of "ENABLED", "DISABLED" # resp.data_sources.flow_logs.status #=> String, one of "ENABLED", "DISABLED" # resp.data_sources.s3_logs.status #=> String, one of "ENABLED", "DISABLED" + # resp.data_sources.kubernetes.audit_logs.status #=> String, one of "ENABLED", "DISABLED" # resp.tags #=> Hash # resp.tags["TagKey"] #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetector AWS API Documentation # @@ -1563,17 +1570,48 @@ # resp.findings[0].resource.instance_details.product_codes[0].code #=> String # resp.findings[0].resource.instance_details.product_codes[0].product_type #=> String # resp.findings[0].resource.instance_details.tags #=> Array # resp.findings[0].resource.instance_details.tags[0].key #=> String # resp.findings[0].resource.instance_details.tags[0].value #=> String + # resp.findings[0].resource.eks_cluster_details.name #=> String + # resp.findings[0].resource.eks_cluster_details.arn #=> String + # resp.findings[0].resource.eks_cluster_details.vpc_id #=> String + # resp.findings[0].resource.eks_cluster_details.status #=> String + # resp.findings[0].resource.eks_cluster_details.tags #=> Array + # resp.findings[0].resource.eks_cluster_details.tags[0].key #=> String + # resp.findings[0].resource.eks_cluster_details.tags[0].value #=> String + # resp.findings[0].resource.eks_cluster_details.created_at #=> Time + # resp.findings[0].resource.kubernetes_details.kubernetes_user_details.username #=> String + # resp.findings[0].resource.kubernetes_details.kubernetes_user_details.uid #=> String + # resp.findings[0].resource.kubernetes_details.kubernetes_user_details.groups #=> Array + # resp.findings[0].resource.kubernetes_details.kubernetes_user_details.groups[0] #=> String + # resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.name #=> String + # resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.type #=> String + # resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.uid #=> String + # resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.namespace #=> String + # resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.host_network #=> Boolean + # resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers #=> Array + # resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers[0].container_runtime #=> String + # resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers[0].id #=> String + # resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers[0].name #=> String + # resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers[0].image #=> String + # resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers[0].image_prefix #=> String + # resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers[0].volume_mounts #=> Array + # resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers[0].volume_mounts[0].name #=> String + # resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers[0].volume_mounts[0].mount_path #=> String + # resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.containers[0].security_context.privileged #=> Boolean + # resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.volumes #=> Array + # resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.volumes[0].name #=> String + # resp.findings[0].resource.kubernetes_details.kubernetes_workload_details.volumes[0].host_path.path #=> String # resp.findings[0].resource.resource_type #=> String # resp.findings[0].schema_version #=> String # resp.findings[0].service.action.action_type #=> String # resp.findings[0].service.action.aws_api_call_action.api #=> String # resp.findings[0].service.action.aws_api_call_action.caller_type #=> String # resp.findings[0].service.action.aws_api_call_action.domain_details.domain #=> String # resp.findings[0].service.action.aws_api_call_action.error_code #=> String + # resp.findings[0].service.action.aws_api_call_action.user_agent #=> String # resp.findings[0].service.action.aws_api_call_action.remote_ip_details.city.city_name #=> String # resp.findings[0].service.action.aws_api_call_action.remote_ip_details.country.country_code #=> String # resp.findings[0].service.action.aws_api_call_action.remote_ip_details.country.country_name #=> String # resp.findings[0].service.action.aws_api_call_action.remote_ip_details.geo_location.lat #=> Float # resp.findings[0].service.action.aws_api_call_action.remote_ip_details.geo_location.lon #=> Float @@ -1617,10 +1655,27 @@ # resp.findings[0].service.action.port_probe_action.port_probe_details[0].remote_ip_details.ip_address_v4 #=> String # resp.findings[0].service.action.port_probe_action.port_probe_details[0].remote_ip_details.organization.asn #=> String # resp.findings[0].service.action.port_probe_action.port_probe_details[0].remote_ip_details.organization.asn_org #=> String # resp.findings[0].service.action.port_probe_action.port_probe_details[0].remote_ip_details.organization.isp #=> String # resp.findings[0].service.action.port_probe_action.port_probe_details[0].remote_ip_details.organization.org #=> String + # resp.findings[0].service.action.kubernetes_api_call_action.request_uri #=> String + # resp.findings[0].service.action.kubernetes_api_call_action.verb #=> String + # resp.findings[0].service.action.kubernetes_api_call_action.source_ips #=> Array + # resp.findings[0].service.action.kubernetes_api_call_action.source_ips[0] #=> String + # resp.findings[0].service.action.kubernetes_api_call_action.user_agent #=> String + # resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.city.city_name #=> String + # resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.country.country_code #=> String + # resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.country.country_name #=> String + # resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.geo_location.lat #=> Float + # resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.geo_location.lon #=> Float + # resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.ip_address_v4 #=> String + # resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.organization.asn #=> String + # resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.organization.asn_org #=> String + # resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.organization.isp #=> String + # resp.findings[0].service.action.kubernetes_api_call_action.remote_ip_details.organization.org #=> String + # resp.findings[0].service.action.kubernetes_api_call_action.status_code #=> Integer + # resp.findings[0].service.action.kubernetes_api_call_action.parameters #=> String # resp.findings[0].service.evidence.threat_intelligence_details #=> Array # resp.findings[0].service.evidence.threat_intelligence_details[0].threat_list_name #=> String # resp.findings[0].service.evidence.threat_intelligence_details[0].threat_names #=> Array # resp.findings[0].service.evidence.threat_intelligence_details[0].threat_names[0] #=> String # resp.findings[0].service.archived #=> Boolean @@ -1822,10 +1877,11 @@ # resp.member_data_source_configurations[0].account_id #=> String # resp.member_data_source_configurations[0].data_sources.cloud_trail.status #=> String, one of "ENABLED", "DISABLED" # resp.member_data_source_configurations[0].data_sources.dns_logs.status #=> String, one of "ENABLED", "DISABLED" # resp.member_data_source_configurations[0].data_sources.flow_logs.status #=> String, one of "ENABLED", "DISABLED" # resp.member_data_source_configurations[0].data_sources.s3_logs.status #=> String, one of "ENABLED", "DISABLED" + # resp.member_data_source_configurations[0].data_sources.kubernetes.audit_logs.status #=> String, one of "ENABLED", "DISABLED" # resp.unprocessed_accounts #=> Array # resp.unprocessed_accounts[0].account_id #=> String # resp.unprocessed_accounts[0].result #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMemberDetectors AWS API Documentation @@ -1973,11 +2029,11 @@ # resp = client.get_usage_statistics({ # detector_id: "DetectorId", # required # usage_statistic_type: "SUM_BY_ACCOUNT", # required, accepts SUM_BY_ACCOUNT, SUM_BY_DATA_SOURCE, SUM_BY_RESOURCE, TOP_RESOURCES # usage_criteria: { # required # account_ids: ["AccountId"], - # data_sources: ["FLOW_LOGS"], # required, accepts FLOW_LOGS, CLOUD_TRAIL, DNS_LOGS, S3_LOGS + # data_sources: ["FLOW_LOGS"], # required, accepts FLOW_LOGS, CLOUD_TRAIL, DNS_LOGS, S3_LOGS, KUBERNETES_AUDIT_LOGS # resources: ["String"], # }, # unit: "String", # max_results: 1, # next_token: "String", @@ -1988,11 +2044,11 @@ # resp.usage_statistics.sum_by_account #=> Array # resp.usage_statistics.sum_by_account[0].account_id #=> String # resp.usage_statistics.sum_by_account[0].total.amount #=> String # resp.usage_statistics.sum_by_account[0].total.unit #=> String # resp.usage_statistics.sum_by_data_source #=> Array - # resp.usage_statistics.sum_by_data_source[0].data_source #=> String, one of "FLOW_LOGS", "CLOUD_TRAIL", "DNS_LOGS", "S3_LOGS" + # resp.usage_statistics.sum_by_data_source[0].data_source #=> String, one of "FLOW_LOGS", "CLOUD_TRAIL", "DNS_LOGS", "S3_LOGS", "KUBERNETES_AUDIT_LOGS" # resp.usage_statistics.sum_by_data_source[0].total.amount #=> String # resp.usage_statistics.sum_by_data_source[0].total.unit #=> String # resp.usage_statistics.sum_by_resource #=> Array # resp.usage_statistics.sum_by_resource[0].resource #=> String # resp.usage_statistics.sum_by_resource[0].total.amount #=> String @@ -2844,10 +2900,15 @@ # finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS # data_sources: { # s3_logs: { # enable: false, # required # }, + # kubernetes: { + # audit_logs: { # required + # enable: false, # required + # }, + # }, # }, # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateDetector AWS API Documentation # @@ -3025,10 +3086,15 @@ # account_ids: ["AccountId"], # required # data_sources: { # s3_logs: { # enable: false, # required # }, + # kubernetes: { + # audit_logs: { # required + # enable: false, # required + # }, + # }, # }, # }) # # @example Response structure # @@ -3066,10 +3132,15 @@ # auto_enable: false, # required # data_sources: { # s3_logs: { # auto_enable: false, # required # }, + # kubernetes: { + # audit_logs: { # required + # auto_enable: false, # required + # }, + # }, # }, # }) # # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/UpdateOrganizationConfiguration AWS API Documentation # @@ -3169,10 +3240,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-guardduty' - context[:gem_version] = '1.53.0' + context[:gem_version] = '1.54.0' Seahorse::Client::Request.new(handlers, context) end # @api private # @deprecated