Skip to content

Commit 5075a50

Browse files
committed
Changes from make api-docs
1 parent 9853a0d commit 5075a50

2 files changed

Lines changed: 26 additions & 10 deletions

File tree

oas_docs/output/kibana.serverless.yaml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128137,7 +128137,11 @@ components:
128137128137
runtime_mappings:
128138128138
additionalProperties:
128139128139
$ref: '#/components/schemas/Security_Detections_API_RuntimeFieldMapping'
128140-
description: 'Optional map of runtime field name to runtime field mapping. For each entry the server forwards `type`, `script.source`, and `format` to the underlying `_update_by_query` as `runtime_mappings`, so the close query can match fields not natively mapped on the alerts index (e.g. data view runtime fields with Painless scripts). Unlike `runtime_fields`, the caller-supplied Painless script is preserved and executed by Elasticsearch at query time. The server always sets `on_script_error: continue` regardless of any value supplied by the caller, so a single alert that causes a script error is skipped rather than aborting the entire close. Limited to 100 unique field names combined with `runtime_fields`; larger maps are rejected.'
128140+
description: |-
128141+
Use this when the query references fields that are not in the alerts index mapping, for example data view runtime fields with a Painless script.
128142+
Kibana sends `type`, `script.source`, and `format` to Elasticsearch as `runtime_mappings` on the status-update query. Unlike `runtime_fields`, Kibana keeps your script and runs it at query time. It does not replace the script with a `_source` reader.
128143+
When a script is present, Kibana sets `on_script_error` to `continue`. If the script fails on one alert, that field has no value for the alert and the update continues.
128144+
Unique field names across `runtime_fields` and `runtime_mappings` combined cannot exceed 100. Larger maps are rejected.
128141128145
maxProperties: 100
128142128146
type: object
128143128147
status:
@@ -131701,16 +131705,16 @@ components:
131701131705
required:
131702131706
- command
131703131707
Security_Detections_API_RuntimeFieldMapping:
131704-
description: A single runtime field mapping to be attached verbatim to the `_update_by_query` as `runtime_mappings`. Allows the close query to reference fields that are not natively mapped on the alerts index but are evaluatable at query time by Elasticsearch — for example, scripted fields defined on a data view.
131708+
description: A runtime field included in the status-update query so the query can match fields that are not in the alerts index mapping, for example scripted fields on a data view. Elasticsearch evaluates the field at query time.
131705131709
type: object
131706131710
properties:
131707131711
format:
131708-
description: Optional format string for date runtime fields (e.g. `strict_date_optional_time`).
131712+
description: Format string for date runtime fields, for example `strict_date_optional_time`.
131709131713
maxLength: 100
131710131714
type: string
131711131715
script:
131712131716
additionalProperties: false
131713-
description: Painless script that Elasticsearch evaluates for each candidate document. Only inline scripts (`source`) are accepted — stored scripts, parameterised scripts (`params`), and non-default `lang` values are not supported. The server rejects any extra properties with a 400 to avoid silently changing runtime field semantics.
131717+
description: Inline Painless script that Elasticsearch evaluates for each alert. Only `source` is accepted. Stored scripts, parameterized scripts (`params`), and non-default `lang` values are not supported. Extra properties are rejected with a 400 so the script is not run with different semantics.
131714131718
type: object
131715131719
properties:
131716131720
source:
@@ -132301,7 +132305,11 @@ components:
132301132305
runtime_mappings:
132302132306
additionalProperties:
132303132307
$ref: '#/components/schemas/Security_Detections_API_RuntimeFieldMapping'
132304-
description: 'Optional map of runtime field name to runtime field mapping. For each entry the server forwards `type`, `script.source`, and `format` to the underlying `_update_by_query` as `runtime_mappings`, so the close query can match fields not natively mapped on the alerts index (e.g. data view runtime fields with Painless scripts). Unlike `runtime_fields`, the caller-supplied Painless script is preserved and executed by Elasticsearch at query time. The server always sets `on_script_error: continue` regardless of any value supplied by the caller, so a single alert that causes a script error is skipped rather than aborting the entire close. Limited to 100 unique field names combined with `runtime_fields`; larger maps are rejected.'
132308+
description: |-
132309+
Use this when the query references fields that are not in the alerts index mapping, for example data view runtime fields with a Painless script.
132310+
Kibana sends `type`, `script.source`, and `format` to Elasticsearch as `runtime_mappings` on the status-update query. Unlike `runtime_fields`, Kibana keeps your script and runs it at query time. It does not replace the script with a `_source` reader.
132311+
When a script is present, Kibana sets `on_script_error` to `continue`. If the script fails on one alert, that field has no value for the alert and the update continues.
132312+
Unique field names across `runtime_fields` and `runtime_mappings` combined cannot exceed 100. Larger maps are rejected.
132305132313
maxProperties: 100
132306132314
type: object
132307132315
status:

oas_docs/output/kibana.yaml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135942,7 +135942,11 @@ components:
135942135942
runtime_mappings:
135943135943
additionalProperties:
135944135944
$ref: '#/components/schemas/Security_Detections_API_RuntimeFieldMapping'
135945-
description: 'Optional map of runtime field name to runtime field mapping. For each entry the server forwards `type`, `script.source`, and `format` to the underlying `_update_by_query` as `runtime_mappings`, so the close query can match fields not natively mapped on the alerts index (e.g. data view runtime fields with Painless scripts). Unlike `runtime_fields`, the caller-supplied Painless script is preserved and executed by Elasticsearch at query time. The server always sets `on_script_error: continue` regardless of any value supplied by the caller, so a single alert that causes a script error is skipped rather than aborting the entire close. Limited to 100 unique field names combined with `runtime_fields`; larger maps are rejected.'
135945+
description: |-
135946+
Use this when the query references fields that are not in the alerts index mapping, for example data view runtime fields with a Painless script.
135947+
Kibana sends `type`, `script.source`, and `format` to Elasticsearch as `runtime_mappings` on the status-update query. Unlike `runtime_fields`, Kibana keeps your script and runs it at query time. It does not replace the script with a `_source` reader.
135948+
When a script is present, Kibana sets `on_script_error` to `continue`. If the script fails on one alert, that field has no value for the alert and the update continues.
135949+
Unique field names across `runtime_fields` and `runtime_mappings` combined cannot exceed 100. Larger maps are rejected.
135946135950
maxProperties: 100
135947135951
type: object
135948135952
status:
@@ -139627,16 +139631,16 @@ components:
139627139631
required:
139628139632
- command
139629139633
Security_Detections_API_RuntimeFieldMapping:
139630-
description: A single runtime field mapping to be attached verbatim to the `_update_by_query` as `runtime_mappings`. Allows the close query to reference fields that are not natively mapped on the alerts index but are evaluatable at query time by Elasticsearch — for example, scripted fields defined on a data view.
139634+
description: A runtime field included in the status-update query so the query can match fields that are not in the alerts index mapping, for example scripted fields on a data view. Elasticsearch evaluates the field at query time.
139631139635
type: object
139632139636
properties:
139633139637
format:
139634-
description: Optional format string for date runtime fields (e.g. `strict_date_optional_time`).
139638+
description: Format string for date runtime fields, for example `strict_date_optional_time`.
139635139639
maxLength: 100
139636139640
type: string
139637139641
script:
139638139642
additionalProperties: false
139639-
description: Painless script that Elasticsearch evaluates for each candidate document. Only inline scripts (`source`) are accepted — stored scripts, parameterised scripts (`params`), and non-default `lang` values are not supported. The server rejects any extra properties with a 400 to avoid silently changing runtime field semantics.
139643+
description: Inline Painless script that Elasticsearch evaluates for each alert. Only `source` is accepted. Stored scripts, parameterized scripts (`params`), and non-default `lang` values are not supported. Extra properties are rejected with a 400 so the script is not run with different semantics.
139640139644
type: object
139641139645
properties:
139642139646
source:
@@ -140227,7 +140231,11 @@ components:
140227140231
runtime_mappings:
140228140232
additionalProperties:
140229140233
$ref: '#/components/schemas/Security_Detections_API_RuntimeFieldMapping'
140230-
description: 'Optional map of runtime field name to runtime field mapping. For each entry the server forwards `type`, `script.source`, and `format` to the underlying `_update_by_query` as `runtime_mappings`, so the close query can match fields not natively mapped on the alerts index (e.g. data view runtime fields with Painless scripts). Unlike `runtime_fields`, the caller-supplied Painless script is preserved and executed by Elasticsearch at query time. The server always sets `on_script_error: continue` regardless of any value supplied by the caller, so a single alert that causes a script error is skipped rather than aborting the entire close. Limited to 100 unique field names combined with `runtime_fields`; larger maps are rejected.'
140234+
description: |-
140235+
Use this when the query references fields that are not in the alerts index mapping, for example data view runtime fields with a Painless script.
140236+
Kibana sends `type`, `script.source`, and `format` to Elasticsearch as `runtime_mappings` on the status-update query. Unlike `runtime_fields`, Kibana keeps your script and runs it at query time. It does not replace the script with a `_source` reader.
140237+
When a script is present, Kibana sets `on_script_error` to `continue`. If the script fails on one alert, that field has no value for the alert and the update continues.
140238+
Unique field names across `runtime_fields` and `runtime_mappings` combined cannot exceed 100. Larger maps are rejected.
140231140239
maxProperties: 100
140232140240
type: object
140233140241
status:

0 commit comments

Comments
 (0)