Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[do not merge] 8.13 version of PR 17688 1till there's an 8.14.0 snapshot #177442

Closed

Conversation

pmuellr
Copy link
Member

@pmuellr pmuellr commented Feb 21, 2024

Can't build #176881 cloud images via CI since there's no 8.14.0 snapshot yet. Till then, there's this, the commit cherry-picked on 8.13.

mistic and others added 30 commits February 14, 2024 19:47
## Summary
We’re getting some poorly articulated error in
https://buildkite.com/elastic/kibana-artifacts-trigger/builds/8417#_ the
artifact builds.

```
$ ./.buildkite/scripts/steps/artifacts/trigger.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   262  100   262    0     0   2723      0 --:--:-- --:--:-- --:--:--  2729
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   127  100   127    0     0   2025      0 --:--:-- --:--:-- --:--:--  2048
parse error: Invalid numeric literal at line 1, column 6
🚨 Error: The command exited with status 4
```

Local runs however, seem to run OK. need to debug locally what's going
wrong with the JSON parsing.
…c#177009)" (elastic#177012)

## Summary
Reverts elastic#177009

Removes debug messaging from 8.13, not intended to go in the release
train.
) (elastic#176957)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Bug][Investigations] - Fix slow timeline queries
(elastic#176838)](elastic#176838)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Michael
Olorunnisola","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-14T21:02:20Z","message":"[Bug][Investigations]
- Fix slow timeline queries (elastic#176838)\n\n## Summary\r\n\r\n**Version
Affected: 8.11.x, 8.12.0, 8.12.1**\r\n\r\n### Background\r\n\r\nThe ID
field necessary to track long running timeline search
strategy\r\nqueries was no longer being passed to ES search after work
in 8.11. This\r\nled to what looked like long running timeline queries,
but in reality\r\nwere queries being repeated due to the ID not being
tracked. This pr\r\nre-introduces the ID field necessary for long
running timeline search\r\nstrategies in security
solution\r\n\r\n**Views Affected:**\r\n - Timeline tabs (query,
correlation, pinned)\r\n - Explore events tables (hosts, users,
network)\r\n - Rule preview table\r\n \r\n\r\nPre-fix:\r\n\r\nObserver
the changing ID's for the `timelineSearchStrategy`
`eventsAll`\r\nqueries.\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/17211684/5731d310-d3ed-452d-8c34-783b2cfe76e1\r\n\r\n\r\nPost-fix:\r\n\r\nObserver
the same ID for the `timelineSearchStrategy`
`eventsAll`\r\nqueries.\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/17211684/a20d4b28-2748-4475-a257-96133bb8efc7\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"68bdd7cb275bdcbc41c0b6bba86a56d954fd5496","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:Threat
Hunting:Investigations","v8.12.2","v8.14.0"],"title":"[Bug][Investigations]
- Fix slow timeline
queries","number":176838,"url":"https://github.com/elastic/kibana/pull/176838","mergeCommit":{"message":"[Bug][Investigations]
- Fix slow timeline queries (elastic#176838)\n\n## Summary\r\n\r\n**Version
Affected: 8.11.x, 8.12.0, 8.12.1**\r\n\r\n### Background\r\n\r\nThe ID
field necessary to track long running timeline search
strategy\r\nqueries was no longer being passed to ES search after work
in 8.11. This\r\nled to what looked like long running timeline queries,
but in reality\r\nwere queries being repeated due to the ID not being
tracked. This pr\r\nre-introduces the ID field necessary for long
running timeline search\r\nstrategies in security
solution\r\n\r\n**Views Affected:**\r\n - Timeline tabs (query,
correlation, pinned)\r\n - Explore events tables (hosts, users,
network)\r\n - Rule preview table\r\n \r\n\r\nPre-fix:\r\n\r\nObserver
the changing ID's for the `timelineSearchStrategy`
`eventsAll`\r\nqueries.\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/17211684/5731d310-d3ed-452d-8c34-783b2cfe76e1\r\n\r\n\r\nPost-fix:\r\n\r\nObserver
the same ID for the `timelineSearchStrategy`
`eventsAll`\r\nqueries.\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/17211684/a20d4b28-2748-4475-a257-96133bb8efc7\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"68bdd7cb275bdcbc41c0b6bba86a56d954fd5496"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176838","number":176838,"mergeCommit":{"message":"[Bug][Investigations]
- Fix slow timeline queries (elastic#176838)\n\n## Summary\r\n\r\n**Version
Affected: 8.11.x, 8.12.0, 8.12.1**\r\n\r\n### Background\r\n\r\nThe ID
field necessary to track long running timeline search
strategy\r\nqueries was no longer being passed to ES search after work
in 8.11. This\r\nled to what looked like long running timeline queries,
but in reality\r\nwere queries being repeated due to the ID not being
tracked. This pr\r\nre-introduces the ID field necessary for long
running timeline search\r\nstrategies in security
solution\r\n\r\n**Views Affected:**\r\n - Timeline tabs (query,
correlation, pinned)\r\n - Explore events tables (hosts, users,
network)\r\n - Rule preview table\r\n \r\n\r\nPre-fix:\r\n\r\nObserver
the changing ID's for the `timelineSearchStrategy`
`eventsAll`\r\nqueries.\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/17211684/5731d310-d3ed-452d-8c34-783b2cfe76e1\r\n\r\n\r\nPost-fix:\r\n\r\nObserver
the same ID for the `timelineSearchStrategy`
`eventsAll`\r\nqueries.\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/17211684/a20d4b28-2748-4475-a257-96133bb8efc7\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"68bdd7cb275bdcbc41c0b6bba86a56d954fd5496"}}]}]
BACKPORT-->

Co-authored-by: Michael Olorunnisola <[email protected]>
) (elastic#177030)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Obs AI Assistant] Add time range to conversation
(elastic#176925)](elastic#176925)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Søren
Louv-Jansen","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-15T15:10:16Z","message":"[Obs
AI Assistant] Add time range to conversation (elastic#176925)\n\nThis adds the
time range to the screen context. This way the assistant\r\nwill respond
with visualisations for the selected range, instead of\r\ndefaulting to
the past 24 hours.\r\n\r\n\r\n<img width=\"1769\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/209966/1ab150d2-9973-4efa-8764-721397c08f01\">\r\n\r\n_When
selecting the past 3 hours the visualisation produced by
the\r\nassistant adheres to
this_","sha":"930b0127929009bbe58298983e3018a95fcec8ce","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","v8.12.0","Team:obs-ux-infra_services","v8.14.0"],"title":"[Obs
AI Assistant] Add time range to
conversation","number":176925,"url":"https://github.com/elastic/kibana/pull/176925","mergeCommit":{"message":"[Obs
AI Assistant] Add time range to conversation (elastic#176925)\n\nThis adds the
time range to the screen context. This way the assistant\r\nwill respond
with visualisations for the selected range, instead of\r\ndefaulting to
the past 24 hours.\r\n\r\n\r\n<img width=\"1769\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/209966/1ab150d2-9973-4efa-8764-721397c08f01\">\r\n\r\n_When
selecting the past 3 hours the visualisation produced by
the\r\nassistant adheres to
this_","sha":"930b0127929009bbe58298983e3018a95fcec8ce"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176925","number":176925,"mergeCommit":{"message":"[Obs
AI Assistant] Add time range to conversation (elastic#176925)\n\nThis adds the
time range to the screen context. This way the assistant\r\nwill respond
with visualisations for the selected range, instead of\r\ndefaulting to
the past 24 hours.\r\n\r\n\r\n<img width=\"1769\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/209966/1ab150d2-9973-4efa-8764-721397c08f01\">\r\n\r\n_When
selecting the past 3 hours the visualisation produced by
the\r\nassistant adheres to
this_","sha":"930b0127929009bbe58298983e3018a95fcec8ce"}}]}] BACKPORT-->

Co-authored-by: Søren Louv-Jansen <[email protected]>
…astic#177037)

# Backport

This will backport the following commits from `main` to `8.13`:
- [Make sure container doesn&#x27;t overflow
(elastic#177024)](elastic#177024)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Coen
Warmer","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-15T16:03:40Z","message":"Make
sure container doesn't overflow (elastic#177024)\n\n## Summary\r\n\r\nFixes an
issue where due to flexbox'es fantastic API every container\r\nneeds a
`min-width` set, otherwise it won't honor `width: 100%` when a\r\nchild
element overflows.\r\n\r\nAlso cleans up some
stuff.","sha":"2ebd8dd83ef8a6863bd84ce2435cfc42105b8de6","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.13.0","v8.14.0"],"title":"[Observability
AI Assistant] [Conversation View] Make sure container doesn't
overflow","number":177024,"url":"https://github.com/elastic/kibana/pull/177024","mergeCommit":{"message":"Make
sure container doesn't overflow (elastic#177024)\n\n## Summary\r\n\r\nFixes an
issue where due to flexbox'es fantastic API every container\r\nneeds a
`min-width` set, otherwise it won't honor `width: 100%` when a\r\nchild
element overflows.\r\n\r\nAlso cleans up some
stuff.","sha":"2ebd8dd83ef8a6863bd84ce2435cfc42105b8de6"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177024","number":177024,"mergeCommit":{"message":"Make
sure container doesn't overflow (elastic#177024)\n\n## Summary\r\n\r\nFixes an
issue where due to flexbox'es fantastic API every container\r\nneeds a
`min-width` set, otherwise it won't honor `width: 100%` when a\r\nchild
element overflows.\r\n\r\nAlso cleans up some
stuff.","sha":"2ebd8dd83ef8a6863bd84ce2435cfc42105b8de6"}}]}]
BACKPORT-->

Co-authored-by: Coen Warmer <[email protected]>
…st consistency (elastic#176939) (elastic#177036)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[ML] Data Frame Analytics Creation functional tests: ensure test
consistency (elastic#176939)](elastic#176939)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Melissa
Alvarez","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-15T16:10:44Z","message":"[ML]
Data Frame Analytics Creation functional tests: ensure test consistency
(elastic#176939)\n\n## Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/147020\r\n\r\nAs discussed, in
this PR, the chart color assertions are temporarily\r\ndisabled as the
colors can vary quite a bit on each run and
cause\r\nflakiness.\r\n\r\nCreated an
[issue](elastic#176938) for\r\ncreating
a better solution.\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that
are not applicable to this PR.\r\n\r\n- [ ] Any text added follows
[EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the
change:","sha":"591d2512e2ef4ba0c7756af6426e6ad17260a2be","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","Feature:Data
Frame Analytics","Feature:Functional
Testing","v8.13.0","v8.14.0"],"title":"[ML] Data Frame Analytics
Creation functional tests: ensure test
consistency","number":176939,"url":"https://github.com/elastic/kibana/pull/176939","mergeCommit":{"message":"[ML]
Data Frame Analytics Creation functional tests: ensure test consistency
(elastic#176939)\n\n## Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/147020\r\n\r\nAs discussed, in
this PR, the chart color assertions are temporarily\r\ndisabled as the
colors can vary quite a bit on each run and
cause\r\nflakiness.\r\n\r\nCreated an
[issue](elastic#176938) for\r\ncreating
a better solution.\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that
are not applicable to this PR.\r\n\r\n- [ ] Any text added follows
[EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the
change:","sha":"591d2512e2ef4ba0c7756af6426e6ad17260a2be"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176939","number":176939,"mergeCommit":{"message":"[ML]
Data Frame Analytics Creation functional tests: ensure test consistency
(elastic#176939)\n\n## Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/147020\r\n\r\nAs discussed, in
this PR, the chart color assertions are temporarily\r\ndisabled as the
colors can vary quite a bit on each run and
cause\r\nflakiness.\r\n\r\nCreated an
[issue](elastic#176938) for\r\ncreating
a better solution.\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that
are not applicable to this PR.\r\n\r\n- [ ] Any text added follows
[EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:","sha":"591d2512e2ef4ba0c7756af6426e6ad17260a2be"}}]}]
BACKPORT-->

Co-authored-by: Melissa Alvarez <[email protected]>
…rectional connector response actions (elastic#176824) (elastic#177047)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[8.13][Security Solution][Endpoint] Add missing tests for
bidirectional connector response actions
(elastic#176824)](elastic#176824)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"Ash","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-15T16:48:06Z","message":"[8.13][Security
Solution][Endpoint] Add missing tests for bidirectional connector
response actions (elastic#176824)\n\n## Summary\r\n\r\nTests for responder
action item on alert action menu.\r\n\r\nfor changes in
elastic/pull/176405\r\n\r\n### Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<[email protected]>","sha":"0d787a01f3fb9f16fca811be8dbc1d7a08241b96","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","OLM Sprint","v8.13.0","v8.14.0"],"title":"[8.13][Security
Solution][Endpoint] Add missing tests for bidirectional connector
response
actions","number":176824,"url":"https://github.com/elastic/kibana/pull/176824","mergeCommit":{"message":"[8.13][Security
Solution][Endpoint] Add missing tests for bidirectional connector
response actions (elastic#176824)\n\n## Summary\r\n\r\nTests for responder
action item on alert action menu.\r\n\r\nfor changes in
elastic/pull/176405\r\n\r\n### Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<[email protected]>","sha":"0d787a01f3fb9f16fca811be8dbc1d7a08241b96"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176824","number":176824,"mergeCommit":{"message":"[8.13][Security
Solution][Endpoint] Add missing tests for bidirectional connector
response actions (elastic#176824)\n\n## Summary\r\n\r\nTests for responder
action item on alert action menu.\r\n\r\nfor changes in
elastic/pull/176405\r\n\r\n### Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<[email protected]>","sha":"0d787a01f3fb9f16fca811be8dbc1d7a08241b96"}}]}]
BACKPORT-->

Co-authored-by: Ash <[email protected]>
elastic#176346) (elastic#177051)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[ResponseOps][FE] Alert creation delay based on user definition
(elastic#176346)](elastic#176346)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Alexi
Doak","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-15T17:13:06Z","message":"[ResponseOps][FE]
Alert creation delay based on user definition (elastic#176346)\n\nResolves
https://github.com/elastic/kibana/issues/173009\r\n\r\n##
Summary\r\n\r\nAdds a new input for the user to define the `alertDelay`.
This input is\r\navailable for life-cycled alerts (stack and o11y) rule
types.\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n\r\n### To
verify\r\n\r\n- Using the UI create a rule with the `alertDelay` field
set.\r\n- Verify that the field is saved properly and that you can edit
the\r\n`alertDelay`\r\n- Verify that you can add the alert delay to
existing rules. Create a\r\nrule in a different branch and switch to
this one. Edit the rule and set\r\nthe `alertDelay`. Verify that the
rule saves and works as
expected.\r\n\r\n---------\r\n\r\nCo-authored-by: Lisa Cawley
<[email protected]>","sha":"68d6ab21354bcf0504dc3664b818ab07f94340bc","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","v8.13.0","v8.14.0"],"title":"[ResponseOps][FE]
Alert creation delay based on user
definition","number":176346,"url":"https://github.com/elastic/kibana/pull/176346","mergeCommit":{"message":"[ResponseOps][FE]
Alert creation delay based on user definition (elastic#176346)\n\nResolves
https://github.com/elastic/kibana/issues/173009\r\n\r\n##
Summary\r\n\r\nAdds a new input for the user to define the `alertDelay`.
This input is\r\navailable for life-cycled alerts (stack and o11y) rule
types.\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n\r\n### To
verify\r\n\r\n- Using the UI create a rule with the `alertDelay` field
set.\r\n- Verify that the field is saved properly and that you can edit
the\r\n`alertDelay`\r\n- Verify that you can add the alert delay to
existing rules. Create a\r\nrule in a different branch and switch to
this one. Edit the rule and set\r\nthe `alertDelay`. Verify that the
rule saves and works as
expected.\r\n\r\n---------\r\n\r\nCo-authored-by: Lisa Cawley
<[email protected]>","sha":"68d6ab21354bcf0504dc3664b818ab07f94340bc"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176346","number":176346,"mergeCommit":{"message":"[ResponseOps][FE]
Alert creation delay based on user definition (elastic#176346)\n\nResolves
https://github.com/elastic/kibana/issues/173009\r\n\r\n##
Summary\r\n\r\nAdds a new input for the user to define the `alertDelay`.
This input is\r\navailable for life-cycled alerts (stack and o11y) rule
types.\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n\r\n### To
verify\r\n\r\n- Using the UI create a rule with the `alertDelay` field
set.\r\n- Verify that the field is saved properly and that you can edit
the\r\n`alertDelay`\r\n- Verify that you can add the alert delay to
existing rules. Create a\r\nrule in a different branch and switch to
this one. Edit the rule and set\r\nthe `alertDelay`. Verify that the
rule saves and works as
expected.\r\n\r\n---------\r\n\r\nCo-authored-by: Lisa Cawley
<[email protected]>","sha":"68d6ab21354bcf0504dc3664b818ab07f94340bc"}}]}]
BACKPORT-->

Co-authored-by: Alexi Doak <[email protected]>
…e not restored if URL specifies a forecast ID (elastic#176969) (elastic#177057)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[ML] Fixes Single Metric Viewer&#x27;s zoom settings in URL are not
restored if URL specifies a forecast ID
(elastic#176969)](elastic#176969)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Quynh Nguyen
(Quinn)","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-15T18:11:43Z","message":"[ML]
Fixes Single Metric Viewer's zoom settings in URL are not restored if
URL specifies a forecast ID (elastic#176969)\n\n## Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/168583\r\n\r\nAfter\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/43350163/9fd1f43a-ca70-4495-b872-57cbcf421db9\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<[email protected]>","sha":"912c260108dddd78c574ec4cd6f9f19331f2b0ac","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix",":ml","v8.13.0","v8.14.0"],"title":"[ML]
Fixes Single Metric Viewer's zoom settings in URL are not restored if
URL specifies a forecast ID
","number":176969,"url":"https://github.com/elastic/kibana/pull/176969","mergeCommit":{"message":"[ML]
Fixes Single Metric Viewer's zoom settings in URL are not restored if
URL specifies a forecast ID (elastic#176969)\n\n## Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/168583\r\n\r\nAfter\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/43350163/9fd1f43a-ca70-4495-b872-57cbcf421db9\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<[email protected]>","sha":"912c260108dddd78c574ec4cd6f9f19331f2b0ac"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176969","number":176969,"mergeCommit":{"message":"[ML]
Fixes Single Metric Viewer's zoom settings in URL are not restored if
URL specifies a forecast ID (elastic#176969)\n\n## Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/168583\r\n\r\nAfter\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/43350163/9fd1f43a-ca70-4495-b872-57cbcf421db9\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<[email protected]>","sha":"912c260108dddd78c574ec4cd6f9f19331f2b0ac"}}]}]
BACKPORT-->

Co-authored-by: Quynh Nguyen (Quinn) <[email protected]>
…#176962) (elastic#177063)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[RAM] Fix bug where select all rules bypasses filters
(elastic#176962)](elastic#176962)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Zacqary Adam
Xeper","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-15T18:30:08Z","message":"[RAM]
Fix bug where select all rules bypasses filters (elastic#176962)\n\n##
Summary\r\n\r\nFixes elastic#176867 \r\n\r\nA bug introduced in
https://github.com/elastic/kibana/pull/174954\r\nbypassed most filters
when using Select All on the Rules List. This was\r\nbecause the names
of the filter properties changed, and no longer\r\nmatched what the
`useBulkEditSelect` hook was expecting.\r\n\r\nBecause all of these
types were optional, it didn't trigger any type\r\nerrors.\r\n\r\nThis
syncs up the type definitions with the new filter store hook,
and\r\nadds a functional test to make sure filters are working on bulk
actions\r\nwhen clicking the select all button.\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"e136a9318215d5913a5e957aec5d9ad0b8132506","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:ResponseOps","Feature:Alerting/RulesManagement","v8.13.0","v8.12.2","v8.14.0"],"title":"[RAM]
Fix bug where select all rules bypasses
filters","number":176962,"url":"https://github.com/elastic/kibana/pull/176962","mergeCommit":{"message":"[RAM]
Fix bug where select all rules bypasses filters (elastic#176962)\n\n##
Summary\r\n\r\nFixes elastic#176867 \r\n\r\nA bug introduced in
https://github.com/elastic/kibana/pull/174954\r\nbypassed most filters
when using Select All on the Rules List. This was\r\nbecause the names
of the filter properties changed, and no longer\r\nmatched what the
`useBulkEditSelect` hook was expecting.\r\n\r\nBecause all of these
types were optional, it didn't trigger any type\r\nerrors.\r\n\r\nThis
syncs up the type definitions with the new filter store hook,
and\r\nadds a functional test to make sure filters are working on bulk
actions\r\nwhen clicking the select all button.\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"e136a9318215d5913a5e957aec5d9ad0b8132506"}},"sourceBranch":"main","suggestedTargetBranches":["8.13","8.12"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.12","label":"v8.12.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176962","number":176962,"mergeCommit":{"message":"[RAM]
Fix bug where select all rules bypasses filters (elastic#176962)\n\n##
Summary\r\n\r\nFixes elastic#176867 \r\n\r\nA bug introduced in
https://github.com/elastic/kibana/pull/174954\r\nbypassed most filters
when using Select All on the Rules List. This was\r\nbecause the names
of the filter properties changed, and no longer\r\nmatched what the
`useBulkEditSelect` hook was expecting.\r\n\r\nBecause all of these
types were optional, it didn't trigger any type\r\nerrors.\r\n\r\nThis
syncs up the type definitions with the new filter store hook,
and\r\nadds a functional test to make sure filters are working on bulk
actions\r\nwhen clicking the select all button.\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"e136a9318215d5913a5e957aec5d9ad0b8132506"}}]}]
BACKPORT-->

Co-authored-by: Zacqary Adam Xeper <[email protected]>
# Backport

This will backport the following commits from `main` to `8.13`:
- [Better styling for connectors
(elastic#177048)](elastic#177048)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Coen
Warmer","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-15T18:13:34Z","message":"Better
styling for connectors
(elastic#177048)","sha":"e84128e147744bbdfaff8667332763cbc5bafad5","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.13.0","v8.14.0"],"title":"Better
styling for
connectors","number":177048,"url":"https://github.com/elastic/kibana/pull/177048","mergeCommit":{"message":"Better
styling for connectors
(elastic#177048)","sha":"e84128e147744bbdfaff8667332763cbc5bafad5"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177048","number":177048,"mergeCommit":{"message":"Better
styling for connectors
(elastic#177048)","sha":"e84128e147744bbdfaff8667332763cbc5bafad5"}}]}]
BACKPORT-->

Co-authored-by: Coen Warmer <[email protected]>
…astic#177097)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[EDR Workflows] Unskip osquery alert test
(elastic#177023)](elastic#177023)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Tomasz
Ciecierski","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-15T22:56:41Z","message":"[EDR
Workflows] Unskip osquery alert test
(elastic#177023)","sha":"58652916c585f976486e0b304da0d8e7bab842a9","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","v8.13.0","v8.14.0"],"title":"[EDR Workflows] Unskip osquery
alert
test","number":177023,"url":"https://github.com/elastic/kibana/pull/177023","mergeCommit":{"message":"[EDR
Workflows] Unskip osquery alert test
(elastic#177023)","sha":"58652916c585f976486e0b304da0d8e7bab842a9"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177023","number":177023,"mergeCommit":{"message":"[EDR
Workflows] Unskip osquery alert test
(elastic#177023)","sha":"58652916c585f976486e0b304da0d8e7bab842a9"}}]}]
BACKPORT-->

Co-authored-by: Tomasz Ciecierski <[email protected]>
…vability rules (elastic#176941) (elastic#177106)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[OAS] Add alert_delay alerting rule option for Stack and
Observability rules
(elastic#176941)](elastic#176941)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-16T03:09:48Z","message":"[OAS]
Add alert_delay alerting rule option for Stack and Observability rules
(elastic#176941)","sha":"90dbc86732e51be7311d2e5f3e11681b045f5ac5","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Alerting","release_note:skip","Team:ResponseOps","docs","v8.13.0","v8.14.0"],"title":"[OAS]
Add alert_delay alerting rule option for Stack and Observability
rules","number":176941,"url":"https://github.com/elastic/kibana/pull/176941","mergeCommit":{"message":"[OAS]
Add alert_delay alerting rule option for Stack and Observability rules
(elastic#176941)","sha":"90dbc86732e51be7311d2e5f3e11681b045f5ac5"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176941","number":176941,"mergeCommit":{"message":"[OAS]
Add alert_delay alerting rule option for Stack and Observability rules
(elastic#176941)","sha":"90dbc86732e51be7311d2e5f3e11681b045f5ac5"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <[email protected]>
…177115)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Lens] Unskip functional test error
(elastic#176885)](elastic#176885)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Matthias
Wilhelm","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-16T07:52:24Z","message":"[Lens]
Unskip functional test error
(elastic#176885)","sha":"1f93119b862089e81b5c33d65f0450ad6eac75e0","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:Lens","Team:DataDiscovery","backport:prev-minor","v8.14.0"],"title":"[Lens]
Unskip functional test
error","number":176885,"url":"https://github.com/elastic/kibana/pull/176885","mergeCommit":{"message":"[Lens]
Unskip functional test error
(elastic#176885)","sha":"1f93119b862089e81b5c33d65f0450ad6eac75e0"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176885","number":176885,"mergeCommit":{"message":"[Lens]
Unskip functional test error
(elastic#176885)","sha":"1f93119b862089e81b5c33d65f0450ad6eac75e0"}}]}]
BACKPORT-->

Co-authored-by: Matthias Wilhelm <[email protected]>
…hed doc count (elastic#176620) (elastic#176955)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Alerts] Fix Elasticsearch query rule with KQL evaluation matched doc
count (elastic#176620)](elastic#176620)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Julia
Rechkunova","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-14T21:01:04Z","message":"[Alerts]
Fix Elasticsearch query rule with KQL evaluation matched doc count
(elastic#176620)\n\n- Closes
https://github.com/elastic/kibana/issues/176453\r\n\r\n##
Summary\r\n\r\nThis PR adds `track_total_hits` to the ES request.
Otherwise it's\r\nlimited to 10000.\r\n\r\nTested with index
connector:\r\n<img width=\"500\" alt=\"Screenshot 2024-02-09 at 18 05
51\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1415710/643e504c-91c6-47ae-b2b9-45b132ca5755\">\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"e2dfb09ed3929c4d0b0df540a6127454e5d6fe88","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Feature:Alerting","Team:DataDiscovery","backport:prev-minor","v8.14.0"],"title":"[Alerts]
Fix Elasticsearch query rule with KQL evaluation matched doc
count","number":176620,"url":"https://github.com/elastic/kibana/pull/176620","mergeCommit":{"message":"[Alerts]
Fix Elasticsearch query rule with KQL evaluation matched doc count
(elastic#176620)\n\n- Closes
https://github.com/elastic/kibana/issues/176453\r\n\r\n##
Summary\r\n\r\nThis PR adds `track_total_hits` to the ES request.
Otherwise it's\r\nlimited to 10000.\r\n\r\nTested with index
connector:\r\n<img width=\"500\" alt=\"Screenshot 2024-02-09 at 18 05
51\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1415710/643e504c-91c6-47ae-b2b9-45b132ca5755\">\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"e2dfb09ed3929c4d0b0df540a6127454e5d6fe88"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176620","number":176620,"mergeCommit":{"message":"[Alerts]
Fix Elasticsearch query rule with KQL evaluation matched doc count
(elastic#176620)\n\n- Closes
https://github.com/elastic/kibana/issues/176453\r\n\r\n##
Summary\r\n\r\nThis PR adds `track_total_hits` to the ES request.
Otherwise it's\r\nlimited to 10000.\r\n\r\nTested with index
connector:\r\n<img width=\"500\" alt=\"Screenshot 2024-02-09 at 18 05
51\"\r\nsrc=\"https://github.com/elastic/kibana/assets/1415710/643e504c-91c6-47ae-b2b9-45b132ca5755\">\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"e2dfb09ed3929c4d0b0df540a6127454e5d6fe88"}}]}]
BACKPORT-->

Co-authored-by: Julia Rechkunova <[email protected]>
…lastic#177140)

# Backport

This will backport the following commits from `main` to `8.13`:
- [Add an option to disable APM user redaction
(elastic#176566)](elastic#176566)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Pierre
Gayvallet","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-18T15:30:01Z","message":"Add
an option to disable APM user redaction (elastic#176566)\n\n##
Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/174743\r\n\r\nAdd an
`elastic.apm.redactUsers` configuration option that defaults
to\r\n`true` (preserving current
behavior)\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<[email protected]>","sha":"d65460cb3973826f680b0934815b9de7a0682905","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Team:Core","v8.13.0","v8.14.0"],"title":"Add
an option to disable APM user
redaction","number":176566,"url":"https://github.com/elastic/kibana/pull/176566","mergeCommit":{"message":"Add
an option to disable APM user redaction (elastic#176566)\n\n##
Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/174743\r\n\r\nAdd an
`elastic.apm.redactUsers` configuration option that defaults
to\r\n`true` (preserving current
behavior)\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<[email protected]>","sha":"d65460cb3973826f680b0934815b9de7a0682905"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176566","number":176566,"mergeCommit":{"message":"Add
an option to disable APM user redaction (elastic#176566)\n\n##
Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/174743\r\n\r\nAdd an
`elastic.apm.redactUsers` configuration option that defaults
to\r\n`true` (preserving current
behavior)\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<[email protected]>","sha":"d65460cb3973826f680b0934815b9de7a0682905"}}]}]
BACKPORT-->

Co-authored-by: Pierre Gayvallet <[email protected]>
…sts. (elastic#176920) (elastic#177150)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[ML] Transforms: Update functional test assertion, reenable tests.
(elastic#176920)](elastic#176920)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Walter
Rafelsberger","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-19T07:59:53Z","message":"[ML]
Transforms: Update functional test assertion, reenable tests.
(elastic#176920)\n\n## Summary\r\n\r\nFixes elastic#151889\r\nFixes elastic#151811\r\nFixes
elastic#176697\r\nFixes elastic#176698\r\nFixes elastic#176865\r\n\r\nUpdates assertions
after ES snapshot promotion and reenables tests.\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] This was
checked for breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"21ca904cfd7eee75202b61c8e7be3e9ad6c2fda4","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:Transforms","v8.13.0","v8.14.0","v7.17.19"],"title":"[ML]
Transforms: Update functional test assertion, reenable
tests.","number":176920,"url":"https://github.com/elastic/kibana/pull/176920","mergeCommit":{"message":"[ML]
Transforms: Update functional test assertion, reenable tests.
(elastic#176920)\n\n## Summary\r\n\r\nFixes elastic#151889\r\nFixes elastic#151811\r\nFixes
elastic#176697\r\nFixes elastic#176698\r\nFixes elastic#176865\r\n\r\nUpdates assertions
after ES snapshot promotion and reenables tests.\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] This was
checked for breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"21ca904cfd7eee75202b61c8e7be3e9ad6c2fda4"}},"sourceBranch":"main","suggestedTargetBranches":["8.13","7.17"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176920","number":176920,"mergeCommit":{"message":"[ML]
Transforms: Update functional test assertion, reenable tests.
(elastic#176920)\n\n## Summary\r\n\r\nFixes elastic#151889\r\nFixes elastic#151811\r\nFixes
elastic#176697\r\nFixes elastic#176698\r\nFixes elastic#176865\r\n\r\nUpdates assertions
after ES snapshot promotion and reenables tests.\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] This was
checked for breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"21ca904cfd7eee75202b61c8e7be3e9ad6c2fda4"}},{"branch":"7.17","label":"v7.17.19","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Walter Rafelsberger <[email protected]>
…n name (elastic#177163) (elastic#177186)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Custom threhsold] Fix preview chart for multi char aggregation name
(elastic#177163)](elastic#177163)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Maryam
Saeidi","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-19T12:27:19Z","message":"[Custom
threhsold] Fix preview chart for multi char aggregation name
(elastic#177163)\n\nFixes elastic#176437\r\n\r\n## Summary\r\n\r\nFixes preview chart
for multi-char aggregation
name\r\n\r\n<img\r\nsrc=\"https://github.com/elastic/kibana/assets/12370520/fc6b30d2-d6b2-4de4-b163-770e556e9bea\"\r\nwidth=500
/>","sha":"b8dded051118b11c0d1ffe4072c26640dcd2dddf","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","backport:prev-minor","Team:obs-ux-management","Feature:
Custom threshold","v8.14.0"],"title":"[Custom threhsold] Fix preview
chart for multi char aggregation
name","number":177163,"url":"https://github.com/elastic/kibana/pull/177163","mergeCommit":{"message":"[Custom
threhsold] Fix preview chart for multi char aggregation name
(elastic#177163)\n\nFixes elastic#176437\r\n\r\n## Summary\r\n\r\nFixes preview chart
for multi-char aggregation
name\r\n\r\n<img\r\nsrc=\"https://github.com/elastic/kibana/assets/12370520/fc6b30d2-d6b2-4de4-b163-770e556e9bea\"\r\nwidth=500
/>","sha":"b8dded051118b11c0d1ffe4072c26640dcd2dddf"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177163","number":177163,"mergeCommit":{"message":"[Custom
threhsold] Fix preview chart for multi char aggregation name
(elastic#177163)\n\nFixes elastic#176437\r\n\r\n## Summary\r\n\r\nFixes preview chart
for multi-char aggregation
name\r\n\r\n<img\r\nsrc=\"https://github.com/elastic/kibana/assets/12370520/fc6b30d2-d6b2-4de4-b163-770e556e9bea\"\r\nwidth=500
/>","sha":"b8dded051118b11c0d1ffe4072c26640dcd2dddf"}}]}] BACKPORT-->

Co-authored-by: Maryam Saeidi <[email protected]>
…177177)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[SLOs] Add/Edit form KQL Validation
(elastic#174465)](elastic#174465)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-19T10:43:37Z","message":"[SLOs]
Add/Edit form KQL Validation (elastic#174465)\n\n## Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/160390\r\n\r\nAdd/Edit form KQL
Validation !!\r\n\r\n<img width=\"1020\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/3505601/30ecaba5-e567-4964-acb2-5d687f8a2e55\">","sha":"f4fb1e8d9020c5e61f08fab84a3e3b0805525b1e","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","Team:obs-ux-management","v8.14.0"],"number":174465,"url":"https://github.com/elastic/kibana/pull/174465","mergeCommit":{"message":"[SLOs]
Add/Edit form KQL Validation (elastic#174465)\n\n## Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/160390\r\n\r\nAdd/Edit form KQL
Validation !!\r\n\r\n<img width=\"1020\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/3505601/30ecaba5-e567-4964-acb2-5d687f8a2e55\">","sha":"f4fb1e8d9020c5e61f08fab84a3e3b0805525b1e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","labelRegex":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/174465","number":174465,"mergeCommit":{"message":"[SLOs]
Add/Edit form KQL Validation (elastic#174465)\n\n## Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/160390\r\n\r\nAdd/Edit form KQL
Validation !!\r\n\r\n<img width=\"1020\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/3505601/30ecaba5-e567-4964-acb2-5d687f8a2e55\">","sha":"f4fb1e8d9020c5e61f08fab84a3e3b0805525b1e"}}]}]
BACKPORT-->
…hen importing rules (elastic#176166) (elastic#177196)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Security Solution] Fix not complete existing rule overwrite when
importing rules
(elastic#176166)](elastic#176166)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Maxim
Palenov","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-19T13:35:32Z","message":"[Security
Solution] Fix not complete existing rule overwrite when importing rules
(elastic#176166)\n\n**Fixes:
https://github.com/elastic/kibana/issues/93342**\r\n**Fixes:
https://github.com/elastic/kibana/issues/118166**\r\n\r\n##
Summary\r\n\r\nThis PR fixes not complete existing rule overwrite when
importing rules.\r\n\r\n## Details\r\n\r\nWhen importing a rule and
attempting to overwrite an existing rule, if the new rule does not
define a field that the existing rule did define then the newly imported
rule will include the field from the existing rule. This can cause
issues if we want to overwrite a rule with a rule of a different type,
e.g. going from saved_query to query we would provide a new rule that
doesn't have a saved_id but since saved_id was defined on the old
saved_query rule it will be included in the new query rule.\r\n\r\nThe
fix simply swaps out the `patchRules()` for `updateRules()`. Patching
rules preserves previous field values if an incoming update doesn't have
such fields while updating doesn't do that. The diff in
`import_rules_utils.test.ts` looks bigger due to removing unnecessary
`else` clause.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios\r\n- [x] Ran
successfully in Flaky test runner ([basic/essentials license FTR
tests](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5166)
and [trial/complete tier license FTR
tests](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5167))","sha":"53aaab47322fd15ad232d71a1749fd2df8a5dde4","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","impact:medium","Team:Detections
and Resp","Team: SecuritySolution","Feature:Rule
Management","Team:Detection Rule Management","Feature:Rule
Import/Export","v8.13.0","v8.12.2","v8.14.0"],"title":"[Security
Solution] Fix not complete existing rule overwrite when importing
rules","number":176166,"url":"https://github.com/elastic/kibana/pull/176166","mergeCommit":{"message":"[Security
Solution] Fix not complete existing rule overwrite when importing rules
(elastic#176166)\n\n**Fixes:
https://github.com/elastic/kibana/issues/93342**\r\n**Fixes:
https://github.com/elastic/kibana/issues/118166**\r\n\r\n##
Summary\r\n\r\nThis PR fixes not complete existing rule overwrite when
importing rules.\r\n\r\n## Details\r\n\r\nWhen importing a rule and
attempting to overwrite an existing rule, if the new rule does not
define a field that the existing rule did define then the newly imported
rule will include the field from the existing rule. This can cause
issues if we want to overwrite a rule with a rule of a different type,
e.g. going from saved_query to query we would provide a new rule that
doesn't have a saved_id but since saved_id was defined on the old
saved_query rule it will be included in the new query rule.\r\n\r\nThe
fix simply swaps out the `patchRules()` for `updateRules()`. Patching
rules preserves previous field values if an incoming update doesn't have
such fields while updating doesn't do that. The diff in
`import_rules_utils.test.ts` looks bigger due to removing unnecessary
`else` clause.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios\r\n- [x] Ran
successfully in Flaky test runner ([basic/essentials license FTR
tests](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5166)
and [trial/complete tier license FTR
tests](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5167))","sha":"53aaab47322fd15ad232d71a1749fd2df8a5dde4"}},"sourceBranch":"main","suggestedTargetBranches":["8.13","8.12"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.12","label":"v8.12.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176166","number":176166,"mergeCommit":{"message":"[Security
Solution] Fix not complete existing rule overwrite when importing rules
(elastic#176166)\n\n**Fixes:
https://github.com/elastic/kibana/issues/93342**\r\n**Fixes:
https://github.com/elastic/kibana/issues/118166**\r\n\r\n##
Summary\r\n\r\nThis PR fixes not complete existing rule overwrite when
importing rules.\r\n\r\n## Details\r\n\r\nWhen importing a rule and
attempting to overwrite an existing rule, if the new rule does not
define a field that the existing rule did define then the newly imported
rule will include the field from the existing rule. This can cause
issues if we want to overwrite a rule with a rule of a different type,
e.g. going from saved_query to query we would provide a new rule that
doesn't have a saved_id but since saved_id was defined on the old
saved_query rule it will be included in the new query rule.\r\n\r\nThe
fix simply swaps out the `patchRules()` for `updateRules()`. Patching
rules preserves previous field values if an incoming update doesn't have
such fields while updating doesn't do that. The diff in
`import_rules_utils.test.ts` looks bigger due to removing unnecessary
`else` clause.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios\r\n- [x] Ran
successfully in Flaky test runner ([basic/essentials license FTR
tests](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5166)
and [trial/complete tier license FTR
tests](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5167))","sha":"53aaab47322fd15ad232d71a1749fd2df8a5dde4"}}]}]
BACKPORT-->

Co-authored-by: Maxim Palenov <[email protected]>
…logic (elastic#177031) (elastic#177203)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Obs AI Assistant] Improvements on the charts suggestions api logic
(elastic#177031)](elastic#177031)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Stratoula
Kalafateli","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-19T14:51:56Z","message":"[Obs
AI Assistant] Improvements on the charts suggestions api logic
(elastic#177031)\n\n## Summary\r\n\r\nThis PR enhances the ES|QL suggestions
api to get the user's preference.\r\nThis is important for the obs ai
assistant as the AI can return the\r\nchart type.\r\n\r\nIn this
PR:\r\n\r\n- we added support for line and area charts (line charts are
quite\r\npopular in the ai assistant). Right now our suggestions system
always\r\nreturns bar charts for XY and ignores the preference for
line/area. In\r\nthat case, if a user has requested for a line or area
we alter the\r\nsuggestion visualization state to return the correct
chart type.\r\n- moved some existing logic from the assistant to the
suggestions api.\r\nThis logic can be helpful in other cases in the
future too so it is\r\nbetter everything to be handled by the Lens
api.\r\n\r\nAs ES|QL works mostly with suggestions we should
differentiate it from\r\nthe formbased system and enhance the
suggestions to return line, areas\r\nand other combinations. This is
going to be part of the suggestions V2.\r\nI will leave a comment to the
issue. For now, this implementation is\r\ngoing to solve the problem
with the existing api.\r\n\r\n\r\n**Example of line generation**\r\n<img
width=\"680\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17003240/42cfbcf5-f5c7-4833-968b-961e492b0691\">\r\n\r\n**Example
of area generation**\r\n<img width=\"424\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17003240/5c448633-be07-479b-a6c8-fb1b97c10a87\">\r\n\r\n**Example
of a tagcloud** (already possible)\r\n<img width=\"734\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17003240/7374872d-ee1d-4f68-aae7-85804b88be99\">","sha":"06fcf95ceb811a02cbc7c4ae5bcfc1bdccc91f33","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:Lens","backport:prev-minor","Team:Obs
AI Assistant","v8.13.0","v8.14.0"],"title":"[Obs AI Assistant]
Improvements on the charts suggestions api
logic","number":177031,"url":"https://github.com/elastic/kibana/pull/177031","mergeCommit":{"message":"[Obs
AI Assistant] Improvements on the charts suggestions api logic
(elastic#177031)\n\n## Summary\r\n\r\nThis PR enhances the ES|QL suggestions
api to get the user's preference.\r\nThis is important for the obs ai
assistant as the AI can return the\r\nchart type.\r\n\r\nIn this
PR:\r\n\r\n- we added support for line and area charts (line charts are
quite\r\npopular in the ai assistant). Right now our suggestions system
always\r\nreturns bar charts for XY and ignores the preference for
line/area. In\r\nthat case, if a user has requested for a line or area
we alter the\r\nsuggestion visualization state to return the correct
chart type.\r\n- moved some existing logic from the assistant to the
suggestions api.\r\nThis logic can be helpful in other cases in the
future too so it is\r\nbetter everything to be handled by the Lens
api.\r\n\r\nAs ES|QL works mostly with suggestions we should
differentiate it from\r\nthe formbased system and enhance the
suggestions to return line, areas\r\nand other combinations. This is
going to be part of the suggestions V2.\r\nI will leave a comment to the
issue. For now, this implementation is\r\ngoing to solve the problem
with the existing api.\r\n\r\n\r\n**Example of line generation**\r\n<img
width=\"680\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17003240/42cfbcf5-f5c7-4833-968b-961e492b0691\">\r\n\r\n**Example
of area generation**\r\n<img width=\"424\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17003240/5c448633-be07-479b-a6c8-fb1b97c10a87\">\r\n\r\n**Example
of a tagcloud** (already possible)\r\n<img width=\"734\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17003240/7374872d-ee1d-4f68-aae7-85804b88be99\">","sha":"06fcf95ceb811a02cbc7c4ae5bcfc1bdccc91f33"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177031","number":177031,"mergeCommit":{"message":"[Obs
AI Assistant] Improvements on the charts suggestions api logic
(elastic#177031)\n\n## Summary\r\n\r\nThis PR enhances the ES|QL suggestions
api to get the user's preference.\r\nThis is important for the obs ai
assistant as the AI can return the\r\nchart type.\r\n\r\nIn this
PR:\r\n\r\n- we added support for line and area charts (line charts are
quite\r\npopular in the ai assistant). Right now our suggestions system
always\r\nreturns bar charts for XY and ignores the preference for
line/area. In\r\nthat case, if a user has requested for a line or area
we alter the\r\nsuggestion visualization state to return the correct
chart type.\r\n- moved some existing logic from the assistant to the
suggestions api.\r\nThis logic can be helpful in other cases in the
future too so it is\r\nbetter everything to be handled by the Lens
api.\r\n\r\nAs ES|QL works mostly with suggestions we should
differentiate it from\r\nthe formbased system and enhance the
suggestions to return line, areas\r\nand other combinations. This is
going to be part of the suggestions V2.\r\nI will leave a comment to the
issue. For now, this implementation is\r\ngoing to solve the problem
with the existing api.\r\n\r\n\r\n**Example of line generation**\r\n<img
width=\"680\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17003240/42cfbcf5-f5c7-4833-968b-961e492b0691\">\r\n\r\n**Example
of area generation**\r\n<img width=\"424\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17003240/5c448633-be07-479b-a6c8-fb1b97c10a87\">\r\n\r\n**Example
of a tagcloud** (already possible)\r\n<img width=\"734\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17003240/7374872d-ee1d-4f68-aae7-85804b88be99\">","sha":"06fcf95ceb811a02cbc7c4ae5bcfc1bdccc91f33"}}]}]
BACKPORT-->

Co-authored-by: Stratoula Kalafateli <[email protected]>
…lastic#177209)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Security Solution] JSON diffs test coverage
(elastic#176770)](elastic#176770)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Nikita
Indik","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-19T15:12:51Z","message":"[Security
Solution] JSON diffs test coverage (elastic#176770)\n\n**Resolves:
https://github.com/elastic/kibana/issues/166163**\r\n\r\nFlaky test
runner
runs:\r\n[1](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5189),\r\n[2](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5190),\r\n[3](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5191),\r\n[4](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5192)\r\n\r\n##
Summary\r\nThis PR adds tests in accordance with the
[test\r\nplan](elastic#175958) that was
merged\r\nearlier.","sha":"cd374d23368de182a96df0948192a9bca7bdc4aa","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","test-coverage","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","v8.13.0","v8.14.0"],"title":"[Security Solution] JSON diffs test
coverage","number":176770,"url":"https://github.com/elastic/kibana/pull/176770","mergeCommit":{"message":"[Security
Solution] JSON diffs test coverage (elastic#176770)\n\n**Resolves:
https://github.com/elastic/kibana/issues/166163**\r\n\r\nFlaky test
runner
runs:\r\n[1](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5189),\r\n[2](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5190),\r\n[3](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5191),\r\n[4](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5192)\r\n\r\n##
Summary\r\nThis PR adds tests in accordance with the
[test\r\nplan](elastic#175958) that was
merged\r\nearlier.","sha":"cd374d23368de182a96df0948192a9bca7bdc4aa"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176770","number":176770,"mergeCommit":{"message":"[Security
Solution] JSON diffs test coverage (elastic#176770)\n\n**Resolves:
https://github.com/elastic/kibana/issues/166163**\r\n\r\nFlaky test
runner
runs:\r\n[1](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5189),\r\n[2](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5190),\r\n[3](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5191),\r\n[4](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5192)\r\n\r\n##
Summary\r\nThis PR adds tests in accordance with the
[test\r\nplan](elastic#175958) that was
merged\r\nearlier.","sha":"cd374d23368de182a96df0948192a9bca7bdc4aa"}}]}]
BACKPORT-->

Co-authored-by: Nikita Indik <[email protected]>
…) (elastic#177216)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[SLO] Fix Searchbar handle load/save query state
(elastic#177182)](elastic#177182)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-19T16:05:58Z","message":"[SLO]
Fix Searchbar handle load/save query state (elastic#177182)\n\n##
Summary\r\n\r\nFix Searchbar handle load/save query state !!\r\n\r\n###
Testing\r\n\r\n- [ ] KQL Query works\r\n- [ ] Filters works\r\n- [ ]
Load query with kql works\r\n- [ ] Load query with filters works\r\n- [
] Save query
works","sha":"84761019aeb8997551c9bda4643edec053e45123","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","Team:obs-ux-management","v8.14.0"],"title":"[SLO]
Fix Searchbar handle load/save query
state","number":177182,"url":"https://github.com/elastic/kibana/pull/177182","mergeCommit":{"message":"[SLO]
Fix Searchbar handle load/save query state (elastic#177182)\n\n##
Summary\r\n\r\nFix Searchbar handle load/save query state !!\r\n\r\n###
Testing\r\n\r\n- [ ] KQL Query works\r\n- [ ] Filters works\r\n- [ ]
Load query with kql works\r\n- [ ] Load query with filters works\r\n- [
] Save query
works","sha":"84761019aeb8997551c9bda4643edec053e45123"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177182","number":177182,"mergeCommit":{"message":"[SLO]
Fix Searchbar handle load/save query state (elastic#177182)\n\n##
Summary\r\n\r\nFix Searchbar handle load/save query state !!\r\n\r\n###
Testing\r\n\r\n- [ ] KQL Query works\r\n- [ ] Filters works\r\n- [ ]
Load query with kql works\r\n- [ ] Load query with filters works\r\n- [
] Save query
works","sha":"84761019aeb8997551c9bda4643edec053e45123"}}]}] BACKPORT-->

Co-authored-by: Shahzad <[email protected]>
… use host.names… (elastic#177164) (elastic#177217)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Infra] Use panel filters in the condition to detemine when to use
host.names… (elastic#177164)](elastic#177164)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Carlos
Crespo","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-19T16:22:59Z","message":"[Infra]
Use panel filters in the condition to detemine when to use host.names…
(elastic#177164)\n\ncloses
[177162](https://github.com/elastic/kibana/issues/177162)\r\n\r\n##
Summary\r\n\r\nFixes the condition that determines when to use the host
names in the\r\ncharts' filter\r\n\r\n<img width=\"690\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/2767137/50f3eae7-2d65-4985-b2f3-f241895356a0\">\r\n\r\n\r\n###
How to test\r\n\r\n- Start local Kibana instance\r\n- Navigate to
`Infrastructure` > `Hosts`\r\n- Select a value in any custom control
that won't return any
data.","sha":"9e6db9b5bfe4f04fbc2af02320894e79ec6983d3","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","Feature:ObsHosts","Team:obs-ux-infra_services","v8.14.0"],"title":"[Infra]
Use panel filters in the condition to detemine when to use
host.names…","number":177164,"url":"https://github.com/elastic/kibana/pull/177164","mergeCommit":{"message":"[Infra]
Use panel filters in the condition to detemine when to use host.names…
(elastic#177164)\n\ncloses
[177162](https://github.com/elastic/kibana/issues/177162)\r\n\r\n##
Summary\r\n\r\nFixes the condition that determines when to use the host
names in the\r\ncharts' filter\r\n\r\n<img width=\"690\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/2767137/50f3eae7-2d65-4985-b2f3-f241895356a0\">\r\n\r\n\r\n###
How to test\r\n\r\n- Start local Kibana instance\r\n- Navigate to
`Infrastructure` > `Hosts`\r\n- Select a value in any custom control
that won't return any
data.","sha":"9e6db9b5bfe4f04fbc2af02320894e79ec6983d3"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177164","number":177164,"mergeCommit":{"message":"[Infra]
Use panel filters in the condition to detemine when to use host.names…
(elastic#177164)\n\ncloses
[177162](https://github.com/elastic/kibana/issues/177162)\r\n\r\n##
Summary\r\n\r\nFixes the condition that determines when to use the host
names in the\r\ncharts' filter\r\n\r\n<img width=\"690\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/2767137/50f3eae7-2d65-4985-b2f3-f241895356a0\">\r\n\r\n\r\n###
How to test\r\n\r\n- Start local Kibana instance\r\n- Navigate to
`Infrastructure` > `Hosts`\r\n- Select a value in any custom control
that won't return any
data.","sha":"9e6db9b5bfe4f04fbc2af02320894e79ec6983d3"}}]}] BACKPORT-->

Co-authored-by: Carlos Crespo <[email protected]>
# Backport

This will backport the following commits from `main` to `8.13`:
- [fix(slo): Aria labels
(elastic#177202)](elastic#177202)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Kevin
Delemme","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-19T16:51:16Z","message":"fix(slo):
Aria labels
(elastic#177202)","sha":"2e6150ccc43cbcccf9923463bb2c899e16b8fcd3","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","backport:prev-minor","Feature:SLO","Team:obs-ux-management","v8.13.0","v8.14.0"],"title":"fix(slo):
Aria
labels","number":177202,"url":"https://github.com/elastic/kibana/pull/177202","mergeCommit":{"message":"fix(slo):
Aria labels
(elastic#177202)","sha":"2e6150ccc43cbcccf9923463bb2c899e16b8fcd3"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177202","number":177202,"mergeCommit":{"message":"fix(slo):
Aria labels
(elastic#177202)","sha":"2e6150ccc43cbcccf9923463bb2c899e16b8fcd3"}}]}]
BACKPORT-->

Co-authored-by: Kevin Delemme <[email protected]>
…lastic#177171) (elastic#177224)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[ES|QL] Disable support for case insensitive quality operator
(elastic#177171)](elastic#177171)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Marco
Liberati","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-19T17:05:28Z","message":"[ES|QL]
Disable support for case insensitive quality operator (elastic#177171)\n\n##
Summary\r\n\r\nSync with
https://github.com/elastic/elasticsearch/pull/105611\r\n\r\nRemoves the
builtin operator from validation and autocomplete.\r\n\r\n<img
width=\"595\" alt=\"Screenshot 2024-02-19 at 12 04
37\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/72f0ed8c-5bc3-400d-953b-07a833a7f413\">\r\n<img
width=\"540\" alt=\"Screenshot 2024-02-19 at 12 04
25\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/5be38d83-8838-4dbe-8841-1d2d7222dc33\">\r\n\r\nTests
are currently skipped as the intention to restore it back
later\r\non.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"c1616fe394518efc5f66f0f4902c1d1c94877de8","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","backport:prev-minor","Feature:ES|QL","v8.13.0","v8.14.0"],"title":"[ES|QL]
Disable support for case insensitive quality
operator","number":177171,"url":"https://github.com/elastic/kibana/pull/177171","mergeCommit":{"message":"[ES|QL]
Disable support for case insensitive quality operator (elastic#177171)\n\n##
Summary\r\n\r\nSync with
https://github.com/elastic/elasticsearch/pull/105611\r\n\r\nRemoves the
builtin operator from validation and autocomplete.\r\n\r\n<img
width=\"595\" alt=\"Screenshot 2024-02-19 at 12 04
37\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/72f0ed8c-5bc3-400d-953b-07a833a7f413\">\r\n<img
width=\"540\" alt=\"Screenshot 2024-02-19 at 12 04
25\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/5be38d83-8838-4dbe-8841-1d2d7222dc33\">\r\n\r\nTests
are currently skipped as the intention to restore it back
later\r\non.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"c1616fe394518efc5f66f0f4902c1d1c94877de8"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177171","number":177171,"mergeCommit":{"message":"[ES|QL]
Disable support for case insensitive quality operator (elastic#177171)\n\n##
Summary\r\n\r\nSync with
https://github.com/elastic/elasticsearch/pull/105611\r\n\r\nRemoves the
builtin operator from validation and autocomplete.\r\n\r\n<img
width=\"595\" alt=\"Screenshot 2024-02-19 at 12 04
37\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/72f0ed8c-5bc3-400d-953b-07a833a7f413\">\r\n<img
width=\"540\" alt=\"Screenshot 2024-02-19 at 12 04
25\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/5be38d83-8838-4dbe-8841-1d2d7222dc33\">\r\n\r\nTests
are currently skipped as the intention to restore it back
later\r\non.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"c1616fe394518efc5f66f0f4902c1d1c94877de8"}}]}]
BACKPORT-->

Co-authored-by: Marco Liberati <[email protected]>
…77088) (elastic#177228)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Synthetics] Simplify write access default behavior
(elastic#177088)](elastic#177088)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Justin
Kambic","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-19T18:11:03Z","message":"[Synthetics]
Simplify write access default behavior (elastic#177088)\n\n##
Summary\r\n\r\nSimplifies the override functionality. Now, `writeAccess`
is the only\r\nflag controlling this. All non-GET routes are defaulted
to requiring\r\nwrite access. Also applies write access restriction to
the trigger\r\nroute, which is a GET.\r\n\r\n## Testing
instructions\r\n\r\nTest the override routes, and the default
behavior.\r\n\r\n```shell\r\n# Create a test user with user/pass:
testuser/testuser\r\n\r\n# Override: trigger route should return
403\r\ncurl -X GET
http://localhost:5601/internal/synthetics/service/monitors/trigger/{monitorId}
-u testuser:testuser \r\n\r\n# Override: enablement route should work
for read user\r\ncurl -X PUT
http://localhost:5601/internal/synthetics/service/enablement -u
testuser:testuser -H \"kbn-xsrf: true\"\r\n\r\n# Override: screenshot
blocks should work\r\ncurl -X POST
http://localhost:5601/internal/synthetics/journey/screenshot/block -u
testuser:testuser -H \"kbn-xsrf: true\"\r\n\r\n# a normal GET route
returns 200\r\ncurl -X GET
http://localhost:5601/internal/synthetics/service/monitor/{monitorId} -u
testuser:testuser \r\n\r\n# a normal non-GET route returns 403\r\ncurl
-X POST
http://localhost:5601/internal/synthetics/enable_default_alerting -u
testuser:testuser -H \"kbn-xsrf:
true\"\r\n```","sha":"b8cdae452ef9e7c83b49832b07d30f69a56b5698","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:obs-ux-infra_services","v8.13.0","v8.12.2","v8.14.0"],"title":"[Synthetics]
Simplify write access default
behavior","number":177088,"url":"https://github.com/elastic/kibana/pull/177088","mergeCommit":{"message":"[Synthetics]
Simplify write access default behavior (elastic#177088)\n\n##
Summary\r\n\r\nSimplifies the override functionality. Now, `writeAccess`
is the only\r\nflag controlling this. All non-GET routes are defaulted
to requiring\r\nwrite access. Also applies write access restriction to
the trigger\r\nroute, which is a GET.\r\n\r\n## Testing
instructions\r\n\r\nTest the override routes, and the default
behavior.\r\n\r\n```shell\r\n# Create a test user with user/pass:
testuser/testuser\r\n\r\n# Override: trigger route should return
403\r\ncurl -X GET
http://localhost:5601/internal/synthetics/service/monitors/trigger/{monitorId}
-u testuser:testuser \r\n\r\n# Override: enablement route should work
for read user\r\ncurl -X PUT
http://localhost:5601/internal/synthetics/service/enablement -u
testuser:testuser -H \"kbn-xsrf: true\"\r\n\r\n# Override: screenshot
blocks should work\r\ncurl -X POST
http://localhost:5601/internal/synthetics/journey/screenshot/block -u
testuser:testuser -H \"kbn-xsrf: true\"\r\n\r\n# a normal GET route
returns 200\r\ncurl -X GET
http://localhost:5601/internal/synthetics/service/monitor/{monitorId} -u
testuser:testuser \r\n\r\n# a normal non-GET route returns 403\r\ncurl
-X POST
http://localhost:5601/internal/synthetics/enable_default_alerting -u
testuser:testuser -H \"kbn-xsrf:
true\"\r\n```","sha":"b8cdae452ef9e7c83b49832b07d30f69a56b5698"}},"sourceBranch":"main","suggestedTargetBranches":["8.13","8.12"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.12","label":"v8.12.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177088","number":177088,"mergeCommit":{"message":"[Synthetics]
Simplify write access default behavior (elastic#177088)\n\n##
Summary\r\n\r\nSimplifies the override functionality. Now, `writeAccess`
is the only\r\nflag controlling this. All non-GET routes are defaulted
to requiring\r\nwrite access. Also applies write access restriction to
the trigger\r\nroute, which is a GET.\r\n\r\n## Testing
instructions\r\n\r\nTest the override routes, and the default
behavior.\r\n\r\n```shell\r\n# Create a test user with user/pass:
testuser/testuser\r\n\r\n# Override: trigger route should return
403\r\ncurl -X GET
http://localhost:5601/internal/synthetics/service/monitors/trigger/{monitorId}
-u testuser:testuser \r\n\r\n# Override: enablement route should work
for read user\r\ncurl -X PUT
http://localhost:5601/internal/synthetics/service/enablement -u
testuser:testuser -H \"kbn-xsrf: true\"\r\n\r\n# Override: screenshot
blocks should work\r\ncurl -X POST
http://localhost:5601/internal/synthetics/journey/screenshot/block -u
testuser:testuser -H \"kbn-xsrf: true\"\r\n\r\n# a normal GET route
returns 200\r\ncurl -X GET
http://localhost:5601/internal/synthetics/service/monitor/{monitorId} -u
testuser:testuser \r\n\r\n# a normal non-GET route returns 403\r\ncurl
-X POST
http://localhost:5601/internal/synthetics/enable_default_alerting -u
testuser:testuser -H \"kbn-xsrf:
true\"\r\n```","sha":"b8cdae452ef9e7c83b49832b07d30f69a56b5698"}}]}]
BACKPORT-->

Co-authored-by: Justin Kambic <[email protected]>
kibanamachine and others added 27 commits February 20, 2024 09:07
…lastic#177297)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[ML] AIOPs: Unskip API integrations tests.
(elastic#177188)](elastic#177188)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Walter
Rafelsberger","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-20T14:32:39Z","message":"[ML]
AIOPs: Unskip API integrations tests. (elastic#177188)\n\n##
Summary\r\n\r\nFixes elastic#176053.\r\n\r\nThe fix in elastic#176587 should stabilize
tests so this PR adjuest test data\r\nand reenables AIOps API
integration tests for log rate analysis.\r\n\r\n### Checklist\r\n\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] This was checked for breaking
API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"64f7037fb1d2ce37d5bf53f68c56ba2c0609bb6f","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","Feature:ML/AIOps","v8.13.0","v8.14.0"],"title":"[ML]
AIOPs: Unskip API integrations
tests.","number":177188,"url":"https://github.com/elastic/kibana/pull/177188","mergeCommit":{"message":"[ML]
AIOPs: Unskip API integrations tests. (elastic#177188)\n\n##
Summary\r\n\r\nFixes elastic#176053.\r\n\r\nThe fix in elastic#176587 should stabilize
tests so this PR adjuest test data\r\nand reenables AIOps API
integration tests for log rate analysis.\r\n\r\n### Checklist\r\n\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] This was checked for breaking
API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"64f7037fb1d2ce37d5bf53f68c56ba2c0609bb6f"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177188","number":177188,"mergeCommit":{"message":"[ML]
AIOPs: Unskip API integrations tests. (elastic#177188)\n\n##
Summary\r\n\r\nFixes elastic#176053.\r\n\r\nThe fix in elastic#176587 should stabilize
tests so this PR adjuest test data\r\nand reenables AIOps API
integration tests for log rate analysis.\r\n\r\n### Checklist\r\n\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] This was checked for breaking
API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"64f7037fb1d2ce37d5bf53f68c56ba2c0609bb6f"}}]}]
BACKPORT-->

Co-authored-by: Walter Rafelsberger <[email protected]>
…lastic#177077) (elastic#177291)

# Backport

This will backport the following commits from `main` to `8.13`:
- [Gracefully handle Not Found error in ruleClient.getAlertState
(elastic#177077)](elastic#177077)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Ersin
Erdal","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-20T13:47:59Z","message":"Gracefully
handle Not Found error in ruleClient.getAlertState
(elastic#177077)\n\nResolves: elastic#175617\r\n\r\n## To verify:\r\n\r\n1- replace
`rule.scheduledTaskId` with a random string
in:\r\nhttps://github.com/elastic/pull/177077/files#diff-5f4b0a0f0ee693873ec9d82c4fa713b9412dad9075bc7fc86ee7b8c9c4efe01bR32\r\n\r\n2-
create a rule \r\n\r\n3- use dev tools to get the rule state with :
`GET\r\nkbn:/internal/alerting/rule/{your-rule-id}/state`\r\n\r\nresponse
should be `204 no content` and there should be a message in
the\r\nconsole like: `Task (your-rule-id) not
found`","sha":"a8b8e2634441253c3846f018dd7ad3a9cbd428e5","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:ResponseOps","v8.13.0","v8.14.0"],"title":"Gracefully
handle Not Found error in
ruleClient.getAlertState","number":177077,"url":"https://github.com/elastic/kibana/pull/177077","mergeCommit":{"message":"Gracefully
handle Not Found error in ruleClient.getAlertState
(elastic#177077)\n\nResolves: elastic#175617\r\n\r\n## To verify:\r\n\r\n1- replace
`rule.scheduledTaskId` with a random string
in:\r\nhttps://github.com/elastic/pull/177077/files#diff-5f4b0a0f0ee693873ec9d82c4fa713b9412dad9075bc7fc86ee7b8c9c4efe01bR32\r\n\r\n2-
create a rule \r\n\r\n3- use dev tools to get the rule state with :
`GET\r\nkbn:/internal/alerting/rule/{your-rule-id}/state`\r\n\r\nresponse
should be `204 no content` and there should be a message in
the\r\nconsole like: `Task (your-rule-id) not
found`","sha":"a8b8e2634441253c3846f018dd7ad3a9cbd428e5"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177077","number":177077,"mergeCommit":{"message":"Gracefully
handle Not Found error in ruleClient.getAlertState
(elastic#177077)\n\nResolves: elastic#175617\r\n\r\n## To verify:\r\n\r\n1- replace
`rule.scheduledTaskId` with a random string
in:\r\nhttps://github.com/elastic/pull/177077/files#diff-5f4b0a0f0ee693873ec9d82c4fa713b9412dad9075bc7fc86ee7b8c9c4efe01bR32\r\n\r\n2-
create a rule \r\n\r\n3- use dev tools to get the rule state with :
`GET\r\nkbn:/internal/alerting/rule/{your-rule-id}/state`\r\n\r\nresponse
should be `204 no content` and there should be a message in
the\r\nconsole like: `Task (your-rule-id) not
found`","sha":"a8b8e2634441253c3846f018dd7ad3a9cbd428e5"}}]}]
BACKPORT-->

Co-authored-by: Ersin Erdal <[email protected]>
…ase (elastic#177131) (elastic#177311)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Cases] Unskip test in integration tests regarding pushing a case
(elastic#177131)](elastic#177131)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Christos
Nasikas","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-20T15:48:51Z","message":"[Cases]
Unskip test in integration tests regarding pushing a case
(elastic#177131)\n\n## Summary\r\n\r\nBases on
the\r\n[logs](https://buildkiteartifacts.com/e0f3970e-3a75-4621-919f-e6c773e2bb12/b1106efc-ba5e-4e90-a857-11c4a899c05d/018cf7a4-6307-414b-9552-0476bd188381/018cf7a6-776a-4846-92ff-b05ed920fef2/target/test_failures/018cf7a6-776a-4846-92ff-b05ed920fef2_921e941dcaa7d5844c2e3b0196ff3d71.html?response-content-type=text%2Fhtml&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAQPCP3C7L7LHPUR7Q%2F20240217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240217T082218Z&X-Amz-Expires=600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEPb%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJGMEQCIBpZ6wCPeV691YQ5nvmDi4%2Fs4FeKTnwaoq4hJZ95Cw3qAiAK%2FhzriApgWSsQfiIYYY7aDNUY%2FHogqiuHpqPsBb4KKir6AwjP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F8BEAAaDDAzMjM3OTcwNTMwMyIMD4oEB4PogaTBmCk%2FKs4DdD8GwoYLcC%2BNZUW5E79b2Mvkog3aUSccotFq5kkHYeA27OxQJm6Gi8MbLZ8bQrGXgEdjfJYNJnh2FbqVY8nCQ3q%2BEWKoqvrYUaZeBnijb15bshokZEdchZDbedsSE6OUSXxGrGrWdflQQdixZQg2W%2F1ZsPpOa2fd%2BG42rArVISIdmecOeQViFQShH2g1pEEYZRnJl1PN0GbOfZ7TXTFkNekyuDsJL5Rkfmclw1Iq8jhSrBxCJUxjMa96YVjQtAnrDqR9Ohy50a5gw4rRz1v%2F%2Bi9q37l2jHtJ6b1ss4%2FLBdJ5YkJUKLvlt%2FvHThfel%2F4RJXylTphTGAnN7a2yBUIm1RC5Tb04JeBbG4CM88igVqm6dq3HpHpBlP9Vu8zxeJrpLGxlIZcVDU17I1saCw4w6pMYa4%2BZcI1NlNzgG0ranJei9F%2BKwmVXUOeXV%2FOMpaLJXWsi2l0jFnymsWfg%2BHfp90d3SQaTHbqtl15OD8f5O3PQ5zFjZwJ%2BWH0Zp2Oo8qBjw1VAB1zuy0wDKMQ1rYIrBTiE8CI41JwGkA%2BGv9Ig839nj4MgBEpJl5i65bDCjN11uo2J%2Bahgj2pniFBZfS3YKD6TbHLSPOn3GfQ4usGPMJSHwa4GOqYBKDMjdsbLWw7Gj%2BwA%2BT5f2EOknEFcn6EUr8zp9o8%2BopwCD5TlTmQiO70I2Tk9I%2FVogzThUx%2BD5bA3k3tpikLa1MZdMl0yIhbGoh9CVnuMg%2Fd4ygof0XWyLA0lMmuCBrCqyz83DBILLtEZh8YgmZs3EpNYyJ9GaZA%2FEo%2Fw8n7tPuVn6UU8jgGRK%2BPr6weTxq0nxDAYIbByUrek9tEOe1GuU%2BQ%2F2huzGQ%3D%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=4b27e3b265398f2c8df0231727354c3b6d2c16d761217a46c6e41b736a279b24)\r\nit
is apparent that a) the error is an `424 \"Failed Dependency\"` and
not\r\nan `403` as the issue indicates and b) there some issues with
sockets\r\nhangouts. I am unskipping the test as these errors do not
seem to be\r\ncases related.\r\n\r\nFixes
https://github.com/elastic/kibana/issues/157588\r\nFlaky test
runner:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5213\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n\r\n### For maintainers\r\n\r\n- [x]
This was checked for breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\nCo-authored-by:
Kibana Machine
<[email protected]>","sha":"d11b626ecc1842b2882f2604d5333b840101a319","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","Feature:Cases","v8.13.0","v8.14.0"],"title":"[Cases]
Unskip test in integration tests regarding pushing a
case","number":177131,"url":"https://github.com/elastic/kibana/pull/177131","mergeCommit":{"message":"[Cases]
Unskip test in integration tests regarding pushing a case
(elastic#177131)\n\n## Summary\r\n\r\nBases on
the\r\n[logs](https://buildkiteartifacts.com/e0f3970e-3a75-4621-919f-e6c773e2bb12/b1106efc-ba5e-4e90-a857-11c4a899c05d/018cf7a4-6307-414b-9552-0476bd188381/018cf7a6-776a-4846-92ff-b05ed920fef2/target/test_failures/018cf7a6-776a-4846-92ff-b05ed920fef2_921e941dcaa7d5844c2e3b0196ff3d71.html?response-content-type=text%2Fhtml&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAQPCP3C7L7LHPUR7Q%2F20240217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240217T082218Z&X-Amz-Expires=600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEPb%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJGMEQCIBpZ6wCPeV691YQ5nvmDi4%2Fs4FeKTnwaoq4hJZ95Cw3qAiAK%2FhzriApgWSsQfiIYYY7aDNUY%2FHogqiuHpqPsBb4KKir6AwjP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F8BEAAaDDAzMjM3OTcwNTMwMyIMD4oEB4PogaTBmCk%2FKs4DdD8GwoYLcC%2BNZUW5E79b2Mvkog3aUSccotFq5kkHYeA27OxQJm6Gi8MbLZ8bQrGXgEdjfJYNJnh2FbqVY8nCQ3q%2BEWKoqvrYUaZeBnijb15bshokZEdchZDbedsSE6OUSXxGrGrWdflQQdixZQg2W%2F1ZsPpOa2fd%2BG42rArVISIdmecOeQViFQShH2g1pEEYZRnJl1PN0GbOfZ7TXTFkNekyuDsJL5Rkfmclw1Iq8jhSrBxCJUxjMa96YVjQtAnrDqR9Ohy50a5gw4rRz1v%2F%2Bi9q37l2jHtJ6b1ss4%2FLBdJ5YkJUKLvlt%2FvHThfel%2F4RJXylTphTGAnN7a2yBUIm1RC5Tb04JeBbG4CM88igVqm6dq3HpHpBlP9Vu8zxeJrpLGxlIZcVDU17I1saCw4w6pMYa4%2BZcI1NlNzgG0ranJei9F%2BKwmVXUOeXV%2FOMpaLJXWsi2l0jFnymsWfg%2BHfp90d3SQaTHbqtl15OD8f5O3PQ5zFjZwJ%2BWH0Zp2Oo8qBjw1VAB1zuy0wDKMQ1rYIrBTiE8CI41JwGkA%2BGv9Ig839nj4MgBEpJl5i65bDCjN11uo2J%2Bahgj2pniFBZfS3YKD6TbHLSPOn3GfQ4usGPMJSHwa4GOqYBKDMjdsbLWw7Gj%2BwA%2BT5f2EOknEFcn6EUr8zp9o8%2BopwCD5TlTmQiO70I2Tk9I%2FVogzThUx%2BD5bA3k3tpikLa1MZdMl0yIhbGoh9CVnuMg%2Fd4ygof0XWyLA0lMmuCBrCqyz83DBILLtEZh8YgmZs3EpNYyJ9GaZA%2FEo%2Fw8n7tPuVn6UU8jgGRK%2BPr6weTxq0nxDAYIbByUrek9tEOe1GuU%2BQ%2F2huzGQ%3D%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=4b27e3b265398f2c8df0231727354c3b6d2c16d761217a46c6e41b736a279b24)\r\nit
is apparent that a) the error is an `424 \"Failed Dependency\"` and
not\r\nan `403` as the issue indicates and b) there some issues with
sockets\r\nhangouts. I am unskipping the test as these errors do not
seem to be\r\ncases related.\r\n\r\nFixes
https://github.com/elastic/kibana/issues/157588\r\nFlaky test
runner:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5213\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n\r\n### For maintainers\r\n\r\n- [x]
This was checked for breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\nCo-authored-by:
Kibana Machine
<[email protected]>","sha":"d11b626ecc1842b2882f2604d5333b840101a319"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177131","number":177131,"mergeCommit":{"message":"[Cases]
Unskip test in integration tests regarding pushing a case
(elastic#177131)\n\n## Summary\r\n\r\nBases on
the\r\n[logs](https://buildkiteartifacts.com/e0f3970e-3a75-4621-919f-e6c773e2bb12/b1106efc-ba5e-4e90-a857-11c4a899c05d/018cf7a4-6307-414b-9552-0476bd188381/018cf7a6-776a-4846-92ff-b05ed920fef2/target/test_failures/018cf7a6-776a-4846-92ff-b05ed920fef2_921e941dcaa7d5844c2e3b0196ff3d71.html?response-content-type=text%2Fhtml&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAQPCP3C7L7LHPUR7Q%2F20240217%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240217T082218Z&X-Amz-Expires=600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEPb%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJGMEQCIBpZ6wCPeV691YQ5nvmDi4%2Fs4FeKTnwaoq4hJZ95Cw3qAiAK%2FhzriApgWSsQfiIYYY7aDNUY%2FHogqiuHpqPsBb4KKir6AwjP%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F8BEAAaDDAzMjM3OTcwNTMwMyIMD4oEB4PogaTBmCk%2FKs4DdD8GwoYLcC%2BNZUW5E79b2Mvkog3aUSccotFq5kkHYeA27OxQJm6Gi8MbLZ8bQrGXgEdjfJYNJnh2FbqVY8nCQ3q%2BEWKoqvrYUaZeBnijb15bshokZEdchZDbedsSE6OUSXxGrGrWdflQQdixZQg2W%2F1ZsPpOa2fd%2BG42rArVISIdmecOeQViFQShH2g1pEEYZRnJl1PN0GbOfZ7TXTFkNekyuDsJL5Rkfmclw1Iq8jhSrBxCJUxjMa96YVjQtAnrDqR9Ohy50a5gw4rRz1v%2F%2Bi9q37l2jHtJ6b1ss4%2FLBdJ5YkJUKLvlt%2FvHThfel%2F4RJXylTphTGAnN7a2yBUIm1RC5Tb04JeBbG4CM88igVqm6dq3HpHpBlP9Vu8zxeJrpLGxlIZcVDU17I1saCw4w6pMYa4%2BZcI1NlNzgG0ranJei9F%2BKwmVXUOeXV%2FOMpaLJXWsi2l0jFnymsWfg%2BHfp90d3SQaTHbqtl15OD8f5O3PQ5zFjZwJ%2BWH0Zp2Oo8qBjw1VAB1zuy0wDKMQ1rYIrBTiE8CI41JwGkA%2BGv9Ig839nj4MgBEpJl5i65bDCjN11uo2J%2Bahgj2pniFBZfS3YKD6TbHLSPOn3GfQ4usGPMJSHwa4GOqYBKDMjdsbLWw7Gj%2BwA%2BT5f2EOknEFcn6EUr8zp9o8%2BopwCD5TlTmQiO70I2Tk9I%2FVogzThUx%2BD5bA3k3tpikLa1MZdMl0yIhbGoh9CVnuMg%2Fd4ygof0XWyLA0lMmuCBrCqyz83DBILLtEZh8YgmZs3EpNYyJ9GaZA%2FEo%2Fw8n7tPuVn6UU8jgGRK%2BPr6weTxq0nxDAYIbByUrek9tEOe1GuU%2BQ%2F2huzGQ%3D%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=4b27e3b265398f2c8df0231727354c3b6d2c16d761217a46c6e41b736a279b24)\r\nit
is apparent that a) the error is an `424 \"Failed Dependency\"` and
not\r\nan `403` as the issue indicates and b) there some issues with
sockets\r\nhangouts. I am unskipping the test as these errors do not
seem to be\r\ncases related.\r\n\r\nFixes
https://github.com/elastic/kibana/issues/157588\r\nFlaky test
runner:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5213\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n\r\n### For maintainers\r\n\r\n- [x]
This was checked for breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\nCo-authored-by:
Kibana Machine
<[email protected]>","sha":"d11b626ecc1842b2882f2604d5333b840101a319"}}]}]
BACKPORT-->

Co-authored-by: Christos Nasikas <[email protected]>
…ic#177318)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Search] Fix Salesforce domain tooltip
(elastic#177303)](elastic#177303)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Sander
Philipse","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-20T16:21:31Z","message":"[Search]
Fix Salesforce domain tooltip (elastic#177303)\n\n## Summary\r\n\r\nFixes a
tooltip for Salesforce
connectors.","sha":"c599a66c061e1eeb45107eb38bb13d831c147f8e","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.13.0","v8.14.0"],"title":"[Search]
Fix Salesforce domain
tooltip","number":177303,"url":"https://github.com/elastic/kibana/pull/177303","mergeCommit":{"message":"[Search]
Fix Salesforce domain tooltip (elastic#177303)\n\n## Summary\r\n\r\nFixes a
tooltip for Salesforce
connectors.","sha":"c599a66c061e1eeb45107eb38bb13d831c147f8e"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177303","number":177303,"mergeCommit":{"message":"[Search]
Fix Salesforce domain tooltip (elastic#177303)\n\n## Summary\r\n\r\nFixes a
tooltip for Salesforce
connectors.","sha":"c599a66c061e1eeb45107eb38bb13d831c147f8e"}}]}]
BACKPORT-->

Co-authored-by: Sander Philipse <[email protected]>
…77317)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[ML] Jobs with time range api test
(elastic#177052)](elastic#177052)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"James
Gowdy","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-20T16:08:27Z","message":"[ML]
Jobs with time range api test (elastic#177052)\n\nAdds api tests also updates
the api schema to remove the unused\r\n`dateFormatTz`
parameter.\r\n`dateFormatTz` has never been used, but it was missed as
the code was\r\noriginally written in
js.","sha":"84a7ec0540399b167ddf56e4cad63a6426b2356a","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","Feature:Anomaly
Detection","release_note:skip","v8.13.0","v8.14.0"],"title":"[ML] Jobs
with time range api
test","number":177052,"url":"https://github.com/elastic/kibana/pull/177052","mergeCommit":{"message":"[ML]
Jobs with time range api test (elastic#177052)\n\nAdds api tests also updates
the api schema to remove the unused\r\n`dateFormatTz`
parameter.\r\n`dateFormatTz` has never been used, but it was missed as
the code was\r\noriginally written in
js.","sha":"84a7ec0540399b167ddf56e4cad63a6426b2356a"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177052","number":177052,"mergeCommit":{"message":"[ML]
Jobs with time range api test (elastic#177052)\n\nAdds api tests also updates
the api schema to remove the unused\r\n`dateFormatTz`
parameter.\r\n`dateFormatTz` has never been used, but it was missed as
the code was\r\noriginally written in
js.","sha":"84a7ec0540399b167ddf56e4cad63a6426b2356a"}}]}] BACKPORT-->

Co-authored-by: James Gowdy <[email protected]>
# Backport

This will backport the following commits from `main` to `8.13`:
- [fix(slo): embedded SLO selector
(elastic#177301)](elastic#177301)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Kevin
Delemme","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-20T16:59:42Z","message":"fix(slo):
embedded SLO selector
(elastic#177301)","sha":"f6774d7f6be107aba6cf4e78195c107e895100fd","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","backport:prev-minor","Feature:SLO","Team:obs-ux-management","v8.13.0","v8.14.0"],"title":"fix(slo):
embedded SLO
selector","number":177301,"url":"https://github.com/elastic/kibana/pull/177301","mergeCommit":{"message":"fix(slo):
embedded SLO selector
(elastic#177301)","sha":"f6774d7f6be107aba6cf4e78195c107e895100fd"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177301","number":177301,"mergeCommit":{"message":"fix(slo):
embedded SLO selector
(elastic#177301)","sha":"f6774d7f6be107aba6cf4e78195c107e895100fd"}}]}]
BACKPORT-->

Co-authored-by: Kevin Delemme <[email protected]>
…#177360)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[DOCS] Adds the 8.12.2 release notes
(elastic#177335)](elastic#177335)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"amyjtechwriter","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-20T18:47:11Z","message":"[DOCS]
Adds the 8.12.2 release notes (elastic#177335)\n\nAdds the 8.12.2 release
notes","sha":"656a0350a321fbff93295a62c483aa1a7e4cd755","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","docs","v8.13.0","v8.12.2","v8.14.0"],"title":"[DOCS]
Adds the 8.12.2 release
notes","number":177335,"url":"https://github.com/elastic/kibana/pull/177335","mergeCommit":{"message":"[DOCS]
Adds the 8.12.2 release notes (elastic#177335)\n\nAdds the 8.12.2 release
notes","sha":"656a0350a321fbff93295a62c483aa1a7e4cd755"}},"sourceBranch":"main","suggestedTargetBranches":["8.13","8.12"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.12","label":"v8.12.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177335","number":177335,"mergeCommit":{"message":"[DOCS]
Adds the 8.12.2 release notes (elastic#177335)\n\nAdds the 8.12.2 release
notes","sha":"656a0350a321fbff93295a62c483aa1a7e4cd755"}}]}] BACKPORT-->

Co-authored-by: amyjtechwriter <[email protected]>
…ns (elastic#177114) (elastic#177330)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Unified Histogram] Fix toolbar button overflow on small screens
(elastic#177114)](elastic#177114)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Davis
McPhee","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-20T17:21:20Z","message":"[Unified
Histogram] Fix toolbar button overflow on small screens (elastic#177114)\n\n##
Summary\r\n\r\nThis PR fixes an issue where the Unified Histogram
toolbar buttons can\r\noverflow on small screens.\r\n\r\nBefore:\r\n<img
width=\"423\"
alt=\"overflow\"\r\nsrc=\"https://github.com/elastic/kibana/assets/25592674/ce89d219-ea06-4486-88eb-3b502f661b41\">\r\n\r\nAfter:\r\n<img
width=\"423\"
alt=\"no_overflow\"\r\nsrc=\"https://github.com/elastic/kibana/assets/25592674/b576fe17-9cee-4f5c-9750-4d1073a0e8ce\">\r\n\r\n###
Checklist\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"d682555823bb90b2d91795621221e22d9dc91615","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:DataDiscovery","Feature:UnifiedHistogram","v8.13.0","v8.14.0"],"title":"[Unified
Histogram] Fix toolbar button overflow on small
screens","number":177114,"url":"https://github.com/elastic/kibana/pull/177114","mergeCommit":{"message":"[Unified
Histogram] Fix toolbar button overflow on small screens (elastic#177114)\n\n##
Summary\r\n\r\nThis PR fixes an issue where the Unified Histogram
toolbar buttons can\r\noverflow on small screens.\r\n\r\nBefore:\r\n<img
width=\"423\"
alt=\"overflow\"\r\nsrc=\"https://github.com/elastic/kibana/assets/25592674/ce89d219-ea06-4486-88eb-3b502f661b41\">\r\n\r\nAfter:\r\n<img
width=\"423\"
alt=\"no_overflow\"\r\nsrc=\"https://github.com/elastic/kibana/assets/25592674/b576fe17-9cee-4f5c-9750-4d1073a0e8ce\">\r\n\r\n###
Checklist\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"d682555823bb90b2d91795621221e22d9dc91615"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177114","number":177114,"mergeCommit":{"message":"[Unified
Histogram] Fix toolbar button overflow on small screens (elastic#177114)\n\n##
Summary\r\n\r\nThis PR fixes an issue where the Unified Histogram
toolbar buttons can\r\noverflow on small screens.\r\n\r\nBefore:\r\n<img
width=\"423\"
alt=\"overflow\"\r\nsrc=\"https://github.com/elastic/kibana/assets/25592674/ce89d219-ea06-4486-88eb-3b502f661b41\">\r\n\r\nAfter:\r\n<img
width=\"423\"
alt=\"no_overflow\"\r\nsrc=\"https://github.com/elastic/kibana/assets/25592674/b576fe17-9cee-4f5c-9750-4d1073a0e8ce\">\r\n\r\n###
Checklist\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"d682555823bb90b2d91795621221e22d9dc91615"}}]}]
BACKPORT-->

Co-authored-by: Davis McPhee <[email protected]>
…ld change (elastic#176833) (elastic#177143)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Fleet] Fix output encryption when AAD fields or encrypted field
change (elastic#176833)](elastic#176833)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Nicolas
Chaulet","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-18T23:34:11Z","message":"[Fleet]
Fix output encryption when AAD fields or encrypted field change
(elastic#176833)","sha":"db57003d789774ee3b6645d4b76bf1db34ee0366","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Fleet","backport:prev-minor","v8.14.0"],"title":"[Fleet]
Fix output encryption when AAD fields or encrypted field
change","number":176833,"url":"https://github.com/elastic/kibana/pull/176833","mergeCommit":{"message":"[Fleet]
Fix output encryption when AAD fields or encrypted field change
(elastic#176833)","sha":"db57003d789774ee3b6645d4b76bf1db34ee0366"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176833","number":176833,"mergeCommit":{"message":"[Fleet]
Fix output encryption when AAD fields or encrypted field change
(elastic#176833)","sha":"db57003d789774ee3b6645d4b76bf1db34ee0366"}}]}]
BACKPORT-->

Co-authored-by: Nicolas Chaulet <[email protected]>
…76879) (elastic#177207)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Fleet] Remove conditional topics for kafka outputs
(elastic#176879)](elastic#176879)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Nicolas
Chaulet","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-19T15:01:14Z","message":"[Fleet]
Remove conditional topics for kafka outputs
(elastic#176879)","sha":"b0904d601560a04696db77b823b16b3b5270497b","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:breaking","Team:Fleet","backport:prev-minor","v8.14.0"],"title":"[Fleet]
Remove conditional topics for kafka
outputs","number":176879,"url":"https://github.com/elastic/kibana/pull/176879","mergeCommit":{"message":"[Fleet]
Remove conditional topics for kafka outputs
(elastic#176879)","sha":"b0904d601560a04696db77b823b16b3b5270497b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176879","number":176879,"mergeCommit":{"message":"[Fleet]
Remove conditional topics for kafka outputs
(elastic#176879)","sha":"b0904d601560a04696db77b823b16b3b5270497b"}}]}]
BACKPORT-->

Co-authored-by: Nicolas Chaulet <[email protected]>
…tic#177295) (elastic#177367)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Infra] Fixing Derivative aggregation on kubernetes pods
(elastic#177295)](elastic#177295)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Cauê
Marcondes","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-20T19:05:23Z","message":"[Infra]
Fixing Derivative aggregation on kubernetes pods (elastic#177295)\n\ncloses
https://github.com/elastic/kibana/issues/177294\r\n\r\n<img
width=\"398\" alt=\"Screenshot 2024-02-20 at 14 00
41\"\r\nsrc=\"https://github.com/elastic/kibana/assets/55978943/5a7851b2-79ef-45c3-8e67-2610012a3d06\">\r\n\r\nHow
to test:\r\n- Open Inventory page\r\n- Filter by Kubernetes pods\r\n-
Hover over any
pod","sha":"4bf3e772388cf2d93e9441f0082aa634425bc1d9","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v8.12.0","v8.13.0","v8.14.0"],"title":"[Infra]
Fixing Derivative aggregation on kubernetes
pods","number":177295,"url":"https://github.com/elastic/kibana/pull/177295","mergeCommit":{"message":"[Infra]
Fixing Derivative aggregation on kubernetes pods (elastic#177295)\n\ncloses
https://github.com/elastic/kibana/issues/177294\r\n\r\n<img
width=\"398\" alt=\"Screenshot 2024-02-20 at 14 00
41\"\r\nsrc=\"https://github.com/elastic/kibana/assets/55978943/5a7851b2-79ef-45c3-8e67-2610012a3d06\">\r\n\r\nHow
to test:\r\n- Open Inventory page\r\n- Filter by Kubernetes pods\r\n-
Hover over any
pod","sha":"4bf3e772388cf2d93e9441f0082aa634425bc1d9"}},"sourceBranch":"main","suggestedTargetBranches":["8.12","8.13"],"targetPullRequestStates":[{"branch":"8.12","label":"v8.12.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177295","number":177295,"mergeCommit":{"message":"[Infra]
Fixing Derivative aggregation on kubernetes pods (elastic#177295)\n\ncloses
https://github.com/elastic/kibana/issues/177294\r\n\r\n<img
width=\"398\" alt=\"Screenshot 2024-02-20 at 14 00
41\"\r\nsrc=\"https://github.com/elastic/kibana/assets/55978943/5a7851b2-79ef-45c3-8e67-2610012a3d06\">\r\n\r\nHow
to test:\r\n- Open Inventory page\r\n- Filter by Kubernetes pods\r\n-
Hover over any
pod","sha":"4bf3e772388cf2d93e9441f0082aa634425bc1d9"}}]}] BACKPORT-->

Co-authored-by: Cauê Marcondes <[email protected]>
…lastic#177093) (elastic#177369)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Synthetics] Change test now trigger route from GET to POST
(elastic#177093)](elastic#177093)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Justin
Kambic","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-20T19:50:31Z","message":"[Synthetics]
Change test now trigger route from GET to POST (elastic#177093)\n\n##
Summary\r\n\r\nThis route should not be a `GET`. The processing
initiated from this\r\nroute causes persisted data and resource usage,
not mere data retrieval.\r\n\r\n## Testing\r\n\r\n```bash\r\n# on
`main`, this is the route\r\ncurl -X GET
http://localhost:5601/internal/synthetics/service/monitors/trigger/{monitorId}
-u {user}:{pass} \r\n\r\n# on this branch, the route above returns a 404
and you must request like:\r\ncurl -X POST
http://localhost:5601/internal/synthetics/service/monitors/trigger/{monitorId}
-u {user}:{pass} -H \"kbn-xsrf:
true\"\r\n```","sha":"d37909ca07cd2a8e17deaaceda825993ba8884c6","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:obs-ux-infra_services","v8.13.0","v8.14.0"],"title":"[Synthetics]
Change test now trigger route from GET to
POST","number":177093,"url":"https://github.com/elastic/kibana/pull/177093","mergeCommit":{"message":"[Synthetics]
Change test now trigger route from GET to POST (elastic#177093)\n\n##
Summary\r\n\r\nThis route should not be a `GET`. The processing
initiated from this\r\nroute causes persisted data and resource usage,
not mere data retrieval.\r\n\r\n## Testing\r\n\r\n```bash\r\n# on
`main`, this is the route\r\ncurl -X GET
http://localhost:5601/internal/synthetics/service/monitors/trigger/{monitorId}
-u {user}:{pass} \r\n\r\n# on this branch, the route above returns a 404
and you must request like:\r\ncurl -X POST
http://localhost:5601/internal/synthetics/service/monitors/trigger/{monitorId}
-u {user}:{pass} -H \"kbn-xsrf:
true\"\r\n```","sha":"d37909ca07cd2a8e17deaaceda825993ba8884c6"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177093","number":177093,"mergeCommit":{"message":"[Synthetics]
Change test now trigger route from GET to POST (elastic#177093)\n\n##
Summary\r\n\r\nThis route should not be a `GET`. The processing
initiated from this\r\nroute causes persisted data and resource usage,
not mere data retrieval.\r\n\r\n## Testing\r\n\r\n```bash\r\n# on
`main`, this is the route\r\ncurl -X GET
http://localhost:5601/internal/synthetics/service/monitors/trigger/{monitorId}
-u {user}:{pass} \r\n\r\n# on this branch, the route above returns a 404
and you must request like:\r\ncurl -X POST
http://localhost:5601/internal/synthetics/service/monitors/trigger/{monitorId}
-u {user}:{pass} -H \"kbn-xsrf:
true\"\r\n```","sha":"d37909ca07cd2a8e17deaaceda825993ba8884c6"}}]}]
BACKPORT-->

Co-authored-by: Justin Kambic <[email protected]>
# Backport

This will backport the following commits from `main` to `8.13`:
- [Upgrade Node.js to 20.11.1
(elastic#177042)](elastic#177042)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"Jon","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-20T20:01:23Z","message":"Upgrade
Node.js to 20.11.1
(elastic#177042)","sha":"37ae67a0a09878e9fa6c0a46f1455173d3a3401c","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:prev-minor","v8.14.0"],"title":"Upgrade
Node.js to
20.11.1","number":177042,"url":"https://github.com/elastic/kibana/pull/177042","mergeCommit":{"message":"Upgrade
Node.js to 20.11.1
(elastic#177042)","sha":"37ae67a0a09878e9fa6c0a46f1455173d3a3401c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177042","number":177042,"mergeCommit":{"message":"Upgrade
Node.js to 20.11.1
(elastic#177042)","sha":"37ae67a0a09878e9fa6c0a46f1455173d3a3401c"}}]}]
BACKPORT-->

Co-authored-by: Jon <[email protected]>
…rning even after transform assets were authorized successfully (elastic#176647) (elastic#177237)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Fleet] Fix package showing &#x27;Needs authorization&#x27; warning
even after transform assets were authorized successfully
(elastic#176647)](elastic#176647)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Quynh Nguyen
(Quinn)","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-19T19:12:17Z","message":"[Fleet]
Fix package showing 'Needs authorization' warning even after transform
assets were authorized successfully
(elastic#176647)","sha":"4e10d1c70b30cf1c6d8eec8a87a9badc6ad422cb","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix",":ml","Feature:Transforms","Team:Fleet","v8.13.0","v8.12.2","v8.14.0"],"title":"[Fleet]
Fix package showing 'Needs authorization' warning even after transform
assets were authorized
successfully","number":176647,"url":"https://github.com/elastic/kibana/pull/176647","mergeCommit":{"message":"[Fleet]
Fix package showing 'Needs authorization' warning even after transform
assets were authorized successfully
(elastic#176647)","sha":"4e10d1c70b30cf1c6d8eec8a87a9badc6ad422cb"}},"sourceBranch":"main","suggestedTargetBranches":["8.13","8.12"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.12","label":"v8.12.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176647","number":176647,"mergeCommit":{"message":"[Fleet]
Fix package showing 'Needs authorization' warning even after transform
assets were authorized successfully
(elastic#176647)","sha":"4e10d1c70b30cf1c6d8eec8a87a9badc6ad422cb"}}]}]
BACKPORT-->

Co-authored-by: Quynh Nguyen (Quinn) <[email protected]>
elastic#177293) (elastic#177331)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Logs Explorer] Fix undefined issue cased due row check missing
(elastic#177293)](elastic#177293)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Achyut
Jhunjhunwala","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-20T16:18:37Z","message":"[Logs
Explorer] Fix undefined issue cased due row check missing
(elastic#177293)\n\n## Summary\r\n\r\nThis PR fixes issue where when applying
filter on Resource Virtual\r\ncolumn after resizing of the column,
causes the row property to be\r\nundefined in between
renders","sha":"c2c07a8498f47aeec965afdb5e0b03b9ea393223","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:obs-ux-logs","v8.13.0","v8.14.0"],"number":177293,"url":"https://github.com/elastic/kibana/pull/177293","mergeCommit":{"message":"[Logs
Explorer] Fix undefined issue cased due row check missing
(elastic#177293)\n\n## Summary\r\n\r\nThis PR fixes issue where when applying
filter on Resource Virtual\r\ncolumn after resizing of the column,
causes the row property to be\r\nundefined in between
renders","sha":"c2c07a8498f47aeec965afdb5e0b03b9ea393223"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","labelRegex":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177293","number":177293,"mergeCommit":{"message":"[Logs
Explorer] Fix undefined issue cased due row check missing
(elastic#177293)\n\n## Summary\r\n\r\nThis PR fixes issue where when applying
filter on Resource Virtual\r\ncolumn after resizing of the column,
causes the row property to be\r\nundefined in between
renders","sha":"c2c07a8498f47aeec965afdb5e0b03b9ea393223"}}]}]
BACKPORT-->
…gent policy (elastic#177229) (elastic#177377)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Fleet] Replace topics key by topic for kafka output in full agent
policy (elastic#177229)](elastic#177229)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Nicolas
Chaulet","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-20T15:15:00Z","message":"[Fleet]
Replace topics key by topic for kafka output in full agent policy
(elastic#177229)","sha":"c4ffedb063d84910c0e008cd7870db560b27fe7a","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","backport:prev-minor","v8.14.0"],"number":177229,"url":"https://github.com/elastic/kibana/pull/177229","mergeCommit":{"message":"[Fleet]
Replace topics key by topic for kafka output in full agent policy
(elastic#177229)","sha":"c4ffedb063d84910c0e008cd7870db560b27fe7a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","labelRegex":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177229","number":177229,"mergeCommit":{"message":"[Fleet]
Replace topics key by topic for kafka output in full agent policy
(elastic#177229)","sha":"c4ffedb063d84910c0e008cd7870db560b27fe7a"}}]}]
BACKPORT-->
# Backport

This will backport the following commits from `main` to `8.13`:
- [[Fleet] fix tags filter
(elastic#177268)](elastic#177268)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Julia
Bardi","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-20T13:21:50Z","message":"[Fleet]
fix tags filter (elastic#177268)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/176560\r\n\r\nFixed a bug with
Tags filter on Agent List UI, where removing a tag\r\nfilter incorrectly
triggered removing all tag filters.\r\nThis was only reproducible on
cloud.\r\nThe screen recording was captured in a cloud pr
deployment\r\n([here](https://github.com/elastic/kibana/pull/177195))\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/90178898/6ae713bb-b725-41a7-8a1a-b958ae50811b\r\n\r\n\r\n\r\nAdded
`release_note:skip` because the bug was introduced in 8.13.0 with\r\nthe
refactoring of the filter to use `EuiSelectable`.\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"48e99e4dfcafe01af54428a0c5881dfe710309f5","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","backport:prev-minor","v8.14.0"],"title":"[Fleet]
fix tags
filter","number":177268,"url":"https://github.com/elastic/kibana/pull/177268","mergeCommit":{"message":"[Fleet]
fix tags filter (elastic#177268)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/176560\r\n\r\nFixed a bug with
Tags filter on Agent List UI, where removing a tag\r\nfilter incorrectly
triggered removing all tag filters.\r\nThis was only reproducible on
cloud.\r\nThe screen recording was captured in a cloud pr
deployment\r\n([here](https://github.com/elastic/kibana/pull/177195))\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/90178898/6ae713bb-b725-41a7-8a1a-b958ae50811b\r\n\r\n\r\n\r\nAdded
`release_note:skip` because the bug was introduced in 8.13.0 with\r\nthe
refactoring of the filter to use `EuiSelectable`.\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"48e99e4dfcafe01af54428a0c5881dfe710309f5"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177268","number":177268,"mergeCommit":{"message":"[Fleet]
fix tags filter (elastic#177268)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/176560\r\n\r\nFixed a bug with
Tags filter on Agent List UI, where removing a tag\r\nfilter incorrectly
triggered removing all tag filters.\r\nThis was only reproducible on
cloud.\r\nThe screen recording was captured in a cloud pr
deployment\r\n([here](https://github.com/elastic/kibana/pull/177195))\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/90178898/6ae713bb-b725-41a7-8a1a-b958ae50811b\r\n\r\n\r\n\r\nAdded
`release_note:skip` because the bug was introduced in 8.13.0 with\r\nthe
refactoring of the filter to use `EuiSelectable`.\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"48e99e4dfcafe01af54428a0c5881dfe710309f5"}}]}]
BACKPORT-->

Co-authored-by: Julia Bardi <[email protected]>
… (elastic#177161)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Fleet] Fix inactive popover tour not resetting
(elastic#176929)](elastic#176929)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Cristina
Amico","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-19T10:25:20Z","message":"[Fleet]
Fix inactive popover tour not resetting (elastic#176929)\n\nFixes
https://github.com/elastic/kibana/issues/176124\r\n\r\n## Summary\r\nThe
[inactive
popover](https://github.com/elastic/kibana/pull/149226)\r\nthat appears
the first time after agents become inactive was broken\r\n(probably
because of a EUi upgrade) and wasn't dismissable anymore.\r\n\r\nI'm
adding a footer with button that makes it easily
dismissable.\r\n\r\n![Screenshot 2024-02-14 at 16
15\r\n36](https://github.com/elastic/kibana/assets/16084106/b4029aa2-e0f7-42d4-afe1-e810b7e88d23)\r\n\r\n###
Testing \r\n- In dev tools console, run the following. This removes from
the local\r\nstorage the key that signals that the tour was already ran
once.\r\n```\r\n
localStorage.removeItem(\"fleet.inactiveAgentsCalloutHasBeenDismissed\")\r\n```\r\n-
Enroll some agents and wait that at least one becomes inactive\r\n- The
popover should be visible and it should be possible to dismiss it\r\nby
clicking \"got it\".\r\n\r\nCo-authored-by: Kibana Machine
<[email protected]>","sha":"851657c6f9fd0113f3a5900c100ce0f3e151841f","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","v8.13.0","v8.12.2","v8.14.0"],"title":"[Fleet]
Fix inactive popover tour not
resetting","number":176929,"url":"https://github.com/elastic/kibana/pull/176929","mergeCommit":{"message":"[Fleet]
Fix inactive popover tour not resetting (elastic#176929)\n\nFixes
https://github.com/elastic/kibana/issues/176124\r\n\r\n## Summary\r\nThe
[inactive
popover](https://github.com/elastic/kibana/pull/149226)\r\nthat appears
the first time after agents become inactive was broken\r\n(probably
because of a EUi upgrade) and wasn't dismissable anymore.\r\n\r\nI'm
adding a footer with button that makes it easily
dismissable.\r\n\r\n![Screenshot 2024-02-14 at 16
15\r\n36](https://github.com/elastic/kibana/assets/16084106/b4029aa2-e0f7-42d4-afe1-e810b7e88d23)\r\n\r\n###
Testing \r\n- In dev tools console, run the following. This removes from
the local\r\nstorage the key that signals that the tour was already ran
once.\r\n```\r\n
localStorage.removeItem(\"fleet.inactiveAgentsCalloutHasBeenDismissed\")\r\n```\r\n-
Enroll some agents and wait that at least one becomes inactive\r\n- The
popover should be visible and it should be possible to dismiss it\r\nby
clicking \"got it\".\r\n\r\nCo-authored-by: Kibana Machine
<[email protected]>","sha":"851657c6f9fd0113f3a5900c100ce0f3e151841f"}},"sourceBranch":"main","suggestedTargetBranches":["8.13","8.12"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.12","label":"v8.12.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176929","number":176929,"mergeCommit":{"message":"[Fleet]
Fix inactive popover tour not resetting (elastic#176929)\n\nFixes
https://github.com/elastic/kibana/issues/176124\r\n\r\n## Summary\r\nThe
[inactive
popover](https://github.com/elastic/kibana/pull/149226)\r\nthat appears
the first time after agents become inactive was broken\r\n(probably
because of a EUi upgrade) and wasn't dismissable anymore.\r\n\r\nI'm
adding a footer with button that makes it easily
dismissable.\r\n\r\n![Screenshot 2024-02-14 at 16
15\r\n36](https://github.com/elastic/kibana/assets/16084106/b4029aa2-e0f7-42d4-afe1-e810b7e88d23)\r\n\r\n###
Testing \r\n- In dev tools console, run the following. This removes from
the local\r\nstorage the key that signals that the tour was already ran
once.\r\n```\r\n
localStorage.removeItem(\"fleet.inactiveAgentsCalloutHasBeenDismissed\")\r\n```\r\n-
Enroll some agents and wait that at least one becomes inactive\r\n- The
popover should be visible and it should be possible to dismiss it\r\nby
clicking \"got it\".\r\n\r\nCo-authored-by: Kibana Machine
<[email protected]>","sha":"851657c6f9fd0113f3a5900c100ce0f3e151841f"}}]}]
BACKPORT-->

Co-authored-by: Cristina Amico <[email protected]>
Co-authored-by: Julia Bardi <[email protected]>
…176923) (elastic#177157)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Fleet] added skipRateLimitCheck flag to upgrade API
(elastic#176923)](elastic#176923)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Julia
Bardi","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-19T09:23:18Z","message":"[Fleet]
added skipRateLimitCheck flag to upgrade API (elastic#176923)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/176823\r\n\r\nAdded
`skipRateLimitCheck` to be able to skip rate limiting on
`upgrade`\r\nand `bulk_upgrade` API as an escape hatch.\r\n\r\nTo
verify:\r\n- enroll an agent 8.11.4 and upgrade to 8.12.0\r\n- within
10m, try upgrade again with the API - the upgrade should fail\r\n-
verify that the upgrade works if using the `skipRateLimitCheck`
flag\r\n\r\nExample:\r\n\r\n```\r\nPOST
kbn:/api/fleet/agents/8b3c4f46-aedb-447f-8a9e-13fe313a3463/upgrade\r\n{\r\n
\"version\": \"8.12.1\"\r\n}\r\n\r\n// should return error\r\n{\r\n
\"statusCode\": 429,\r\n \"error\": \"Too Many Requests\",\r\n
\"message\": \"agent 8b3c4f46-aedb-447f-8a9e-13fe313a3463 was upgraded
less than 10 minutes ago. Please wait 07m02s before trying again to
ensure the upgrade will not be rolled back.\"\r\n}\r\n\r\nPOST
kbn:/api/fleet/agents/8b3c4f46-aedb-447f-8a9e-13fe313a3463/upgrade\r\n{\r\n
\"version\": \"8.12.1\",\r\n \"skipRateLimitCheck\":true\r\n}\r\n\r\n//
should return status 200 and upgrade action successful - check with
action_status API\r\nGET kbn:/api/fleet/agents/action_status\r\n\r\n//
bulk API\r\nPOST kbn:/api/fleet/agents/bulk_upgrade\r\n{\r\n
\"version\":\"8.12.0\",\r\n
\"agents\":[\"8b3c4f46-aedb-447f-8a9e-13fe313a3463\"],\r\n
\"start_time\":\"2024-02-14T14:08:23.599Z\"\r\n}\r\n\r\n// should return
200, and action_status should report failed status\r\nGET
kbn:/api/fleet/agents/action_status\r\n\r\nResponse:\r\n {\r\n \"type\":
\"UPGRADE\",\r\n \"status\": \"FAILED\",\r\n \"latestErrors\": [\r\n
{\r\n \"agentId\": \"8b3c4f46-aedb-447f-8a9e-13fe313a3463\",\r\n
\"error\": \"Agent 8b3c4f46-aedb-447f-8a9e-13fe313a3463 is not
upgradeable: agent is already being upgraded.\",\r\n \"timestamp\":
\"2024-02-14T14:36:47.749Z\",\r\n \"hostname\": \"agent1\"\r\n }\r\n
]\r\n },\r\n\r\nPOST kbn:/api/fleet/agents/bulk_upgrade\r\n{\r\n
\"version\":\"8.12.0\",\r\n
\"agents\":[\"8b3c4f46-aedb-447f-8a9e-13fe313a3463\"],\r\n
\"start_time\":\"2024-02-14T14:08:23.599Z\",\r\n
\"skipRateLimitCheck\":true\r\n}\r\n\r\n// should return 200, and action
itself complete too\r\nGET kbn:/api/fleet/agents/action_status\r\n\r\n
{\r\n \"type\": \"UPGRADE\",\r\n \"status\": \"COMPLETE\",\r\n
\"latestErrors\": []\r\n },\r\n\r\n```\r\n\r\nCovered with API
integration tests.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"31517ef1412212e4b8bd69999e25ceaef6e897e9","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Team:Fleet","v8.13.0","v8.14.0"],"title":"[Fleet]
added skipRateLimitCheck flag to upgrade
API","number":176923,"url":"https://github.com/elastic/kibana/pull/176923","mergeCommit":{"message":"[Fleet]
added skipRateLimitCheck flag to upgrade API (elastic#176923)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/176823\r\n\r\nAdded
`skipRateLimitCheck` to be able to skip rate limiting on
`upgrade`\r\nand `bulk_upgrade` API as an escape hatch.\r\n\r\nTo
verify:\r\n- enroll an agent 8.11.4 and upgrade to 8.12.0\r\n- within
10m, try upgrade again with the API - the upgrade should fail\r\n-
verify that the upgrade works if using the `skipRateLimitCheck`
flag\r\n\r\nExample:\r\n\r\n```\r\nPOST
kbn:/api/fleet/agents/8b3c4f46-aedb-447f-8a9e-13fe313a3463/upgrade\r\n{\r\n
\"version\": \"8.12.1\"\r\n}\r\n\r\n// should return error\r\n{\r\n
\"statusCode\": 429,\r\n \"error\": \"Too Many Requests\",\r\n
\"message\": \"agent 8b3c4f46-aedb-447f-8a9e-13fe313a3463 was upgraded
less than 10 minutes ago. Please wait 07m02s before trying again to
ensure the upgrade will not be rolled back.\"\r\n}\r\n\r\nPOST
kbn:/api/fleet/agents/8b3c4f46-aedb-447f-8a9e-13fe313a3463/upgrade\r\n{\r\n
\"version\": \"8.12.1\",\r\n \"skipRateLimitCheck\":true\r\n}\r\n\r\n//
should return status 200 and upgrade action successful - check with
action_status API\r\nGET kbn:/api/fleet/agents/action_status\r\n\r\n//
bulk API\r\nPOST kbn:/api/fleet/agents/bulk_upgrade\r\n{\r\n
\"version\":\"8.12.0\",\r\n
\"agents\":[\"8b3c4f46-aedb-447f-8a9e-13fe313a3463\"],\r\n
\"start_time\":\"2024-02-14T14:08:23.599Z\"\r\n}\r\n\r\n// should return
200, and action_status should report failed status\r\nGET
kbn:/api/fleet/agents/action_status\r\n\r\nResponse:\r\n {\r\n \"type\":
\"UPGRADE\",\r\n \"status\": \"FAILED\",\r\n \"latestErrors\": [\r\n
{\r\n \"agentId\": \"8b3c4f46-aedb-447f-8a9e-13fe313a3463\",\r\n
\"error\": \"Agent 8b3c4f46-aedb-447f-8a9e-13fe313a3463 is not
upgradeable: agent is already being upgraded.\",\r\n \"timestamp\":
\"2024-02-14T14:36:47.749Z\",\r\n \"hostname\": \"agent1\"\r\n }\r\n
]\r\n },\r\n\r\nPOST kbn:/api/fleet/agents/bulk_upgrade\r\n{\r\n
\"version\":\"8.12.0\",\r\n
\"agents\":[\"8b3c4f46-aedb-447f-8a9e-13fe313a3463\"],\r\n
\"start_time\":\"2024-02-14T14:08:23.599Z\",\r\n
\"skipRateLimitCheck\":true\r\n}\r\n\r\n// should return 200, and action
itself complete too\r\nGET kbn:/api/fleet/agents/action_status\r\n\r\n
{\r\n \"type\": \"UPGRADE\",\r\n \"status\": \"COMPLETE\",\r\n
\"latestErrors\": []\r\n },\r\n\r\n```\r\n\r\nCovered with API
integration tests.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"31517ef1412212e4b8bd69999e25ceaef6e897e9"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176923","number":176923,"mergeCommit":{"message":"[Fleet]
added skipRateLimitCheck flag to upgrade API (elastic#176923)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/176823\r\n\r\nAdded
`skipRateLimitCheck` to be able to skip rate limiting on
`upgrade`\r\nand `bulk_upgrade` API as an escape hatch.\r\n\r\nTo
verify:\r\n- enroll an agent 8.11.4 and upgrade to 8.12.0\r\n- within
10m, try upgrade again with the API - the upgrade should fail\r\n-
verify that the upgrade works if using the `skipRateLimitCheck`
flag\r\n\r\nExample:\r\n\r\n```\r\nPOST
kbn:/api/fleet/agents/8b3c4f46-aedb-447f-8a9e-13fe313a3463/upgrade\r\n{\r\n
\"version\": \"8.12.1\"\r\n}\r\n\r\n// should return error\r\n{\r\n
\"statusCode\": 429,\r\n \"error\": \"Too Many Requests\",\r\n
\"message\": \"agent 8b3c4f46-aedb-447f-8a9e-13fe313a3463 was upgraded
less than 10 minutes ago. Please wait 07m02s before trying again to
ensure the upgrade will not be rolled back.\"\r\n}\r\n\r\nPOST
kbn:/api/fleet/agents/8b3c4f46-aedb-447f-8a9e-13fe313a3463/upgrade\r\n{\r\n
\"version\": \"8.12.1\",\r\n \"skipRateLimitCheck\":true\r\n}\r\n\r\n//
should return status 200 and upgrade action successful - check with
action_status API\r\nGET kbn:/api/fleet/agents/action_status\r\n\r\n//
bulk API\r\nPOST kbn:/api/fleet/agents/bulk_upgrade\r\n{\r\n
\"version\":\"8.12.0\",\r\n
\"agents\":[\"8b3c4f46-aedb-447f-8a9e-13fe313a3463\"],\r\n
\"start_time\":\"2024-02-14T14:08:23.599Z\"\r\n}\r\n\r\n// should return
200, and action_status should report failed status\r\nGET
kbn:/api/fleet/agents/action_status\r\n\r\nResponse:\r\n {\r\n \"type\":
\"UPGRADE\",\r\n \"status\": \"FAILED\",\r\n \"latestErrors\": [\r\n
{\r\n \"agentId\": \"8b3c4f46-aedb-447f-8a9e-13fe313a3463\",\r\n
\"error\": \"Agent 8b3c4f46-aedb-447f-8a9e-13fe313a3463 is not
upgradeable: agent is already being upgraded.\",\r\n \"timestamp\":
\"2024-02-14T14:36:47.749Z\",\r\n \"hostname\": \"agent1\"\r\n }\r\n
]\r\n },\r\n\r\nPOST kbn:/api/fleet/agents/bulk_upgrade\r\n{\r\n
\"version\":\"8.12.0\",\r\n
\"agents\":[\"8b3c4f46-aedb-447f-8a9e-13fe313a3463\"],\r\n
\"start_time\":\"2024-02-14T14:08:23.599Z\",\r\n
\"skipRateLimitCheck\":true\r\n}\r\n\r\n// should return 200, and action
itself complete too\r\nGET kbn:/api/fleet/agents/action_status\r\n\r\n
{\r\n \"type\": \"UPGRADE\",\r\n \"status\": \"COMPLETE\",\r\n
\"latestErrors\": []\r\n },\r\n\r\n```\r\n\r\nCovered with API
integration tests.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"31517ef1412212e4b8bd69999e25ceaef6e897e9"}}]}]
BACKPORT-->

Co-authored-by: Julia Bardi <[email protected]>
…lastic#177029) (elastic#177173)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Fleet] Activity flyout should keep scroll state on rerender
(elastic#177029)](elastic#177029)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Julia
Bardi","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-19T11:34:14Z","message":"[Fleet]
Activity flyout should keep scroll state on rerender (elastic#177029)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/154272\r\n\r\nPrevent Agent
activity flyout rerender on reloading action status
every\r\n30s.\r\n\r\nTo verify:\r\n- start local kibana, enroll
agents\r\n- do a few actions: add tags, upgrade, etc. \r\n- open agent
activity and scroll down, open Show errors accordion\r\n- open local
kibana in another browser tab, and perform more actions\r\n- wait until
`/action_status` calls are made in the background\r\n- verify that the
Agent activity flyout doesn't jump, and scroll state\r\nand opened
accordion state is preserved\r\n- verify that the new action is visible
on the opened flyout
\r\n\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/90178898/5312168b-2217-44f6-81ff-1b0306fb485c\r\n\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"dc94c1cde9c64d135e5e25e54b4daa93b901e9c9","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","v8.13.0","v8.14.0"],"title":"[Fleet]
Activity flyout should keep scroll state on
rerender","number":177029,"url":"https://github.com/elastic/kibana/pull/177029","mergeCommit":{"message":"[Fleet]
Activity flyout should keep scroll state on rerender (elastic#177029)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/154272\r\n\r\nPrevent Agent
activity flyout rerender on reloading action status
every\r\n30s.\r\n\r\nTo verify:\r\n- start local kibana, enroll
agents\r\n- do a few actions: add tags, upgrade, etc. \r\n- open agent
activity and scroll down, open Show errors accordion\r\n- open local
kibana in another browser tab, and perform more actions\r\n- wait until
`/action_status` calls are made in the background\r\n- verify that the
Agent activity flyout doesn't jump, and scroll state\r\nand opened
accordion state is preserved\r\n- verify that the new action is visible
on the opened flyout
\r\n\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/90178898/5312168b-2217-44f6-81ff-1b0306fb485c\r\n\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"dc94c1cde9c64d135e5e25e54b4daa93b901e9c9"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177029","number":177029,"mergeCommit":{"message":"[Fleet]
Activity flyout should keep scroll state on rerender (elastic#177029)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/154272\r\n\r\nPrevent Agent
activity flyout rerender on reloading action status
every\r\n30s.\r\n\r\nTo verify:\r\n- start local kibana, enroll
agents\r\n- do a few actions: add tags, upgrade, etc. \r\n- open agent
activity and scroll down, open Show errors accordion\r\n- open local
kibana in another browser tab, and perform more actions\r\n- wait until
`/action_status` calls are made in the background\r\n- verify that the
Agent activity flyout doesn't jump, and scroll state\r\nand opened
accordion state is preserved\r\n- verify that the new action is visible
on the opened flyout
\r\n\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/90178898/5312168b-2217-44f6-81ff-1b0306fb485c\r\n\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"dc94c1cde9c64d135e5e25e54b4daa93b901e9c9"}}]}]
BACKPORT-->

Co-authored-by: Julia Bardi <[email protected]>
elastic#177288) (elastic#177402)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Lens] Fix sorting on table when using Last value on date field
(elastic#177288)](elastic#177288)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Marco
Liberati","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-21T08:07:17Z","message":"[Lens]
Fix sorting on table when using Last value on date field (elastic#177288)\n\n##
Summary\r\n\r\nFixes elastic#175659\r\n\r\nThe bug was due to the format
returned from the `Last value` of a date\r\nfield, which was the ISO
string type, but the sorting criteria was\r\nassuming a number format
for dates.\r\n\r\nI've revisited the `kbn-sort-predicates` logic for
dates to support now\r\nboth numeric and ISO string format, with
dedicated test suite.\r\n\r\n<img width=\"449\" alt=\"Screenshot
2024-02-20 at 13 45
07\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/091e2a9d-70d1-44e1-b42b-c396df0fa1ab\">\r\n<img
width=\"434\" alt=\"Screenshot 2024-02-20 at 13 45
01\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/5d6ac269-96b9-4ea9-80a9-e8db8934e00b\">\r\n\r\n\r\nAlso,
it was an opportunity to uniform the logic for
multi-values\r\ncomparisons and document it in the package
`README`.\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Stratoula Kalafateli
<[email protected]>","sha":"41f5b45adfda76ccbd6a59bffd54aedf50bbff42","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Visualizations","Feature:Lens","backport:prev-minor","v8.13.0","v8.14.0"],"title":"[Lens]
Fix sorting on table when using Last value on date
field","number":177288,"url":"https://github.com/elastic/kibana/pull/177288","mergeCommit":{"message":"[Lens]
Fix sorting on table when using Last value on date field (elastic#177288)\n\n##
Summary\r\n\r\nFixes elastic#175659\r\n\r\nThe bug was due to the format
returned from the `Last value` of a date\r\nfield, which was the ISO
string type, but the sorting criteria was\r\nassuming a number format
for dates.\r\n\r\nI've revisited the `kbn-sort-predicates` logic for
dates to support now\r\nboth numeric and ISO string format, with
dedicated test suite.\r\n\r\n<img width=\"449\" alt=\"Screenshot
2024-02-20 at 13 45
07\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/091e2a9d-70d1-44e1-b42b-c396df0fa1ab\">\r\n<img
width=\"434\" alt=\"Screenshot 2024-02-20 at 13 45
01\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/5d6ac269-96b9-4ea9-80a9-e8db8934e00b\">\r\n\r\n\r\nAlso,
it was an opportunity to uniform the logic for
multi-values\r\ncomparisons and document it in the package
`README`.\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Stratoula Kalafateli
<[email protected]>","sha":"41f5b45adfda76ccbd6a59bffd54aedf50bbff42"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177288","number":177288,"mergeCommit":{"message":"[Lens]
Fix sorting on table when using Last value on date field (elastic#177288)\n\n##
Summary\r\n\r\nFixes elastic#175659\r\n\r\nThe bug was due to the format
returned from the `Last value` of a date\r\nfield, which was the ISO
string type, but the sorting criteria was\r\nassuming a number format
for dates.\r\n\r\nI've revisited the `kbn-sort-predicates` logic for
dates to support now\r\nboth numeric and ISO string format, with
dedicated test suite.\r\n\r\n<img width=\"449\" alt=\"Screenshot
2024-02-20 at 13 45
07\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/091e2a9d-70d1-44e1-b42b-c396df0fa1ab\">\r\n<img
width=\"434\" alt=\"Screenshot 2024-02-20 at 13 45
01\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/5d6ac269-96b9-4ea9-80a9-e8db8934e00b\">\r\n\r\n\r\nAlso,
it was an opportunity to uniform the logic for
multi-values\r\ncomparisons and document it in the package
`README`.\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\r\n\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Stratoula Kalafateli
<[email protected]>","sha":"41f5b45adfda76ccbd6a59bffd54aedf50bbff42"}}]}]
BACKPORT-->

Co-authored-by: Marco Liberati <[email protected]>
…lastic#177405)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[chore] update selenium-webdriver to 4.18.1
(elastic#177276)](elastic#177276)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-21T09:15:58Z","message":"[chore]
update selenium-webdriver to 4.18.1 (elastic#177276)\n\n##
Summary\r\n\r\nBumping WebDriver package up to 4.18.1 with the hope it
might
resolve\r\nhttps://github.com/elastic/issues/177180\r\nhttps://github.com/elastic/issues/177181","sha":"4473ca2da8c530fb78c8f82c6b6274ec292af520","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","FTR","v8.13.0","v8.14.0"],"title":"[chore]
update selenium-webdriver to
4.18.1","number":177276,"url":"https://github.com/elastic/kibana/pull/177276","mergeCommit":{"message":"[chore]
update selenium-webdriver to 4.18.1 (elastic#177276)\n\n##
Summary\r\n\r\nBumping WebDriver package up to 4.18.1 with the hope it
might
resolve\r\nhttps://github.com/elastic/issues/177180\r\nhttps://github.com/elastic/issues/177181","sha":"4473ca2da8c530fb78c8f82c6b6274ec292af520"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177276","number":177276,"mergeCommit":{"message":"[chore]
update selenium-webdriver to 4.18.1 (elastic#177276)\n\n##
Summary\r\n\r\nBumping WebDriver package up to 4.18.1 with the hope it
might
resolve\r\nhttps://github.com/elastic/issues/177180\r\nhttps://github.com/elastic/issues/177181","sha":"4473ca2da8c530fb78c8f82c6b6274ec292af520"}}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <[email protected]>
…with minParams (elastic#177165) (elastic#177404)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[ES|QL] Improve handling of functions for variadic signatures with
minParams (elastic#177165)](elastic#177165)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Marco
Liberati","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-21T08:07:44Z","message":"[ES|QL]
Improve handling of functions for variadic signatures with minParams
(elastic#177165)\n\n## Summary\r\n\r\nFix an issue with functions with the
`minParams` configuration\r\n(`concat`, `case`,
`cidr_match`).\r\n\r\nValidation fix:\r\n* now validation engine
understands the minimum number of args and\r\nprovide a better message
based on the function signature\r\n* if the function has a single exact
signature, then make it explicit\r\nthe `exact` nature\r\n<img
width=\"442\" alt=\"Screenshot 2024-02-19 at 11 46
59\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/14aa9cb4-bce2-404b-936e-cb92ec966c2d\">\r\n\r\n<img
width=\"227\" alt=\"Screenshot 2024-02-19 at 11 45
18\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/94b2a051-5cd2-4f60-b65a-c3ac77c17b85\">\r\n\r\n*
if the function has some optional args in the signature, then make
it\r\nexplicit that there are too few or too many args\r\n \r\n<img
width=\"441\" alt=\"Screenshot 2024-02-19 at 11 48
00\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/55acf5f7-ce6b-452d-ba49-cd38ac05120e\">\r\n\r\n<img
width=\"443\" alt=\"Screenshot 2024-02-19 at 11 45
03\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/653f62d3-7ee5-44d2-91e9-aae812f08394\">\r\n\r\n*
if the function has a minParams configuration, then it should make
it\r\nexplicit that there are too few args:\r\n<img width=\"467\"
alt=\"Screenshot 2024-02-19 at 11 41
46\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/8a4030e0-317d-4371-abd0-11b333ad26d9\">\r\n\r\n<img
width=\"441\" alt=\"Screenshot 2024-02-19 at 11 41
16\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/d8f8048e-edda-44c2-b84e-b908cd7b29a5\">\r\n\r\n<img
width=\"446\" alt=\"Screenshot 2024-02-19 at 11 41
04\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/c6ac58ef-a1b7-48a6-b2ad-a8994ae2b885\">\r\n\r\n*
autocomplete now understand the `minParams` and suggest the
right\r\nvalue in the right
place\r\n\r\n![esql_min_params_autocomplete](https://github.com/elastic/kibana/assets/924948/fd21a819-8310-4f94-88e6-3a2967c7a8bd)\r\n\r\n*
signature hover tooltip now provides a better signature for
functions\r\nwith minParams (arg should not be optional, rather
mandatory until the\r\n#minParams, optional
after)\r\n\r\n\r\n![esql_min_params_signature](https://github.com/elastic/kibana/assets/924948/421f22f3-8d00-4acb-a65c-495a05b8d400)\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"eb708f5f4e4f43fd6bd180eb45cd3596e6145f71","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","backport:prev-minor","Feature:ES|QL","v8.13.0","v8.14.0"],"number":177165,"url":"https://github.com/elastic/kibana/pull/177165","mergeCommit":{"message":"[ES|QL]
Improve handling of functions for variadic signatures with minParams
(elastic#177165)\n\n## Summary\r\n\r\nFix an issue with functions with the
`minParams` configuration\r\n(`concat`, `case`,
`cidr_match`).\r\n\r\nValidation fix:\r\n* now validation engine
understands the minimum number of args and\r\nprovide a better message
based on the function signature\r\n* if the function has a single exact
signature, then make it explicit\r\nthe `exact` nature\r\n<img
width=\"442\" alt=\"Screenshot 2024-02-19 at 11 46
59\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/14aa9cb4-bce2-404b-936e-cb92ec966c2d\">\r\n\r\n<img
width=\"227\" alt=\"Screenshot 2024-02-19 at 11 45
18\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/94b2a051-5cd2-4f60-b65a-c3ac77c17b85\">\r\n\r\n*
if the function has some optional args in the signature, then make
it\r\nexplicit that there are too few or too many args\r\n \r\n<img
width=\"441\" alt=\"Screenshot 2024-02-19 at 11 48
00\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/55acf5f7-ce6b-452d-ba49-cd38ac05120e\">\r\n\r\n<img
width=\"443\" alt=\"Screenshot 2024-02-19 at 11 45
03\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/653f62d3-7ee5-44d2-91e9-aae812f08394\">\r\n\r\n*
if the function has a minParams configuration, then it should make
it\r\nexplicit that there are too few args:\r\n<img width=\"467\"
alt=\"Screenshot 2024-02-19 at 11 41
46\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/8a4030e0-317d-4371-abd0-11b333ad26d9\">\r\n\r\n<img
width=\"441\" alt=\"Screenshot 2024-02-19 at 11 41
16\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/d8f8048e-edda-44c2-b84e-b908cd7b29a5\">\r\n\r\n<img
width=\"446\" alt=\"Screenshot 2024-02-19 at 11 41
04\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/c6ac58ef-a1b7-48a6-b2ad-a8994ae2b885\">\r\n\r\n*
autocomplete now understand the `minParams` and suggest the
right\r\nvalue in the right
place\r\n\r\n![esql_min_params_autocomplete](https://github.com/elastic/kibana/assets/924948/fd21a819-8310-4f94-88e6-3a2967c7a8bd)\r\n\r\n*
signature hover tooltip now provides a better signature for
functions\r\nwith minParams (arg should not be optional, rather
mandatory until the\r\n#minParams, optional
after)\r\n\r\n\r\n![esql_min_params_signature](https://github.com/elastic/kibana/assets/924948/421f22f3-8d00-4acb-a65c-495a05b8d400)\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"eb708f5f4e4f43fd6bd180eb45cd3596e6145f71"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","labelRegex":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177165","number":177165,"mergeCommit":{"message":"[ES|QL]
Improve handling of functions for variadic signatures with minParams
(elastic#177165)\n\n## Summary\r\n\r\nFix an issue with functions with the
`minParams` configuration\r\n(`concat`, `case`,
`cidr_match`).\r\n\r\nValidation fix:\r\n* now validation engine
understands the minimum number of args and\r\nprovide a better message
based on the function signature\r\n* if the function has a single exact
signature, then make it explicit\r\nthe `exact` nature\r\n<img
width=\"442\" alt=\"Screenshot 2024-02-19 at 11 46
59\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/14aa9cb4-bce2-404b-936e-cb92ec966c2d\">\r\n\r\n<img
width=\"227\" alt=\"Screenshot 2024-02-19 at 11 45
18\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/94b2a051-5cd2-4f60-b65a-c3ac77c17b85\">\r\n\r\n*
if the function has some optional args in the signature, then make
it\r\nexplicit that there are too few or too many args\r\n \r\n<img
width=\"441\" alt=\"Screenshot 2024-02-19 at 11 48
00\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/55acf5f7-ce6b-452d-ba49-cd38ac05120e\">\r\n\r\n<img
width=\"443\" alt=\"Screenshot 2024-02-19 at 11 45
03\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/653f62d3-7ee5-44d2-91e9-aae812f08394\">\r\n\r\n*
if the function has a minParams configuration, then it should make
it\r\nexplicit that there are too few args:\r\n<img width=\"467\"
alt=\"Screenshot 2024-02-19 at 11 41
46\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/8a4030e0-317d-4371-abd0-11b333ad26d9\">\r\n\r\n<img
width=\"441\" alt=\"Screenshot 2024-02-19 at 11 41
16\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/d8f8048e-edda-44c2-b84e-b908cd7b29a5\">\r\n\r\n<img
width=\"446\" alt=\"Screenshot 2024-02-19 at 11 41
04\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/c6ac58ef-a1b7-48a6-b2ad-a8994ae2b885\">\r\n\r\n*
autocomplete now understand the `minParams` and suggest the
right\r\nvalue in the right
place\r\n\r\n![esql_min_params_autocomplete](https://github.com/elastic/kibana/assets/924948/fd21a819-8310-4f94-88e6-3a2967c7a8bd)\r\n\r\n*
signature hover tooltip now provides a better signature for
functions\r\nwith minParams (arg should not be optional, rather
mandatory until the\r\n#minParams, optional
after)\r\n\r\n\r\n![esql_min_params_signature](https://github.com/elastic/kibana/assets/924948/421f22f3-8d00-4acb-a65c-495a05b8d400)\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"eb708f5f4e4f43fd6bd180eb45cd3596e6145f71"}}]}]
BACKPORT-->
…) (elastic#177415)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[EDR Workflows] Increase timeout in osquery test
(elastic#177328)](elastic#177328)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Tomasz
Ciecierski","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-21T10:50:56Z","message":"[EDR
Workflows] Increase timeout in osquery test
(elastic#177328)","sha":"7dfdcbba83322b33ddfe460c2607e41167144db6","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","Osquery","v8.13.0","v8.14.0"],"title":"[EDR Workflows]
Increase timeout in osquery
test","number":177328,"url":"https://github.com/elastic/kibana/pull/177328","mergeCommit":{"message":"[EDR
Workflows] Increase timeout in osquery test
(elastic#177328)","sha":"7dfdcbba83322b33ddfe460c2607e41167144db6"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177328","number":177328,"mergeCommit":{"message":"[EDR
Workflows] Increase timeout in osquery test
(elastic#177328)","sha":"7dfdcbba83322b33ddfe460c2607e41167144db6"}}]}]
BACKPORT-->

Co-authored-by: Tomasz Ciecierski <[email protected]>
…lt label even on validation fail (elastic#177299) (elastic#177419)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Lens] Use formula custom label or formula itself before default
label even on validation fail
(elastic#177299)](elastic#177299)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Marco
Liberati","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-21T11:20:56Z","message":"[Lens]
Use formula custom label or formula itself before default label even on
validation fail (elastic#177299)\n\n## Summary\r\n\r\nFixes elastic#176521
\r\n\r\nThis PR removes the specific label logic for broken formula to
always\r\ncheck custom label or the formula itself before providing the
default\r\n`Formula` label.\r\nAdded tests both at unit and FTR
level.\r\n\r\n<img width=\"568\" alt=\"Screenshot 2024-02-20 at 15 35
35\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/08837272-01bf-4203-8a27-b0ff73210a99\">\r\n<img
width=\"418\" alt=\"Screenshot 2024-02-20 at 15 35
26\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/b15e3397-acca-4ee7-9164-e448e9b1ab7b\">\r\n<img
width=\"379\" alt=\"Screenshot 2024-02-20 at 15 35
14\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/0aab0830-217d-430b-bd34-5b45e9c7b4b4\">\r\n<img
width=\"679\" alt=\"Screenshot 2024-02-20 at 15 35
05\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/3d0ceb67-7b55-4fbf-9ce2-a1dd3342299d\">\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>\r\nCo-authored-by:
Stratoula Kalafateli
<[email protected]>","sha":"f66fa94346fa3ad0364a805b233efc82b514398a","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Visualizations","Feature:Lens","backport:prev-minor","v8.13.0","v8.14.0"],"title":"[Lens]
Use formula custom label or formula itself before default label even on
validation
fail","number":177299,"url":"https://github.com/elastic/kibana/pull/177299","mergeCommit":{"message":"[Lens]
Use formula custom label or formula itself before default label even on
validation fail (elastic#177299)\n\n## Summary\r\n\r\nFixes elastic#176521
\r\n\r\nThis PR removes the specific label logic for broken formula to
always\r\ncheck custom label or the formula itself before providing the
default\r\n`Formula` label.\r\nAdded tests both at unit and FTR
level.\r\n\r\n<img width=\"568\" alt=\"Screenshot 2024-02-20 at 15 35
35\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/08837272-01bf-4203-8a27-b0ff73210a99\">\r\n<img
width=\"418\" alt=\"Screenshot 2024-02-20 at 15 35
26\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/b15e3397-acca-4ee7-9164-e448e9b1ab7b\">\r\n<img
width=\"379\" alt=\"Screenshot 2024-02-20 at 15 35
14\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/0aab0830-217d-430b-bd34-5b45e9c7b4b4\">\r\n<img
width=\"679\" alt=\"Screenshot 2024-02-20 at 15 35
05\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/3d0ceb67-7b55-4fbf-9ce2-a1dd3342299d\">\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>\r\nCo-authored-by:
Stratoula Kalafateli
<[email protected]>","sha":"f66fa94346fa3ad0364a805b233efc82b514398a"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177299","number":177299,"mergeCommit":{"message":"[Lens]
Use formula custom label or formula itself before default label even on
validation fail (elastic#177299)\n\n## Summary\r\n\r\nFixes elastic#176521
\r\n\r\nThis PR removes the specific label logic for broken formula to
always\r\ncheck custom label or the formula itself before providing the
default\r\n`Formula` label.\r\nAdded tests both at unit and FTR
level.\r\n\r\n<img width=\"568\" alt=\"Screenshot 2024-02-20 at 15 35
35\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/08837272-01bf-4203-8a27-b0ff73210a99\">\r\n<img
width=\"418\" alt=\"Screenshot 2024-02-20 at 15 35
26\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/b15e3397-acca-4ee7-9164-e448e9b1ab7b\">\r\n<img
width=\"379\" alt=\"Screenshot 2024-02-20 at 15 35
14\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/0aab0830-217d-430b-bd34-5b45e9c7b4b4\">\r\n<img
width=\"679\" alt=\"Screenshot 2024-02-20 at 15 35
05\"\r\nsrc=\"https://github.com/elastic/kibana/assets/924948/3d0ceb67-7b55-4fbf-9ce2-a1dd3342299d\">\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<[email protected]>\r\nCo-authored-by:
Stratoula Kalafateli
<[email protected]>","sha":"f66fa94346fa3ad0364a805b233efc82b514398a"}}]}]
BACKPORT-->

Co-authored-by: Marco Liberati <[email protected]>
# Backport

This will backport the following commits from `main` to `8.13`:
- [[Synthetics] Fixes action menu
(elastic#177408)](elastic#177408)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-02-21T11:50:44Z","message":"[Synthetics]
Fixes action menu (elastic#177408)\n\ncloses
https://github.com/elastic/kibana/issues/177413\r\n\r\n##
Summary\r\n\r\n### Before\r\n<img width=\"1728\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/3505601/bdeaac40-894b-499a-a4e9-651ccb2051b7\">\r\n\r\n\r\n###
After\r\n\r\n<img width=\"1727\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/3505601/94df1b77-f8c7-4659-8095-cfffdde5749c\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Coen Warmer
<[email protected]>","sha":"fdebc6806074634a27c16f53a04d56e3633c2684","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","Team:obs-ux-infra_services","v8.14.0"],"title":"[Synthetics]
Fixes action
menu","number":177408,"url":"https://github.com/elastic/kibana/pull/177408","mergeCommit":{"message":"[Synthetics]
Fixes action menu (elastic#177408)\n\ncloses
https://github.com/elastic/kibana/issues/177413\r\n\r\n##
Summary\r\n\r\n### Before\r\n<img width=\"1728\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/3505601/bdeaac40-894b-499a-a4e9-651ccb2051b7\">\r\n\r\n\r\n###
After\r\n\r\n<img width=\"1727\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/3505601/94df1b77-f8c7-4659-8095-cfffdde5749c\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Coen Warmer
<[email protected]>","sha":"fdebc6806074634a27c16f53a04d56e3633c2684"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177408","number":177408,"mergeCommit":{"message":"[Synthetics]
Fixes action menu (elastic#177408)\n\ncloses
https://github.com/elastic/kibana/issues/177413\r\n\r\n##
Summary\r\n\r\n### Before\r\n<img width=\"1728\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/3505601/bdeaac40-894b-499a-a4e9-651ccb2051b7\">\r\n\r\n\r\n###
After\r\n\r\n<img width=\"1727\"
alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/3505601/94df1b77-f8c7-4659-8095-cfffdde5749c\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Coen Warmer
<[email protected]>","sha":"fdebc6806074634a27c16f53a04d56e3633c2684"}}]}]
BACKPORT-->

Co-authored-by: Shahzad <[email protected]>
…grams

towards: elastic/response-ops-team#151

As we've found the elasticsearch histogram mapping type to be
difficult to use in practice, we're switching to an "array of
numbers" approach as well.  We'll eventually remove the histograms,
once we ensure they aren't being used.
@pmuellr pmuellr added the ci:project-deploy-elasticsearch Create an Elasticsearch Serverless project label Feb 21, 2024
Copy link
Contributor

A documentation preview will be available soon.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here.

@pmuellr pmuellr closed this Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:project-deploy-elasticsearch Create an Elasticsearch Serverless project
Projects
None yet
Development

Successfully merging this pull request may close these issues.