Skip to content

feat: add runtime_mappings to UpdateByQuery request#6334

Open
github-actions[bot] wants to merge 2 commits into
mainfrom
auto-pr/6321-feat--add-runtime-mappings-to-updatebyqu
Open

feat: add runtime_mappings to UpdateByQuery request#6334
github-actions[bot] wants to merge 2 commits into
mainfrom
auto-pr/6321-feat--add-runtime-mappings-to-updatebyqu

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Adds the runtime_mappings field to the UpdateByQueryRequest body type.

This field is accepted by Elasticsearch as a top-level field on _update_by_query request bodies (alongside query and script), but was missing from the specification. This caused users to be unable to type-safely pass runtime_mappings to updateByQuery in the generated clients.

This was surfaced by the Security Solution team who use runtime fields in the query's filter context via _update_by_query.

Closes #6321

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add runtime_mappings to UpdateByQuery request

1 participant