Skip to content

Feedback from Kibana v7.13 #197

Open

Description

The list is based on the integration work in elastic/kibana#83808

  • no way to declare a type for aggregation in the search response
  • MultiGetHit._source is optional. our code handles it as required.
  • DeleteByQueryRequest doesn't accept q parameter
  • helpers.bulk doesn't support TransportRequestOptions as second argument
  • GetIndexResponse should provide IndexState.alias and IndexState.mappingsas required
  • GetTaskResponse doesn't contain response and error properties
  • Hid._id expected to be string
  • PropertyBase is missing dynamic, ignore_above, value, and fields,
  • AsyncSearchGetResponsemissing all properties
  • asyncSearch.status method is not defined
  • existsAlias, existsTemplate response body boolean, code expects { exists: boolean }
  • GetUserAccessTokenResponse declares authentication: string, but expected AuthenticatedUser
  • XPackRole type doesn't define applications and transient_metadata.
  • XPackRoleMapping type doesn't define role_templates property.
  • AggregationRange declares from and to as number, but Kibana declares them as strings
  • DeleteResponse should have an optional error property which when present has a type property
  • NodeUsageInformation doesn't contain scripted_metric
  • date_range aggregations support from?: integer and to?: integer, but not from_as_string?: string, to_as_string?: string.
  • HistogramAggregation doesn't contain buckets fields
  • CreateApiKeyResponse has expiration: number, expected: expiration: string
  • GetUserAccessTokenResponse requires kerberos_authentication_response_token
  • HasPrivilegesResponse Kibana expects index: Record<string, Record<string, boolean>>, application: Record<string, boolean>;
  • StoredScript.language is required, but it's unlikely since it's omitted in Kibana code
  • indices.resolveIndex is not typed
  • indices.getIndexTemplate is not typed
  • Policy doesn't contain name property
  • PutMappingRequest doesn't declare write_index_only property
  • Transform interface is empty
  • DeleteSnapshotLifecycleRequest.policy_id is required, but our code uses policy property only
  • AsyncSearchSubmitRequest.indices_boost expected to be Record<IndexName, double>[]
  • AsyncSearchSubmitRequest doesn't decalre body.fields type
  • security.grantApiKey method is not defined
  • AuthenticateResponse doesn't define authentication_type and enabled.
  • UpdateByQueryResponse declares updated ,total and task as optional
  • TransformPivot.max_page_search_size expected to be optional
  • SearchRequest.sort expected to be the same type as SearchRequest.body.sort. Or what is the purpose of it?
  • CatIndicesRecord the next properties are expected to be required: 'docs.count', 'docs.deleted'
  • ByteSize is expected to be string
  • ListTasksRequest decalres actions?: string, expected: actions?: string[]
  • All properties of DynamicTemplate are required (in the type)
  • docvalue_fields in SearchRequest and SearchRequest['body'] has incompatible types
  • should accept readonly version of request (readonly string [], for example)
  • SortResults contains null in Array<string | number | null>. does it make sense? Our code has to filter the result.
  • skipped is optional in ShardStatistics
  • RolloverIndexRequest.alias expected to accept a string
  • BulkResponseItemBase._id?: string | null. expected _id: string.
  • PutRoleRequest.body doesn't declare transient_metadata property
  • PrivilegesActions doesn't declare application and name properties.
  • OpenPointInTimeRequest.index expected to accept string[]
  • ApiKey.role_descriptors expected to be Record<string, any>
  • TaskId expected be a string
  • start_time_in_millis expected to be number in all the types (AsyncSearchResponseBase, for example)
  • TopHitsAggregation._source should accepts string[]
  • MultiGetHit.found expected to be required
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions