lib/aws-sdk-securityhub/client.rb in aws-sdk-securityhub-1.28.0 vs lib/aws-sdk-securityhub/client.rb in aws-sdk-securityhub-1.29.0

- old
+ new

@@ -525,20 +525,72 @@ # }, # ], # network: { # direction: "IN", # accepts IN, OUT # protocol: "NonEmptyString", + # open_port_range: { + # begin: 1, + # end: 1, + # }, # source_ip_v4: "NonEmptyString", # source_ip_v6: "NonEmptyString", # source_port: 1, # source_domain: "NonEmptyString", # source_mac: "NonEmptyString", # destination_ip_v4: "NonEmptyString", # destination_ip_v6: "NonEmptyString", # destination_port: 1, # destination_domain: "NonEmptyString", # }, + # network_path: [ + # { + # component_id: "NonEmptyString", + # component_type: "NonEmptyString", + # egress: { + # protocol: "NonEmptyString", + # destination: { + # address: ["NonEmptyString"], + # port_ranges: [ + # { + # begin: 1, + # end: 1, + # }, + # ], + # }, + # source: { + # address: ["NonEmptyString"], + # port_ranges: [ + # { + # begin: 1, + # end: 1, + # }, + # ], + # }, + # }, + # ingress: { + # protocol: "NonEmptyString", + # destination: { + # address: ["NonEmptyString"], + # port_ranges: [ + # { + # begin: 1, + # end: 1, + # }, + # ], + # }, + # source: { + # address: ["NonEmptyString"], + # port_ranges: [ + # { + # begin: 1, + # end: 1, + # }, + # ], + # }, + # }, + # }, + # ], # process: { # name: "NonEmptyString", # path: "NonEmptyString", # pid: 1, # parent_pid: 1, @@ -563,10 +615,17 @@ # region: "NonEmptyString", # tags: { # "NonEmptyString" => "NonEmptyString", # }, # details: { + # aws_auto_scaling_auto_scaling_group: { + # launch_configuration_name: "NonEmptyString", + # load_balancer_names: ["NonEmptyString"], + # health_check_type: "NonEmptyString", + # health_check_grace_period: 1, + # created_time: "NonEmptyString", + # }, # aws_code_build_project: { # encryption_key: "NonEmptyString", # environment: { # certificate: "NonEmptyString", # image_pull_credentials_type: "NonEmptyString", @@ -710,10 +769,44 @@ # }, # ], # }, # ], # }, + # aws_ec2_volume: { + # create_time: "NonEmptyString", + # encrypted: false, + # size: 1, + # snapshot_id: "NonEmptyString", + # status: "NonEmptyString", + # kms_key_id: "NonEmptyString", + # attachments: [ + # { + # attach_time: "NonEmptyString", + # delete_on_termination: false, + # instance_id: "NonEmptyString", + # status: "NonEmptyString", + # }, + # ], + # }, + # aws_ec2_vpc: { + # cidr_block_association_set: [ + # { + # association_id: "NonEmptyString", + # cidr_block: "NonEmptyString", + # cidr_block_state: "NonEmptyString", + # }, + # ], + # ipv_6_cidr_block_association_set: [ + # { + # association_id: "NonEmptyString", + # ipv_6_cidr_block: "NonEmptyString", + # cidr_block_state: "NonEmptyString", + # }, + # ], + # dhcp_options_id: "NonEmptyString", + # state: "NonEmptyString", + # }, # aws_elbv_2_load_balancer: { # availability_zones: [ # { # zone_name: "NonEmptyString", # subnet_id: "NonEmptyString", @@ -970,10 +1063,40 @@ # note: { # text: "NonEmptyString", # required # updated_by: "NonEmptyString", # required # updated_at: "NonEmptyString", # required # }, + # vulnerabilities: [ + # { + # id: "NonEmptyString", # required + # vulnerable_packages: [ + # { + # name: "NonEmptyString", + # version: "NonEmptyString", + # epoch: "NonEmptyString", + # release: "NonEmptyString", + # architecture: "NonEmptyString", + # }, + # ], + # cvss: [ + # { + # version: "NonEmptyString", + # base_score: 1.0, + # base_vector: "NonEmptyString", + # }, + # ], + # related_vulnerabilities: ["NonEmptyString"], + # vendor: { + # name: "NonEmptyString", # required + # url: "NonEmptyString", + # vendor_severity: "NonEmptyString", + # vendor_created_at: "NonEmptyString", + # vendor_updated_at: "NonEmptyString", + # }, + # reference_urls: ["NonEmptyString"], + # }, + # ], # }, # ], # }) # # @example Response structure @@ -3118,19 +3241,46 @@ # resp.findings[0].malware[0].type #=> String, one of "ADWARE", "BLENDED_THREAT", "BOTNET_AGENT", "COIN_MINER", "EXPLOIT_KIT", "KEYLOGGER", "MACRO", "POTENTIALLY_UNWANTED", "SPYWARE", "RANSOMWARE", "REMOTE_ACCESS", "ROOTKIT", "TROJAN", "VIRUS", "WORM" # resp.findings[0].malware[0].path #=> String # resp.findings[0].malware[0].state #=> String, one of "OBSERVED", "REMOVAL_FAILED", "REMOVED" # resp.findings[0].network.direction #=> String, one of "IN", "OUT" # resp.findings[0].network.protocol #=> String + # resp.findings[0].network.open_port_range.begin #=> Integer + # resp.findings[0].network.open_port_range.end #=> Integer # resp.findings[0].network.source_ip_v4 #=> String # resp.findings[0].network.source_ip_v6 #=> String # resp.findings[0].network.source_port #=> Integer # resp.findings[0].network.source_domain #=> String # resp.findings[0].network.source_mac #=> String # resp.findings[0].network.destination_ip_v4 #=> String # resp.findings[0].network.destination_ip_v6 #=> String # resp.findings[0].network.destination_port #=> Integer # resp.findings[0].network.destination_domain #=> String + # resp.findings[0].network_path #=> Array + # resp.findings[0].network_path[0].component_id #=> String + # resp.findings[0].network_path[0].component_type #=> String + # resp.findings[0].network_path[0].egress.protocol #=> String + # resp.findings[0].network_path[0].egress.destination.address #=> Array + # resp.findings[0].network_path[0].egress.destination.address[0] #=> String + # resp.findings[0].network_path[0].egress.destination.port_ranges #=> Array + # resp.findings[0].network_path[0].egress.destination.port_ranges[0].begin #=> Integer + # resp.findings[0].network_path[0].egress.destination.port_ranges[0].end #=> Integer + # resp.findings[0].network_path[0].egress.source.address #=> Array + # resp.findings[0].network_path[0].egress.source.address[0] #=> String + # resp.findings[0].network_path[0].egress.source.port_ranges #=> Array + # resp.findings[0].network_path[0].egress.source.port_ranges[0].begin #=> Integer + # resp.findings[0].network_path[0].egress.source.port_ranges[0].end #=> Integer + # resp.findings[0].network_path[0].ingress.protocol #=> String + # resp.findings[0].network_path[0].ingress.destination.address #=> Array + # resp.findings[0].network_path[0].ingress.destination.address[0] #=> String + # resp.findings[0].network_path[0].ingress.destination.port_ranges #=> Array + # resp.findings[0].network_path[0].ingress.destination.port_ranges[0].begin #=> Integer + # resp.findings[0].network_path[0].ingress.destination.port_ranges[0].end #=> Integer + # resp.findings[0].network_path[0].ingress.source.address #=> Array + # resp.findings[0].network_path[0].ingress.source.address[0] #=> String + # resp.findings[0].network_path[0].ingress.source.port_ranges #=> Array + # resp.findings[0].network_path[0].ingress.source.port_ranges[0].begin #=> Integer + # resp.findings[0].network_path[0].ingress.source.port_ranges[0].end #=> Integer # resp.findings[0].process.name #=> String # resp.findings[0].process.path #=> String # resp.findings[0].process.pid #=> Integer # resp.findings[0].process.parent_pid #=> Integer # resp.findings[0].process.launched_at #=> String @@ -3147,10 +3297,16 @@ # resp.findings[0].resources[0].id #=> String # resp.findings[0].resources[0].partition #=> String, one of "aws", "aws-cn", "aws-us-gov" # resp.findings[0].resources[0].region #=> String # resp.findings[0].resources[0].tags #=> Hash # resp.findings[0].resources[0].tags["NonEmptyString"] #=> String + # resp.findings[0].resources[0].details.aws_auto_scaling_auto_scaling_group.launch_configuration_name #=> String + # resp.findings[0].resources[0].details.aws_auto_scaling_auto_scaling_group.load_balancer_names #=> Array + # resp.findings[0].resources[0].details.aws_auto_scaling_auto_scaling_group.load_balancer_names[0] #=> String + # resp.findings[0].resources[0].details.aws_auto_scaling_auto_scaling_group.health_check_type #=> String + # resp.findings[0].resources[0].details.aws_auto_scaling_auto_scaling_group.health_check_grace_period #=> Integer + # resp.findings[0].resources[0].details.aws_auto_scaling_auto_scaling_group.created_time #=> String # resp.findings[0].resources[0].details.aws_code_build_project.encryption_key #=> String # resp.findings[0].resources[0].details.aws_code_build_project.environment.certificate #=> String # resp.findings[0].resources[0].details.aws_code_build_project.environment.image_pull_credentials_type #=> String # resp.findings[0].resources[0].details.aws_code_build_project.environment.registry_credential.credential #=> String # resp.findings[0].resources[0].details.aws_code_build_project.environment.registry_credential.credential_provider #=> String @@ -3238,10 +3394,31 @@ # resp.findings[0].resources[0].details.aws_ec2_security_group.ip_permissions_egress[0].ip_ranges[0].cidr_ip #=> String # resp.findings[0].resources[0].details.aws_ec2_security_group.ip_permissions_egress[0].ipv_6_ranges #=> Array # resp.findings[0].resources[0].details.aws_ec2_security_group.ip_permissions_egress[0].ipv_6_ranges[0].cidr_ipv_6 #=> String # resp.findings[0].resources[0].details.aws_ec2_security_group.ip_permissions_egress[0].prefix_list_ids #=> Array # resp.findings[0].resources[0].details.aws_ec2_security_group.ip_permissions_egress[0].prefix_list_ids[0].prefix_list_id #=> String + # resp.findings[0].resources[0].details.aws_ec2_volume.create_time #=> String + # resp.findings[0].resources[0].details.aws_ec2_volume.encrypted #=> Boolean + # resp.findings[0].resources[0].details.aws_ec2_volume.size #=> Integer + # resp.findings[0].resources[0].details.aws_ec2_volume.snapshot_id #=> String + # resp.findings[0].resources[0].details.aws_ec2_volume.status #=> String + # resp.findings[0].resources[0].details.aws_ec2_volume.kms_key_id #=> String + # resp.findings[0].resources[0].details.aws_ec2_volume.attachments #=> Array + # resp.findings[0].resources[0].details.aws_ec2_volume.attachments[0].attach_time #=> String + # resp.findings[0].resources[0].details.aws_ec2_volume.attachments[0].delete_on_termination #=> Boolean + # resp.findings[0].resources[0].details.aws_ec2_volume.attachments[0].instance_id #=> String + # resp.findings[0].resources[0].details.aws_ec2_volume.attachments[0].status #=> String + # resp.findings[0].resources[0].details.aws_ec2_vpc.cidr_block_association_set #=> Array + # resp.findings[0].resources[0].details.aws_ec2_vpc.cidr_block_association_set[0].association_id #=> String + # resp.findings[0].resources[0].details.aws_ec2_vpc.cidr_block_association_set[0].cidr_block #=> String + # resp.findings[0].resources[0].details.aws_ec2_vpc.cidr_block_association_set[0].cidr_block_state #=> String + # resp.findings[0].resources[0].details.aws_ec2_vpc.ipv_6_cidr_block_association_set #=> Array + # resp.findings[0].resources[0].details.aws_ec2_vpc.ipv_6_cidr_block_association_set[0].association_id #=> String + # resp.findings[0].resources[0].details.aws_ec2_vpc.ipv_6_cidr_block_association_set[0].ipv_6_cidr_block #=> String + # resp.findings[0].resources[0].details.aws_ec2_vpc.ipv_6_cidr_block_association_set[0].cidr_block_state #=> String + # resp.findings[0].resources[0].details.aws_ec2_vpc.dhcp_options_id #=> String + # resp.findings[0].resources[0].details.aws_ec2_vpc.state #=> String # resp.findings[0].resources[0].details.aws_elbv_2_load_balancer.availability_zones #=> Array # resp.findings[0].resources[0].details.aws_elbv_2_load_balancer.availability_zones[0].zone_name #=> String # resp.findings[0].resources[0].details.aws_elbv_2_load_balancer.availability_zones[0].subnet_id #=> String # resp.findings[0].resources[0].details.aws_elbv_2_load_balancer.canonical_hosted_zone_id #=> String # resp.findings[0].resources[0].details.aws_elbv_2_load_balancer.created_time #=> String @@ -3404,10 +3581,31 @@ # resp.findings[0].related_findings[0].product_arn #=> String # resp.findings[0].related_findings[0].id #=> String # resp.findings[0].note.text #=> String # resp.findings[0].note.updated_by #=> String # resp.findings[0].note.updated_at #=> String + # resp.findings[0].vulnerabilities #=> Array + # resp.findings[0].vulnerabilities[0].id #=> String + # resp.findings[0].vulnerabilities[0].vulnerable_packages #=> Array + # resp.findings[0].vulnerabilities[0].vulnerable_packages[0].name #=> String + # resp.findings[0].vulnerabilities[0].vulnerable_packages[0].version #=> String + # resp.findings[0].vulnerabilities[0].vulnerable_packages[0].epoch #=> String + # resp.findings[0].vulnerabilities[0].vulnerable_packages[0].release #=> String + # resp.findings[0].vulnerabilities[0].vulnerable_packages[0].architecture #=> String + # resp.findings[0].vulnerabilities[0].cvss #=> Array + # resp.findings[0].vulnerabilities[0].cvss[0].version #=> String + # resp.findings[0].vulnerabilities[0].cvss[0].base_score #=> Float + # resp.findings[0].vulnerabilities[0].cvss[0].base_vector #=> String + # resp.findings[0].vulnerabilities[0].related_vulnerabilities #=> Array + # resp.findings[0].vulnerabilities[0].related_vulnerabilities[0] #=> String + # resp.findings[0].vulnerabilities[0].vendor.name #=> String + # resp.findings[0].vulnerabilities[0].vendor.url #=> String + # resp.findings[0].vulnerabilities[0].vendor.vendor_severity #=> String + # resp.findings[0].vulnerabilities[0].vendor.vendor_created_at #=> String + # resp.findings[0].vulnerabilities[0].vendor.vendor_updated_at #=> String + # resp.findings[0].vulnerabilities[0].reference_urls #=> Array + # resp.findings[0].vulnerabilities[0].reference_urls[0] #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindings AWS API Documentation # # @overload get_findings(params = {}) @@ -5360,11 +5558,11 @@ # @option params [String] :control_status # The updated status of the security standard control. # # @option params [String] :disabled_reason # A description of the reason why you are disabling a security standard - # control. + # control. If you are disabling a control, then this is required. # # @return [Struct] Returns an empty {Seahorse::Client::Response response}. # # @example Request syntax with placeholder values # @@ -5394,10 +5592,10 @@ operation: config.api.operation(operation_name), client: self, params: params, config: config) context[:gem_name] = 'aws-sdk-securityhub' - context[:gem_version] = '1.28.0' + context[:gem_version] = '1.29.0' Seahorse::Client::Request.new(handlers, context) end # @api private # @deprecated