Class: Aws::SecurityHub::Types::BatchImportFindingsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass BatchImportFindingsRequest data as a hash:

{
  findings: [ # required
    {
      schema_version: "NonEmptyString", # required
      id: "NonEmptyString", # required
      product_arn: "NonEmptyString", # required
      generator_id: "NonEmptyString", # required
      aws_account_id: "NonEmptyString", # required
      types: ["NonEmptyString"], # required
      first_observed_at: "NonEmptyString",
      last_observed_at: "NonEmptyString",
      created_at: "NonEmptyString", # required
      updated_at: "NonEmptyString", # required
      severity: { # required
        product: 1.0,
        label: "INFORMATIONAL", # accepts INFORMATIONAL, LOW, MEDIUM, HIGH, CRITICAL
        normalized: 1,
        original: "NonEmptyString",
      },
      confidence: 1,
      criticality: 1,
      title: "NonEmptyString", # required
      description: "NonEmptyString", # required
      remediation: {
        recommendation: {
          text: "NonEmptyString",
          url: "NonEmptyString",
        },
      },
      source_url: "NonEmptyString",
      product_fields: {
        "NonEmptyString" => "NonEmptyString",
      },
      user_defined_fields: {
        "NonEmptyString" => "NonEmptyString",
      },
      malware: [
        {
          name: "NonEmptyString", # required
          type: "ADWARE", # accepts ADWARE, BLENDED_THREAT, BOTNET_AGENT, COIN_MINER, EXPLOIT_KIT, KEYLOGGER, MACRO, POTENTIALLY_UNWANTED, SPYWARE, RANSOMWARE, REMOTE_ACCESS, ROOTKIT, TROJAN, VIRUS, WORM
          path: "NonEmptyString",
          state: "OBSERVED", # accepts OBSERVED, REMOVAL_FAILED, REMOVED
        },
      ],
      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,
        launched_at: "NonEmptyString",
        terminated_at: "NonEmptyString",
      },
      threat_intel_indicators: [
        {
          type: "DOMAIN", # accepts DOMAIN, EMAIL_ADDRESS, HASH_MD5, HASH_SHA1, HASH_SHA256, HASH_SHA512, IPV4_ADDRESS, IPV6_ADDRESS, MUTEX, PROCESS, URL
          value: "NonEmptyString",
          category: "BACKDOOR", # accepts BACKDOOR, CARD_STEALER, COMMAND_AND_CONTROL, DROP_SITE, EXPLOIT_SITE, KEYLOGGER
          last_observed_at: "NonEmptyString",
          source: "NonEmptyString",
          source_url: "NonEmptyString",
        },
      ],
      resources: [ # required
        {
          type: "NonEmptyString", # required
          id: "NonEmptyString", # required
          partition: "aws", # accepts aws, aws-cn, aws-us-gov
          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",
                registry_credential: {
                  credential: "NonEmptyString",
                  credential_provider: "NonEmptyString",
                },
                type: "NonEmptyString",
              },
              name: "NonEmptyString",
              source: {
                type: "NonEmptyString",
                location: "NonEmptyString",
                git_clone_depth: 1,
                insecure_ssl: false,
              },
              service_role: "NonEmptyString",
              vpc_config: {
                vpc_id: "NonEmptyString",
                subnets: ["NonEmptyString"],
                security_group_ids: ["NonEmptyString"],
              },
            },
            aws_cloud_front_distribution: {
              domain_name: "NonEmptyString",
              etag: "NonEmptyString",
              last_modified_time: "NonEmptyString",
              logging: {
                bucket: "NonEmptyString",
                enabled: false,
                include_cookies: false,
                prefix: "NonEmptyString",
              },
              origins: {
                items: [
                  {
                    domain_name: "NonEmptyString",
                    id: "NonEmptyString",
                    origin_path: "NonEmptyString",
                  },
                ],
              },
              status: "NonEmptyString",
              web_acl_id: "NonEmptyString",
            },
            aws_ec2_instance: {
              type: "NonEmptyString",
              image_id: "NonEmptyString",
              ip_v4_addresses: ["NonEmptyString"],
              ip_v6_addresses: ["NonEmptyString"],
              key_name: "NonEmptyString",
              iam_instance_profile_arn: "NonEmptyString",
              vpc_id: "NonEmptyString",
              subnet_id: "NonEmptyString",
              launched_at: "NonEmptyString",
            },
            aws_ec2_network_interface: {
              attachment: {
                attach_time: "NonEmptyString",
                attachment_id: "NonEmptyString",
                delete_on_termination: false,
                device_index: 1,
                instance_id: "NonEmptyString",
                instance_owner_id: "NonEmptyString",
                status: "NonEmptyString",
              },
              network_interface_id: "NonEmptyString",
              security_groups: [
                {
                  group_name: "NonEmptyString",
                  group_id: "NonEmptyString",
                },
              ],
              source_dest_check: false,
            },
            aws_ec2_security_group: {
              group_name: "NonEmptyString",
              group_id: "NonEmptyString",
              owner_id: "NonEmptyString",
              vpc_id: "NonEmptyString",
              ip_permissions: [
                {
                  ip_protocol: "NonEmptyString",
                  from_port: 1,
                  to_port: 1,
                  user_id_group_pairs: [
                    {
                      group_id: "NonEmptyString",
                      group_name: "NonEmptyString",
                      peering_status: "NonEmptyString",
                      user_id: "NonEmptyString",
                      vpc_id: "NonEmptyString",
                      vpc_peering_connection_id: "NonEmptyString",
                    },
                  ],
                  ip_ranges: [
                    {
                      cidr_ip: "NonEmptyString",
                    },
                  ],
                  ipv_6_ranges: [
                    {
                      cidr_ipv_6: "NonEmptyString",
                    },
                  ],
                  prefix_list_ids: [
                    {
                      prefix_list_id: "NonEmptyString",
                    },
                  ],
                },
              ],
              ip_permissions_egress: [
                {
                  ip_protocol: "NonEmptyString",
                  from_port: 1,
                  to_port: 1,
                  user_id_group_pairs: [
                    {
                      group_id: "NonEmptyString",
                      group_name: "NonEmptyString",
                      peering_status: "NonEmptyString",
                      user_id: "NonEmptyString",
                      vpc_id: "NonEmptyString",
                      vpc_peering_connection_id: "NonEmptyString",
                    },
                  ],
                  ip_ranges: [
                    {
                      cidr_ip: "NonEmptyString",
                    },
                  ],
                  ipv_6_ranges: [
                    {
                      cidr_ipv_6: "NonEmptyString",
                    },
                  ],
                  prefix_list_ids: [
                    {
                      prefix_list_id: "NonEmptyString",
                    },
                  ],
                },
              ],
            },
            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_ec2_eip: {
              instance_id: "NonEmptyString",
              public_ip: "NonEmptyString",
              allocation_id: "NonEmptyString",
              association_id: "NonEmptyString",
              domain: "NonEmptyString",
              public_ipv_4_pool: "NonEmptyString",
              network_border_group: "NonEmptyString",
              network_interface_id: "NonEmptyString",
              network_interface_owner_id: "NonEmptyString",
              private_ip_address: "NonEmptyString",
            },
            aws_elbv_2_load_balancer: {
              availability_zones: [
                {
                  zone_name: "NonEmptyString",
                  subnet_id: "NonEmptyString",
                },
              ],
              canonical_hosted_zone_id: "NonEmptyString",
              created_time: "NonEmptyString",
              dns_name: "NonEmptyString",
              ip_address_type: "NonEmptyString",
              scheme: "NonEmptyString",
              security_groups: ["NonEmptyString"],
              state: {
                code: "NonEmptyString",
                reason: "NonEmptyString",
              },
              type: "NonEmptyString",
              vpc_id: "NonEmptyString",
            },
            aws_elasticsearch_domain: {
              access_policies: "NonEmptyString",
              domain_endpoint_options: {
                enforce_https: false,
                tls_security_policy: "NonEmptyString",
              },
              domain_id: "NonEmptyString",
              domain_name: "NonEmptyString",
              endpoint: "NonEmptyString",
              endpoints: {
                "NonEmptyString" => "NonEmptyString",
              },
              elasticsearch_version: "NonEmptyString",
              encryption_at_rest_options: {
                enabled: false,
                kms_key_id: "NonEmptyString",
              },
              node_to_node_encryption_options: {
                enabled: false,
              },
              vpc_options: {
                availability_zones: ["NonEmptyString"],
                security_group_ids: ["NonEmptyString"],
                subnet_ids: ["NonEmptyString"],
                vpc_id: "NonEmptyString",
              },
            },
            aws_s3_bucket: {
              owner_id: "NonEmptyString",
              owner_name: "NonEmptyString",
              created_at: "NonEmptyString",
              server_side_encryption_configuration: {
                rules: [
                  {
                    apply_server_side_encryption_by_default: {
                      sse_algorithm: "NonEmptyString",
                      kms_master_key_id: "NonEmptyString",
                    },
                  },
                ],
              },
            },
            aws_s3_object: {
              last_modified: "NonEmptyString",
              etag: "NonEmptyString",
              version_id: "NonEmptyString",
              content_type: "NonEmptyString",
              server_side_encryption: "NonEmptyString",
              ssekms_key_id: "NonEmptyString",
            },
            aws_secrets_manager_secret: {
              rotation_rules: {
                automatically_after_days: 1,
              },
              rotation_occurred_within_frequency: false,
              kms_key_id: "NonEmptyString",
              rotation_enabled: false,
              rotation_lambda_arn: "NonEmptyString",
              deleted: false,
              name: "NonEmptyString",
              description: "NonEmptyString",
            },
            aws_iam_access_key: {
              user_name: "NonEmptyString",
              status: "Active", # accepts Active, Inactive
              created_at: "NonEmptyString",
              principal_id: "NonEmptyString",
              principal_type: "NonEmptyString",
              principal_name: "NonEmptyString",
            },
            aws_iam_user: {
              attached_managed_policies: [
                {
                  policy_name: "NonEmptyString",
                  policy_arn: "NonEmptyString",
                },
              ],
              create_date: "NonEmptyString",
              group_list: ["NonEmptyString"],
              path: "NonEmptyString",
              permissions_boundary: {
                permissions_boundary_arn: "NonEmptyString",
                permissions_boundary_type: "NonEmptyString",
              },
              user_id: "NonEmptyString",
              user_name: "NonEmptyString",
              user_policy_list: [
                {
                  policy_name: "NonEmptyString",
                },
              ],
            },
            aws_iam_policy: {
              attachment_count: 1,
              create_date: "NonEmptyString",
              default_version_id: "NonEmptyString",
              description: "NonEmptyString",
              is_attachable: false,
              path: "NonEmptyString",
              permissions_boundary_usage_count: 1,
              policy_id: "NonEmptyString",
              policy_name: "NonEmptyString",
              policy_version_list: [
                {
                  version_id: "NonEmptyString",
                  is_default_version: false,
                  create_date: "NonEmptyString",
                },
              ],
              update_date: "NonEmptyString",
            },
            aws_dynamo_db_table: {
              attribute_definitions: [
                {
                  attribute_name: "NonEmptyString",
                  attribute_type: "NonEmptyString",
                },
              ],
              billing_mode_summary: {
                billing_mode: "NonEmptyString",
                last_update_to_pay_per_request_date_time: "NonEmptyString",
              },
              creation_date_time: "NonEmptyString",
              global_secondary_indexes: [
                {
                  backfilling: false,
                  index_arn: "NonEmptyString",
                  index_name: "NonEmptyString",
                  index_size_bytes: 1,
                  index_status: "NonEmptyString",
                  item_count: 1,
                  key_schema: [
                    {
                      attribute_name: "NonEmptyString",
                      key_type: "NonEmptyString",
                    },
                  ],
                  projection: {
                    non_key_attributes: ["NonEmptyString"],
                    projection_type: "NonEmptyString",
                  },
                  provisioned_throughput: {
                    last_decrease_date_time: "NonEmptyString",
                    last_increase_date_time: "NonEmptyString",
                    number_of_decreases_today: 1,
                    read_capacity_units: 1,
                    write_capacity_units: 1,
                  },
                },
              ],
              global_table_version: "NonEmptyString",
              item_count: 1,
              key_schema: [
                {
                  attribute_name: "NonEmptyString",
                  key_type: "NonEmptyString",
                },
              ],
              latest_stream_arn: "NonEmptyString",
              latest_stream_label: "NonEmptyString",
              local_secondary_indexes: [
                {
                  index_arn: "NonEmptyString",
                  index_name: "NonEmptyString",
                  key_schema: [
                    {
                      attribute_name: "NonEmptyString",
                      key_type: "NonEmptyString",
                    },
                  ],
                  projection: {
                    non_key_attributes: ["NonEmptyString"],
                    projection_type: "NonEmptyString",
                  },
                },
              ],
              provisioned_throughput: {
                last_decrease_date_time: "NonEmptyString",
                last_increase_date_time: "NonEmptyString",
                number_of_decreases_today: 1,
                read_capacity_units: 1,
                write_capacity_units: 1,
              },
              replicas: [
                {
                  global_secondary_indexes: [
                    {
                      index_name: "NonEmptyString",
                      provisioned_throughput_override: {
                        read_capacity_units: 1,
                      },
                    },
                  ],
                  kms_master_key_id: "NonEmptyString",
                  provisioned_throughput_override: {
                    read_capacity_units: 1,
                  },
                  region_name: "NonEmptyString",
                  replica_status: "NonEmptyString",
                  replica_status_description: "NonEmptyString",
                },
              ],
              restore_summary: {
                source_backup_arn: "NonEmptyString",
                source_table_arn: "NonEmptyString",
                restore_date_time: "NonEmptyString",
                restore_in_progress: false,
              },
              sse_description: {
                inaccessible_encryption_date_time: "NonEmptyString",
                status: "NonEmptyString",
                sse_type: "NonEmptyString",
                kms_master_key_arn: "NonEmptyString",
              },
              stream_specification: {
                stream_enabled: false,
                stream_view_type: "NonEmptyString",
              },
              table_id: "NonEmptyString",
              table_name: "NonEmptyString",
              table_size_bytes: 1,
              table_status: "NonEmptyString",
            },
            aws_iam_role: {
              assume_role_policy_document: "AwsIamRoleAssumeRolePolicyDocument",
              create_date: "NonEmptyString",
              role_id: "NonEmptyString",
              role_name: "NonEmptyString",
              max_session_duration: 1,
              path: "NonEmptyString",
            },
            aws_kms_key: {
              aws_account_id: "NonEmptyString",
              creation_date: 1.0,
              key_id: "NonEmptyString",
              key_manager: "NonEmptyString",
              key_state: "NonEmptyString",
              origin: "NonEmptyString",
              description: "NonEmptyString",
            },
            aws_lambda_function: {
              code: {
                s3_bucket: "NonEmptyString",
                s3_key: "NonEmptyString",
                s3_object_version: "NonEmptyString",
                zip_file: "NonEmptyString",
              },
              code_sha_256: "NonEmptyString",
              dead_letter_config: {
                target_arn: "NonEmptyString",
              },
              environment: {
                variables: {
                  "NonEmptyString" => "NonEmptyString",
                },
                error: {
                  error_code: "NonEmptyString",
                  message: "NonEmptyString",
                },
              },
              function_name: "NonEmptyString",
              handler: "NonEmptyString",
              kms_key_arn: "NonEmptyString",
              last_modified: "NonEmptyString",
              layers: [
                {
                  arn: "NonEmptyString",
                  code_size: 1,
                },
              ],
              master_arn: "NonEmptyString",
              memory_size: 1,
              revision_id: "NonEmptyString",
              role: "NonEmptyString",
              runtime: "NonEmptyString",
              timeout: 1,
              tracing_config: {
                mode: "NonEmptyString",
              },
              vpc_config: {
                security_group_ids: ["NonEmptyString"],
                subnet_ids: ["NonEmptyString"],
                vpc_id: "NonEmptyString",
              },
              version: "NonEmptyString",
            },
            aws_lambda_layer_version: {
              version: 1,
              compatible_runtimes: ["NonEmptyString"],
              created_date: "NonEmptyString",
            },
            aws_rds_db_instance: {
              associated_roles: [
                {
                  role_arn: "NonEmptyString",
                  feature_name: "NonEmptyString",
                  status: "NonEmptyString",
                },
              ],
              ca_certificate_identifier: "NonEmptyString",
              db_cluster_identifier: "NonEmptyString",
              db_instance_identifier: "NonEmptyString",
              db_instance_class: "NonEmptyString",
              db_instance_port: 1,
              dbi_resource_id: "NonEmptyString",
              db_name: "NonEmptyString",
              deletion_protection: false,
              endpoint: {
                address: "NonEmptyString",
                port: 1,
                hosted_zone_id: "NonEmptyString",
              },
              engine: "NonEmptyString",
              engine_version: "NonEmptyString",
              iam_database_authentication_enabled: false,
              instance_create_time: "NonEmptyString",
              kms_key_id: "NonEmptyString",
              publicly_accessible: false,
              storage_encrypted: false,
              tde_credential_arn: "NonEmptyString",
              vpc_security_groups: [
                {
                  vpc_security_group_id: "NonEmptyString",
                  status: "NonEmptyString",
                },
              ],
              multi_az: false,
              enhanced_monitoring_resource_arn: "NonEmptyString",
              db_instance_status: "NonEmptyString",
              master_username: "NonEmptyString",
              allocated_storage: 1,
              preferred_backup_window: "NonEmptyString",
              backup_retention_period: 1,
              db_security_groups: ["NonEmptyString"],
              db_parameter_groups: [
                {
                  db_parameter_group_name: "NonEmptyString",
                  parameter_apply_status: "NonEmptyString",
                },
              ],
              availability_zone: "NonEmptyString",
              db_subnet_group: {
                db_subnet_group_name: "NonEmptyString",
                db_subnet_group_description: "NonEmptyString",
                vpc_id: "NonEmptyString",
                subnet_group_status: "NonEmptyString",
                subnets: [
                  {
                    subnet_identifier: "NonEmptyString",
                    subnet_availability_zone: {
                      name: "NonEmptyString",
                    },
                    subnet_status: "NonEmptyString",
                  },
                ],
                db_subnet_group_arn: "NonEmptyString",
              },
              preferred_maintenance_window: "NonEmptyString",
              pending_modified_values: {
                db_instance_class: "NonEmptyString",
                allocated_storage: 1,
                master_user_password: "NonEmptyString",
                port: 1,
                backup_retention_period: 1,
                multi_az: false,
                engine_version: "NonEmptyString",
                license_model: "NonEmptyString",
                iops: 1,
                db_instance_identifier: "NonEmptyString",
                storage_type: "NonEmptyString",
                ca_certificate_identifier: "NonEmptyString",
                db_subnet_group_name: "NonEmptyString",
                pending_cloud_watch_logs_exports: {
                  log_types_to_enable: ["NonEmptyString"],
                  log_types_to_disable: ["NonEmptyString"],
                },
                processor_features: [
                  {
                    name: "NonEmptyString",
                    value: "NonEmptyString",
                  },
                ],
              },
              latest_restorable_time: "NonEmptyString",
              auto_minor_version_upgrade: false,
              read_replica_source_db_instance_identifier: "NonEmptyString",
              read_replica_db_instance_identifiers: ["NonEmptyString"],
              read_replica_db_cluster_identifiers: ["NonEmptyString"],
              license_model: "NonEmptyString",
              iops: 1,
              option_group_memberships: [
                {
                  option_group_name: "NonEmptyString",
                  status: "NonEmptyString",
                },
              ],
              character_set_name: "NonEmptyString",
              secondary_availability_zone: "NonEmptyString",
              status_infos: [
                {
                  status_type: "NonEmptyString",
                  normal: false,
                  status: "NonEmptyString",
                  message: "NonEmptyString",
                },
              ],
              storage_type: "NonEmptyString",
              domain_memberships: [
                {
                  domain: "NonEmptyString",
                  status: "NonEmptyString",
                  fqdn: "NonEmptyString",
                  iam_role_name: "NonEmptyString",
                },
              ],
              copy_tags_to_snapshot: false,
              monitoring_interval: 1,
              monitoring_role_arn: "NonEmptyString",
              promotion_tier: 1,
              timezone: "NonEmptyString",
              performance_insights_enabled: false,
              performance_insights_kms_key_id: "NonEmptyString",
              performance_insights_retention_period: 1,
              enabled_cloud_watch_logs_exports: ["NonEmptyString"],
              processor_features: [
                {
                  name: "NonEmptyString",
                  value: "NonEmptyString",
                },
              ],
              listener_endpoint: {
                address: "NonEmptyString",
                port: 1,
                hosted_zone_id: "NonEmptyString",
              },
              max_allocated_storage: 1,
            },
            aws_sns_topic: {
              kms_master_key_id: "NonEmptyString",
              subscription: [
                {
                  endpoint: "NonEmptyString",
                  protocol: "NonEmptyString",
                },
              ],
              topic_name: "NonEmptyString",
              owner: "NonEmptyString",
            },
            aws_sqs_queue: {
              kms_data_key_reuse_period_seconds: 1,
              kms_master_key_id: "NonEmptyString",
              queue_name: "NonEmptyString",
              dead_letter_target_arn: "NonEmptyString",
            },
            aws_waf_web_acl: {
              name: "NonEmptyString",
              default_action: "NonEmptyString",
              rules: [
                {
                  action: {
                    type: "NonEmptyString",
                  },
                  excluded_rules: [
                    {
                      rule_id: "NonEmptyString",
                    },
                  ],
                  override_action: {
                    type: "NonEmptyString",
                  },
                  priority: 1,
                  rule_id: "NonEmptyString",
                  type: "NonEmptyString",
                },
              ],
              web_acl_id: "NonEmptyString",
            },
            aws_rds_db_snapshot: {
              db_snapshot_identifier: "NonEmptyString",
              db_instance_identifier: "NonEmptyString",
              snapshot_create_time: "NonEmptyString",
              engine: "NonEmptyString",
              allocated_storage: 1,
              status: "NonEmptyString",
              port: 1,
              availability_zone: "NonEmptyString",
              vpc_id: "NonEmptyString",
              instance_create_time: "NonEmptyString",
              master_username: "NonEmptyString",
              engine_version: "NonEmptyString",
              license_model: "NonEmptyString",
              snapshot_type: "NonEmptyString",
              iops: 1,
              option_group_name: "NonEmptyString",
              percent_progress: 1,
              source_region: "NonEmptyString",
              source_db_snapshot_identifier: "NonEmptyString",
              storage_type: "NonEmptyString",
              tde_credential_arn: "NonEmptyString",
              encrypted: false,
              kms_key_id: "NonEmptyString",
              timezone: "NonEmptyString",
              iam_database_authentication_enabled: false,
              processor_features: [
                {
                  name: "NonEmptyString",
                  value: "NonEmptyString",
                },
              ],
              dbi_resource_id: "NonEmptyString",
            },
            aws_rds_db_cluster_snapshot: {
              availability_zones: ["NonEmptyString"],
              snapshot_create_time: "NonEmptyString",
              engine: "NonEmptyString",
              allocated_storage: 1,
              status: "NonEmptyString",
              port: 1,
              vpc_id: "NonEmptyString",
              cluster_create_time: "NonEmptyString",
              master_username: "NonEmptyString",
              engine_version: "NonEmptyString",
              license_model: "NonEmptyString",
              snapshot_type: "NonEmptyString",
              percent_progress: 1,
              storage_encrypted: false,
              kms_key_id: "NonEmptyString",
              db_cluster_identifier: "NonEmptyString",
              db_cluster_snapshot_identifier: "NonEmptyString",
              iam_database_authentication_enabled: false,
            },
            aws_rds_db_cluster: {
              allocated_storage: 1,
              availability_zones: ["NonEmptyString"],
              backup_retention_period: 1,
              database_name: "NonEmptyString",
              status: "NonEmptyString",
              endpoint: "NonEmptyString",
              reader_endpoint: "NonEmptyString",
              custom_endpoints: ["NonEmptyString"],
              multi_az: false,
              engine: "NonEmptyString",
              engine_version: "NonEmptyString",
              port: 1,
              master_username: "NonEmptyString",
              preferred_backup_window: "NonEmptyString",
              preferred_maintenance_window: "NonEmptyString",
              read_replica_identifiers: ["NonEmptyString"],
              vpc_security_groups: [
                {
                  vpc_security_group_id: "NonEmptyString",
                  status: "NonEmptyString",
                },
              ],
              hosted_zone_id: "NonEmptyString",
              storage_encrypted: false,
              kms_key_id: "NonEmptyString",
              db_cluster_resource_id: "NonEmptyString",
              associated_roles: [
                {
                  role_arn: "NonEmptyString",
                  status: "NonEmptyString",
                },
              ],
              cluster_create_time: "NonEmptyString",
              enabled_cloud_watch_logs_exports: ["NonEmptyString"],
              engine_mode: "NonEmptyString",
              deletion_protection: false,
              http_endpoint_enabled: false,
              activity_stream_status: "NonEmptyString",
              copy_tags_to_snapshot: false,
              cross_account_clone: false,
              domain_memberships: [
                {
                  domain: "NonEmptyString",
                  status: "NonEmptyString",
                  fqdn: "NonEmptyString",
                  iam_role_name: "NonEmptyString",
                },
              ],
              db_cluster_parameter_group: "NonEmptyString",
              db_subnet_group: "NonEmptyString",
              db_cluster_option_group_memberships: [
                {
                  db_cluster_option_group_name: "NonEmptyString",
                  status: "NonEmptyString",
                },
              ],
              db_cluster_identifier: "NonEmptyString",
              db_cluster_members: [
                {
                  is_cluster_writer: false,
                  promotion_tier: 1,
                  db_instance_identifier: "NonEmptyString",
                  db_cluster_parameter_group_status: "NonEmptyString",
                },
              ],
              iam_database_authentication_enabled: false,
            },
            container: {
              name: "NonEmptyString",
              image_id: "NonEmptyString",
              image_name: "NonEmptyString",
              launched_at: "NonEmptyString",
            },
            other: {
              "NonEmptyString" => "NonEmptyString",
            },
          },
        },
      ],
      compliance: {
        status: "PASSED", # accepts PASSED, WARNING, FAILED, NOT_AVAILABLE
        related_requirements: ["NonEmptyString"],
        status_reasons: [
          {
            reason_code: "NonEmptyString", # required
            description: "NonEmptyString",
          },
        ],
      },
      verification_state: "UNKNOWN", # accepts UNKNOWN, TRUE_POSITIVE, FALSE_POSITIVE, BENIGN_POSITIVE
      workflow_state: "NEW", # accepts NEW, ASSIGNED, IN_PROGRESS, DEFERRED, RESOLVED
      workflow: {
        status: "NEW", # accepts NEW, NOTIFIED, RESOLVED, SUPPRESSED
      },
      record_state: "ACTIVE", # accepts ACTIVE, ARCHIVED
      related_findings: [
        {
          product_arn: "NonEmptyString", # required
          id: "NonEmptyString", # required
        },
      ],
      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"],
        },
      ],
      patch_summary: {
        id: "NonEmptyString", # required
        installed_count: 1,
        missing_count: 1,
        failed_count: 1,
        installed_other_count: 1,
        installed_rejected_count: 1,
        installed_pending_reboot: 1,
        operation_start_time: "NonEmptyString",
        operation_end_time: "NonEmptyString",
        reboot_option: "NonEmptyString",
        operation: "NonEmptyString",
      },
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#findingsArray<Types::AwsSecurityFinding>

A list of findings to import. To successfully import a finding, it must follow the AWS Security Finding Format. Maximum of 100 findings per request.

Returns:



9322
9323
9324
9325
9326
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 9322

class BatchImportFindingsRequest < Struct.new(
  :findings)
  SENSITIVE = []
  include Aws::Structure
end