Commit graph

59077 commits

Author SHA1 Message Date
Tiago Costa
36832ed0ff
chore(NA): bump version to 8.6.3 (#151466)
Usually bump from 8.6.2 to 8.6.3

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-02-16 23:47:23 +00:00
Shahzad
8019ddd9df
[8.6] Revert "update dependency playwright to ^1.30.0" (#151435) (#151444)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Revert "update dependency playwright to ^1.30.0"
(#151435)](https://github.com/elastic/kibana/pull/151435)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"shahzad31comp@gmail.com"},"sourceCommit":{"committedDate":"2023-02-16T13:19:55Z","message":"Revert
\"update dependency playwright to ^1.30.0\" (#151435)\n\nReverts
elastic/kibana#151106\r\n\r\nTemporarily reverting it since it broke
synthetics test runner tests
in\r\nkibana\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/3505601/219363923-87cbff94-6fdb-43d5-ad7b-a0c2a4016846.png)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b76ea2f69f725c1a6e06a63e03c151a94475ba03","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.6.0","v8.7.0","v8.8.0"],"number":151435,"url":"https://github.com/elastic/kibana/pull/151435","mergeCommit":{"message":"Revert
\"update dependency playwright to ^1.30.0\" (#151435)\n\nReverts
elastic/kibana#151106\r\n\r\nTemporarily reverting it since it broke
synthetics test runner tests
in\r\nkibana\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/3505601/219363923-87cbff94-6fdb-43d5-ad7b-a0c2a4016846.png)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b76ea2f69f725c1a6e06a63e03c151a94475ba03"}},"sourceBranch":"main","suggestedTargetBranches":["8.6","8.7"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/151435","number":151435,"mergeCommit":{"message":"Revert
\"update dependency playwright to ^1.30.0\" (#151435)\n\nReverts
elastic/kibana#151106\r\n\r\nTemporarily reverting it since it broke
synthetics test runner tests
in\r\nkibana\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/3505601/219363923-87cbff94-6fdb-43d5-ad7b-a0c2a4016846.png)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b76ea2f69f725c1a6e06a63e03c151a94475ba03"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-02-16 08:18:33 -07:00
Kaarina Tungseth
4b8c947d59
[DOCS] Removes tag from 8.6.2 release notes (#151380) 2023-02-16 08:50:47 -06:00
Kibana Machine
13ff138fcb
[8.6] [ftr/journeys] allow override ftr base config in journey (#151277) (#151400)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[ftr/journeys] allow override ftr base config in journey
(#151277)](https://github.com/elastic/kibana/pull/151277)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2023-02-16T07:52:05Z","message":"[ftr/journeys]
allow override ftr base config in journey (#151277)\n\n##
Summary\r\n\r\nCurrently journeys use pre-defined base FTR config and
there is no way\r\nto re-configure Kibana to be loaded with extras, e.g.
Fleet
plugin\r\nconfiguration.\r\n\r\nf443109eea/packages/kbn-journeys/journey/journey_ftr_config.ts (L32-L34)\r\n\r\nProbably
the easiest way to address it is to path custom FTR config\r\ndirectly
in the journey.\r\n\r\n```\r\nexport const journey = new Journey({\r\n
ftrConfigPath: 'x-pack/test/cloud_security_posture_api/config.ts',\r\n
...\r\n})\r\n```\r\n\r\n\r\nIt can be also considered as a step towards
using journeys as future\r\nalternative to Webdriver functional
tests.","sha":"b46d25a7ca700b7e4e01970c55dbc25357acf27a","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","wg:performance","v8.7.0","v8.6.2","v8.8.0"],"number":151277,"url":"https://github.com/elastic/kibana/pull/151277","mergeCommit":{"message":"[ftr/journeys]
allow override ftr base config in journey (#151277)\n\n##
Summary\r\n\r\nCurrently journeys use pre-defined base FTR config and
there is no way\r\nto re-configure Kibana to be loaded with extras, e.g.
Fleet
plugin\r\nconfiguration.\r\n\r\nf443109eea/packages/kbn-journeys/journey/journey_ftr_config.ts (L32-L34)\r\n\r\nProbably
the easiest way to address it is to path custom FTR config\r\ndirectly
in the journey.\r\n\r\n```\r\nexport const journey = new Journey({\r\n
ftrConfigPath: 'x-pack/test/cloud_security_posture_api/config.ts',\r\n
...\r\n})\r\n```\r\n\r\n\r\nIt can be also considered as a step towards
using journeys as future\r\nalternative to Webdriver functional
tests.","sha":"b46d25a7ca700b7e4e01970c55dbc25357acf27a"}},"sourceBranch":"main","suggestedTargetBranches":["8.7","8.6"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.6","label":"v8.6.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/151277","number":151277,"mergeCommit":{"message":"[ftr/journeys]
allow override ftr base config in journey (#151277)\n\n##
Summary\r\n\r\nCurrently journeys use pre-defined base FTR config and
there is no way\r\nto re-configure Kibana to be loaded with extras, e.g.
Fleet
plugin\r\nconfiguration.\r\n\r\nf443109eea/packages/kbn-journeys/journey/journey_ftr_config.ts (L32-L34)\r\n\r\nProbably
the easiest way to address it is to path custom FTR config\r\ndirectly
in the journey.\r\n\r\n```\r\nexport const journey = new Journey({\r\n
ftrConfigPath: 'x-pack/test/cloud_security_posture_api/config.ts',\r\n
...\r\n})\r\n```\r\n\r\n\r\nIt can be also considered as a step towards
using journeys as future\r\nalternative to Webdriver functional
tests.","sha":"b46d25a7ca700b7e4e01970c55dbc25357acf27a"}}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2023-02-16 01:57:23 -07:00
Kibana Machine
80f093bf69
[8.6] update dependency playwright to ^1.30.0 (#151106) (#151370)
# Backport

This will backport the following commits from `main` to `8.6`:
- [update dependency playwright to ^1.30.0
(#151106)](https://github.com/elastic/kibana/pull/151106)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2023-02-15T19:11:06Z","message":"update
dependency playwright to ^1.30.0 (#151106)\n\n##
Summary\r\n\r\nCurrently we use 1.27.1 that comes with bundled Chromium
107.0.5304.18\r\n(released September 28, 2022)\r\n\r\nUpdating
playwright to use the recent
[Chromium\r\n110](https://github.com/microsoft/playwright/releases/tag/v1.30.0)
for\r\ntesting.","sha":"6a4bdf247f49f9b6599767f1f804f5a60d0d7e99","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.7.0","v8.6.2","v8.8.0"],"number":151106,"url":"https://github.com/elastic/kibana/pull/151106","mergeCommit":{"message":"update
dependency playwright to ^1.30.0 (#151106)\n\n##
Summary\r\n\r\nCurrently we use 1.27.1 that comes with bundled Chromium
107.0.5304.18\r\n(released September 28, 2022)\r\n\r\nUpdating
playwright to use the recent
[Chromium\r\n110](https://github.com/microsoft/playwright/releases/tag/v1.30.0)
for\r\ntesting.","sha":"6a4bdf247f49f9b6599767f1f804f5a60d0d7e99"}},"sourceBranch":"main","suggestedTargetBranches":["8.7","8.6"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.6","label":"v8.6.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/151106","number":151106,"mergeCommit":{"message":"update
dependency playwright to ^1.30.0 (#151106)\n\n##
Summary\r\n\r\nCurrently we use 1.27.1 that comes with bundled Chromium
107.0.5304.18\r\n(released September 28, 2022)\r\n\r\nUpdating
playwright to use the recent
[Chromium\r\n110](https://github.com/microsoft/playwright/releases/tag/v1.30.0)
for\r\ntesting.","sha":"6a4bdf247f49f9b6599767f1f804f5a60d0d7e99"}}]}]
BACKPORT-->

---------

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2023-02-15 13:54:32 -07:00
Kaarina Tungseth
2bed8b89cb
[DOCS] Adds the 8.6.2 release notes (#151028)
## Summary

Adds the release notes for 8.6.2.

---------

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
Co-authored-by: DeDe Morton <dede.morton@elastic.co>
2023-02-15 14:07:05 -06:00
Jon
732db283d3
Update dependency chromedriver to v110 (main) (#151329) (#151363)
#151329

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-15 12:33:08 -07:00
Kyle Pollich
aabd37e8a9
[8.6] [Fleet] Fix max 20 installed integrations returned from Fleet API (#150780) (#150891)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Fleet] Fix max 20 installed integrations returned from Fleet API
(#150780)](https://github.com/elastic/kibana/pull/150780)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Kyle
Pollich","email":"kyle.pollich@elastic.co"},"sourceCommit":{"committedDate":"2023-02-09T21:41:15Z","message":"[Fleet]
Fix max 20 installed integrations returned from Fleet API
(#150780)\n\n## Summary\r\n\r\nFix an (old) bug where Fleet's \"list
packages\" API endpoint would only\r\never return 20 installed
integrations at most.\r\n\r\nI haven't included a test case here because
I'm not sure we have 20 test\r\npackages that can reasonably be
installed at the same time. Also feels\r\nlike an arbitrary number to
introduce a \"lists all packages even if\r\nthere are more N\" test
case. Open to feedback on testing.\r\n\r\n## Before\r\n\r\n23 installed
integrations, only 20 in
UI\r\n\r\n\r\n![image](217930126-441e78a8-d484-4c5d-b5df-00179d930e4a.png)\r\n\r\n##
After\r\n\r\n23 installed integrations, 23 in
UI\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/6766512/217930384-21506d77-7244-42c1-93bd-97025a8ec86e.png)","sha":"e7209f52a91170ce3e53d2bd27bafaecf6195d54","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","backport:prev-minor","v8.7.0","v8.8.0"],"number":150780,"url":"https://github.com/elastic/kibana/pull/150780","mergeCommit":{"message":"[Fleet]
Fix max 20 installed integrations returned from Fleet API
(#150780)\n\n## Summary\r\n\r\nFix an (old) bug where Fleet's \"list
packages\" API endpoint would only\r\never return 20 installed
integrations at most.\r\n\r\nI haven't included a test case here because
I'm not sure we have 20 test\r\npackages that can reasonably be
installed at the same time. Also feels\r\nlike an arbitrary number to
introduce a \"lists all packages even if\r\nthere are more N\" test
case. Open to feedback on testing.\r\n\r\n## Before\r\n\r\n23 installed
integrations, only 20 in
UI\r\n\r\n\r\n![image](217930126-441e78a8-d484-4c5d-b5df-00179d930e4a.png)\r\n\r\n##
After\r\n\r\n23 installed integrations, 23 in
UI\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/6766512/217930384-21506d77-7244-42c1-93bd-97025a8ec86e.png)","sha":"e7209f52a91170ce3e53d2bd27bafaecf6195d54"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/150795","number":150795,"state":"MERGED","mergeCommit":{"sha":"84c92b53dc446e92a1a5cd7ed7a33cbf9913141d","message":"[8.7]
[Fleet] Fix max 20 installed integrations returned from Fleet API
(#150780) (#150795)\n\n# Backport\n\nThis will backport the following
commits from `main` to `8.7`:\n- [[Fleet] Fix max 20 installed
integrations returned from Fleet
API\n(#150780)](https://github.com/elastic/kibana/pull/150780)\n\n<!---
Backport version: 8.9.7 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Kyle\nPollich\",\"email\":\"kyle.pollich@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2023-02-09T21:41:15Z\",\"message\":\"[Fleet]\nFix
max 20 installed integrations returned from Fleet API\n(#150780)\\n\\n##
Summary\\r\\n\\r\\nFix an (old) bug where Fleet's \\\"list\npackages\\\"
API endpoint would only\\r\\never return 20 installed\nintegrations at
most.\\r\\n\\r\\nI haven't included a test case here because\nI'm not
sure we have 20 test\\r\\npackages that can reasonably be\ninstalled at
the same time. Also feels\\r\\nlike an arbitrary number to\nintroduce a
\\\"lists all packages even if\\r\\nthere are more N\\\" test\ncase.
Open to feedback on testing.\\r\\n\\r\\n## Before\\r\\n\\r\\n23
installed\nintegrations, only 20
in\nUI\\r\\n\\r\\n\\r\\n![image](217930126-441e78a8-d484-4c5d-b5df-00179d930e4a.png)\\r\\n\\r\\n##\nAfter\\r\\n\\r\\n23
installed integrations, 23
in\nUI\\r\\n\\r\\n\\r\\n![image](https://user-images.githubusercontent.com/6766512/217930384-21506d77-7244-42c1-93bd-97025a8ec86e.png)\",\"sha\":\"e7209f52a91170ce3e53d2bd27bafaecf6195d54\",\"branchLabelMapping\":{\"^v8.8.0$\":\"main\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:fix\",\"Team:Fleet\",\"backport:prev-minor\",\"v8.8.0\"],\"number\":150780,\"url\":\"https://github.com/elastic/kibana/pull/150780\",\"mergeCommit\":{\"message\":\"[Fleet]\nFix
max 20 installed integrations returned from Fleet API\n(#150780)\\n\\n##
Summary\\r\\n\\r\\nFix an (old) bug where Fleet's \\\"list\npackages\\\"
API endpoint would only\\r\\never return 20 installed\nintegrations at
most.\\r\\n\\r\\nI haven't included a test case here because\nI'm not
sure we have 20 test\\r\\npackages that can reasonably be\ninstalled at
the same time. Also feels\\r\\nlike an arbitrary number to\nintroduce a
\\\"lists all packages even if\\r\\nthere are more N\\\" test\ncase.
Open to feedback on testing.\\r\\n\\r\\n## Before\\r\\n\\r\\n23
installed\nintegrations, only 20
in\nUI\\r\\n\\r\\n\\r\\n![image](217930126-441e78a8-d484-4c5d-b5df-00179d930e4a.png)\\r\\n\\r\\n##\nAfter\\r\\n\\r\\n23
installed integrations, 23
in\nUI\\r\\n\\r\\n\\r\\n![image](https://user-images.githubusercontent.com/6766512/217930384-21506d77-7244-42c1-93bd-97025a8ec86e.png)\",\"sha\":\"e7209f52a91170ce3e53d2bd27bafaecf6195d54\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v8.8.0\",\"labelRegex\":\"^v8.8.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/150780\",\"number\":150780,\"mergeCommit\":{\"message\":\"[Fleet]\nFix
max 20 installed integrations returned from Fleet API\n(#150780)\\n\\n##
Summary\\r\\n\\r\\nFix an (old) bug where Fleet's \\\"list\npackages\\\"
API endpoint would only\\r\\never return 20 installed\nintegrations at
most.\\r\\n\\r\\nI haven't included a test case here because\nI'm not
sure we have 20 test\\r\\npackages that can reasonably be\ninstalled at
the same time. Also feels\\r\\nlike an arbitrary number to\nintroduce a
\\\"lists all packages even if\\r\\nthere are more N\\\" test\ncase.
Open to feedback on testing.\\r\\n\\r\\n## Before\\r\\n\\r\\n23
installed\nintegrations, only 20
in\nUI\\r\\n\\r\\n\\r\\n![image](217930126-441e78a8-d484-4c5d-b5df-00179d930e4a.png)\\r\\n\\r\\n##\nAfter\\r\\n\\r\\n23
installed integrations, 23
in\nUI\\r\\n\\r\\n\\r\\n![image](https://user-images.githubusercontent.com/6766512/217930384-21506d77-7244-42c1-93bd-97025a8ec86e.png)\",\"sha\":\"e7209f52a91170ce3e53d2bd27bafaecf6195d54\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Kyle Pollich
<kyle.pollich@elastic.co>"}},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150780","number":150780,"mergeCommit":{"message":"[Fleet]
Fix max 20 installed integrations returned from Fleet API
(#150780)\n\n## Summary\r\n\r\nFix an (old) bug where Fleet's \"list
packages\" API endpoint would only\r\never return 20 installed
integrations at most.\r\n\r\nI haven't included a test case here because
I'm not sure we have 20 test\r\npackages that can reasonably be
installed at the same time. Also feels\r\nlike an arbitrary number to
introduce a \"lists all packages even if\r\nthere are more N\" test
case. Open to feedback on testing.\r\n\r\n## Before\r\n\r\n23 installed
integrations, only 20 in
UI\r\n\r\n\r\n![image](217930126-441e78a8-d484-4c5d-b5df-00179d930e4a.png)\r\n\r\n##
After\r\n\r\n23 installed integrations, 23 in
UI\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/6766512/217930384-21506d77-7244-42c1-93bd-97025a8ec86e.png)","sha":"e7209f52a91170ce3e53d2bd27bafaecf6195d54"}}]}]
BACKPORT-->
2023-02-10 08:45:49 -07:00
Kibana Machine
6de41514aa
[8.6] [Security Solution] Fixes bulk close alerts from exception flyout type bug (#150765) (#150783)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Security Solution] Fixes bulk close alerts from exception flyout
type bug (#150765)](https://github.com/elastic/kibana/pull/150765)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Davis
Plumlee","email":"56367316+dplumlee@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-02-09T21:00:07Z","message":"[Security
Solution] Fixes bulk close alerts from exception flyout type bug
(#150765)","sha":"216fb3a1806d67c35e7ee84353d4d6460f87ad85","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:
SecuritySolution","Team:Detection
Alerts","backport:prev-minor","v8.7.0","v8.6.2","v8.8.0"],"number":150765,"url":"https://github.com/elastic/kibana/pull/150765","mergeCommit":{"message":"[Security
Solution] Fixes bulk close alerts from exception flyout type bug
(#150765)","sha":"216fb3a1806d67c35e7ee84353d4d6460f87ad85"}},"sourceBranch":"main","suggestedTargetBranches":["8.7","8.6"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.6","label":"v8.6.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150765","number":150765,"mergeCommit":{"message":"[Security
Solution] Fixes bulk close alerts from exception flyout type bug
(#150765)","sha":"216fb3a1806d67c35e7ee84353d4d6460f87ad85"}}]}]
BACKPORT-->

Co-authored-by: Davis Plumlee <56367316+dplumlee@users.noreply.github.com>
2023-02-09 15:26:20 -07:00
Mark Hopkin
afa8d4edac
[8.6] [Fleet] Run agent policy schema in batches during fleet setup + add xpack.fleet.setup.agentPolicySchemaUpgradeBatchSize config (#150688) (#150781)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Fleet] Run agent policy schema in batches during fleet setup + add
`xpack.fleet.setup.agentPolicySchemaUpgradeBatchSize` config
(#150688)](https://github.com/elastic/kibana/pull/150688)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Mark
Hopkin","email":"mark.hopkin@elastic.co"},"sourceCommit":{"committedDate":"2023-02-09T17:16:35Z","message":"[Fleet]
Run agent policy schema in batches during fleet setup + add
`xpack.fleet.setup.agentPolicySchemaUpgradeBatchSize` config
(#150688)\n\n## Summary\r\n\r\nCloses #150538 \r\n\r\nAs part of the
Fleet plugin setup, we check to see if any agent policies\r\nhave an out
of date `schema_version` and upgrade them. We encountered an\r\nerror
when this upgrade happens on a large number of agent policies as\r\nwe
attempted the upgrade in one large batch.\r\n\r\nThis pull request
performs the schema upgrade in batches of 100 by\r\ndefault and also
adds the config
value\r\n`xpack.fleet.setup.agentPolicySchemaUpgradeBatchSize` to make
the batch\r\nsize configurable.\r\n\r\nI have also added more debug
logging to show progress, and reduced the\r\nresponse payload of one of
our requests which was very large.\r\n\r\n### Dev testing\r\n\r\nTo test
this you need an environemnt with lots of agent policies (> 2k)\r\nwhere
`schema_version`\r\nis not set. To create an environment with a large
number of agent\r\npolicies I have added a new param to the agent
creation script, I ran:\r\n\r\n```\r\ncd x-pack/plugins/fleet\r\nnode
scripts/create_agents --count 20 --kibana http://127.0.0.1:5601/mark
--status online --delete --batches 3000 --concurrentBatches
100\r\n```\r\n\r\nTo generate 3000 agent policies each with 20 agents
in.\r\n\r\nI then modified the agent policies so that they require an
upgrade, as\r\n`system_indices_superuser` run:\r\n\r\n```\r\nPOST
/.kibana/_update_by_query\r\n{\r\n \"query\": {\r\n \"bool\": {\r\n
\"filter\": [\r\n {\r\n \"term\": {\r\n \"type\":
\"ingest-agent-policies\"\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"script\":
{\r\n \"source\":
\"ctx._source['ingest-agent-policies'].remove('schema_version')\",\r\n
\"lang\": \"painless\"\r\n }\r\n}\r\n```\r\n\r\nrestarting kibana will
run the setup and in
batches.","sha":"6e06452aac11ed22efa923284fbb9ad4da1f7ce1","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Team:Fleet","backport:all-open","v8.7.0","v8.8.0"],"number":150688,"url":"https://github.com/elastic/kibana/pull/150688","mergeCommit":{"message":"[Fleet]
Run agent policy schema in batches during fleet setup + add
`xpack.fleet.setup.agentPolicySchemaUpgradeBatchSize` config
(#150688)\n\n## Summary\r\n\r\nCloses #150538 \r\n\r\nAs part of the
Fleet plugin setup, we check to see if any agent policies\r\nhave an out
of date `schema_version` and upgrade them. We encountered an\r\nerror
when this upgrade happens on a large number of agent policies as\r\nwe
attempted the upgrade in one large batch.\r\n\r\nThis pull request
performs the schema upgrade in batches of 100 by\r\ndefault and also
adds the config
value\r\n`xpack.fleet.setup.agentPolicySchemaUpgradeBatchSize` to make
the batch\r\nsize configurable.\r\n\r\nI have also added more debug
logging to show progress, and reduced the\r\nresponse payload of one of
our requests which was very large.\r\n\r\n### Dev testing\r\n\r\nTo test
this you need an environemnt with lots of agent policies (> 2k)\r\nwhere
`schema_version`\r\nis not set. To create an environment with a large
number of agent\r\npolicies I have added a new param to the agent
creation script, I ran:\r\n\r\n```\r\ncd x-pack/plugins/fleet\r\nnode
scripts/create_agents --count 20 --kibana http://127.0.0.1:5601/mark
--status online --delete --batches 3000 --concurrentBatches
100\r\n```\r\n\r\nTo generate 3000 agent policies each with 20 agents
in.\r\n\r\nI then modified the agent policies so that they require an
upgrade, as\r\n`system_indices_superuser` run:\r\n\r\n```\r\nPOST
/.kibana/_update_by_query\r\n{\r\n \"query\": {\r\n \"bool\": {\r\n
\"filter\": [\r\n {\r\n \"term\": {\r\n \"type\":
\"ingest-agent-policies\"\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"script\":
{\r\n \"source\":
\"ctx._source['ingest-agent-policies'].remove('schema_version')\",\r\n
\"lang\": \"painless\"\r\n }\r\n}\r\n```\r\n\r\nrestarting kibana will
run the setup and in
batches.","sha":"6e06452aac11ed22efa923284fbb9ad4da1f7ce1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/150750","number":150750,"state":"MERGED","mergeCommit":{"sha":"2713d135c6d942c0007315a139c0b4114a9054b7","message":"[8.7]
[Fleet] Run agent policy schema in batches during fleet setup + add
`xpack.fleet.setup.agentPolicySchemaUpgradeBatchSize` config (#150688)
(#150750)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.7`:\n- [[Fleet] Run agent policy schema in batches during
fleet setup + add\n`xpack.fleet.setup.agentPolicySchemaUpgradeBatchSize`
config\n(#150688)](https://github.com/elastic/kibana/pull/150688)\n\n<!---
Backport version: 8.9.7 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Mark\nHopkin\",\"email\":\"mark.hopkin@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2023-02-09T17:16:35Z\",\"message\":\"[Fleet]\nRun
agent policy schema in batches during fleet setup +
add\n`xpack.fleet.setup.agentPolicySchemaUpgradeBatchSize`
config\n(#150688)\\n\\n## Summary\\r\\n\\r\\nCloses #150538
\\r\\n\\r\\nAs part of the\nFleet plugin setup, we check to see if any
agent policies\\r\\nhave an out\nof date `schema_version` and upgrade
them. We encountered an\\r\\nerror\nwhen this upgrade happens on a large
number of agent policies as\\r\\nwe\nattempted the upgrade in one large
batch.\\r\\n\\r\\nThis pull request\nperforms the schema upgrade in
batches of 100 by\\r\\ndefault and also\nadds the
config\nvalue\\r\\n`xpack.fleet.setup.agentPolicySchemaUpgradeBatchSize`
to make\nthe batch\\r\\nsize configurable.\\r\\n\\r\\nI have also added
more debug\nlogging to show progress, and reduced the\\r\\nresponse
payload of one of\nour requests which was very large.\\r\\n\\r\\n### Dev
testing\\r\\n\\r\\nTo test\nthis you need an environemnt with lots of
agent policies (> 2k)\\r\\nwhere\n`schema_version`\\r\\nis not set. To
create an environment with a large\nnumber of agent\\r\\npolicies I have
added a new param to the agent\ncreation script, I
ran:\\r\\n\\r\\n```\\r\\ncd
x-pack/plugins/fleet\\r\\nnode\nscripts/create_agents --count 20
--kibana http://127.0.0.1:5601/mark\n--status online --delete --batches
3000 --concurrentBatches\n100\\r\\n```\\r\\n\\r\\nTo generate 3000 agent
policies each with 20 agents\nin.\\r\\n\\r\\nI then modified the agent
policies so that they require an\nupgrade,
as\\r\\n`system_indices_superuser`
run:\\r\\n\\r\\n```\\r\\nPOST\n/.kibana/_update_by_query\\r\\n{\\r\\n
\\\"query\\\": {\\r\\n \\\"bool\\\": {\\r\\n\n\\\"filter\\\": [\\r\\n
{\\r\\n \\\"term\\\": {\\r\\n
\\\"type\\\":\n\\\"ingest-agent-policies\\\"\\r\\n }\\r\\n }\\r\\n
]\\r\\n }\\r\\n },\\r\\n \\\"script\\\":\n{\\r\\n
\\\"source\\\":\n\\\"ctx._source['ingest-agent-policies'].remove('schema_version')\\\",\\r\\n\n\\\"lang\\\":
\\\"painless\\\"\\r\\n }\\r\\n}\\r\\n```\\r\\n\\r\\nrestarting kibana
will\nrun the setup and
in\nbatches.\",\"sha\":\"6e06452aac11ed22efa923284fbb9ad4da1f7ce1\",\"branchLabelMapping\":{\"^v8.8.0$\":\"main\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:enhancement\",\"Team:Fleet\",\"backport:all-open\",\"v8.8.0\"],\"number\":150688,\"url\":\"https://github.com/elastic/kibana/pull/150688\",\"mergeCommit\":{\"message\":\"[Fleet]\nRun
agent policy schema in batches during fleet setup +
add\n`xpack.fleet.setup.agentPolicySchemaUpgradeBatchSize`
config\n(#150688)\\n\\n## Summary\\r\\n\\r\\nCloses #150538
\\r\\n\\r\\nAs part of the\nFleet plugin setup, we check to see if any
agent policies\\r\\nhave an out\nof date `schema_version` and upgrade
them. We encountered an\\r\\nerror\nwhen this upgrade happens on a large
number of agent policies as\\r\\nwe\nattempted the upgrade in one large
batch.\\r\\n\\r\\nThis pull request\nperforms the schema upgrade in
batches of 100 by\\r\\ndefault and also\nadds the
config\nvalue\\r\\n`xpack.fleet.setup.agentPolicySchemaUpgradeBatchSize`
to make\nthe batch\\r\\nsize configurable.\\r\\n\\r\\nI have also added
more debug\nlogging to show progress, and reduced the\\r\\nresponse
payload of one of\nour requests which was very large.\\r\\n\\r\\n### Dev
testing\\r\\n\\r\\nTo test\nthis you need an environemnt with lots of
agent policies (> 2k)\\r\\nwhere\n`schema_version`\\r\\nis not set. To
create an environment with a large\nnumber of agent\\r\\npolicies I have
added a new param to the agent\ncreation script, I
ran:\\r\\n\\r\\n```\\r\\ncd
x-pack/plugins/fleet\\r\\nnode\nscripts/create_agents --count 20
--kibana http://127.0.0.1:5601/mark\n--status online --delete --batches
3000 --concurrentBatches\n100\\r\\n```\\r\\n\\r\\nTo generate 3000 agent
policies each with 20 agents\nin.\\r\\n\\r\\nI then modified the agent
policies so that they require an\nupgrade,
as\\r\\n`system_indices_superuser`
run:\\r\\n\\r\\n```\\r\\nPOST\n/.kibana/_update_by_query\\r\\n{\\r\\n
\\\"query\\\": {\\r\\n \\\"bool\\\": {\\r\\n\n\\\"filter\\\": [\\r\\n
{\\r\\n \\\"term\\\": {\\r\\n
\\\"type\\\":\n\\\"ingest-agent-policies\\\"\\r\\n }\\r\\n }\\r\\n
]\\r\\n }\\r\\n },\\r\\n \\\"script\\\":\n{\\r\\n
\\\"source\\\":\n\\\"ctx._source['ingest-agent-policies'].remove('schema_version')\\\",\\r\\n\n\\\"lang\\\":
\\\"painless\\\"\\r\\n }\\r\\n}\\r\\n```\\r\\n\\r\\nrestarting kibana
will\nrun the setup and
in\nbatches.\",\"sha\":\"6e06452aac11ed22efa923284fbb9ad4da1f7ce1\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v8.8.0\",\"labelRegex\":\"^v8.8.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/150688\",\"number\":150688,\"mergeCommit\":{\"message\":\"[Fleet]\nRun
agent policy schema in batches during fleet setup +
add\n`xpack.fleet.setup.agentPolicySchemaUpgradeBatchSize`
config\n(#150688)\\n\\n## Summary\\r\\n\\r\\nCloses #150538
\\r\\n\\r\\nAs part of the\nFleet plugin setup, we check to see if any
agent policies\\r\\nhave an out\nof date `schema_version` and upgrade
them. We encountered an\\r\\nerror\nwhen this upgrade happens on a large
number of agent policies as\\r\\nwe\nattempted the upgrade in one large
batch.\\r\\n\\r\\nThis pull request\nperforms the schema upgrade in
batches of 100 by\\r\\ndefault and also\nadds the
config\nvalue\\r\\n`xpack.fleet.setup.agentPolicySchemaUpgradeBatchSize`
to make\nthe batch\\r\\nsize configurable.\\r\\n\\r\\nI have also added
more debug\nlogging to show progress, and reduced the\\r\\nresponse
payload of one of\nour requests which was very large.\\r\\n\\r\\n### Dev
testing\\r\\n\\r\\nTo test\nthis you need an environemnt with lots of
agent policies (> 2k)\\r\\nwhere\n`schema_version`\\r\\nis not set. To
create an environment with a large\nnumber of agent\\r\\npolicies I have
added a new param to the agent\ncreation script, I
ran:\\r\\n\\r\\n```\\r\\ncd
x-pack/plugins/fleet\\r\\nnode\nscripts/create_agents --count 20
--kibana http://127.0.0.1:5601/mark\n--status online --delete --batches
3000 --concurrentBatches\n100\\r\\n```\\r\\n\\r\\nTo generate 3000 agent
policies each with 20 agents\nin.\\r\\n\\r\\nI then modified the agent
policies so that they require an\nupgrade,
as\\r\\n`system_indices_superuser`
run:\\r\\n\\r\\n```\\r\\nPOST\n/.kibana/_update_by_query\\r\\n{\\r\\n
\\\"query\\\": {\\r\\n \\\"bool\\\": {\\r\\n\n\\\"filter\\\": [\\r\\n
{\\r\\n \\\"term\\\": {\\r\\n
\\\"type\\\":\n\\\"ingest-agent-policies\\\"\\r\\n }\\r\\n }\\r\\n
]\\r\\n }\\r\\n },\\r\\n \\\"script\\\":\n{\\r\\n
\\\"source\\\":\n\\\"ctx._source['ingest-agent-policies'].remove('schema_version')\\\",\\r\\n\n\\\"lang\\\":
\\\"painless\\\"\\r\\n }\\r\\n}\\r\\n```\\r\\n\\r\\nrestarting kibana
will\nrun the setup and
in\nbatches.\",\"sha\":\"6e06452aac11ed22efa923284fbb9ad4da1f7ce1\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Mark Hopkin
<mark.hopkin@elastic.co>"}},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150688","number":150688,"mergeCommit":{"message":"[Fleet]
Run agent policy schema in batches during fleet setup + add
`xpack.fleet.setup.agentPolicySchemaUpgradeBatchSize` config
(#150688)\n\n## Summary\r\n\r\nCloses #150538 \r\n\r\nAs part of the
Fleet plugin setup, we check to see if any agent policies\r\nhave an out
of date `schema_version` and upgrade them. We encountered an\r\nerror
when this upgrade happens on a large number of agent policies as\r\nwe
attempted the upgrade in one large batch.\r\n\r\nThis pull request
performs the schema upgrade in batches of 100 by\r\ndefault and also
adds the config
value\r\n`xpack.fleet.setup.agentPolicySchemaUpgradeBatchSize` to make
the batch\r\nsize configurable.\r\n\r\nI have also added more debug
logging to show progress, and reduced the\r\nresponse payload of one of
our requests which was very large.\r\n\r\n### Dev testing\r\n\r\nTo test
this you need an environemnt with lots of agent policies (> 2k)\r\nwhere
`schema_version`\r\nis not set. To create an environment with a large
number of agent\r\npolicies I have added a new param to the agent
creation script, I ran:\r\n\r\n```\r\ncd x-pack/plugins/fleet\r\nnode
scripts/create_agents --count 20 --kibana http://127.0.0.1:5601/mark
--status online --delete --batches 3000 --concurrentBatches
100\r\n```\r\n\r\nTo generate 3000 agent policies each with 20 agents
in.\r\n\r\nI then modified the agent policies so that they require an
upgrade, as\r\n`system_indices_superuser` run:\r\n\r\n```\r\nPOST
/.kibana/_update_by_query\r\n{\r\n \"query\": {\r\n \"bool\": {\r\n
\"filter\": [\r\n {\r\n \"term\": {\r\n \"type\":
\"ingest-agent-policies\"\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"script\":
{\r\n \"source\":
\"ctx._source['ingest-agent-policies'].remove('schema_version')\",\r\n
\"lang\": \"painless\"\r\n }\r\n}\r\n```\r\n\r\nrestarting kibana will
run the setup and in
batches.","sha":"6e06452aac11ed22efa923284fbb9ad4da1f7ce1"}}]}]
BACKPORT-->
2023-02-09 14:40:04 -07:00
Kibana Machine
ebd9b2a083
[8.6] [UA] skip system indices migration status check if featureSet.migrateSystemIndices is set to false (#150710) (#150736)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[UA] skip system indices migration status check if
`featureSet.migrateSystemIndices` is set to `false`
(#150710)](https://github.com/elastic/kibana/pull/150710)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Ahmad
Bamieh","email":"ahmad.bamyeh@elastic.co"},"sourceCommit":{"committedDate":"2023-02-09T16:09:39Z","message":"[UA]
skip system indices migration status check if
`featureSet.migrateSystemIndices` is set to `false`
(#150710)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"d2f86398ecc76c0a8a9abdbadcb6d37a693886b9","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","v8.6.2","v8.8.0"],"number":150710,"url":"https://github.com/elastic/kibana/pull/150710","mergeCommit":{"message":"[UA]
skip system indices migration status check if
`featureSet.migrateSystemIndices` is set to `false`
(#150710)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"d2f86398ecc76c0a8a9abdbadcb6d37a693886b9"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150710","number":150710,"mergeCommit":{"message":"[UA]
skip system indices migration status check if
`featureSet.migrateSystemIndices` is set to `false`
(#150710)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"d2f86398ecc76c0a8a9abdbadcb6d37a693886b9"}}]}]
BACKPORT-->

Co-authored-by: Ahmad Bamieh <ahmad.bamyeh@elastic.co>
2023-02-09 10:18:02 -07:00
Dzmitry Lemechko
6caf84dba0
[8.6] [ftr tests] split x-pack functional_with_es_ssl config (#150416) (#150534)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[ftr tests] split x-pack functional_with_es_ssl config
(#150416)](https://github.com/elastic/kibana/pull/150416)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2023-02-08T08:56:40Z","message":"[ftr
tests] split x-pack functional_with_es_ssl config (#150416)\n\n##
Summary\r\n\r\nSplitting config as it takes over 40 minutes into smaller
ones to\r\nspeedup CI\r\n\r\n```\r\nThe following \"Functional Tests\"
configs have durations that exceed the maximum amount of time desired
for a single CI job. This is not an error, and if you don't own any of
these configs then you can ignore this warning.If you own any of these
configs please split them up ASAP and ask Operations if you have
questions about how to do
that.\r\n\r\nx-pack/test/functional_with_es_ssl/config.ts: 40.6
minutes\r\n```\r\n\r\nQuick tests execution
time\r\n[analysis](https://buildkite.com/elastic/kibana-pull-request/builds/105995#01862b40-f797-4537-9e05-a56453173b6d):\r\n\r\n/apps/triggers_actions_ui
~ 13 min\r\n09:01:15 CEST - 09:14:10 CEST\r\n\r\n/apps/discover ~ 6
min\r\n09:14:10 CEST - 09:20:21 CEST\r\n\r\n/apps/uptime. ~ 2
min\r\n09:20:21 CEST - 09:22:08 CEST\r\n\r\n/apps/ml ~1 min\r\n09:22:08
CEST - 09:22:57 CEST\r\n\r\n/apps/cases ~ 17 min\r\n09:23:02 CEST -
09:40:19 CEST\r\n\r\nSplitting into 3
groups:\r\nx-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/config.ts\r\n12m
46s\r\nx-pack/test/functional_with_es_ssl/apps/cases/config.ts 18m
07s\r\nx-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/config.ts
10m\r\n38s\r\n\r\nSplitting cases/config into 2
groups:\r\nx-pack/test/functional_with_es_ssl/apps/cases/group1/config.ts
10m
18s\r\nx-pack/test/functional_with_es_ssl/apps/cases/group2/config.ts 8m
58s","sha":"c190a5f9141f96a15a4b30d285d2e121b3eb7651","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.7.0","v8.6.2"],"number":150416,"url":"https://github.com/elastic/kibana/pull/150416","mergeCommit":{"message":"[ftr
tests] split x-pack functional_with_es_ssl config (#150416)\n\n##
Summary\r\n\r\nSplitting config as it takes over 40 minutes into smaller
ones to\r\nspeedup CI\r\n\r\n```\r\nThe following \"Functional Tests\"
configs have durations that exceed the maximum amount of time desired
for a single CI job. This is not an error, and if you don't own any of
these configs then you can ignore this warning.If you own any of these
configs please split them up ASAP and ask Operations if you have
questions about how to do
that.\r\n\r\nx-pack/test/functional_with_es_ssl/config.ts: 40.6
minutes\r\n```\r\n\r\nQuick tests execution
time\r\n[analysis](https://buildkite.com/elastic/kibana-pull-request/builds/105995#01862b40-f797-4537-9e05-a56453173b6d):\r\n\r\n/apps/triggers_actions_ui
~ 13 min\r\n09:01:15 CEST - 09:14:10 CEST\r\n\r\n/apps/discover ~ 6
min\r\n09:14:10 CEST - 09:20:21 CEST\r\n\r\n/apps/uptime. ~ 2
min\r\n09:20:21 CEST - 09:22:08 CEST\r\n\r\n/apps/ml ~1 min\r\n09:22:08
CEST - 09:22:57 CEST\r\n\r\n/apps/cases ~ 17 min\r\n09:23:02 CEST -
09:40:19 CEST\r\n\r\nSplitting into 3
groups:\r\nx-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/config.ts\r\n12m
46s\r\nx-pack/test/functional_with_es_ssl/apps/cases/config.ts 18m
07s\r\nx-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/config.ts
10m\r\n38s\r\n\r\nSplitting cases/config into 2
groups:\r\nx-pack/test/functional_with_es_ssl/apps/cases/group1/config.ts
10m
18s\r\nx-pack/test/functional_with_es_ssl/apps/cases/group2/config.ts 8m
58s","sha":"c190a5f9141f96a15a4b30d285d2e121b3eb7651"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150416","number":150416,"mergeCommit":{"message":"[ftr
tests] split x-pack functional_with_es_ssl config (#150416)\n\n##
Summary\r\n\r\nSplitting config as it takes over 40 minutes into smaller
ones to\r\nspeedup CI\r\n\r\n```\r\nThe following \"Functional Tests\"
configs have durations that exceed the maximum amount of time desired
for a single CI job. This is not an error, and if you don't own any of
these configs then you can ignore this warning.If you own any of these
configs please split them up ASAP and ask Operations if you have
questions about how to do
that.\r\n\r\nx-pack/test/functional_with_es_ssl/config.ts: 40.6
minutes\r\n```\r\n\r\nQuick tests execution
time\r\n[analysis](https://buildkite.com/elastic/kibana-pull-request/builds/105995#01862b40-f797-4537-9e05-a56453173b6d):\r\n\r\n/apps/triggers_actions_ui
~ 13 min\r\n09:01:15 CEST - 09:14:10 CEST\r\n\r\n/apps/discover ~ 6
min\r\n09:14:10 CEST - 09:20:21 CEST\r\n\r\n/apps/uptime. ~ 2
min\r\n09:20:21 CEST - 09:22:08 CEST\r\n\r\n/apps/ml ~1 min\r\n09:22:08
CEST - 09:22:57 CEST\r\n\r\n/apps/cases ~ 17 min\r\n09:23:02 CEST -
09:40:19 CEST\r\n\r\nSplitting into 3
groups:\r\nx-pack/test/functional_with_es_ssl/apps/triggers_actions_ui/config.ts\r\n12m
46s\r\nx-pack/test/functional_with_es_ssl/apps/cases/config.ts 18m
07s\r\nx-pack/test/functional_with_es_ssl/apps/discover_ml_uptime/config.ts
10m\r\n38s\r\n\r\nSplitting cases/config into 2
groups:\r\nx-pack/test/functional_with_es_ssl/apps/cases/group1/config.ts
10m
18s\r\nx-pack/test/functional_with_es_ssl/apps/cases/group2/config.ts 8m
58s","sha":"c190a5f9141f96a15a4b30d285d2e121b3eb7651"}},{"branch":"8.6","label":"v8.6.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-02-09 05:00:41 -07:00
Kibana Machine
10ed683e56
[8.6] [Cases] Fix flaky delete case test (#150476) (#150560)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Cases] Fix flaky delete case test
(#150476)](https://github.com/elastic/kibana/pull/150476)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Jonathan
Buttner","email":"56361221+jonathan-buttner@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-02-08T14:02:56Z","message":"[Cases]
Fix flaky delete case test (#150476)\n\nThis PR adds some `await` to
functions that might have been causing\r\nflakiness for some of our end
to end tests.\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/145502\r\n\r\nFlaky test
run:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1878","sha":"9bf320f8f6a4552f96ea470679f3835d16f7e31b","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","Feature:Cases","v8.7.0","v8.6.2"],"number":150476,"url":"https://github.com/elastic/kibana/pull/150476","mergeCommit":{"message":"[Cases]
Fix flaky delete case test (#150476)\n\nThis PR adds some `await` to
functions that might have been causing\r\nflakiness for some of our end
to end tests.\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/145502\r\n\r\nFlaky test
run:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1878","sha":"9bf320f8f6a4552f96ea470679f3835d16f7e31b"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150476","number":150476,"mergeCommit":{"message":"[Cases]
Fix flaky delete case test (#150476)\n\nThis PR adds some `await` to
functions that might have been causing\r\nflakiness for some of our end
to end tests.\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/145502\r\n\r\nFlaky test
run:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1878","sha":"9bf320f8f6a4552f96ea470679f3835d16f7e31b"}},{"branch":"8.6","label":"v8.6.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Jonathan Buttner <56361221+jonathan-buttner@users.noreply.github.com>
2023-02-08 13:03:43 -07:00
Jonathan Budzenski
a4db3e937d skip flaky suite (#145204) 2023-02-08 12:56:32 -06:00
Kibana Machine
16fbbcfa20 skip failing test suite (#150557) 2023-02-08 12:42:34 -05:00
Kibana Machine
3941a9ece4 skip failing test suite (#150561) 2023-02-08 12:39:08 -05:00
Kibana Machine
75f1856078 skip failing test suite (#150563) 2023-02-08 12:38:27 -05:00
Kibana Machine
81d1d992b2 skip failing test suite (#148314) 2023-02-08 12:36:40 -05:00
Kibana Machine
8621e17cd4 skip failing test suite (#150562) 2023-02-08 11:54:11 -05:00
Kibana Machine
242d67d138 skip failing test suite (#150561) 2023-02-08 11:32:57 -05:00
Elastic Machine
ef16c94557
[8.6] Sync bundled packages with Package Storage (#150525)
Automated by
https://internal-ci.elastic.co/job/package_storage/job/sync-bundled-packages-job/job/main/1705/

Co-authored-by: apmmachine <infra-root+apmmachine@elastic.co>
2023-02-08 10:26:06 -05:00
Lisa Cawley
9cf85b6821
[8.6] [DOCS] Improve index connector, automate screenshots (#150126) (#150508)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[DOCS] Improve index connector, automate screenshots
(#150126)](https://github.com/elastic/kibana/pull/150126)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-02-07T16:42:09Z","message":"[DOCS]
Improve index connector, automate screenshots
(#150126)","sha":"6f908219060ceac5415421061642d90cadf76cd5","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","docs","Feature:Actions/ConnectorTypes","backport:prev-minor","v8.7.0"],"number":150126,"url":"https://github.com/elastic/kibana/pull/150126","mergeCommit":{"message":"[DOCS]
Improve index connector, automate screenshots
(#150126)","sha":"6f908219060ceac5415421061642d90cadf76cd5"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150126","number":150126,"mergeCommit":{"message":"[DOCS]
Improve index connector, automate screenshots
(#150126)","sha":"6f908219060ceac5415421061642d90cadf76cd5"}}]}]
BACKPORT-->
2023-02-07 17:57:34 -07:00
Kibana Machine
fad351e7c8
[8.6] [DOCS] Fix incorrect alt text for images (#149371) (#149452)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[DOCS] Fix incorrect alt text for images
(#149371)](https://github.com/elastic/kibana/pull/149371)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-01-24T20:49:33Z","message":"[DOCS]
Fix incorrect alt text for images
(#149371)","sha":"4c9a76cabdb6774e8f721b744cc264148c67aa40","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","Feature:Rollups","docs","backport:all-open","v8.7.0"],"number":149371,"url":"https://github.com/elastic/kibana/pull/149371","mergeCommit":{"message":"[DOCS]
Fix incorrect alt text for images
(#149371)","sha":"4c9a76cabdb6774e8f721b744cc264148c67aa40"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149371","number":149371,"mergeCommit":{"message":"[DOCS]
Fix incorrect alt text for images
(#149371)","sha":"4c9a76cabdb6774e8f721b744cc264148c67aa40"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-02-07 19:22:46 -05:00
Lisa Cawley
7557ad1d1a
[8.6] [DOCS] Improve server log connector, automate screenshots (#149905) (#150477)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[DOCS] Improve server log connector, automate screenshots
(#149905)](https://github.com/elastic/kibana/pull/149905)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-02-01T00:34:02Z","message":"[DOCS]
Improve server log connector, automate screenshots
(#149905)","sha":"411103aaae54d277f6166c3b0286ce68d9d02aed","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","backport
missing","docs","Feature:Actions/ConnectorTypes","backport:prev-minor","v8.7.0"],"number":149905,"url":"https://github.com/elastic/kibana/pull/149905","mergeCommit":{"message":"[DOCS]
Improve server log connector, automate screenshots
(#149905)","sha":"411103aaae54d277f6166c3b0286ce68d9d02aed"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149905","number":149905,"mergeCommit":{"message":"[DOCS]
Improve server log connector, automate screenshots
(#149905)","sha":"411103aaae54d277f6166c3b0286ce68d9d02aed"}}]}]
BACKPORT-->
2023-02-07 16:00:33 -08:00
Lisa Cawley
1301190482
[8.6] [ResponseOps] Automate screenshots for new rule statuses (#147492) (#150482)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[ResponseOps] Automate screenshots for new rule statuses
(#147492)](https://github.com/elastic/kibana/pull/147492)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-01-04T12:21:00Z","message":"[ResponseOps]
Automate screenshots for new rule statuses (#147492)\n\nCo-authored-by:
Brandon Kobel
<brandon.kobel@gmail.com>","sha":"4e11ef1b6b3bda3af20e9f682894383378206ab4","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Alerting","release_note:skip","backport:skip","Team:ResponseOps","docs","v8.7.0","8.6.1"],"number":147492,"url":"https://github.com/elastic/kibana/pull/147492","mergeCommit":{"message":"[ResponseOps]
Automate screenshots for new rule statuses (#147492)\n\nCo-authored-by:
Brandon Kobel
<brandon.kobel@gmail.com>","sha":"4e11ef1b6b3bda3af20e9f682894383378206ab4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/147492","number":147492,"mergeCommit":{"message":"[ResponseOps]
Automate screenshots for new rule statuses (#147492)\n\nCo-authored-by:
Brandon Kobel
<brandon.kobel@gmail.com>","sha":"4e11ef1b6b3bda3af20e9f682894383378206ab4"}}]}]
BACKPORT-->
2023-02-07 14:08:58 -07:00
Jonathan Buttner
940700ae12
[8.6] [Cases] Improve functional tests (#150117) (#150454)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Cases] Improve functional tests
(#150117)](https://github.com/elastic/kibana/pull/150117)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Jonathan
Buttner","email":"56361221+jonathan-buttner@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-02-06T20:38:36Z","message":"[Cases]
Improve functional tests (#150117)\n\nThis PR tries to improve how often
our functional tests succeeds. I also\r\ntried cleaning up a few things
that seemed to be slowing the tests down\r\nand also causing errors when
the tests were run individually.\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/145271\r\n\r\nNotable
changes:\r\n- I added a value to the `property-actions*` in most places
so that the\r\nfunctional tests can distinguish between a description,
comment, or the\r\ncase ellipses this seems to work consistently where
other methods have\r\nnot\r\n\r\nFlaky test
run:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1871","sha":"c3ea5e5b3a2f0e13e743eea059404c81a07576c1","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","Team:ResponseOps","Feature:Cases","v8.7.0"],"number":150117,"url":"https://github.com/elastic/kibana/pull/150117","mergeCommit":{"message":"[Cases]
Improve functional tests (#150117)\n\nThis PR tries to improve how often
our functional tests succeeds. I also\r\ntried cleaning up a few things
that seemed to be slowing the tests down\r\nand also causing errors when
the tests were run individually.\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/145271\r\n\r\nNotable
changes:\r\n- I added a value to the `property-actions*` in most places
so that the\r\nfunctional tests can distinguish between a description,
comment, or the\r\ncase ellipses this seems to work consistently where
other methods have\r\nnot\r\n\r\nFlaky test
run:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1871","sha":"c3ea5e5b3a2f0e13e743eea059404c81a07576c1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150117","number":150117,"mergeCommit":{"message":"[Cases]
Improve functional tests (#150117)\n\nThis PR tries to improve how often
our functional tests succeeds. I also\r\ntried cleaning up a few things
that seemed to be slowing the tests down\r\nand also causing errors when
the tests were run individually.\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/145271\r\n\r\nNotable
changes:\r\n- I added a value to the `property-actions*` in most places
so that the\r\nfunctional tests can distinguish between a description,
comment, or the\r\ncase ellipses this seems to work consistently where
other methods have\r\nnot\r\n\r\nFlaky test
run:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1871","sha":"c3ea5e5b3a2f0e13e743eea059404c81a07576c1"}}]}]
BACKPORT-->
2023-02-07 12:31:50 -07:00
Kibana Machine
ef976b2798
[8.6] Fix useless regex escapes (#150043) (#150457)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Fix useless regex escapes
(#150043)](https://github.com/elastic/kibana/pull/150043)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2023-02-07T16:58:47Z","message":"Fix
useless regex escapes
(#150043)","sha":"6ad7ba3ddbb6b9445145ebc55f13f54767f5353e","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","backport:all-open","v8.7.0"],"number":150043,"url":"https://github.com/elastic/kibana/pull/150043","mergeCommit":{"message":"Fix
useless regex escapes
(#150043)","sha":"6ad7ba3ddbb6b9445145ebc55f13f54767f5353e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150043","number":150043,"mergeCommit":{"message":"Fix
useless regex escapes
(#150043)","sha":"6ad7ba3ddbb6b9445145ebc55f13f54767f5353e"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2023-02-07 11:29:30 -07:00
Christos Nasikas
840143e46c
[8.6] [Cases] Break long titles in toaster (#150257) (#150433)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Cases] Break long titles in toaster
(#150257)](https://github.com/elastic/kibana/pull/150257)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Christos
Nasikas","email":"christos.nasikas@elastic.co"},"sourceCommit":{"committedDate":"2023-02-07T12:26:56Z","message":"[Cases]
Break long titles in toaster (#150257)\n\n## Summary\r\n\r\nIn some
toasters, the title of the toaster is set from user input. It
is\r\npossible for long titles to overflow the toaster. This PR fixes
this\r\nissue by forcing long titles to break. Uses the EUI CSS utility
class\r\n`eui-textBreakWord`.\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/149485\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\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### 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\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ce6bde172b605133a01055f8498a09e34ad70ce1","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","Feature:Cases","backport:prev-minor","v8.7.0"],"number":150257,"url":"https://github.com/elastic/kibana/pull/150257","mergeCommit":{"message":"[Cases]
Break long titles in toaster (#150257)\n\n## Summary\r\n\r\nIn some
toasters, the title of the toaster is set from user input. It
is\r\npossible for long titles to overflow the toaster. This PR fixes
this\r\nissue by forcing long titles to break. Uses the EUI CSS utility
class\r\n`eui-textBreakWord`.\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/149485\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\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### 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\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ce6bde172b605133a01055f8498a09e34ad70ce1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150257","number":150257,"mergeCommit":{"message":"[Cases]
Break long titles in toaster (#150257)\n\n## Summary\r\n\r\nIn some
toasters, the title of the toaster is set from user input. It
is\r\npossible for long titles to overflow the toaster. This PR fixes
this\r\nissue by forcing long titles to break. Uses the EUI CSS utility
class\r\n`eui-textBreakWord`.\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/149485\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\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### 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\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ce6bde172b605133a01055f8498a09e34ad70ce1"}}]}]
BACKPORT-->
2023-02-07 07:53:44 -07:00
Thomas Watson
b8d278c066
[8.6] [@kbn/handlebars] Split index.ts into several files (#150230) (#150422)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[@kbn/handlebars] Split index.ts into several files
(#150230)](https://github.com/elastic/kibana/pull/150230)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2023-02-07T09:39:10Z","message":"[@kbn/handlebars]
Split index.ts into several files (#150230)\n\nAn attempt to make the
code a little bit easier to
parse","sha":"eafa5e7f0536715e26d71c3e104525ddd7551a14","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.7.0"],"number":150230,"url":"https://github.com/elastic/kibana/pull/150230","mergeCommit":{"message":"[@kbn/handlebars]
Split index.ts into several files (#150230)\n\nAn attempt to make the
code a little bit easier to
parse","sha":"eafa5e7f0536715e26d71c3e104525ddd7551a14"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150230","number":150230,"mergeCommit":{"message":"[@kbn/handlebars]
Split index.ts into several files (#150230)\n\nAn attempt to make the
code a little bit easier to
parse","sha":"eafa5e7f0536715e26d71c3e104525ddd7551a14"}}]}] BACKPORT-->
2023-02-07 05:56:55 -07:00
Carlos Crespo
3f3846c384
[Stack Monitoring] Fix logstash node_detail_mb test (#150346)
## Summary

closes #142642

This PR fixes the expected result for the node_detail_mb test. 

One of the possible reasons why it failed is because this [PR changed
the cpu load_average fields type to
`half_float`](7ba1426c71),
making the `logstash_os_load` metrics to be different from the expected
results.

This problem doesn't happen in 8.7, because, [among other things, this
PR updated the expected result, with the correct
values](https://github.com/elastic/kibana/pull/145351)


### How to test

```bash
node scripts/functional_test_runner --config x-pack/test/api_integration/config.ts --include x-pack/test/api_integration/apis/monitoring/logstash/node_detail_mb.js 
```

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-02-07 11:20:28 +01:00
Kibana Machine
355493b6e0
[8.6] [Docs] Documents constraints of space id in create space API (#150379) (#150391)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Docs] Documents constraints of space id in create space API
(#150379)](https://github.com/elastic/kibana/pull/150379)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Jeramy
Soucy","email":"jeramy.soucy@elastic.co"},"sourceCommit":{"committedDate":"2023-02-06T21:31:35Z","message":"[Docs]
Documents constraints of space id in create space API
(#150379)\n\ncloses #150311\r\n\r\nAdds wording to clarify that the
space ID must be lowercase\r\nalphanumeric, but can include underscores
and hyphens. Previously this\r\nrestriction was not documented, but if
these requirements are not met\r\nthe API will respond with a
400.","sha":"01a18df4365d412f5d05f98beafd72c0f3feabe9","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","APIDocs","backport:all-open","v8.7.0"],"number":150379,"url":"https://github.com/elastic/kibana/pull/150379","mergeCommit":{"message":"[Docs]
Documents constraints of space id in create space API
(#150379)\n\ncloses #150311\r\n\r\nAdds wording to clarify that the
space ID must be lowercase\r\nalphanumeric, but can include underscores
and hyphens. Previously this\r\nrestriction was not documented, but if
these requirements are not met\r\nthe API will respond with a
400.","sha":"01a18df4365d412f5d05f98beafd72c0f3feabe9"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150379","number":150379,"mergeCommit":{"message":"[Docs]
Documents constraints of space id in create space API
(#150379)\n\ncloses #150311\r\n\r\nAdds wording to clarify that the
space ID must be lowercase\r\nalphanumeric, but can include underscores
and hyphens. Previously this\r\nrestriction was not documented, but if
these requirements are not met\r\nthe API will respond with a
400.","sha":"01a18df4365d412f5d05f98beafd72c0f3feabe9"}}]}] BACKPORT-->

Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
2023-02-06 16:51:28 -05:00
Kibana Machine
d9f90aaf24
[8.6] [Cases] Fix failing migration tests (#148808) (#150106)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Cases] Fix failing migration tests
(#148808)](https://github.com/elastic/kibana/pull/148808)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Jonathan
Buttner","email":"56361221+jonathan-buttner@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-02-01T20:50:15Z","message":"[Cases]
Fix failing migration tests (#148808)\n\nThis PR fixes a failing
migration test. The test was likely failing\r\nbecause we're using es
archiver to add saved objects to the kibana index\r\ninstead of using
the kbn archiver. Since we support importing cases\r\nsaved objects I
converted most of the places to use the kbn archiver. We\r\ndon't export
the case configuration type so it cannot be imported so I\r\nhad to
remove the integration tests and moved them to unit
tests\r\ninstead.\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/139782\r\n\r\nFlaky test
runner:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1855\r\n🟢","sha":"6b790e7994239e3fe4ffac017772660f6402e9cb","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","Feature:Cases","backport:prev-minor","v8.7.0"],"number":148808,"url":"https://github.com/elastic/kibana/pull/148808","mergeCommit":{"message":"[Cases]
Fix failing migration tests (#148808)\n\nThis PR fixes a failing
migration test. The test was likely failing\r\nbecause we're using es
archiver to add saved objects to the kibana index\r\ninstead of using
the kbn archiver. Since we support importing cases\r\nsaved objects I
converted most of the places to use the kbn archiver. We\r\ndon't export
the case configuration type so it cannot be imported so I\r\nhad to
remove the integration tests and moved them to unit
tests\r\ninstead.\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/139782\r\n\r\nFlaky test
runner:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1855\r\n🟢","sha":"6b790e7994239e3fe4ffac017772660f6402e9cb"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/148808","number":148808,"mergeCommit":{"message":"[Cases]
Fix failing migration tests (#148808)\n\nThis PR fixes a failing
migration test. The test was likely failing\r\nbecause we're using es
archiver to add saved objects to the kibana index\r\ninstead of using
the kbn archiver. Since we support importing cases\r\nsaved objects I
converted most of the places to use the kbn archiver. We\r\ndon't export
the case configuration type so it cannot be imported so I\r\nhad to
remove the integration tests and moved them to unit
tests\r\ninstead.\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/139782\r\n\r\nFlaky test
runner:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1855\r\n🟢","sha":"6b790e7994239e3fe4ffac017772660f6402e9cb"}}]}]
BACKPORT-->

Co-authored-by: Jonathan Buttner <56361221+jonathan-buttner@users.noreply.github.com>
2023-02-06 09:10:32 -07:00
Cauê Marcondes
bf585d188e
[8.6] [Obs] fixing news feed by using dynamic kibana version (#150053) (#150335)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Obs] fixing news feed by using dynamic kibana version
(#150053)](https://github.com/elastic/kibana/pull/150053)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Cauê
Marcondes","email":"55978943+cauemarcondes@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-02-02T17:12:36Z","message":"[Obs]
fixing news feed by using dynamic kibana version (#150053)\n\ncloses
https://github.com/elastic/kibana/issues/149986\r\n\r\n<img
width=\"2551\" alt=\"Screenshot 2023-02-01 at 9 03 40
AM\"\r\nsrc=\"https://user-images.githubusercontent.com/55978943/216064385-30cc4604-39d1-40bf-a6b8-0632ca8e27fd.png\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"7b842280b8a6bbf540db27480a40ae899779aa79","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v8.7.0","v8.6.2"],"number":150053,"url":"https://github.com/elastic/kibana/pull/150053","mergeCommit":{"message":"[Obs]
fixing news feed by using dynamic kibana version (#150053)\n\ncloses
https://github.com/elastic/kibana/issues/149986\r\n\r\n<img
width=\"2551\" alt=\"Screenshot 2023-02-01 at 9 03 40
AM\"\r\nsrc=\"https://user-images.githubusercontent.com/55978943/216064385-30cc4604-39d1-40bf-a6b8-0632ca8e27fd.png\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"7b842280b8a6bbf540db27480a40ae899779aa79"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150053","number":150053,"mergeCommit":{"message":"[Obs]
fixing news feed by using dynamic kibana version (#150053)\n\ncloses
https://github.com/elastic/kibana/issues/149986\r\n\r\n<img
width=\"2551\" alt=\"Screenshot 2023-02-01 at 9 03 40
AM\"\r\nsrc=\"https://user-images.githubusercontent.com/55978943/216064385-30cc4604-39d1-40bf-a6b8-0632ca8e27fd.png\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"7b842280b8a6bbf540db27480a40ae899779aa79"}},{"branch":"8.6","label":"v8.6.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-02-06 08:41:23 -07:00
Kibana Machine
a751fd5f47
[8.6] Fix overly permissive regular expression range (#150058) (#150324)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Fix overly permissive regular expression range
(#150058)](https://github.com/elastic/kibana/pull/150058)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2023-02-06T13:05:08Z","message":"Fix
overly permissive regular expression range (#150058)\n\nWithout escaping
`-`, it's treated as a range instead of the literal\r\ncharacter - i.e.
it matches everything between `+` and `=` in the ASCII\r\ntable which
for instance include all
numbers.","sha":"af3ae7b5559580b5b7c720afec7d48bf42e24f0c","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","v8.7.0"],"number":150058,"url":"https://github.com/elastic/kibana/pull/150058","mergeCommit":{"message":"Fix
overly permissive regular expression range (#150058)\n\nWithout escaping
`-`, it's treated as a range instead of the literal\r\ncharacter - i.e.
it matches everything between `+` and `=` in the ASCII\r\ntable which
for instance include all
numbers.","sha":"af3ae7b5559580b5b7c720afec7d48bf42e24f0c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150058","number":150058,"mergeCommit":{"message":"Fix
overly permissive regular expression range (#150058)\n\nWithout escaping
`-`, it's treated as a range instead of the literal\r\ncharacter - i.e.
it matches everything between `+` and `=` in the ASCII\r\ntable which
for instance include all
numbers.","sha":"af3ae7b5559580b5b7c720afec7d48bf42e24f0c"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2023-02-06 07:11:31 -07:00
Kibana Machine
cb7d76d976
[8.6] [Enterprise Search] Fix painless script bug cancelling syncs (#150250) (#150256)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Enterprise Search] Fix painless script bug cancelling syncs
(#150250)](https://github.com/elastic/kibana/pull/150250)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Sander
Philipse","email":"94373878+sphilipse@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-02-03T18:17:19Z","message":"[Enterprise
Search] Fix painless script bug cancelling syncs (#150250)\n\n##
Summary\r\n\r\nFixes a formatting bug causing a painless script to
cancel syncs
to\r\nbreak.","sha":"c30c7870320ebd120ecd1f5da0253b215bbc40f3","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:EnterpriseSearch","v8.7.0","v8.6.2"],"number":150250,"url":"https://github.com/elastic/kibana/pull/150250","mergeCommit":{"message":"[Enterprise
Search] Fix painless script bug cancelling syncs (#150250)\n\n##
Summary\r\n\r\nFixes a formatting bug causing a painless script to
cancel syncs
to\r\nbreak.","sha":"c30c7870320ebd120ecd1f5da0253b215bbc40f3"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150250","number":150250,"mergeCommit":{"message":"[Enterprise
Search] Fix painless script bug cancelling syncs (#150250)\n\n##
Summary\r\n\r\nFixes a formatting bug causing a painless script to
cancel syncs
to\r\nbreak.","sha":"c30c7870320ebd120ecd1f5da0253b215bbc40f3"}},{"branch":"8.6","label":"v8.6.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Sander Philipse <94373878+sphilipse@users.noreply.github.com>
2023-02-03 12:27:19 -07:00
Dzmitry Lemechko
4f426de5e6
[performance] unskip journey (#150057)
## Summary

Closes #148221

This test failure was caused by Chrome binary not been found and
probably related to agent, not the test inself.
2023-02-03 14:46:31 +01:00
Kibana Machine
0659916073
[8.6] [@kbn/handlebars] Add support for partials (#150151) (#150223)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[@kbn/handlebars] Add support for partials
(#150151)](https://github.com/elastic/kibana/pull/150151)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2023-02-02T19:59:09Z","message":"[@kbn/handlebars]
Add support for partials (#150151)\n\nAdd support for
[partials](https://handlebarsjs.com/guide/partials.html)\r\nto our own
implementation of the [handlebars](https://handlebarsjs.com)\r\ntemplate
engine.\r\n\r\nCloses
#139068","sha":"2b82cb7fa24e019a3717b60abbe0f814b5ddcd5a","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","backport:prev-minor","v8.7.0"],"number":150151,"url":"https://github.com/elastic/kibana/pull/150151","mergeCommit":{"message":"[@kbn/handlebars]
Add support for partials (#150151)\n\nAdd support for
[partials](https://handlebarsjs.com/guide/partials.html)\r\nto our own
implementation of the [handlebars](https://handlebarsjs.com)\r\ntemplate
engine.\r\n\r\nCloses
#139068","sha":"2b82cb7fa24e019a3717b60abbe0f814b5ddcd5a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150151","number":150151,"mergeCommit":{"message":"[@kbn/handlebars]
Add support for partials (#150151)\n\nAdd support for
[partials](https://handlebarsjs.com/guide/partials.html)\r\nto our own
implementation of the [handlebars](https://handlebarsjs.com)\r\ntemplate
engine.\r\n\r\nCloses
#139068","sha":"2b82cb7fa24e019a3717b60abbe0f814b5ddcd5a"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2023-02-02 14:06:52 -07:00
Kibana Machine
6c767922d8
[8.6] [ci/es_snapshots] Set DOCKER_BUILDKIT as a bool (#150201) (#150218)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[ci/es_snapshots] Set DOCKER_BUILDKIT as a bool
(#150201)](https://github.com/elastic/kibana/pull/150201)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2023-02-02T18:45:55Z","message":"[ci/es_snapshots]
Set DOCKER_BUILDKIT as a bool (#150201)\n\nWe're seeing parse errors of
`DOCKER_BUILDKIT` after a version update.\r\nThis variable should either
be unset or a boolean. Instead of using an\r\nempty string this sets it
to
1.","sha":"82146cbd907a23f9a78dc6c3de1ffbbd00a34cb1","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.7.0"],"number":150201,"url":"https://github.com/elastic/kibana/pull/150201","mergeCommit":{"message":"[ci/es_snapshots]
Set DOCKER_BUILDKIT as a bool (#150201)\n\nWe're seeing parse errors of
`DOCKER_BUILDKIT` after a version update.\r\nThis variable should either
be unset or a boolean. Instead of using an\r\nempty string this sets it
to
1.","sha":"82146cbd907a23f9a78dc6c3de1ffbbd00a34cb1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150201","number":150201,"mergeCommit":{"message":"[ci/es_snapshots]
Set DOCKER_BUILDKIT as a bool (#150201)\n\nWe're seeing parse errors of
`DOCKER_BUILDKIT` after a version update.\r\nThis variable should either
be unset or a boolean. Instead of using an\r\nempty string this sets it
to 1.","sha":"82146cbd907a23f9a78dc6c3de1ffbbd00a34cb1"}}]}] BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
2023-02-02 19:49:34 +00:00
Kibana Machine
83bc02bff1
[8.6] [DOCS] Add specifications for deprecated connector APIs (#149637) (#150189)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[DOCS] Add specifications for deprecated connector APIs
(#149637)](https://github.com/elastic/kibana/pull/149637)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-02-02T15:22:32Z","message":"[DOCS]
Add specifications for deprecated connector APIs
(#149637)","sha":"83c382b0887754376840131a2b8e8208d93f855d","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","docs","Feature:Actions/ConnectorTypes","backport:prev-minor","v8.7.0"],"number":149637,"url":"https://github.com/elastic/kibana/pull/149637","mergeCommit":{"message":"[DOCS]
Add specifications for deprecated connector APIs
(#149637)","sha":"83c382b0887754376840131a2b8e8208d93f855d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149637","number":149637,"mergeCommit":{"message":"[DOCS]
Add specifications for deprecated connector APIs
(#149637)","sha":"83c382b0887754376840131a2b8e8208d93f855d"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-02-02 10:08:35 -07:00
Kibana Machine
192f7bd285
[8.6] [DOCS] Add specifications for deprecated alert APIs (#149655) (#150188)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[DOCS] Add specifications for deprecated alert APIs
(#149655)](https://github.com/elastic/kibana/pull/149655)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-02-02T15:21:43Z","message":"[DOCS]
Add specifications for deprecated alert APIs
(#149655)","sha":"59488afa5d7fe30b683d2035d73c1a09f1394b9f","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","docs","Feature:Alerting/RulesManagement","backport:prev-minor","v8.7.0"],"number":149655,"url":"https://github.com/elastic/kibana/pull/149655","mergeCommit":{"message":"[DOCS]
Add specifications for deprecated alert APIs
(#149655)","sha":"59488afa5d7fe30b683d2035d73c1a09f1394b9f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149655","number":149655,"mergeCommit":{"message":"[DOCS]
Add specifications for deprecated alert APIs
(#149655)","sha":"59488afa5d7fe30b683d2035d73c1a09f1394b9f"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-02-02 09:55:12 -07:00
Kibana Machine
1ac254d3de
[8.6] [Docs] Adds authentication providers sync to load balancing documentation (#149961) (#150193)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Docs] Adds authentication providers sync to load balancing
documentation (#149961)](https://github.com/elastic/kibana/pull/149961)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Jeramy
Soucy","email":"jeramy.soucy@elastic.co"},"sourceCommit":{"committedDate":"2023-02-02T16:11:35Z","message":"[Docs]
Adds authentication providers sync to load balancing documentation
(#149961)\n\nCloses #113928\r\n\r\n## Summary\r\n\r\n- Adds
'xpack.security.authc.providers' to the list of settings that\r\nmust be
the same across all Kibana instances behind a load balancer.\r\n- Adds a
warning block explaining why the authentication providers need\r\nto
match, and an additional configuration case where this
applies\r\n(Kibana instances that are backed by the same ES instance and
share the\r\nsame
kibana.index).","sha":"1418d753eacd0095cca4f08af5c5b12cc9af0817","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","docs","Feature:Security/Session
Management","backport:all-open","v8.7.0"],"number":149961,"url":"https://github.com/elastic/kibana/pull/149961","mergeCommit":{"message":"[Docs]
Adds authentication providers sync to load balancing documentation
(#149961)\n\nCloses #113928\r\n\r\n## Summary\r\n\r\n- Adds
'xpack.security.authc.providers' to the list of settings that\r\nmust be
the same across all Kibana instances behind a load balancer.\r\n- Adds a
warning block explaining why the authentication providers need\r\nto
match, and an additional configuration case where this
applies\r\n(Kibana instances that are backed by the same ES instance and
share the\r\nsame
kibana.index).","sha":"1418d753eacd0095cca4f08af5c5b12cc9af0817"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149961","number":149961,"mergeCommit":{"message":"[Docs]
Adds authentication providers sync to load balancing documentation
(#149961)\n\nCloses #113928\r\n\r\n## Summary\r\n\r\n- Adds
'xpack.security.authc.providers' to the list of settings that\r\nmust be
the same across all Kibana instances behind a load balancer.\r\n- Adds a
warning block explaining why the authentication providers need\r\nto
match, and an additional configuration case where this
applies\r\n(Kibana instances that are backed by the same ES instance and
share the\r\nsame
kibana.index).","sha":"1418d753eacd0095cca4f08af5c5b12cc9af0817"}}]}]
BACKPORT-->

Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
2023-02-02 11:30:39 -05:00
Kibana Machine
5838cd7677
[8.6] Improve security of links using target=_blank (#150049) (#150161)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Improve security of links using target=_blank
(#150049)](https://github.com/elastic/kibana/pull/150049)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2023-02-02T12:10:43Z","message":"Improve
security of links using target=_blank
(#150049)","sha":"4a1373c46fafe71be6334838413f71683ab263fa","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","v8.7.0"],"number":150049,"url":"https://github.com/elastic/kibana/pull/150049","mergeCommit":{"message":"Improve
security of links using target=_blank
(#150049)","sha":"4a1373c46fafe71be6334838413f71683ab263fa"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150049","number":150049,"mergeCommit":{"message":"Improve
security of links using target=_blank
(#150049)","sha":"4a1373c46fafe71be6334838413f71683ab263fa"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2023-02-02 06:42:09 -07:00
Kibana Machine
4f51ca24ba
[8.6] [@kbn/handlebars] Simplify the way upstream changes are discovered (#150024) (#150142)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[@kbn/handlebars] Simplify the way upstream changes are discovered
(#150024)](https://github.com/elastic/kibana/pull/150024)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2023-02-02T09:56:56Z","message":"[@kbn/handlebars]
Simplify the way upstream changes are discovered (#150024)\n\nPreviously
a custom diff of the files inside the upstream `spec`\r\ndirectory was
kept up-to-date in this package `.patches` directory. This\r\nprocess
was very tedious and wasn't providing much value.\r\n\r\nIn this commit
I've simplified the process tremendously and simply rely on\r\nchecking
if there are any new commits upstream and then allow the\r\ndeveloper to
manually check for relevant changes. This is something they\r\nneeded to
do with the old system regardless. Here the code is just
much\r\nsimpler.\r\n\r\n---------\r\n\r\nCo-authored-by: Aleh Zasypkin
<aleh.zasypkin@gmail.com>","sha":"975452987919dff1dbfc1ae48100763385c09c36","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.7.0"],"number":150024,"url":"https://github.com/elastic/kibana/pull/150024","mergeCommit":{"message":"[@kbn/handlebars]
Simplify the way upstream changes are discovered (#150024)\n\nPreviously
a custom diff of the files inside the upstream `spec`\r\ndirectory was
kept up-to-date in this package `.patches` directory. This\r\nprocess
was very tedious and wasn't providing much value.\r\n\r\nIn this commit
I've simplified the process tremendously and simply rely on\r\nchecking
if there are any new commits upstream and then allow the\r\ndeveloper to
manually check for relevant changes. This is something they\r\nneeded to
do with the old system regardless. Here the code is just
much\r\nsimpler.\r\n\r\n---------\r\n\r\nCo-authored-by: Aleh Zasypkin
<aleh.zasypkin@gmail.com>","sha":"975452987919dff1dbfc1ae48100763385c09c36"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150024","number":150024,"mergeCommit":{"message":"[@kbn/handlebars]
Simplify the way upstream changes are discovered (#150024)\n\nPreviously
a custom diff of the files inside the upstream `spec`\r\ndirectory was
kept up-to-date in this package `.patches` directory. This\r\nprocess
was very tedious and wasn't providing much value.\r\n\r\nIn this commit
I've simplified the process tremendously and simply rely on\r\nchecking
if there are any new commits upstream and then allow the\r\ndeveloper to
manually check for relevant changes. This is something they\r\nneeded to
do with the old system regardless. Here the code is just
much\r\nsimpler.\r\n\r\n---------\r\n\r\nCo-authored-by: Aleh Zasypkin
<aleh.zasypkin@gmail.com>","sha":"975452987919dff1dbfc1ae48100763385c09c36"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2023-02-02 06:10:05 -07:00
Elastic Machine
9eed05b447
[8.6] Sync bundled packages with Package Storage (#150131)
Automated by
https://internal-ci.elastic.co/job/package_storage/job/sync-bundled-packages-job/job/main/1603/

Co-authored-by: apmmachine <infra-root+apmmachine@elastic.co>
2023-02-02 07:59:48 -05:00
Kibana Machine
3e592177c3
[8.6] Code cleanup: Remove unnecessary Promise.all (#150094) (#150109)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Code cleanup: Remove unnecessary Promise.all
(#150094)](https://github.com/elastic/kibana/pull/150094)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2023-02-01T20:52:21Z","message":"Code
cleanup: Remove unnecessary Promise.all
(#150094)","sha":"a858201aa14849f2a7f7b81af933265f3f866326","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","v8.7.0"],"number":150094,"url":"https://github.com/elastic/kibana/pull/150094","mergeCommit":{"message":"Code
cleanup: Remove unnecessary Promise.all
(#150094)","sha":"a858201aa14849f2a7f7b81af933265f3f866326"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150094","number":150094,"mergeCommit":{"message":"Code
cleanup: Remove unnecessary Promise.all
(#150094)","sha":"a858201aa14849f2a7f7b81af933265f3f866326"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2023-02-01 15:44:49 -07:00
Kibana Machine
4b09263a15
[8.6] Improve script URL detection logic (#150045) (#150093)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Improve script URL detection logic
(#150045)](https://github.com/elastic/kibana/pull/150045)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2023-02-01T18:24:28Z","message":"Improve
script URL detection logic
(#150045)","sha":"3fbbbd4c24cc6942e6df643a97c8b46edb0f8d99","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","v8.7.0"],"number":150045,"url":"https://github.com/elastic/kibana/pull/150045","mergeCommit":{"message":"Improve
script URL detection logic
(#150045)","sha":"3fbbbd4c24cc6942e6df643a97c8b46edb0f8d99"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150045","number":150045,"mergeCommit":{"message":"Improve
script URL detection logic
(#150045)","sha":"3fbbbd4c24cc6942e6df643a97c8b46edb0f8d99"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2023-02-01 12:38:32 -07:00
Kibana Machine
b9c2e14aab
[8.6] fix banner overlap in dashboard embed and fullscreen mode (#150012) (#150074)
# Backport

This will backport the following commits from `main` to `8.6`:
- [fix banner overlap in dashboard embed and fullscreen mode
(#150012)](https://github.com/elastic/kibana/pull/150012)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Anton
Dosov","email":"anton.dosov@elastic.co"},"sourceCommit":{"committedDate":"2023-02-01T15:55:24Z","message":"fix
banner overlap in dashboard embed and fullscreen mode (#150012)\n\n##
Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/116103,\r\nhttps://github.com/elastic/kibana/issues/149112\r\nBetter
version of the initial
attempt\r\nhttps://github.com/elastic/kibana/pull/149197\r\n\r\n\r\nFixes
banner overlap in dashboard embed and fullscreen mode. The
fix\r\nfollows `chaos`'s
suggestion\r\nhttps://github.com/elastic/kibana/issues/116103#issuecomment-957599532.\r\nThe
bug root cause is described
in\r\nhttps://github.com/elastic/kibana/issues/116103#issuecomment-953252893\r\nand\r\nhttps://github.com/elastic/kibana/issues/116103#issuecomment-957369465\r\n\r\nTo
reproduce and test: \r\n\r\nSimple way to reproduce locally (no need for
an iframe):\r\n\r\n1. Add to
kibana.dev.yml\r\n\r\n```\r\nxpack.banners:\r\n placement: 'top'\r\n
textContent: 'P-System'\r\n textColor: '#FFFFFF'\r\n backgroundColor:
'#FF0000'\r\n```\r\n\r\n2. Enable platinum license trial through Stack
Management > Stack >\r\nLicense Management (banners are not available in
basic)\r\n\r\n3. Fullscreen: View a dashboard and switch to fullscreen
mode\r\n\r\n4. Embed mode: Open a dashboard, copy the URL, open that URL
in a new\r\nwindow appending `embed=true` to the URL.
e.g.:\r\n`edf84fe0-e1a0-11e7-b6d5-4dc382ef7f5b?embed=true&_g=()`\r\n\r\n\r\nfixed
fullscreen (no panel title overlap): \r\n\r\n![Screenshot 2023-02-01 at
11
29\r\n23](https://user-images.githubusercontent.com/7784120/216018466-b49ef056-48fd-47d4-a503-bcc17ff87c3e.png)\r\n\r\nfixed
embed (no controls overlap):\r\n\r\n![Screenshot 2023-02-01 at 11
29\r\n39](https://user-images.githubusercontent.com/7784120/216018547-a4735ee2-5306-4ae6-bd25-a79d651691bf.png)","sha":"30ed57628e00ad20ea0acf2cb603192cfbfb8dd2","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:SharedUX","backport:prev-minor","Feature:Global
Banner","v8.7.0"],"number":150012,"url":"https://github.com/elastic/kibana/pull/150012","mergeCommit":{"message":"fix
banner overlap in dashboard embed and fullscreen mode (#150012)\n\n##
Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/116103,\r\nhttps://github.com/elastic/kibana/issues/149112\r\nBetter
version of the initial
attempt\r\nhttps://github.com/elastic/kibana/pull/149197\r\n\r\n\r\nFixes
banner overlap in dashboard embed and fullscreen mode. The
fix\r\nfollows `chaos`'s
suggestion\r\nhttps://github.com/elastic/kibana/issues/116103#issuecomment-957599532.\r\nThe
bug root cause is described
in\r\nhttps://github.com/elastic/kibana/issues/116103#issuecomment-953252893\r\nand\r\nhttps://github.com/elastic/kibana/issues/116103#issuecomment-957369465\r\n\r\nTo
reproduce and test: \r\n\r\nSimple way to reproduce locally (no need for
an iframe):\r\n\r\n1. Add to
kibana.dev.yml\r\n\r\n```\r\nxpack.banners:\r\n placement: 'top'\r\n
textContent: 'P-System'\r\n textColor: '#FFFFFF'\r\n backgroundColor:
'#FF0000'\r\n```\r\n\r\n2. Enable platinum license trial through Stack
Management > Stack >\r\nLicense Management (banners are not available in
basic)\r\n\r\n3. Fullscreen: View a dashboard and switch to fullscreen
mode\r\n\r\n4. Embed mode: Open a dashboard, copy the URL, open that URL
in a new\r\nwindow appending `embed=true` to the URL.
e.g.:\r\n`edf84fe0-e1a0-11e7-b6d5-4dc382ef7f5b?embed=true&_g=()`\r\n\r\n\r\nfixed
fullscreen (no panel title overlap): \r\n\r\n![Screenshot 2023-02-01 at
11
29\r\n23](https://user-images.githubusercontent.com/7784120/216018466-b49ef056-48fd-47d4-a503-bcc17ff87c3e.png)\r\n\r\nfixed
embed (no controls overlap):\r\n\r\n![Screenshot 2023-02-01 at 11
29\r\n39](https://user-images.githubusercontent.com/7784120/216018547-a4735ee2-5306-4ae6-bd25-a79d651691bf.png)","sha":"30ed57628e00ad20ea0acf2cb603192cfbfb8dd2"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150012","number":150012,"mergeCommit":{"message":"fix
banner overlap in dashboard embed and fullscreen mode (#150012)\n\n##
Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/116103,\r\nhttps://github.com/elastic/kibana/issues/149112\r\nBetter
version of the initial
attempt\r\nhttps://github.com/elastic/kibana/pull/149197\r\n\r\n\r\nFixes
banner overlap in dashboard embed and fullscreen mode. The
fix\r\nfollows `chaos`'s
suggestion\r\nhttps://github.com/elastic/kibana/issues/116103#issuecomment-957599532.\r\nThe
bug root cause is described
in\r\nhttps://github.com/elastic/kibana/issues/116103#issuecomment-953252893\r\nand\r\nhttps://github.com/elastic/kibana/issues/116103#issuecomment-957369465\r\n\r\nTo
reproduce and test: \r\n\r\nSimple way to reproduce locally (no need for
an iframe):\r\n\r\n1. Add to
kibana.dev.yml\r\n\r\n```\r\nxpack.banners:\r\n placement: 'top'\r\n
textContent: 'P-System'\r\n textColor: '#FFFFFF'\r\n backgroundColor:
'#FF0000'\r\n```\r\n\r\n2. Enable platinum license trial through Stack
Management > Stack >\r\nLicense Management (banners are not available in
basic)\r\n\r\n3. Fullscreen: View a dashboard and switch to fullscreen
mode\r\n\r\n4. Embed mode: Open a dashboard, copy the URL, open that URL
in a new\r\nwindow appending `embed=true` to the URL.
e.g.:\r\n`edf84fe0-e1a0-11e7-b6d5-4dc382ef7f5b?embed=true&_g=()`\r\n\r\n\r\nfixed
fullscreen (no panel title overlap): \r\n\r\n![Screenshot 2023-02-01 at
11
29\r\n23](https://user-images.githubusercontent.com/7784120/216018466-b49ef056-48fd-47d4-a503-bcc17ff87c3e.png)\r\n\r\nfixed
embed (no controls overlap):\r\n\r\n![Screenshot 2023-02-01 at 11
29\r\n39](https://user-images.githubusercontent.com/7784120/216018547-a4735ee2-5306-4ae6-bd25-a79d651691bf.png)","sha":"30ed57628e00ad20ea0acf2cb603192cfbfb8dd2"}}]}]
BACKPORT-->

Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2023-02-01 10:00:16 -07:00
Ashokaditya
5682ca8a4f
[8.6] [Security Solution][Endpoint] Fix and unskip flaky test (#149841) (#150070)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Security Solution][Endpoint] Fix and unskip flaky test
(#149841)](https://github.com/elastic/kibana/pull/149841)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT
[{"author":{"name":"Ashokaditya","email":"1849116+ashokaditya@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-02-01T14:57:05Z","message":"[Security
Solution][Endpoint] Fix and unskip flaky test (#149841)\n\n>
**Note**\r\n> **Merge after elastic/kibana/pull/149839**\r\n\r\n##
Summary\r\n\r\nFixes flaky test
elastic/kibana/issues/145204\r\n\r\nflaky test runners
\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1817\r\nx
50 (failed on a single
[unrelated\r\n](92cb000a2f/x-pack/test/security_solution_endpoint/apps/endpoint/artifact_entries_list.ts (L75))flaky\r\ntest)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1826\r\nx
150 (failed on a single run for
an\r\n[unrelated](92cb000a2f/x-pack/test/security_solution_endpoint/apps/endpoint/artifact_entries_list.ts (L87))\r\nflaky
test)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1834\r\nx
200 (successful on all
runs)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1847\r\nx
100 (successful on all runs)\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","sha":"9b85acb49e821f16b886c608787b285d813198b6","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","test-failure-flaky","Team:Defend
Workflows","OLM
Sprint","v8.6.0","v8.7.0"],"number":149841,"url":"https://github.com/elastic/kibana/pull/149841","mergeCommit":{"message":"[Security
Solution][Endpoint] Fix and unskip flaky test (#149841)\n\n>
**Note**\r\n> **Merge after elastic/kibana/pull/149839**\r\n\r\n##
Summary\r\n\r\nFixes flaky test
elastic/kibana/issues/145204\r\n\r\nflaky test runners
\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1817\r\nx
50 (failed on a single
[unrelated\r\n](92cb000a2f/x-pack/test/security_solution_endpoint/apps/endpoint/artifact_entries_list.ts (L75))flaky\r\ntest)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1826\r\nx
150 (failed on a single run for
an\r\n[unrelated](92cb000a2f/x-pack/test/security_solution_endpoint/apps/endpoint/artifact_entries_list.ts (L87))\r\nflaky
test)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1834\r\nx
200 (successful on all
runs)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1847\r\nx
100 (successful on all runs)\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","sha":"9b85acb49e821f16b886c608787b285d813198b6"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149841","number":149841,"mergeCommit":{"message":"[Security
Solution][Endpoint] Fix and unskip flaky test (#149841)\n\n>
**Note**\r\n> **Merge after elastic/kibana/pull/149839**\r\n\r\n##
Summary\r\n\r\nFixes flaky test
elastic/kibana/issues/145204\r\n\r\nflaky test runners
\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1817\r\nx
50 (failed on a single
[unrelated\r\n](92cb000a2f/x-pack/test/security_solution_endpoint/apps/endpoint/artifact_entries_list.ts (L75))flaky\r\ntest)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1826\r\nx
150 (failed on a single run for
an\r\n[unrelated](92cb000a2f/x-pack/test/security_solution_endpoint/apps/endpoint/artifact_entries_list.ts (L87))\r\nflaky
test)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1834\r\nx
200 (successful on all
runs)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1847\r\nx
100 (successful on all runs)\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","sha":"9b85acb49e821f16b886c608787b285d813198b6"}}]}]
BACKPORT-->
2023-02-01 09:43:13 -07:00
Kibana Machine
1432dc65d9
[8.6] [TIP] Ensure non-primitive values are not rendered (#150015) (#150072)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[TIP] Ensure non-primitive values are not rendered
(#150015)](https://github.com/elastic/kibana/pull/150015)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Luke
Gmys","email":"lgmys@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-02-01T15:29:22Z","message":"[TIP]
Ensure non-primitive values are not rendered (#150015)\n\n##
Summary\r\n\r\nShould fix
https://github.com/elastic/security-team/issues/5856\r\n\r\nRight now,
it will just render the complex fields as empty. Should these\r\nbe
ommited or something?\r\n\r\n### Checklist\r\n\r\nDelete any items that
are not applicable to this PR.\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":"612b8e7d8a686f584e2f719416248e3255cfead0","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","backport:prev-minor","Team:
Protections
Experience","ci:cloud-deploy","v8.7.0"],"number":150015,"url":"https://github.com/elastic/kibana/pull/150015","mergeCommit":{"message":"[TIP]
Ensure non-primitive values are not rendered (#150015)\n\n##
Summary\r\n\r\nShould fix
https://github.com/elastic/security-team/issues/5856\r\n\r\nRight now,
it will just render the complex fields as empty. Should these\r\nbe
ommited or something?\r\n\r\n### Checklist\r\n\r\nDelete any items that
are not applicable to this PR.\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":"612b8e7d8a686f584e2f719416248e3255cfead0"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150015","number":150015,"mergeCommit":{"message":"[TIP]
Ensure non-primitive values are not rendered (#150015)\n\n##
Summary\r\n\r\nShould fix
https://github.com/elastic/security-team/issues/5856\r\n\r\nRight now,
it will just render the complex fields as empty. Should these\r\nbe
ommited or something?\r\n\r\n### Checklist\r\n\r\nDelete any items that
are not applicable to this PR.\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":"612b8e7d8a686f584e2f719416248e3255cfead0"}}]}]
BACKPORT-->

Co-authored-by: Luke Gmys <lgmys@users.noreply.github.com>
2023-02-01 09:31:05 -07:00
Kibana Machine
9a1a960b46
[8.6] Fix escaping of double quote (#150039) (#150055)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Fix escaping of double quote
(#150039)](https://github.com/elastic/kibana/pull/150039)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2023-02-01T14:00:22Z","message":"Fix
escaping of double quote (#150039)\n\nThe previous version of
`escapeSearchQueryPhrase` didn't
escape\r\nanything.","sha":"13853a4a5bc70726ddf9168b13eea0e8013bf360","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","backport:all-open","v8.7.0"],"number":150039,"url":"https://github.com/elastic/kibana/pull/150039","mergeCommit":{"message":"Fix
escaping of double quote (#150039)\n\nThe previous version of
`escapeSearchQueryPhrase` didn't
escape\r\nanything.","sha":"13853a4a5bc70726ddf9168b13eea0e8013bf360"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150039","number":150039,"mergeCommit":{"message":"Fix
escaping of double quote (#150039)\n\nThe previous version of
`escapeSearchQueryPhrase` didn't
escape\r\nanything.","sha":"13853a4a5bc70726ddf9168b13eea0e8013bf360"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2023-02-01 08:05:29 -07:00