Commit graph

61249 commits

Author SHA1 Message Date
Guillaume Dufrenne
de0c11fcfd
Update configuring-reporting.asciidoc
The fact that the official documentation pushes to use a deprecated parameter when using an external identity provider and the role_mappings.yml file  makes it look like this is the right way to go, when in fact you should be using dedicated roles for reporting as specified in step 3 https://www.elastic.co/guide/en/kibana/8.7/secure-reporting.html#grant-user-access:~:text=Specify%20the%20role%20settings.
2023-05-09 10:09:04 +02:00
Kibana Machine
3692688d01
[8.7] [performance] enable journey run against cloud deployments (#156720) (#157122)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[performance] enable journey run against cloud deployments
(#156720)](https://github.com/elastic/kibana/pull/156720)

<!--- 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-05-09T03:35:43Z","message":"[performance]
enable journey run against cloud deployments (#156720)\n\n##
Summary\r\n\r\nThis PR adds changes and instructions how to run existing
performance\r\njourneys against ESS instances.\r\n\r\nAs previously
discussed with @pheyos , there are few manual steps to be\r\ndone before
running the actual journey:\r\n1. Create cloud deployment and
re-configure it the way APM traces are\r\nreported the monitoring
cluster\r\n2. Check out the branch matching deployment version (main
->\r\n8.9.0-SNAPSHOT), create user with `superuser` role (we don't
test\r\nfunctional features, only performance metrics)\r\n\r\nThen you
can run the journey like a regular cloud test suite:\r\n```\r\nexport
TEST_KIBANA_URL=https://<username>:<password>@<kibana_url>\r\nexport
TEST_ES_URL=https://<username>:<password>@j<elasticsearch_url>:<port>\r\nexport
TEST_CLOUD=1\r\nnode scripts/functional_test_runner.js --config
x-pack/performance/journeys/$YOUR_JOURNEY_NAME.ts\r\n```\r\n\r\n<img
width=\"1357\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/10977896/236499836-2738fecb-a5a9-4e58-a10b-915b962af037.png\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Jon
<jon@budzenski.me>","sha":"e55a92eab0ae28799b51238fb76efa6026673e6e","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","wg:performance","v8.7.2","v8.9.0","v8.8.1"],"number":156720,"url":"https://github.com/elastic/kibana/pull/156720","mergeCommit":{"message":"[performance]
enable journey run against cloud deployments (#156720)\n\n##
Summary\r\n\r\nThis PR adds changes and instructions how to run existing
performance\r\njourneys against ESS instances.\r\n\r\nAs previously
discussed with @pheyos , there are few manual steps to be\r\ndone before
running the actual journey:\r\n1. Create cloud deployment and
re-configure it the way APM traces are\r\nreported the monitoring
cluster\r\n2. Check out the branch matching deployment version (main
->\r\n8.9.0-SNAPSHOT), create user with `superuser` role (we don't
test\r\nfunctional features, only performance metrics)\r\n\r\nThen you
can run the journey like a regular cloud test suite:\r\n```\r\nexport
TEST_KIBANA_URL=https://<username>:<password>@<kibana_url>\r\nexport
TEST_ES_URL=https://<username>:<password>@j<elasticsearch_url>:<port>\r\nexport
TEST_CLOUD=1\r\nnode scripts/functional_test_runner.js --config
x-pack/performance/journeys/$YOUR_JOURNEY_NAME.ts\r\n```\r\n\r\n<img
width=\"1357\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/10977896/236499836-2738fecb-a5a9-4e58-a10b-915b962af037.png\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Jon
<jon@budzenski.me>","sha":"e55a92eab0ae28799b51238fb76efa6026673e6e"}},"sourceBranch":"main","suggestedTargetBranches":["8.7","8.8"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156720","number":156720,"mergeCommit":{"message":"[performance]
enable journey run against cloud deployments (#156720)\n\n##
Summary\r\n\r\nThis PR adds changes and instructions how to run existing
performance\r\njourneys against ESS instances.\r\n\r\nAs previously
discussed with @pheyos , there are few manual steps to be\r\ndone before
running the actual journey:\r\n1. Create cloud deployment and
re-configure it the way APM traces are\r\nreported the monitoring
cluster\r\n2. Check out the branch matching deployment version (main
->\r\n8.9.0-SNAPSHOT), create user with `superuser` role (we don't
test\r\nfunctional features, only performance metrics)\r\n\r\nThen you
can run the journey like a regular cloud test suite:\r\n```\r\nexport
TEST_KIBANA_URL=https://<username>:<password>@<kibana_url>\r\nexport
TEST_ES_URL=https://<username>:<password>@j<elasticsearch_url>:<port>\r\nexport
TEST_CLOUD=1\r\nnode scripts/functional_test_runner.js --config
x-pack/performance/journeys/$YOUR_JOURNEY_NAME.ts\r\n```\r\n\r\n<img
width=\"1357\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/10977896/236499836-2738fecb-a5a9-4e58-a10b-915b962af037.png\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Jon
<jon@budzenski.me>","sha":"e55a92eab0ae28799b51238fb76efa6026673e6e"}},{"branch":"8.8","label":"v8.8.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2023-05-08 21:43:31 -07:00
Kibana Machine
1bd85bc256
[8.7] [Synthetics] adjust view errors detail link for project and ui monitors (#157063) (#157089)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Synthetics] adjust view errors detail link for project and ui
monitors (#157063)](https://github.com/elastic/kibana/pull/157063)

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

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

<!--BACKPORT [{"author":{"name":"Dominique
Clarke","email":"dominique.clarke@elastic.co"},"sourceCommit":{"committedDate":"2023-05-08T21:21:35Z","message":"[Synthetics]
adjust view errors detail link for project and ui monitors
(#157063)\n\n## Summary\r\n\r\nAdjusts the View Error Details link on
the Monitor Details page to use\r\nthe correct config
id.\r\n\r\nPreviously, the url was using the monitor query id, which is
different\r\nthan the config id for project
monitors.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"32d3ac27f5ba8fa94e121972ccaf7ae0b27d95a8","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Team:uptime","release_note:skip","v8.8.0","v8.7.2","v8.9.0"],"number":157063,"url":"https://github.com/elastic/kibana/pull/157063","mergeCommit":{"message":"[Synthetics]
adjust view errors detail link for project and ui monitors
(#157063)\n\n## Summary\r\n\r\nAdjusts the View Error Details link on
the Monitor Details page to use\r\nthe correct config
id.\r\n\r\nPreviously, the url was using the monitor query id, which is
different\r\nthan the config id for project
monitors.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"32d3ac27f5ba8fa94e121972ccaf7ae0b27d95a8"}},"sourceBranch":"main","suggestedTargetBranches":["8.8","8.7"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/157063","number":157063,"mergeCommit":{"message":"[Synthetics]
adjust view errors detail link for project and ui monitors
(#157063)\n\n## Summary\r\n\r\nAdjusts the View Error Details link on
the Monitor Details page to use\r\nthe correct config
id.\r\n\r\nPreviously, the url was using the monitor query id, which is
different\r\nthan the config id for project
monitors.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"32d3ac27f5ba8fa94e121972ccaf7ae0b27d95a8"}}]}]
BACKPORT-->

Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
2023-05-08 15:30:09 -07:00
Kibana Machine
28f77fb3aa
[8.7] [Security Solution][Endpoint] Fix hover color for processes response action output data rows (#156734) (#156992)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution][Endpoint] Fix hover color for `processes`
response action output data rows
(#156734)](https://github.com/elastic/kibana/pull/156734)

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

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

<!--BACKPORT [{"author":{"name":"Paul
Tavares","email":"56442535+paul-tavares@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-05-08T13:13:20Z","message":"[Security
Solution][Endpoint] Fix hover color for `processes` response action
output data rows (#156734)\n\n## Summary\r\n\r\n- Fixes the color used
to highlight a row from the output of the\r\n`processes` response action
so that selected content (via mouse) is\r\nstill legible when the kibana
dark theme is used.\r\n\r\nFixes:
#154594","sha":"3b789e31cd0f388f4dfdeb834ecdfdbbcca2a79f","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Defend
Workflows","v8.8.0","v8.7.2","v8.9.0"],"number":156734,"url":"https://github.com/elastic/kibana/pull/156734","mergeCommit":{"message":"[Security
Solution][Endpoint] Fix hover color for `processes` response action
output data rows (#156734)\n\n## Summary\r\n\r\n- Fixes the color used
to highlight a row from the output of the\r\n`processes` response action
so that selected content (via mouse) is\r\nstill legible when the kibana
dark theme is used.\r\n\r\nFixes:
#154594","sha":"3b789e31cd0f388f4dfdeb834ecdfdbbcca2a79f"}},"sourceBranch":"main","suggestedTargetBranches":["8.8","8.7"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156734","number":156734,"mergeCommit":{"message":"[Security
Solution][Endpoint] Fix hover color for `processes` response action
output data rows (#156734)\n\n## Summary\r\n\r\n- Fixes the color used
to highlight a row from the output of the\r\n`processes` response action
so that selected content (via mouse) is\r\nstill legible when the kibana
dark theme is used.\r\n\r\nFixes:
#154594","sha":"3b789e31cd0f388f4dfdeb834ecdfdbbcca2a79f"}}]}]
BACKPORT-->

Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
2023-05-08 08:02:12 -07:00
Kibana Machine
a1524ccdd8
[8.7] Upgrade chromedriver to 113.0.0 (#156950) (#156960)
# Backport

This will backport the following commits from `main` to `8.7`:
- [Upgrade chromedriver to 113.0.0
(#156950)](https://github.com/elastic/kibana/pull/156950)

<!--- 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-05-08T07:49:23Z","message":"Upgrade
chromedriver to 113.0.0 (#156950)\n\n## Summary\r\n\r\nCloses
#156821\r\n\r\nUpdating chromedriver dependency to match the latest
Chrome
release","sha":"acce3cbbe4f086310b55fc1393ebce7e8265f59c","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.7.2","v8.9.0","v7.17.11","v8.8.1"],"number":156950,"url":"https://github.com/elastic/kibana/pull/156950","mergeCommit":{"message":"Upgrade
chromedriver to 113.0.0 (#156950)\n\n## Summary\r\n\r\nCloses
#156821\r\n\r\nUpdating chromedriver dependency to match the latest
Chrome
release","sha":"acce3cbbe4f086310b55fc1393ebce7e8265f59c"}},"sourceBranch":"main","suggestedTargetBranches":["8.7","7.17","8.8"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156950","number":156950,"mergeCommit":{"message":"Upgrade
chromedriver to 113.0.0 (#156950)\n\n## Summary\r\n\r\nCloses
#156821\r\n\r\nUpdating chromedriver dependency to match the latest
Chrome
release","sha":"acce3cbbe4f086310b55fc1393ebce7e8265f59c"}},{"branch":"7.17","label":"v7.17.11","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.8","label":"v8.8.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2023-05-08 05:22:32 -07:00
Lisa Cawley
ad382a470b
[8.7] [ML] Fix insufficient license message (#156762) (#156875)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[ML] Fix insufficient license message
(#156762)](https://github.com/elastic/kibana/pull/156762)

<!--- 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-05-05T14:59:41Z","message":"[ML]
Fix insufficient license message
(#156762)","sha":"467681a89f7dc1f0d11d6fa74ec03c4cfcdf19c3","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","v8.8.0","v8.9.0"],"number":156762,"url":"https://github.com/elastic/kibana/pull/156762","mergeCommit":{"message":"[ML]
Fix insufficient license message
(#156762)","sha":"467681a89f7dc1f0d11d6fa74ec03c4cfcdf19c3"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/156872","number":156872,"state":"OPEN"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156762","number":156762,"mergeCommit":{"message":"[ML]
Fix insufficient license message
(#156762)","sha":"467681a89f7dc1f0d11d6fa74ec03c4cfcdf19c3"}}]}]
BACKPORT-->
2023-05-05 09:28:44 -07:00
Dzmitry Lemechko
8140890dfe
[8.7] [functional tests] split fleet_api_integration config into smaller ones (#156407) (#156851)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[functional tests] split fleet_api_integration config into smaller
ones (#156407)](https://github.com/elastic/kibana/pull/156407)

<!--- 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-05-03T14:26:58Z","message":"[functional
tests] split fleet_api_integration config into smaller ones
(#156407)\n\n## Summary\r\n\r\nRuntime for
`fleet_api_integration/config` crossed the 38 min limit.\r\nIdeally
config runtime should be <10 min so that pipeline can quickly\r\nretry
failed configs (we do 1 retry on CI)\r\n\r\n<img width=\"1600\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/10977896/235707744-3120e1e9-4882-493f-9ee0-86016a765401.png\">\r\n\r\n\r\nThis
PR splits the existing config into few smaller
ones:\r\n\r\n```\r\nx-pack/test/fleet_api_integration/config.agent.ts
15m 15s\r\nx-pack/test/fleet_api_integration/config.agent_policy.ts 4m
10s\r\nx-pack/test/fleet_api_integration/config.epm.ts 8m
12s\r\nx-pack/test/fleet_api_integration/config.package_policy.ts 10m
54s\r\n// combines multiple test
files\r\nx-pack/test/fleet_api_integration/config.fleet.ts 5m
2s\r\n```","sha":"1c777a2e702f7c5ae9c1b86063515c0a27368efb","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v8.8.0","v8.7.2","v8.9.0"],"number":156407,"url":"https://github.com/elastic/kibana/pull/156407","mergeCommit":{"message":"[functional
tests] split fleet_api_integration config into smaller ones
(#156407)\n\n## Summary\r\n\r\nRuntime for
`fleet_api_integration/config` crossed the 38 min limit.\r\nIdeally
config runtime should be <10 min so that pipeline can quickly\r\nretry
failed configs (we do 1 retry on CI)\r\n\r\n<img width=\"1600\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/10977896/235707744-3120e1e9-4882-493f-9ee0-86016a765401.png\">\r\n\r\n\r\nThis
PR splits the existing config into few smaller
ones:\r\n\r\n```\r\nx-pack/test/fleet_api_integration/config.agent.ts
15m 15s\r\nx-pack/test/fleet_api_integration/config.agent_policy.ts 4m
10s\r\nx-pack/test/fleet_api_integration/config.epm.ts 8m
12s\r\nx-pack/test/fleet_api_integration/config.package_policy.ts 10m
54s\r\n// combines multiple test
files\r\nx-pack/test/fleet_api_integration/config.fleet.ts 5m
2s\r\n```","sha":"1c777a2e702f7c5ae9c1b86063515c0a27368efb"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/156559","number":156559,"state":"MERGED","mergeCommit":{"sha":"d61043fdfa0b07f5156a1f78d42b6640e90edd1c","message":"[8.8]
[functional tests] split fleet_api_integration config into smaller ones
(#156407) (#156559)\n\n# Backport\n\nThis will backport the following
commits from `main` to `8.8`:\n- [[functional tests] split
fleet_api_integration config into smaller\nones
(#156407)](https://github.com/elastic/kibana/pull/156407)\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\":\"Dzmitry\nLemechko\",\"email\":\"dzmitry.lemechko@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2023-05-03T14:26:58Z\",\"message\":\"[functional\ntests]
split fleet_api_integration config into smaller ones\n(#156407)\\n\\n##
Summary\\r\\n\\r\\nRuntime for\n`fleet_api_integration/config` crossed
the 38 min limit.\\r\\nIdeally\nconfig runtime should be <10 min so that
pipeline can quickly\\r\\nretry\nfailed configs (we do 1 retry on
CI)\\r\\n\\r\\n<img
width=\\\"1600\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://user-images.githubusercontent.com/10977896/235707744-3120e1e9-4882-493f-9ee0-86016a765401.png\\\">\\r\\n\\r\\n\\r\\nThis\nPR
splits the existing config into few
smaller\nones:\\r\\n\\r\\n```\\r\\nx-pack/test/fleet_api_integration/config.agent.ts\n15m
15s\\r\\nx-pack/test/fleet_api_integration/config.agent_policy.ts
4m\n10s\\r\\nx-pack/test/fleet_api_integration/config.epm.ts
8m\n12s\\r\\nx-pack/test/fleet_api_integration/config.package_policy.ts
10m\n54s\\r\\n// combines multiple
test\nfiles\\r\\nx-pack/test/fleet_api_integration/config.fleet.ts
5m\n2s\\r\\n```\",\"sha\":\"1c777a2e702f7c5ae9c1b86063515c0a27368efb\",\"branchLabelMapping\":{\"^v8.9.0$\":\"main\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"Team:Fleet\",\"v8.8.0\",\"v8.7.2\",\"v8.9.0\"],\"number\":156407,\"url\":\"https://github.com/elastic/kibana/pull/156407\",\"mergeCommit\":{\"message\":\"[functional\ntests]
split fleet_api_integration config into smaller ones\n(#156407)\\n\\n##
Summary\\r\\n\\r\\nRuntime for\n`fleet_api_integration/config` crossed
the 38 min limit.\\r\\nIdeally\nconfig runtime should be <10 min so that
pipeline can quickly\\r\\nretry\nfailed configs (we do 1 retry on
CI)\\r\\n\\r\\n<img
width=\\\"1600\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://user-images.githubusercontent.com/10977896/235707744-3120e1e9-4882-493f-9ee0-86016a765401.png\\\">\\r\\n\\r\\n\\r\\nThis\nPR
splits the existing config into few
smaller\nones:\\r\\n\\r\\n```\\r\\nx-pack/test/fleet_api_integration/config.agent.ts\n15m
15s\\r\\nx-pack/test/fleet_api_integration/config.agent_policy.ts
4m\n10s\\r\\nx-pack/test/fleet_api_integration/config.epm.ts
8m\n12s\\r\\nx-pack/test/fleet_api_integration/config.package_policy.ts
10m\n54s\\r\\n// combines multiple
test\nfiles\\r\\nx-pack/test/fleet_api_integration/config.fleet.ts
5m\n2s\\r\\n```\",\"sha\":\"1c777a2e702f7c5ae9c1b86063515c0a27368efb\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"8.8\",\"8.7\"],\"targetPullRequestStates\":[{\"branch\":\"8.8\",\"label\":\"v8.8.0\",\"labelRegex\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.7\",\"label\":\"v8.7.2\",\"labelRegex\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"main\",\"label\":\"v8.9.0\",\"labelRegex\":\"^v8.9.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/156407\",\"number\":156407,\"mergeCommit\":{\"message\":\"[functional\ntests]
split fleet_api_integration config into smaller ones\n(#156407)\\n\\n##
Summary\\r\\n\\r\\nRuntime for\n`fleet_api_integration/config` crossed
the 38 min limit.\\r\\nIdeally\nconfig runtime should be <10 min so that
pipeline can quickly\\r\\nretry\nfailed configs (we do 1 retry on
CI)\\r\\n\\r\\n<img
width=\\\"1600\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://user-images.githubusercontent.com/10977896/235707744-3120e1e9-4882-493f-9ee0-86016a765401.png\\\">\\r\\n\\r\\n\\r\\nThis\nPR
splits the existing config into few
smaller\nones:\\r\\n\\r\\n```\\r\\nx-pack/test/fleet_api_integration/config.agent.ts\n15m
15s\\r\\nx-pack/test/fleet_api_integration/config.agent_policy.ts
4m\n10s\\r\\nx-pack/test/fleet_api_integration/config.epm.ts
8m\n12s\\r\\nx-pack/test/fleet_api_integration/config.package_policy.ts
10m\n54s\\r\\n// combines multiple
test\nfiles\\r\\nx-pack/test/fleet_api_integration/config.fleet.ts
5m\n2s\\r\\n```\",\"sha\":\"1c777a2e702f7c5ae9c1b86063515c0a27368efb\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Dzmitry Lemechko
<dzmitry.lemechko@elastic.co>"}},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156407","number":156407,"mergeCommit":{"message":"[functional
tests] split fleet_api_integration config into smaller ones
(#156407)\n\n## Summary\r\n\r\nRuntime for
`fleet_api_integration/config` crossed the 38 min limit.\r\nIdeally
config runtime should be <10 min so that pipeline can quickly\r\nretry
failed configs (we do 1 retry on CI)\r\n\r\n<img width=\"1600\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/10977896/235707744-3120e1e9-4882-493f-9ee0-86016a765401.png\">\r\n\r\n\r\nThis
PR splits the existing config into few smaller
ones:\r\n\r\n```\r\nx-pack/test/fleet_api_integration/config.agent.ts
15m 15s\r\nx-pack/test/fleet_api_integration/config.agent_policy.ts 4m
10s\r\nx-pack/test/fleet_api_integration/config.epm.ts 8m
12s\r\nx-pack/test/fleet_api_integration/config.package_policy.ts 10m
54s\r\n// combines multiple test
files\r\nx-pack/test/fleet_api_integration/config.fleet.ts 5m
2s\r\n```","sha":"1c777a2e702f7c5ae9c1b86063515c0a27368efb"}}]}]
BACKPORT-->
2023-05-05 07:01:43 -07:00
Jatin Kathuria
d77b101a7c
[8.7] [Security Solution] Indicator Matches Rendering Performance in Event Rendered View. (#154821) (#155602)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution] Indicator Matches Rendering Performance in Event
Rendered View. (#154821)](https://github.com/elastic/kibana/pull/154821)

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

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

<!--BACKPORT [{"author":{"name":"Jatin
Kathuria","email":"jatin.kathuria@elastic.co"},"sourceCommit":{"committedDate":"2023-04-20T12:43:17Z","message":"[Security
Solution] Indicator Matches Rendering Performance in Event Rendered
View. (#154821)\n\n## Summary\r\n\r\nHandles :
https://github.com/elastic/kibana/issues/150982\r\n\r\nWhen encountered
with large number of threat indicator matches, there\r\nwas a lag in
rendering of Event Rendered View because of sheer size of\r\nDOM that
needed to be rendered.\r\n\r\nThis PR defers the rendering of all
indicator matches to a modal which\r\nuser can open/close on demand.
Currently, MAX_RENDERED matches are `2`\r\nat a time but it can be
changed.\r\n\r\nThis number has been set so as to provide user with
optimal performance\r\nevent when 100 Rows are displayed. Demo
below:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/7485038/231473548-e18b3999-ea13-4a72-a78b-feff8eec99a9.mov\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[x] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[x] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[x] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[x] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"eb9c868779519bd2b2fb84ed05fddf802f21589a","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Threat
Hunting:Investigations","backport:prev-MAJOR","v8.8.0"],"number":154821,"url":"https://github.com/elastic/kibana/pull/154821","mergeCommit":{"message":"[Security
Solution] Indicator Matches Rendering Performance in Event Rendered
View. (#154821)\n\n## Summary\r\n\r\nHandles :
https://github.com/elastic/kibana/issues/150982\r\n\r\nWhen encountered
with large number of threat indicator matches, there\r\nwas a lag in
rendering of Event Rendered View because of sheer size of\r\nDOM that
needed to be rendered.\r\n\r\nThis PR defers the rendering of all
indicator matches to a modal which\r\nuser can open/close on demand.
Currently, MAX_RENDERED matches are `2`\r\nat a time but it can be
changed.\r\n\r\nThis number has been set so as to provide user with
optimal performance\r\nevent when 100 Rows are displayed. Demo
below:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/7485038/231473548-e18b3999-ea13-4a72-a78b-feff8eec99a9.mov\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[x] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[x] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[x] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[x] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"eb9c868779519bd2b2fb84ed05fddf802f21589a"}},"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/154821","number":154821,"mergeCommit":{"message":"[Security
Solution] Indicator Matches Rendering Performance in Event Rendered
View. (#154821)\n\n## Summary\r\n\r\nHandles :
https://github.com/elastic/kibana/issues/150982\r\n\r\nWhen encountered
with large number of threat indicator matches, there\r\nwas a lag in
rendering of Event Rendered View because of sheer size of\r\nDOM that
needed to be rendered.\r\n\r\nThis PR defers the rendering of all
indicator matches to a modal which\r\nuser can open/close on demand.
Currently, MAX_RENDERED matches are `2`\r\nat a time but it can be
changed.\r\n\r\nThis number has been set so as to provide user with
optimal performance\r\nevent when 100 Rows are displayed. Demo
below:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/7485038/231473548-e18b3999-ea13-4a72-a78b-feff8eec99a9.mov\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[x] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[x] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[x] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[x] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"eb9c868779519bd2b2fb84ed05fddf802f21589a"}}]}]
BACKPORT-->

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-05-05 00:51:17 -07:00
Elastic Machine
4fdde17bce
[8.7] Sync bundled packages with Package Storage (#156682)
Automated by
https://internal-ci.elastic.co/job/package_storage/job/sync-bundled-packages-job/job/main/3471/

Co-authored-by: apmmachine <infra-root+apmmachine@elastic.co>
2023-05-04 07:25:28 -07:00
Kibana Machine
10d7a5a3a8
[8.7] [Discover] Switch from "at" to "charAt" for better browser support (#156474) (#156656)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Discover] Switch from "at" to "charAt" for better browser support
(#156474)](https://github.com/elastic/kibana/pull/156474)

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

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

<!--BACKPORT [{"author":{"name":"Julia
Rechkunova","email":"julia.rechkunova@elastic.co"},"sourceCommit":{"committedDate":"2023-05-04T09:11:18Z","message":"[Discover]
Switch from \"at\" to \"charAt\" for better browser support
(#156474)\n\nFrom the community forum: users can't access Discover on
older browsers.\r\n\r\n```\r\nTypeError: t.at is not a function\r\nat
http://xxx:5601/61109/bundles/plugin/data/kibana/data.plugin.js:1:312992\r\nat
Array.forEach ()\r\nat n
(http://xxx:5601/61109/bundles/plugin/data/kibana/data.plugin.js:1:312956)\r\nat
s
(http://xxx:5601/61109/bundles/plugin/discover/kibana/discover.chunk.0.js:1:10138)\r\nat
http://xxx:5601/61109/bundles/plugin/discover/kibana/discover.chunk.0.js:1:10215\r\nat
Array.map ()\r\nat a
(http://xxx:5601/61109/bundles/plugin/discover/kibana/discover.chunk.0.js:1:10207)\r\nat
http://xxx:5601/61109/bundles/plugin/discover/kibana/discover.chunk.0.js:1:8442\r\nat
http://xxx:5601/61109/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:334:27724\r\nat
t.s._next
(http://xxx:5601/61109/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:6:33456)\r\n```\r\n\r\n-
https://discuss.elastic.co/t/update-to-8-7-0/329525\r\n-\r\nhttps://discuss.elastic.co/t/elastic-8-7-0-error-in-discover-tab/332329/2\r\n\r\n##
Summary\r\n\r\nThis PR replaces `String` `.at` usage with `.charAt` so
it does not\r\nrequire a polyfill for older
browsers.","sha":"396a2b63d461102cb312168adf9303265919c16c","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Discover","release_note:fix","Team:DataDiscovery","v8.7.0","v8.8.0","v8.9.0"],"number":156474,"url":"https://github.com/elastic/kibana/pull/156474","mergeCommit":{"message":"[Discover]
Switch from \"at\" to \"charAt\" for better browser support
(#156474)\n\nFrom the community forum: users can't access Discover on
older browsers.\r\n\r\n```\r\nTypeError: t.at is not a function\r\nat
http://xxx:5601/61109/bundles/plugin/data/kibana/data.plugin.js:1:312992\r\nat
Array.forEach ()\r\nat n
(http://xxx:5601/61109/bundles/plugin/data/kibana/data.plugin.js:1:312956)\r\nat
s
(http://xxx:5601/61109/bundles/plugin/discover/kibana/discover.chunk.0.js:1:10138)\r\nat
http://xxx:5601/61109/bundles/plugin/discover/kibana/discover.chunk.0.js:1:10215\r\nat
Array.map ()\r\nat a
(http://xxx:5601/61109/bundles/plugin/discover/kibana/discover.chunk.0.js:1:10207)\r\nat
http://xxx:5601/61109/bundles/plugin/discover/kibana/discover.chunk.0.js:1:8442\r\nat
http://xxx:5601/61109/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:334:27724\r\nat
t.s._next
(http://xxx:5601/61109/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:6:33456)\r\n```\r\n\r\n-
https://discuss.elastic.co/t/update-to-8-7-0/329525\r\n-\r\nhttps://discuss.elastic.co/t/elastic-8-7-0-error-in-discover-tab/332329/2\r\n\r\n##
Summary\r\n\r\nThis PR replaces `String` `.at` usage with `.charAt` so
it does not\r\nrequire a polyfill for older
browsers.","sha":"396a2b63d461102cb312168adf9303265919c16c"}},"sourceBranch":"main","suggestedTargetBranches":["8.7","8.8"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156474","number":156474,"mergeCommit":{"message":"[Discover]
Switch from \"at\" to \"charAt\" for better browser support
(#156474)\n\nFrom the community forum: users can't access Discover on
older browsers.\r\n\r\n```\r\nTypeError: t.at is not a function\r\nat
http://xxx:5601/61109/bundles/plugin/data/kibana/data.plugin.js:1:312992\r\nat
Array.forEach ()\r\nat n
(http://xxx:5601/61109/bundles/plugin/data/kibana/data.plugin.js:1:312956)\r\nat
s
(http://xxx:5601/61109/bundles/plugin/discover/kibana/discover.chunk.0.js:1:10138)\r\nat
http://xxx:5601/61109/bundles/plugin/discover/kibana/discover.chunk.0.js:1:10215\r\nat
Array.map ()\r\nat a
(http://xxx:5601/61109/bundles/plugin/discover/kibana/discover.chunk.0.js:1:10207)\r\nat
http://xxx:5601/61109/bundles/plugin/discover/kibana/discover.chunk.0.js:1:8442\r\nat
http://xxx:5601/61109/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:334:27724\r\nat
t.s._next
(http://xxx:5601/61109/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:6:33456)\r\n```\r\n\r\n-
https://discuss.elastic.co/t/update-to-8-7-0/329525\r\n-\r\nhttps://discuss.elastic.co/t/elastic-8-7-0-error-in-discover-tab/332329/2\r\n\r\n##
Summary\r\n\r\nThis PR replaces `String` `.at` usage with `.charAt` so
it does not\r\nrequire a polyfill for older
browsers.","sha":"396a2b63d461102cb312168adf9303265919c16c"}}]}]
BACKPORT-->

Co-authored-by: Julia Rechkunova <julia.rechkunova@elastic.co>
2023-05-04 04:03:51 -07:00
Kibana Machine
d57914e006
[8.7] [APM] Fix comparison option showing in individual transaction page (#155915) (#156613)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[APM] Fix comparison option showing in individual transaction page
(#155915)](https://github.com/elastic/kibana/pull/155915)

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

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

<!--BACKPORT [{"author":{"name":"Quynh Nguyen
(Quinn)","email":"43350163+qn895@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-05-03T19:02:46Z","message":"[APM]
Fix comparison option showing in individual transaction page
(#155915)\n\n## Summary\r\n\r\nThis PR fixes `Expected bounds` showing
as a comparison option in the\r\nindividual transaction page. Currently,
it will show the bounds of the\r\noverall job, and not of the individual
transaction, which is incorrect.\r\n\r\n### Checklist\r\n\r\nDelete any
items that are not applicable to this PR.\r\n\r\n- [ ] Any text added
follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[ ] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5778f31ab8a14fe99bab655bdbb87e4d55641357","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:APM",":ml","apm:ml","v8.8.0","v8.7.2","v8.9.0"],"number":155915,"url":"https://github.com/elastic/kibana/pull/155915","mergeCommit":{"message":"[APM]
Fix comparison option showing in individual transaction page
(#155915)\n\n## Summary\r\n\r\nThis PR fixes `Expected bounds` showing
as a comparison option in the\r\nindividual transaction page. Currently,
it will show the bounds of the\r\noverall job, and not of the individual
transaction, which is incorrect.\r\n\r\n### Checklist\r\n\r\nDelete any
items that are not applicable to this PR.\r\n\r\n- [ ] Any text added
follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[ ] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5778f31ab8a14fe99bab655bdbb87e4d55641357"}},"sourceBranch":"main","suggestedTargetBranches":["8.8","8.7"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155915","number":155915,"mergeCommit":{"message":"[APM]
Fix comparison option showing in individual transaction page
(#155915)\n\n## Summary\r\n\r\nThis PR fixes `Expected bounds` showing
as a comparison option in the\r\nindividual transaction page. Currently,
it will show the bounds of the\r\noverall job, and not of the individual
transaction, which is incorrect.\r\n\r\n### Checklist\r\n\r\nDelete any
items that are not applicable to this PR.\r\n\r\n- [ ] Any text added
follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[ ] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5778f31ab8a14fe99bab655bdbb87e4d55641357"}}]}]
BACKPORT-->

Co-authored-by: Quynh Nguyen (Quinn) <43350163+qn895@users.noreply.github.com>
2023-05-03 13:14:05 -07:00
Kibana Machine
416c4ac767
[8.7] [Canvas] Update function reference docs (#156409) (#156609)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Canvas] Update function reference docs
(#156409)](https://github.com/elastic/kibana/pull/156409)

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

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

<!--BACKPORT [{"author":{"name":"Catherine
Liu","email":"catherine.liu@elastic.co"},"sourceCommit":{"committedDate":"2023-05-03T18:24:47Z","message":"[Canvas]
Update function reference docs (#156409)\n\n## Summary\r\n\r\nCloses
#141526.\r\n\r\nThis updates the function reference docs for Canvas
expressions. The\r\nmain update here is the deprecation message added to
`filters` function.\r\nI'm also removing an expression example that
doesn't work.\r\n\r\n<img width=\"866\" alt=\"Screenshot 2023-05-02 at 9
26 54
AM\"\r\nsrc=\"https://user-images.githubusercontent.com/1697105/235727031-8ece820e-3db5-42c7-ba11-e94d647a8b84.png\">\r\n\r\n\r\n@KOTungseth
These changes impact as early as v8.4. Should I backport all\r\nthe way
back through 8.4?\r\n\r\n### Checklist\r\n\r\nDelete any items that are
not applicable to this PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[ ] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Kaarina Tungseth
<kaarina.tungseth@elastic.co>","sha":"b5e8ab7e67245c0d758a3a6ee064c15320d47ee4","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","Team:Presentation","loe:days","release_note:skip","impact:high","Feature:Canvas","v8.4.4","v8.5.4","v8.8.0","v8.6.3","v8.7.2","v8.9.0"],"number":156409,"url":"https://github.com/elastic/kibana/pull/156409","mergeCommit":{"message":"[Canvas]
Update function reference docs (#156409)\n\n## Summary\r\n\r\nCloses
#141526.\r\n\r\nThis updates the function reference docs for Canvas
expressions. The\r\nmain update here is the deprecation message added to
`filters` function.\r\nI'm also removing an expression example that
doesn't work.\r\n\r\n<img width=\"866\" alt=\"Screenshot 2023-05-02 at 9
26 54
AM\"\r\nsrc=\"https://user-images.githubusercontent.com/1697105/235727031-8ece820e-3db5-42c7-ba11-e94d647a8b84.png\">\r\n\r\n\r\n@KOTungseth
These changes impact as early as v8.4. Should I backport all\r\nthe way
back through 8.4?\r\n\r\n### Checklist\r\n\r\nDelete any items that are
not applicable to this PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[ ] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Kaarina Tungseth
<kaarina.tungseth@elastic.co>","sha":"b5e8ab7e67245c0d758a3a6ee064c15320d47ee4"}},"sourceBranch":"main","suggestedTargetBranches":["8.4","8.5","8.8","8.6","8.7"],"targetPullRequestStates":[{"branch":"8.4","label":"v8.4.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.5","label":"v8.5.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.6","label":"v8.6.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156409","number":156409,"mergeCommit":{"message":"[Canvas]
Update function reference docs (#156409)\n\n## Summary\r\n\r\nCloses
#141526.\r\n\r\nThis updates the function reference docs for Canvas
expressions. The\r\nmain update here is the deprecation message added to
`filters` function.\r\nI'm also removing an expression example that
doesn't work.\r\n\r\n<img width=\"866\" alt=\"Screenshot 2023-05-02 at 9
26 54
AM\"\r\nsrc=\"https://user-images.githubusercontent.com/1697105/235727031-8ece820e-3db5-42c7-ba11-e94d647a8b84.png\">\r\n\r\n\r\n@KOTungseth
These changes impact as early as v8.4. Should I backport all\r\nthe way
back through 8.4?\r\n\r\n### Checklist\r\n\r\nDelete any items that are
not applicable to this PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[ ] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Kaarina Tungseth
<kaarina.tungseth@elastic.co>","sha":"b5e8ab7e67245c0d758a3a6ee064c15320d47ee4"}}]}]
BACKPORT-->

Co-authored-by: Catherine Liu <catherine.liu@elastic.co>
2023-05-03 14:49:22 -04:00
Kibana Machine
6cff858b71
[8.7] [functional tests] split security and spaces ftr configs (#156350) (#156467)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[functional tests] split security and spaces ftr configs
(#156350)](https://github.com/elastic/kibana/pull/156350)

<!--- 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-05-03T06:57:57Z","message":"[functional
tests] split security and spaces ftr configs (#156350)\n\n##
Summary\r\n\r\nSplitting ftr configs to speed up ftr tests run on 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.
\r\nThis 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\r\nconfigs please
split them up ASAP and ask Operations if you have questions about how to
do
that.\r\n\r\nx-pack/test/spaces_api_integration/security_and_spaces/config_basic.ts:
38.2
minutes\r\nx-pack/test/spaces_api_integration/security_and_spaces/config_trial.ts:
38.2 minutes\r\n```\r\n\r\nAfter
split:\r\nx-pack/test/spaces_api_integration/security_and_spaces/config_basic.ts\r\n20m
29s\r\n\r\nx-pack/test/spaces_api_integration/security_and_spaces/copy_to_space_config_basic.ts\r\n20m
52s\r\nx-pack/test/spaces_api_integration/security_and_spaces/config_trial.ts\r\n19m
57s\r\n\r\nx-pack/test/spaces_api_integration/security_and_spaces/copy_to_space_config_trial.ts\r\n21m
5s\r\n\r\nRebalancing it with other configs should speedup CI by at
least
few\r\nminutes","sha":"424eae3f4d0f55f684a5b3c3b46847eb723233c9","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.8.0","v8.7.2","v8.9.0"],"number":156350,"url":"https://github.com/elastic/kibana/pull/156350","mergeCommit":{"message":"[functional
tests] split security and spaces ftr configs (#156350)\n\n##
Summary\r\n\r\nSplitting ftr configs to speed up ftr tests run on 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.
\r\nThis 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\r\nconfigs please
split them up ASAP and ask Operations if you have questions about how to
do
that.\r\n\r\nx-pack/test/spaces_api_integration/security_and_spaces/config_basic.ts:
38.2
minutes\r\nx-pack/test/spaces_api_integration/security_and_spaces/config_trial.ts:
38.2 minutes\r\n```\r\n\r\nAfter
split:\r\nx-pack/test/spaces_api_integration/security_and_spaces/config_basic.ts\r\n20m
29s\r\n\r\nx-pack/test/spaces_api_integration/security_and_spaces/copy_to_space_config_basic.ts\r\n20m
52s\r\nx-pack/test/spaces_api_integration/security_and_spaces/config_trial.ts\r\n19m
57s\r\n\r\nx-pack/test/spaces_api_integration/security_and_spaces/copy_to_space_config_trial.ts\r\n21m
5s\r\n\r\nRebalancing it with other configs should speedup CI by at
least
few\r\nminutes","sha":"424eae3f4d0f55f684a5b3c3b46847eb723233c9"}},"sourceBranch":"main","suggestedTargetBranches":["8.8","8.7"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156350","number":156350,"mergeCommit":{"message":"[functional
tests] split security and spaces ftr configs (#156350)\n\n##
Summary\r\n\r\nSplitting ftr configs to speed up ftr tests run on 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.
\r\nThis 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\r\nconfigs please
split them up ASAP and ask Operations if you have questions about how to
do
that.\r\n\r\nx-pack/test/spaces_api_integration/security_and_spaces/config_basic.ts:
38.2
minutes\r\nx-pack/test/spaces_api_integration/security_and_spaces/config_trial.ts:
38.2 minutes\r\n```\r\n\r\nAfter
split:\r\nx-pack/test/spaces_api_integration/security_and_spaces/config_basic.ts\r\n20m
29s\r\n\r\nx-pack/test/spaces_api_integration/security_and_spaces/copy_to_space_config_basic.ts\r\n20m
52s\r\nx-pack/test/spaces_api_integration/security_and_spaces/config_trial.ts\r\n19m
57s\r\n\r\nx-pack/test/spaces_api_integration/security_and_spaces/copy_to_space_config_trial.ts\r\n21m
5s\r\n\r\nRebalancing it with other configs should speedup CI by at
least
few\r\nminutes","sha":"424eae3f4d0f55f684a5b3c3b46847eb723233c9"}}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2023-05-03 01:36:42 -07:00
Tiago Costa
f227215b1f
chore(NA): bump version to 8.7.2 (#156365)
Usually bump from 8.7.1 to 8.7.2
2023-05-02 19:47:24 +01:00
Kaarina Tungseth
85e6576ed5
[DOCS] Removes tag from 8.7.1 release notes (#155086)
## Summary

Removes the `coming` tag from the 8.7.1 release notes.
2023-05-02 15:06:12 +02:00
Elastic Machine
c3fe4b574a
[8.7] Sync bundled packages with Package Storage (#156347)
Automated by
https://internal-ci.elastic.co/job/package_storage/job/sync-bundled-packages-job/job/main/3427/

Co-authored-by: apmmachine <infra-root+apmmachine@elastic.co>
2023-05-02 05:29:13 -07:00
Janki Salvi
0eee2c71bd
[8.7] [Cases] Fix lens visualization in comment and description markdown(#155897) (#156330)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Cases] Fix lens visualization in comment and description markdown
(#155897)](https://github.com/elastic/kibana/pull/155897)

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

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-05-02 12:02:07 +02:00
Dzmitry Lemechko
87e97e5f35
[8.7] [lens] split x-pack/test/functional/apps/lens/group3/config.ts into smaller groups (#155860) (#156290)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[lens] split x-pack/test/functional/apps/lens/group3/config.ts into
smaller groups (#155860)](https://github.com/elastic/kibana/pull/155860)

<!--- 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-04-27T18:14:41Z","message":"[lens]
split x-pack/test/functional/apps/lens/group3/config.ts into smaller
groups (#155860)\n\n## Summary\r\n\r\n\r\nRe-grouping lens functional
tests into 6 groups since 2 groups often\r\ncross the 35+ min runtime.
Also, we have retry in place so pipeline\r\nmight have +40 minutes run
if any of test fails.\r\n\r\n<img width=\"1354\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/10977896/234843379-aec47a81-22dc-4ecf-aee5-b1d489b3b31f.png\">\r\n\r\nx-pack/test/functional/apps/lens/group1/config.ts
18m 42s\r\nx-pack/test/functional/apps/lens/group2/config.ts 19m
26s\r\nx-pack/test/functional/apps/lens/group3/config.ts 18m
26s\r\nx-pack/test/functional/apps/lens/group4/config.ts 18m
40s\r\nx-pack/test/functional/apps/lens/group5/config.ts 17m
55s\r\nx-pack/test/functional/apps/lens/group6/config.ts 19m
24s\r\n\r\n---------\r\n\r\nCo-authored-by: Jon
<jon@budzenski.me>","sha":"483edea966bfdd0d801ad28d5b681ca008a45ec8","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.8.0","v8.7.2","v8.9.0"],"number":155860,"url":"https://github.com/elastic/kibana/pull/155860","mergeCommit":{"message":"[lens]
split x-pack/test/functional/apps/lens/group3/config.ts into smaller
groups (#155860)\n\n## Summary\r\n\r\n\r\nRe-grouping lens functional
tests into 6 groups since 2 groups often\r\ncross the 35+ min runtime.
Also, we have retry in place so pipeline\r\nmight have +40 minutes run
if any of test fails.\r\n\r\n<img width=\"1354\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/10977896/234843379-aec47a81-22dc-4ecf-aee5-b1d489b3b31f.png\">\r\n\r\nx-pack/test/functional/apps/lens/group1/config.ts
18m 42s\r\nx-pack/test/functional/apps/lens/group2/config.ts 19m
26s\r\nx-pack/test/functional/apps/lens/group3/config.ts 18m
26s\r\nx-pack/test/functional/apps/lens/group4/config.ts 18m
40s\r\nx-pack/test/functional/apps/lens/group5/config.ts 17m
55s\r\nx-pack/test/functional/apps/lens/group6/config.ts 19m
24s\r\n\r\n---------\r\n\r\nCo-authored-by: Jon
<jon@budzenski.me>","sha":"483edea966bfdd0d801ad28d5b681ca008a45ec8"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/156075","number":156075,"state":"MERGED","mergeCommit":{"sha":"1a79030dbf17b08eb893e3bd7812e7b849a668bc","message":"[8.8]
[lens] split x-pack/test/functional/apps/lens/group3/config.ts into
smaller groups (#155860) (#156075)\n\n# Backport\n\nThis will backport
the following commits from `main` to `8.8`:\n- [[lens] split
x-pack/test/functional/apps/lens/group3/config.ts into\nsmaller groups
(#155860)](https://github.com/elastic/kibana/pull/155860)\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\":\"Dzmitry\nLemechko\",\"email\":\"dzmitry.lemechko@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2023-04-27T18:14:41Z\",\"message\":\"[lens]\nsplit
x-pack/test/functional/apps/lens/group3/config.ts into smaller\ngroups
(#155860)\\n\\n## Summary\\r\\n\\r\\n\\r\\nRe-grouping lens
functional\ntests into 6 groups since 2 groups often\\r\\ncross the 35+
min runtime.\nAlso, we have retry in place so pipeline\\r\\nmight have
+40 minutes run\nif any of test fails.\\r\\n\\r\\n<img
width=\\\"1354\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://user-images.githubusercontent.com/10977896/234843379-aec47a81-22dc-4ecf-aee5-b1d489b3b31f.png\\\">\\r\\n\\r\\nx-pack/test/functional/apps/lens/group1/config.ts\n18m
42s\\r\\nx-pack/test/functional/apps/lens/group2/config.ts
19m\n26s\\r\\nx-pack/test/functional/apps/lens/group3/config.ts
18m\n26s\\r\\nx-pack/test/functional/apps/lens/group4/config.ts
18m\n40s\\r\\nx-pack/test/functional/apps/lens/group5/config.ts
17m\n55s\\r\\nx-pack/test/functional/apps/lens/group6/config.ts
19m\n24s\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:
Jon\n<jon@budzenski.me>\",\"sha\":\"483edea966bfdd0d801ad28d5b681ca008a45ec8\",\"branchLabelMapping\":{\"^v8.9.0$\":\"main\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"v8.8.0\",\"v8.7.2\",\"v8.9.0\"],\"number\":155860,\"url\":\"https://github.com/elastic/kibana/pull/155860\",\"mergeCommit\":{\"message\":\"[lens]\nsplit
x-pack/test/functional/apps/lens/group3/config.ts into smaller\ngroups
(#155860)\\n\\n## Summary\\r\\n\\r\\n\\r\\nRe-grouping lens
functional\ntests into 6 groups since 2 groups often\\r\\ncross the 35+
min runtime.\nAlso, we have retry in place so pipeline\\r\\nmight have
+40 minutes run\nif any of test fails.\\r\\n\\r\\n<img
width=\\\"1354\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://user-images.githubusercontent.com/10977896/234843379-aec47a81-22dc-4ecf-aee5-b1d489b3b31f.png\\\">\\r\\n\\r\\nx-pack/test/functional/apps/lens/group1/config.ts\n18m
42s\\r\\nx-pack/test/functional/apps/lens/group2/config.ts
19m\n26s\\r\\nx-pack/test/functional/apps/lens/group3/config.ts
18m\n26s\\r\\nx-pack/test/functional/apps/lens/group4/config.ts
18m\n40s\\r\\nx-pack/test/functional/apps/lens/group5/config.ts
17m\n55s\\r\\nx-pack/test/functional/apps/lens/group6/config.ts
19m\n24s\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:
Jon\n<jon@budzenski.me>\",\"sha\":\"483edea966bfdd0d801ad28d5b681ca008a45ec8\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"8.8\",\"8.7\"],\"targetPullRequestStates\":[{\"branch\":\"8.8\",\"label\":\"v8.8.0\",\"labelRegex\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.7\",\"label\":\"v8.7.2\",\"labelRegex\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"main\",\"label\":\"v8.9.0\",\"labelRegex\":\"^v8.9.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/155860\",\"number\":155860,\"mergeCommit\":{\"message\":\"[lens]\nsplit
x-pack/test/functional/apps/lens/group3/config.ts into smaller\ngroups
(#155860)\\n\\n## Summary\\r\\n\\r\\n\\r\\nRe-grouping lens
functional\ntests into 6 groups since 2 groups often\\r\\ncross the 35+
min runtime.\nAlso, we have retry in place so pipeline\\r\\nmight have
+40 minutes run\nif any of test fails.\\r\\n\\r\\n<img
width=\\\"1354\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://user-images.githubusercontent.com/10977896/234843379-aec47a81-22dc-4ecf-aee5-b1d489b3b31f.png\\\">\\r\\n\\r\\nx-pack/test/functional/apps/lens/group1/config.ts\n18m
42s\\r\\nx-pack/test/functional/apps/lens/group2/config.ts
19m\n26s\\r\\nx-pack/test/functional/apps/lens/group3/config.ts
18m\n26s\\r\\nx-pack/test/functional/apps/lens/group4/config.ts
18m\n40s\\r\\nx-pack/test/functional/apps/lens/group5/config.ts
17m\n55s\\r\\nx-pack/test/functional/apps/lens/group6/config.ts
19m\n24s\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:
Jon\n<jon@budzenski.me>\",\"sha\":\"483edea966bfdd0d801ad28d5b681ca008a45ec8\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Dzmitry Lemechko
<dzmitry.lemechko@elastic.co>"}},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155860","number":155860,"mergeCommit":{"message":"[lens]
split x-pack/test/functional/apps/lens/group3/config.ts into smaller
groups (#155860)\n\n## Summary\r\n\r\n\r\nRe-grouping lens functional
tests into 6 groups since 2 groups often\r\ncross the 35+ min runtime.
Also, we have retry in place so pipeline\r\nmight have +40 minutes run
if any of test fails.\r\n\r\n<img width=\"1354\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/10977896/234843379-aec47a81-22dc-4ecf-aee5-b1d489b3b31f.png\">\r\n\r\nx-pack/test/functional/apps/lens/group1/config.ts
18m 42s\r\nx-pack/test/functional/apps/lens/group2/config.ts 19m
26s\r\nx-pack/test/functional/apps/lens/group3/config.ts 18m
26s\r\nx-pack/test/functional/apps/lens/group4/config.ts 18m
40s\r\nx-pack/test/functional/apps/lens/group5/config.ts 17m
55s\r\nx-pack/test/functional/apps/lens/group6/config.ts 19m
24s\r\n\r\n---------\r\n\r\nCo-authored-by: Jon
<jon@budzenski.me>","sha":"483edea966bfdd0d801ad28d5b681ca008a45ec8"}}]}]
BACKPORT-->
2023-05-02 01:01:23 -07:00
Kevin Qualters
f5da0d91af
[8.7] [Security Solution] [Timeline] Fix timeline draft collision with concurrent users (#155663) (#156299)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution] [Timeline] Fix timeline draft collision with
concurrent users
(#155663)](https://github.com/elastic/kibana/pull/155663)

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

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

<!--BACKPORT [{"author":{"name":"Kevin
Qualters","email":"56408403+kqualters-elastic@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-05-01T20:08:03Z","message":"[Security
Solution] [Timeline] Fix timeline draft collision with concurrent users
(#155663)\n\n## Summary\r\n\r\nThis pr fixes an issue where two users
who both have draft timelines\r\nopen will actually be using the same
underlying saved object, which\r\nwould cause a host of issues. Adds
attributes.createdBy and\r\nattributes.updatedBy to the
savedObjectsClient.find filter used to\r\nretrieve drafts, so that each
user has their own draft. This should\r\nallow the reaping of unused
drafts to function as before.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"7a7936e192086f9697a73fd393679422fe59dcaa","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Threat
Hunting:Investigations","v8.8.0","v8.9.0"],"number":155663,"url":"https://github.com/elastic/kibana/pull/155663","mergeCommit":{"message":"[Security
Solution] [Timeline] Fix timeline draft collision with concurrent users
(#155663)\n\n## Summary\r\n\r\nThis pr fixes an issue where two users
who both have draft timelines\r\nopen will actually be using the same
underlying saved object, which\r\nwould cause a host of issues. Adds
attributes.createdBy and\r\nattributes.updatedBy to the
savedObjectsClient.find filter used to\r\nretrieve drafts, so that each
user has their own draft. This should\r\nallow the reaping of unused
drafts to function as before.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"7a7936e192086f9697a73fd393679422fe59dcaa"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155663","number":155663,"mergeCommit":{"message":"[Security
Solution] [Timeline] Fix timeline draft collision with concurrent users
(#155663)\n\n## Summary\r\n\r\nThis pr fixes an issue where two users
who both have draft timelines\r\nopen will actually be using the same
underlying saved object, which\r\nwould cause a host of issues. Adds
attributes.createdBy and\r\nattributes.updatedBy to the
savedObjectsClient.find filter used to\r\nretrieve drafts, so that each
user has their own draft. This should\r\nallow the reaping of unused
drafts to function as before.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"7a7936e192086f9697a73fd393679422fe59dcaa"}}]}]
BACKPORT-->
2023-05-01 16:58:14 -07:00
Kibana Machine
111ee53023
[8.7] [Enterprise Search] Fix bug saving edited field rules (#156259) (#156281)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Enterprise Search] Fix bug saving edited field rules
(#156259)](https://github.com/elastic/kibana/pull/156259)

<!--- 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-05-01T16:54:09Z","message":"[Enterprise
Search] Fix bug saving edited field rules (#156259)\n\n##
Summary\r\n\r\nThis fixes a bug causing edited field rules to always
overwrite the\r\nfirst rule in the list when
saved.","sha":"83ca5a78234eabc86578e70c286c0c5631267e9d","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:EnterpriseSearch","v8.8.0","v8.7.1","v8.7.2","v8.9.0"],"number":156259,"url":"https://github.com/elastic/kibana/pull/156259","mergeCommit":{"message":"[Enterprise
Search] Fix bug saving edited field rules (#156259)\n\n##
Summary\r\n\r\nThis fixes a bug causing edited field rules to always
overwrite the\r\nfirst rule in the list when
saved.","sha":"83ca5a78234eabc86578e70c286c0c5631267e9d"}},"sourceBranch":"main","suggestedTargetBranches":["8.8","8.7"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.7","label":"v8.7.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156259","number":156259,"mergeCommit":{"message":"[Enterprise
Search] Fix bug saving edited field rules (#156259)\n\n##
Summary\r\n\r\nThis fixes a bug causing edited field rules to always
overwrite the\r\nfirst rule in the list when
saved.","sha":"83ca5a78234eabc86578e70c286c0c5631267e9d"}}]}]
BACKPORT-->

Co-authored-by: Sander Philipse <94373878+sphilipse@users.noreply.github.com>
2023-05-01 11:03:40 -07:00
Lisa Cawley
feeb207d76
[8.7] [ML] Edit insufficient license message (#155963) (#156195)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[ML] Edit insufficient license message
(#155963)](https://github.com/elastic/kibana/pull/155963)

<!--- 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-04-28T15:39:07Z","message":"[ML]
Edit insufficient license message
(#155963)","sha":"af1825369eb152a80d50f65a3235e6d0399d6c57","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","backport:skip","ui-copy","v8.9.0"],"number":155963,"url":"https://github.com/elastic/kibana/pull/155963","mergeCommit":{"message":"[ML]
Edit insufficient license message
(#155963)","sha":"af1825369eb152a80d50f65a3235e6d0399d6c57"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155963","number":155963,"mergeCommit":{"message":"[ML]
Edit insufficient license message
(#155963)","sha":"af1825369eb152a80d50f65a3235e6d0399d6c57"}},{"url":"https://github.com/elastic/kibana/pull/156194","number":156194,"branch":"8.8","state":"OPEN"}]}]
BACKPORT-->
2023-04-28 09:53:14 -07:00
Kibana Machine
835b4e7dc8
[8.7] [DOCS] Edits Kibana alerting settings (#155318) (#156021)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[DOCS] Edits Kibana alerting settings
(#155318)](https://github.com/elastic/kibana/pull/155318)

<!--- 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-04-27T14:26:19Z","message":"[DOCS]
Edits Kibana alerting settings
(#155318)","sha":"7efe3d53c6e8dfeec7da7815d2d4c7a2a965c40e","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","docs","v8.8.0","v8.7.2","v8.9.0"],"number":155318,"url":"https://github.com/elastic/kibana/pull/155318","mergeCommit":{"message":"[DOCS]
Edits Kibana alerting settings
(#155318)","sha":"7efe3d53c6e8dfeec7da7815d2d4c7a2a965c40e"}},"sourceBranch":"main","suggestedTargetBranches":["8.8","8.7"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155318","number":155318,"mergeCommit":{"message":"[DOCS]
Edits Kibana alerting settings
(#155318)","sha":"7efe3d53c6e8dfeec7da7815d2d4c7a2a965c40e"}}]}]
BACKPORT-->

---------

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-04-27 11:56:57 -07:00
Kibana Machine
9a85c4a557
[8.7] [ML] Fix retention policy date field should list destination index date fields (#155765) (#156047)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[ML] Fix retention policy date field should list destination index
date fields (#155765)](https://github.com/elastic/kibana/pull/155765)

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

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

<!--BACKPORT [{"author":{"name":"Quynh Nguyen
(Quinn)","email":"43350163+qn895@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-04-27T16:50:13Z","message":"[ML]
Fix retention policy date field should list destination index date
fields (#155765)\n\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"dcc280b5d81109e10ad8c738c33de2d8c19f6f90","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","Feature:Transforms","v8.8.0","v8.7.2","v8.9.0"],"number":155765,"url":"https://github.com/elastic/kibana/pull/155765","mergeCommit":{"message":"[ML]
Fix retention policy date field should list destination index date
fields (#155765)\n\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"dcc280b5d81109e10ad8c738c33de2d8c19f6f90"}},"sourceBranch":"main","suggestedTargetBranches":["8.8","8.7"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155765","number":155765,"mergeCommit":{"message":"[ML]
Fix retention policy date field should list destination index date
fields (#155765)\n\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"dcc280b5d81109e10ad8c738c33de2d8c19f6f90"}}]}]
BACKPORT-->

Co-authored-by: Quynh Nguyen (Quinn) <43350163+qn895@users.noreply.github.com>
2023-04-27 10:58:15 -07:00
Kibana Machine
1346e39948
[8.7] [ML] Fix time range not correct in Anomaly detection field statistics flyout (#155423) (#155736)
Co-authored-by: Kibana Machine
Co-authored-by: Quynh Nguyen (Quinn) <43350163+qn895@users.noreply.github.com>
2023-04-27 09:03:24 -07:00
Elastic Machine
8537cedd53
[8.7] Sync bundled packages with Package Storage (#155946)
Automated by
https://internal-ci.elastic.co/job/package_storage/job/sync-bundled-packages-job/job/main/3367/

Co-authored-by: apmmachine <infra-root+apmmachine@elastic.co>
2023-04-27 10:31:07 -04:00
Justin Kambic
40546954e9
[Synthetics] Only allow params to be saved against specific namespaces (#155948)
## Summary

We had an issue backporting some changes in a previous patch, and some
of the code from the update did not make it into 8.7. This PR introduces
a commit that did not fully merge.

Co-authored-by: shahzad31 <shahzad31comp@gmail.com>
2023-04-26 14:49:27 -07:00
Hannah Mudge
167c3285d8
[8.7] [Controls] Fix sorting of numeric keyword fields (#155207) (#155934)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Controls] Fix sorting of numeric keyword fields
(#155207)](https://github.com/elastic/kibana/pull/155207)

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

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

<!--BACKPORT [{"author":{"name":"Hannah
Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-04-26T18:19:46Z","message":"[Controls]
Fix sorting of numeric keyword fields (#155207)\n\nCloses
https://github.com/elastic/kibana/issues/155073\r\n\r\n##
Summary\r\n\r\n### Before\r\n\r\nPreviously, the options list
suggestions were stored as a dictionary\r\n(i.e. an object of key+value
pairs) - while this worked for most fields,\r\nunbeknownst to us,
Javascript tries to sort numeric keys (regardless of\r\nif they are of
type `string` or `number`) based on their value.\r\n\r\nThis meant that,
as part of the parsing process when using an options\r\nlist control for
a numeric `keyword` field, the results returned by the\r\nES query were
**always** sorted in ascending numeric order regardless of\r\nthe
sorting method that was picked (note that this is especially
obvious\r\nonce you \"load more\", which is what I did for the
following\r\nscreenshots):\r\n\r\n\r\n| | Ascending | Descending
|\r\n|--------------|-----------|------------|\r\n| Alphabetical | <img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234391308-6d3a23ee-3495-4eff-810f-216f758b3a58.png\"/>\r\n|
<img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234391213-117163e2-ee97-4f9d-87fa-a63c8cc5459e.png\"/>\r\n|\r\n|
Doc count | <img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234391375-0ccdf72f-83c0-4a87-951e-c2e1e3223006.png\"/>\r\n|
<img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234392997-fea42ffe-5d9d-4a11-968f-e1503f2c0e4f.png\"/>\r\n|\r\n\r\n\r\n###
After\r\n\r\nThis PR converts the options list suggestions to be stored
as an\r\n**array** of key/value pairs in order to preserve the order
returned\r\nfrom Elasticsearch - now, you get the expected string-sorted
ordering\r\nwhen using numeric `keyword` fields in an options list
control:\r\n\r\n| | Ascending | Descending
|\r\n|--------------|-----------|------------|\r\n| Alphabetical | <img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234394182-aa2bfdf4-fe41-441d-bdbf-917173c17627.png\"/>\r\n|
<img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234393421-24cca3e3-0249-4607-9e16-daa274399bdd.png\"/>\r\n|\r\n|
Doc count | <img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234394599-dda01056-5446-497e-abe4-f3839aeb4dd0.png\"/>\r\n|
<img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234394693-42544ef1-eb2b-4d52-8a78-c2ca7d2d7cfa.png\"/>\r\n|\r\n\r\n\r\nNotice
in the above that we are now using **string sorting** for the\r\nnumeric
values when alphabetical sorting is selected, which means you\r\naren't
getting the expected \"numeric\" sorting - so for example,
when\r\nsorted ascending, `\"6\" > \"52\"` because it is only comparing
the first\r\ncharacter and `\"6\" > \"5\"`. This will be handled much
better once\r\n[numeric field
support](https://github.com/elastic/kibana/issues/126795)\r\nis added to
options lists.\r\n\r\n\r\n### Checklist\r\n\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] This was
checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"b3f65f79e5017b70fe26e5aa1c2ee1085e68c138","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Feature:Input
Control","Team:Presentation","loe:days","impact:medium","backport:prev-minor","v8.8.0","v8.9.0"],"number":155207,"url":"https://github.com/elastic/kibana/pull/155207","mergeCommit":{"message":"[Controls]
Fix sorting of numeric keyword fields (#155207)\n\nCloses
https://github.com/elastic/kibana/issues/155073\r\n\r\n##
Summary\r\n\r\n### Before\r\n\r\nPreviously, the options list
suggestions were stored as a dictionary\r\n(i.e. an object of key+value
pairs) - while this worked for most fields,\r\nunbeknownst to us,
Javascript tries to sort numeric keys (regardless of\r\nif they are of
type `string` or `number`) based on their value.\r\n\r\nThis meant that,
as part of the parsing process when using an options\r\nlist control for
a numeric `keyword` field, the results returned by the\r\nES query were
**always** sorted in ascending numeric order regardless of\r\nthe
sorting method that was picked (note that this is especially
obvious\r\nonce you \"load more\", which is what I did for the
following\r\nscreenshots):\r\n\r\n\r\n| | Ascending | Descending
|\r\n|--------------|-----------|------------|\r\n| Alphabetical | <img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234391308-6d3a23ee-3495-4eff-810f-216f758b3a58.png\"/>\r\n|
<img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234391213-117163e2-ee97-4f9d-87fa-a63c8cc5459e.png\"/>\r\n|\r\n|
Doc count | <img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234391375-0ccdf72f-83c0-4a87-951e-c2e1e3223006.png\"/>\r\n|
<img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234392997-fea42ffe-5d9d-4a11-968f-e1503f2c0e4f.png\"/>\r\n|\r\n\r\n\r\n###
After\r\n\r\nThis PR converts the options list suggestions to be stored
as an\r\n**array** of key/value pairs in order to preserve the order
returned\r\nfrom Elasticsearch - now, you get the expected string-sorted
ordering\r\nwhen using numeric `keyword` fields in an options list
control:\r\n\r\n| | Ascending | Descending
|\r\n|--------------|-----------|------------|\r\n| Alphabetical | <img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234394182-aa2bfdf4-fe41-441d-bdbf-917173c17627.png\"/>\r\n|
<img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234393421-24cca3e3-0249-4607-9e16-daa274399bdd.png\"/>\r\n|\r\n|
Doc count | <img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234394599-dda01056-5446-497e-abe4-f3839aeb4dd0.png\"/>\r\n|
<img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234394693-42544ef1-eb2b-4d52-8a78-c2ca7d2d7cfa.png\"/>\r\n|\r\n\r\n\r\nNotice
in the above that we are now using **string sorting** for the\r\nnumeric
values when alphabetical sorting is selected, which means you\r\naren't
getting the expected \"numeric\" sorting - so for example,
when\r\nsorted ascending, `\"6\" > \"52\"` because it is only comparing
the first\r\ncharacter and `\"6\" > \"5\"`. This will be handled much
better once\r\n[numeric field
support](https://github.com/elastic/kibana/issues/126795)\r\nis added to
options lists.\r\n\r\n\r\n### Checklist\r\n\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] This was
checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"b3f65f79e5017b70fe26e5aa1c2ee1085e68c138"}},"sourceBranch":"main","suggestedTargetBranches":["8.9"],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155207","number":155207,"mergeCommit":{"message":"[Controls]
Fix sorting of numeric keyword fields (#155207)\n\nCloses
https://github.com/elastic/kibana/issues/155073\r\n\r\n##
Summary\r\n\r\n### Before\r\n\r\nPreviously, the options list
suggestions were stored as a dictionary\r\n(i.e. an object of key+value
pairs) - while this worked for most fields,\r\nunbeknownst to us,
Javascript tries to sort numeric keys (regardless of\r\nif they are of
type `string` or `number`) based on their value.\r\n\r\nThis meant that,
as part of the parsing process when using an options\r\nlist control for
a numeric `keyword` field, the results returned by the\r\nES query were
**always** sorted in ascending numeric order regardless of\r\nthe
sorting method that was picked (note that this is especially
obvious\r\nonce you \"load more\", which is what I did for the
following\r\nscreenshots):\r\n\r\n\r\n| | Ascending | Descending
|\r\n|--------------|-----------|------------|\r\n| Alphabetical | <img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234391308-6d3a23ee-3495-4eff-810f-216f758b3a58.png\"/>\r\n|
<img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234391213-117163e2-ee97-4f9d-87fa-a63c8cc5459e.png\"/>\r\n|\r\n|
Doc count | <img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234391375-0ccdf72f-83c0-4a87-951e-c2e1e3223006.png\"/>\r\n|
<img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234392997-fea42ffe-5d9d-4a11-968f-e1503f2c0e4f.png\"/>\r\n|\r\n\r\n\r\n###
After\r\n\r\nThis PR converts the options list suggestions to be stored
as an\r\n**array** of key/value pairs in order to preserve the order
returned\r\nfrom Elasticsearch - now, you get the expected string-sorted
ordering\r\nwhen using numeric `keyword` fields in an options list
control:\r\n\r\n| | Ascending | Descending
|\r\n|--------------|-----------|------------|\r\n| Alphabetical | <img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234394182-aa2bfdf4-fe41-441d-bdbf-917173c17627.png\"/>\r\n|
<img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234393421-24cca3e3-0249-4607-9e16-daa274399bdd.png\"/>\r\n|\r\n|
Doc count | <img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234394599-dda01056-5446-497e-abe4-f3839aeb4dd0.png\"/>\r\n|
<img
width=\"320px\"\r\nsrc=\"https://user-images.githubusercontent.com/8698078/234394693-42544ef1-eb2b-4d52-8a78-c2ca7d2d7cfa.png\"/>\r\n|\r\n\r\n\r\nNotice
in the above that we are now using **string sorting** for the\r\nnumeric
values when alphabetical sorting is selected, which means you\r\naren't
getting the expected \"numeric\" sorting - so for example,
when\r\nsorted ascending, `\"6\" > \"52\"` because it is only comparing
the first\r\ncharacter and `\"6\" > \"5\"`. This will be handled much
better once\r\n[numeric field
support](https://github.com/elastic/kibana/issues/126795)\r\nis added to
options lists.\r\n\r\n\r\n### Checklist\r\n\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] This was
checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"b3f65f79e5017b70fe26e5aa1c2ee1085e68c138"}},{"branch":"8.9","label":"v8.9.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2023-04-26 14:06:03 -07:00
Dominique Clarke
5d80eb581c
[8.7] [Synthetics] adjust synthetics enablement doc links (#155340) (#155908)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Synthetics] adjust synthetics enablement doc links
(#155340)](https://github.com/elastic/kibana/pull/155340)

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

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

<!--BACKPORT [{"author":{"name":"Dominique
Clarke","email":"dominique.clarke@elastic.co"},"sourceCommit":{"committedDate":"2023-04-21T18:37:10Z","message":"[Synthetics]
adjust synthetics enablement doc links (#155340)\n\n##
Summary\r\n\r\nAdjusts content for Synthetics enablement doc
links.","sha":"da5a4b08d37017b246092f5c38bcd124493ad72c","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Team:uptime","release_note:skip","v8.8.0","v8.7.2"],"number":155340,"url":"https://github.com/elastic/kibana/pull/155340","mergeCommit":{"message":"[Synthetics]
adjust synthetics enablement doc links (#155340)\n\n##
Summary\r\n\r\nAdjusts content for Synthetics enablement doc
links.","sha":"da5a4b08d37017b246092f5c38bcd124493ad72c"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155340","number":155340,"mergeCommit":{"message":"[Synthetics]
adjust synthetics enablement doc links (#155340)\n\n##
Summary\r\n\r\nAdjusts content for Synthetics enablement doc
links.","sha":"da5a4b08d37017b246092f5c38bcd124493ad72c"}},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2023-04-26 16:00:06 -04:00
Kibana Machine
b1e400d36c
[8.7] [ftr] fix scripts/functional_tests to respect cli flags (#155734) (#155907)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[ftr] fix scripts/functional_tests to respect cli flags
(#155734)](https://github.com/elastic/kibana/pull/155734)

<!--- 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-04-26T16:33:54Z","message":"[ftr]
fix scripts/functional_tests to respect cli flags (#155734)\n\n##
Summary\r\n\r\nThis\r\n[failure](https://buildkite.com/elastic/kibana-on-merge/builds/29091#01879988-ecd2-4e4f-bfb4-108939f145a1)\r\nclearly
shows that `--bail` flag is ignored when passed
to\r\n`scripts/functional_tests.js` script, and
since\r\n`scripts/functional_tests.js --help` list these flags I think
we need to\r\nfix it:\r\n\r\n```\r\n --include-tag Tags that suites must
include to be run, can be included multiple times\r\n --exclude-tag Tags
that suites must NOT include to be run, can be included multiple
times\r\n --include Files that must included to be run, can be included
multiple times\r\n --exclude Files that must NOT be included to be run,
can be included multiple times\r\n --grep Pattern to select which tests
to run\r\n --bail Stop the test run at the first failure\r\n --dry-run
Report tests without executing them\r\n --updateBaselines Replace
baseline screenshots with whatever is generated from the test\r\n
--updateSnapshots Replace inline and file snapshots with whatever is
generated from the test\r\n```\r\n\r\nI was able to reproduce it
locally:\r\n1.
Break\r\n[test/functional/apps/console/_console.ts](test/functional/apps/console/_console.ts)\r\nby
adding `expect(1).to.be(2);` in the first `it` function\r\n2. Run `node
scripts/functional_tests.js --bail
--config\r\ntest/functional/apps/console/config.ts`\r\nActual: Tests
continue to run after failure\r\nExpected: Stop tests after first
failure\r\n\r\nIt turned out `scripts/functional_test_runner.js`
respects the flags so\r\nI just copied the logic
from\r\n[packages/kbn-test/src/functional_test_runner/cli.ts](https://github.com/elastic/kibana/blob/main/packages/kbn-test/src/functional_test_runner/cli.ts#L41-L63)\r\n\r\nLet
me know if you think we need to add jest
tests.\r\n\r\n\r\nTested:\r\n\r\n```\r\nnode scripts/functional_tests.js
--bail --config test/functional/apps/console/config.ts --grep \"multiple
requests
output\"\r\n```","sha":"4211e03a5f7651afeea492e44116eb614b54f00c","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v7.17.10","v8.8.0","v8.7.2"],"number":155734,"url":"https://github.com/elastic/kibana/pull/155734","mergeCommit":{"message":"[ftr]
fix scripts/functional_tests to respect cli flags (#155734)\n\n##
Summary\r\n\r\nThis\r\n[failure](https://buildkite.com/elastic/kibana-on-merge/builds/29091#01879988-ecd2-4e4f-bfb4-108939f145a1)\r\nclearly
shows that `--bail` flag is ignored when passed
to\r\n`scripts/functional_tests.js` script, and
since\r\n`scripts/functional_tests.js --help` list these flags I think
we need to\r\nfix it:\r\n\r\n```\r\n --include-tag Tags that suites must
include to be run, can be included multiple times\r\n --exclude-tag Tags
that suites must NOT include to be run, can be included multiple
times\r\n --include Files that must included to be run, can be included
multiple times\r\n --exclude Files that must NOT be included to be run,
can be included multiple times\r\n --grep Pattern to select which tests
to run\r\n --bail Stop the test run at the first failure\r\n --dry-run
Report tests without executing them\r\n --updateBaselines Replace
baseline screenshots with whatever is generated from the test\r\n
--updateSnapshots Replace inline and file snapshots with whatever is
generated from the test\r\n```\r\n\r\nI was able to reproduce it
locally:\r\n1.
Break\r\n[test/functional/apps/console/_console.ts](test/functional/apps/console/_console.ts)\r\nby
adding `expect(1).to.be(2);` in the first `it` function\r\n2. Run `node
scripts/functional_tests.js --bail
--config\r\ntest/functional/apps/console/config.ts`\r\nActual: Tests
continue to run after failure\r\nExpected: Stop tests after first
failure\r\n\r\nIt turned out `scripts/functional_test_runner.js`
respects the flags so\r\nI just copied the logic
from\r\n[packages/kbn-test/src/functional_test_runner/cli.ts](https://github.com/elastic/kibana/blob/main/packages/kbn-test/src/functional_test_runner/cli.ts#L41-L63)\r\n\r\nLet
me know if you think we need to add jest
tests.\r\n\r\n\r\nTested:\r\n\r\n```\r\nnode scripts/functional_tests.js
--bail --config test/functional/apps/console/config.ts --grep \"multiple
requests
output\"\r\n```","sha":"4211e03a5f7651afeea492e44116eb614b54f00c"}},"sourceBranch":"main","suggestedTargetBranches":["7.17","8.7"],"targetPullRequestStates":[{"branch":"7.17","label":"v7.17.10","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/155734","number":155734,"mergeCommit":{"message":"[ftr]
fix scripts/functional_tests to respect cli flags (#155734)\n\n##
Summary\r\n\r\nThis\r\n[failure](https://buildkite.com/elastic/kibana-on-merge/builds/29091#01879988-ecd2-4e4f-bfb4-108939f145a1)\r\nclearly
shows that `--bail` flag is ignored when passed
to\r\n`scripts/functional_tests.js` script, and
since\r\n`scripts/functional_tests.js --help` list these flags I think
we need to\r\nfix it:\r\n\r\n```\r\n --include-tag Tags that suites must
include to be run, can be included multiple times\r\n --exclude-tag Tags
that suites must NOT include to be run, can be included multiple
times\r\n --include Files that must included to be run, can be included
multiple times\r\n --exclude Files that must NOT be included to be run,
can be included multiple times\r\n --grep Pattern to select which tests
to run\r\n --bail Stop the test run at the first failure\r\n --dry-run
Report tests without executing them\r\n --updateBaselines Replace
baseline screenshots with whatever is generated from the test\r\n
--updateSnapshots Replace inline and file snapshots with whatever is
generated from the test\r\n```\r\n\r\nI was able to reproduce it
locally:\r\n1.
Break\r\n[test/functional/apps/console/_console.ts](test/functional/apps/console/_console.ts)\r\nby
adding `expect(1).to.be(2);` in the first `it` function\r\n2. Run `node
scripts/functional_tests.js --bail
--config\r\ntest/functional/apps/console/config.ts`\r\nActual: Tests
continue to run after failure\r\nExpected: Stop tests after first
failure\r\n\r\nIt turned out `scripts/functional_test_runner.js`
respects the flags so\r\nI just copied the logic
from\r\n[packages/kbn-test/src/functional_test_runner/cli.ts](https://github.com/elastic/kibana/blob/main/packages/kbn-test/src/functional_test_runner/cli.ts#L41-L63)\r\n\r\nLet
me know if you think we need to add jest
tests.\r\n\r\n\r\nTested:\r\n\r\n```\r\nnode scripts/functional_tests.js
--bail --config test/functional/apps/console/config.ts --grep \"multiple
requests
output\"\r\n```","sha":"4211e03a5f7651afeea492e44116eb614b54f00c"}},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2023-04-26 10:49:13 -07:00
Kibana Machine
7f69a763d1
[8.7] [Defend Workflows] Osquery fixes (#155020) (#155879)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Defend Workflows] Osquery fixes
(#155020)](https://github.com/elastic/kibana/pull/155020)

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

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

<!--BACKPORT [{"author":{"name":"Tomasz
Ciecierski","email":"tomasz.ciecierski@elastic.co"},"sourceCommit":{"committedDate":"2023-04-26T13:34:06Z","message":"[Defend
Workflows] Osquery fixes
(#155020)","sha":"fda5ee96b37f186378d94a7b6a15b295d9616168","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Defend
Workflows","Feature:Osquery","v8.8.0","v8.7.2","v8.9.0"],"number":155020,"url":"https://github.com/elastic/kibana/pull/155020","mergeCommit":{"message":"[Defend
Workflows] Osquery fixes
(#155020)","sha":"fda5ee96b37f186378d94a7b6a15b295d9616168"}},"sourceBranch":"main","suggestedTargetBranches":["8.7","8.9"],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155020","number":155020,"mergeCommit":{"message":"[Defend
Workflows] Osquery fixes
(#155020)","sha":"fda5ee96b37f186378d94a7b6a15b295d9616168"}},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.9","label":"v8.9.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Tomasz Ciecierski <tomasz.ciecierski@elastic.co>
2023-04-26 07:42:45 -07:00
Maryam Saeidi
e7fd103354
[8.7] [AO] Fix time range filter in alerts table (#153648) (#155739)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[AO] Fix time range filter in alerts table
(#153648)](https://github.com/elastic/kibana/pull/153648)

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

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

<!--BACKPORT [{"author":{"name":"Maryam
Saeidi","email":"maryam.saeidi@elastic.co"},"sourceCommit":{"committedDate":"2023-03-25T10:31:51Z","message":"[AO]
Fix time range filter in alerts table (#153648)\n\nFixes
#153284\r\n\r\n## Summary\r\n\r\nThis PR fixes the time range filter by
using the `ALERT_TIME_RANGE`\r\ninstead of `TIMESTAMP`\r\ncc @tonyghiani
\r\n\r\n\r\n\r\nhttps://user-images.githubusercontent.com/12370520/227532946-087c85c5-1390-47eb-bf0a-bd7319a000a7.mov","sha":"62827b1aabb7db6d5f8b7987b492c768169d291e","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:
Actionable
Observability","backport:prev-minor","v8.8.0"],"number":153648,"url":"https://github.com/elastic/kibana/pull/153648","mergeCommit":{"message":"[AO]
Fix time range filter in alerts table (#153648)\n\nFixes
#153284\r\n\r\n## Summary\r\n\r\nThis PR fixes the time range filter by
using the `ALERT_TIME_RANGE`\r\ninstead of `TIMESTAMP`\r\ncc @tonyghiani
\r\n\r\n\r\n\r\nhttps://user-images.githubusercontent.com/12370520/227532946-087c85c5-1390-47eb-bf0a-bd7319a000a7.mov","sha":"62827b1aabb7db6d5f8b7987b492c768169d291e"}},"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/153648","number":153648,"mergeCommit":{"message":"[AO]
Fix time range filter in alerts table (#153648)\n\nFixes
#153284\r\n\r\n## Summary\r\n\r\nThis PR fixes the time range filter by
using the `ALERT_TIME_RANGE`\r\ninstead of `TIMESTAMP`\r\ncc @tonyghiani
\r\n\r\n\r\n\r\nhttps://user-images.githubusercontent.com/12370520/227532946-087c85c5-1390-47eb-bf0a-bd7319a000a7.mov","sha":"62827b1aabb7db6d5f8b7987b492c768169d291e"}}]}]
BACKPORT-->
2023-04-26 07:19:41 -07:00
Kibana Machine
1dce8b278a
[8.7] [Fleet] always create agent upload write indices (#155729) (#155845)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Fleet] always create agent upload write indices
(#155729)](https://github.com/elastic/kibana/pull/155729)

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

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

<!--BACKPORT [{"author":{"name":"Julia
Bardi","email":"90178898+juliaElastic@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-04-26T08:44:42Z","message":"[Fleet]
always create agent upload write indices (#155729)\n\n##
Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/155483\r\n\r\nAlways create
file upload write indices for elastic_agent package, so\r\nthat Request
diagnostics of a managed Fleet Server works before\r\ninstalling Elastic
Agent package.\r\n\r\nTo verify:\r\n- Go to a fresh cloud deployment
without Elastic Agent installed\r\n- Go to the managed Fleet Server and
click Request Diagnostics on Agent\r\nDetails\r\n- Expect the action to
work\r\n- Check in Stack Management that the `.fleet-files-agent-000001`
index\r\nis created.\r\n\r\nVerified on pr link that the agent write
index is created before Elastic\r\nAgent package is
installed:\r\n\r\n\r\nhttps://kibana-pr-155729.kb.us-west2.gcp.elastic-cloud.com:9243/app/management/data/index_management/indices?includeHiddenIndices=true\r\n\r\n<img
width=\"777\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/90178898/234502605-cd91bbc2-0938-41ef-8455-1700f139a3ee.png\">\r\n<img
width=\"1538\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/90178898/234502727-74e84a2a-3126-4346-8328-cdb10ed26b8f.png\">\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"636674c2137bc38017f7a085f70b87d6a362308e","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","ci:cloud-deploy","v8.8.0","v8.7.2"],"number":155729,"url":"https://github.com/elastic/kibana/pull/155729","mergeCommit":{"message":"[Fleet]
always create agent upload write indices (#155729)\n\n##
Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/155483\r\n\r\nAlways create
file upload write indices for elastic_agent package, so\r\nthat Request
diagnostics of a managed Fleet Server works before\r\ninstalling Elastic
Agent package.\r\n\r\nTo verify:\r\n- Go to a fresh cloud deployment
without Elastic Agent installed\r\n- Go to the managed Fleet Server and
click Request Diagnostics on Agent\r\nDetails\r\n- Expect the action to
work\r\n- Check in Stack Management that the `.fleet-files-agent-000001`
index\r\nis created.\r\n\r\nVerified on pr link that the agent write
index is created before Elastic\r\nAgent package is
installed:\r\n\r\n\r\nhttps://kibana-pr-155729.kb.us-west2.gcp.elastic-cloud.com:9243/app/management/data/index_management/indices?includeHiddenIndices=true\r\n\r\n<img
width=\"777\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/90178898/234502605-cd91bbc2-0938-41ef-8455-1700f139a3ee.png\">\r\n<img
width=\"1538\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/90178898/234502727-74e84a2a-3126-4346-8328-cdb10ed26b8f.png\">\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"636674c2137bc38017f7a085f70b87d6a362308e"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155729","number":155729,"mergeCommit":{"message":"[Fleet]
always create agent upload write indices (#155729)\n\n##
Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/155483\r\n\r\nAlways create
file upload write indices for elastic_agent package, so\r\nthat Request
diagnostics of a managed Fleet Server works before\r\ninstalling Elastic
Agent package.\r\n\r\nTo verify:\r\n- Go to a fresh cloud deployment
without Elastic Agent installed\r\n- Go to the managed Fleet Server and
click Request Diagnostics on Agent\r\nDetails\r\n- Expect the action to
work\r\n- Check in Stack Management that the `.fleet-files-agent-000001`
index\r\nis created.\r\n\r\nVerified on pr link that the agent write
index is created before Elastic\r\nAgent package is
installed:\r\n\r\n\r\nhttps://kibana-pr-155729.kb.us-west2.gcp.elastic-cloud.com:9243/app/management/data/index_management/indices?includeHiddenIndices=true\r\n\r\n<img
width=\"777\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/90178898/234502605-cd91bbc2-0938-41ef-8455-1700f139a3ee.png\">\r\n<img
width=\"1538\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/90178898/234502727-74e84a2a-3126-4346-8328-cdb10ed26b8f.png\">\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"636674c2137bc38017f7a085f70b87d6a362308e"}},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>
2023-04-26 02:52:01 -07:00
Kibana Machine
ce77b30cbc
[8.7] [Discover] Remove redundant "Filter was added" toast (#155645) (#155825)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Discover] Remove redundant "Filter was added" toast
(#155645)](https://github.com/elastic/kibana/pull/155645)

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

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

<!--BACKPORT [{"author":{"name":"Julia
Rechkunova","email":"julia.rechkunova@elastic.co"},"sourceCommit":{"committedDate":"2023-04-26T06:30:55Z","message":"[Discover]
Remove redundant \"Filter was added\" toast (#155645)\n\nCloses
https://github.com/elastic/kibana/issues/154993\r\n\r\n##
Summary\r\n\r\nThis PR removes \"Filter was added\" toast (it was
visible after adding\r\nfilters from the Doc Viewer flyout) which was
not very useful. It's also\r\nnot shown when user adds filters from the
grid or
sidebar.","sha":"7534cc78511febd457b3ea1efca8b8c0057850de","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Discover","release_note:skip","Team:DataDiscovery","backport:prev-minor","v8.8.0"],"number":155645,"url":"https://github.com/elastic/kibana/pull/155645","mergeCommit":{"message":"[Discover]
Remove redundant \"Filter was added\" toast (#155645)\n\nCloses
https://github.com/elastic/kibana/issues/154993\r\n\r\n##
Summary\r\n\r\nThis PR removes \"Filter was added\" toast (it was
visible after adding\r\nfilters from the Doc Viewer flyout) which was
not very useful. It's also\r\nnot shown when user adds filters from the
grid or
sidebar.","sha":"7534cc78511febd457b3ea1efca8b8c0057850de"}},"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/155645","number":155645,"mergeCommit":{"message":"[Discover]
Remove redundant \"Filter was added\" toast (#155645)\n\nCloses
https://github.com/elastic/kibana/issues/154993\r\n\r\n##
Summary\r\n\r\nThis PR removes \"Filter was added\" toast (it was
visible after adding\r\nfilters from the Doc Viewer flyout) which was
not very useful. It's also\r\nnot shown when user adds filters from the
grid or sidebar.","sha":"7534cc78511febd457b3ea1efca8b8c0057850de"}}]}]
BACKPORT-->

Co-authored-by: Julia Rechkunova <julia.rechkunova@elastic.co>
2023-04-26 01:04:52 -07:00
Dominique Clarke
efcababbe5
[8.7] [Synthetics] only allow params to be saved against specific namespaces (#155759) (#155818)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Synthetics] only allow params to be saved against specific
namespaces (#155759)](https://github.com/elastic/kibana/pull/155759)

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

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

<!--BACKPORT [{"author":{"name":"Dominique
Clarke","email":"dominique.clarke@elastic.co"},"sourceCommit":{"committedDate":"2023-04-26T02:10:41Z","message":"[Synthetics]
only allow params to be saved against specific namespaces
(#155759)\n\n## Summary\r\n\r\nThis PR prevents saving synthetics params
to arbitrary Kibana spaces.\r\n\r\nPreviously, we accepted a
`namespaces` array which could be used to save\r\na param to spaces that
do not exist. In the past, the client would send\r\nthis value as
`namespaces: ['*']` when a param is meant to e shared\r\nacross
spaces.\r\n\r\nThis PR replaces the `namespaces` array with a
simple\r\n`share_across_spaces` boolean.\r\n\r\nParams are now only
allowed to be saved to the current active space,
or\r\n`*`.\r\n\r\n---------\r\n\r\nCo-authored-by: shahzad31
<shahzad31comp@gmail.com>","sha":"ead18ac43742edb0406803985eab6b563702b320","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:uptime","uptime","ci:cloud-deploy","v8.8.0","v8.7.1"],"number":155759,"url":"https://github.com/elastic/kibana/pull/155759","mergeCommit":{"message":"[Synthetics]
only allow params to be saved against specific namespaces
(#155759)\n\n## Summary\r\n\r\nThis PR prevents saving synthetics params
to arbitrary Kibana spaces.\r\n\r\nPreviously, we accepted a
`namespaces` array which could be used to save\r\na param to spaces that
do not exist. In the past, the client would send\r\nthis value as
`namespaces: ['*']` when a param is meant to e shared\r\nacross
spaces.\r\n\r\nThis PR replaces the `namespaces` array with a
simple\r\n`share_across_spaces` boolean.\r\n\r\nParams are now only
allowed to be saved to the current active space,
or\r\n`*`.\r\n\r\n---------\r\n\r\nCo-authored-by: shahzad31
<shahzad31comp@gmail.com>","sha":"ead18ac43742edb0406803985eab6b563702b320"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155759","number":155759,"mergeCommit":{"message":"[Synthetics]
only allow params to be saved against specific namespaces
(#155759)\n\n## Summary\r\n\r\nThis PR prevents saving synthetics params
to arbitrary Kibana spaces.\r\n\r\nPreviously, we accepted a
`namespaces` array which could be used to save\r\na param to spaces that
do not exist. In the past, the client would send\r\nthis value as
`namespaces: ['*']` when a param is meant to e shared\r\nacross
spaces.\r\n\r\nThis PR replaces the `namespaces` array with a
simple\r\n`share_across_spaces` boolean.\r\n\r\nParams are now only
allowed to be saved to the current active space,
or\r\n`*`.\r\n\r\n---------\r\n\r\nCo-authored-by: shahzad31
<shahzad31comp@gmail.com>","sha":"ead18ac43742edb0406803985eab6b563702b320"}},{"branch":"8.7","label":"v8.7.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2023-04-25 20:23:35 -07:00
Lisa Cawley
01746042a3
[8.7] [DOCS] Automate two rule management screenshots (#155566) (#155738)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[DOCS] Automate two rule management screenshots
(#155566)](https://github.com/elastic/kibana/pull/155566)

<!--- 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-04-25T15:11:22Z","message":"[DOCS]
Automate two rule management screenshots
(#155566)","sha":"fb68f2075ad148e9d7eafc0e5778d5a720bb64d5","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","docs","Feature:Alerting/RulesManagement","backport:prev-minor","v8.8.0"],"number":155566,"url":"https://github.com/elastic/kibana/pull/155566","mergeCommit":{"message":"[DOCS]
Automate two rule management screenshots
(#155566)","sha":"fb68f2075ad148e9d7eafc0e5778d5a720bb64d5"}},"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/155566","number":155566,"mergeCommit":{"message":"[DOCS]
Automate two rule management screenshots
(#155566)","sha":"fb68f2075ad148e9d7eafc0e5778d5a720bb64d5"}}]}]
BACKPORT-->
2023-04-25 13:01:11 -07:00
Tim Sullivan
4217ec2e4b
[Screenshotting] fix revision number used for mac and windows downloads of chromium (#155313)
## Summary

Closes https://github.com/elastic/kibana/issues/155681

Fixes an issue where Mac and Windows Chromium downloads are referencing
a bucket from an older version of Kibana.

### Checklist

- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- This has not completed since designing tests around this will take
some time: https://github.com/elastic/kibana/issues/155753

### Release note
Fixed an issue for Windows and Mac where the Reporting plugin downloaded
an older version of Chromium. All OS types are now synchronized to
107.0.5296.0
2023-04-25 10:07:51 -07:00
Kibana Machine
bc7c5fcad9
[8.7] [Synthetics] Fix next / prev test navigation (#155624) (#155682)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Synthetics] Fix next / prev test navigation
(#155624)](https://github.com/elastic/kibana/pull/155624)

<!--- 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-04-25T06:11:19Z","message":"[Synthetics]
Fix next / prev test navigation
(#155624)","sha":"4e4f408a34f418053d5433eec8d59250816b0ba8","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:uptime","v8.8.0","v8.7.2"],"number":155624,"url":"https://github.com/elastic/kibana/pull/155624","mergeCommit":{"message":"[Synthetics]
Fix next / prev test navigation
(#155624)","sha":"4e4f408a34f418053d5433eec8d59250816b0ba8"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155624","number":155624,"mergeCommit":{"message":"[Synthetics]
Fix next / prev test navigation
(#155624)","sha":"4e4f408a34f418053d5433eec8d59250816b0ba8"}},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Shahzad <shahzad31comp@gmail.com>
2023-04-25 00:20:17 -07:00
Shahzad
afeb66cdf7
[8.7] [Synthetics] Filtering - location filter counts are off when filter is applied (#155437) (#155537)
Co-authored-by: Anjola Adeuyi
Co-authored-by: GitStart <1501599+gitstart@users.noreply.github.com>
2023-04-24 14:14:20 +02:00
Lisa Cawley
fde13a9709
[8.7] [DOCS] Automate email-params-test.png, add title in connector table rows (#155469) (#155563)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[DOCS] Automate email-params-test.png, add title in connector table
rows (#155469)](https://github.com/elastic/kibana/pull/155469)

<!--- 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-04-21T19:19:33Z","message":"[DOCS]
Automate email-params-test.png, add title in connector table rows
(#155469)","sha":"e1b3bc259aecec5aff8e69b837b5723ba215a244","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","docs","Feature:Actions/ConnectorTypes","backport:prev-minor","v8.8.0"],"number":155469,"url":"https://github.com/elastic/kibana/pull/155469","mergeCommit":{"message":"[DOCS]
Automate email-params-test.png, add title in connector table rows
(#155469)","sha":"e1b3bc259aecec5aff8e69b837b5723ba215a244"}},"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/155469","number":155469,"mergeCommit":{"message":"[DOCS]
Automate email-params-test.png, add title in connector table rows
(#155469)","sha":"e1b3bc259aecec5aff8e69b837b5723ba215a244"}}]}]
BACKPORT-->
2023-04-21 14:14:22 -07:00
Kibana Machine
b1d7f51d35
[8.7] [DOCS] Automate email connector screenshot, edit secrets field label (#155464) (#155544)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[DOCS] Automate email connector screenshot, edit secrets field label
(#155464)](https://github.com/elastic/kibana/pull/155464)

<!--- 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-04-21T18:04:09Z","message":"[DOCS]
Automate email connector screenshot, edit secrets field label
(#155464)","sha":"da4c42da48b8bb62a743f898115f3aab963bfadb","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","docs","Feature:Actions/ConnectorTypes","ui-copy","backport:prev-minor","v8.8.0"],"number":155464,"url":"https://github.com/elastic/kibana/pull/155464","mergeCommit":{"message":"[DOCS]
Automate email connector screenshot, edit secrets field label
(#155464)","sha":"da4c42da48b8bb62a743f898115f3aab963bfadb"}},"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/155464","number":155464,"mergeCommit":{"message":"[DOCS]
Automate email connector screenshot, edit secrets field label
(#155464)","sha":"da4c42da48b8bb62a743f898115f3aab963bfadb"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-04-21 12:46:01 -07:00
Kibana Machine
d597ba5686
[8.7] [Controls] Use Internal User to Get Value of allow_expensive_queries (#155430) (#155548)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Controls] Use Internal User to Get Value of
`allow_expensive_queries`
(#155430)](https://github.com/elastic/kibana/pull/155430)

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

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

<!--BACKPORT [{"author":{"name":"Devon
Thomson","email":"devon.thomson@elastic.co"},"sourceCommit":{"committedDate":"2023-04-21T18:19:53Z","message":"[Controls]
Use Internal User to Get Value of `allow_expensive_queries`
(#155430)\n\nchanges the way we access `allow_expensive_queries` to use
the internal
user.","sha":"81b003d431bbd0d5d0bc3fdf507a99e50133a386","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Feature:Input
Control","Team:Presentation","loe:hours","impact:critical","backport:prev-minor","v8.8.0"],"number":155430,"url":"https://github.com/elastic/kibana/pull/155430","mergeCommit":{"message":"[Controls]
Use Internal User to Get Value of `allow_expensive_queries`
(#155430)\n\nchanges the way we access `allow_expensive_queries` to use
the internal
user.","sha":"81b003d431bbd0d5d0bc3fdf507a99e50133a386"}},"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/155430","number":155430,"mergeCommit":{"message":"[Controls]
Use Internal User to Get Value of `allow_expensive_queries`
(#155430)\n\nchanges the way we access `allow_expensive_queries` to use
the internal
user.","sha":"81b003d431bbd0d5d0bc3fdf507a99e50133a386"}}]}] BACKPORT-->

Co-authored-by: Devon Thomson <devon.thomson@elastic.co>
2023-04-21 12:32:28 -07:00
Kibana Machine
5d87ea710b
[8.7] [DOCS] Automate rule-flyout-rule-conditions.png (#155461) (#155525)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[DOCS] Automate rule-flyout-rule-conditions.png
(#155461)](https://github.com/elastic/kibana/pull/155461)

<!--- 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-04-21T14:51:28Z","message":"[DOCS]
Automate rule-flyout-rule-conditions.png
(#155461)","sha":"a0aae1aa2325afc52a4df9e16ade49a73fab83dc","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Alerting","release_note:skip","Team:ResponseOps","docs","v8.8.0","v8.7.2"],"number":155461,"url":"https://github.com/elastic/kibana/pull/155461","mergeCommit":{"message":"[DOCS]
Automate rule-flyout-rule-conditions.png
(#155461)","sha":"a0aae1aa2325afc52a4df9e16ade49a73fab83dc"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155461","number":155461,"mergeCommit":{"message":"[DOCS]
Automate rule-flyout-rule-conditions.png
(#155461)","sha":"a0aae1aa2325afc52a4df9e16ade49a73fab83dc"}},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-04-21 10:56:08 -07:00
Hannah Mudge
cc16f95eca
[8.7] [Controls] Use EUI Selectable for Field search (#151231) (#155454)
Closes https://github.com/elastic/kibana/issues/155452

# Backport

This will backport the following commits from `main` to `8.7`:
- [[Controls] Use EUI Selectable for Field search
(#151231)](https://github.com/elastic/kibana/pull/151231)

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

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

<!--BACKPORT [{"author":{"name":"Devon
Thomson","email":"devon.thomson@elastic.co"},"sourceCommit":{"committedDate":"2023-02-24T15:39:15Z","message":"[Controls]
Use EUI Selectable for Field search (#151231)\n\n## Summary\r\nReplaces
Control field selection list with
EUISelectable.","sha":"eb9cc11a7c81073a75fb3e6ec33e61796cc40aff","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Feature:Dashboard","Feature:Input
Control","Team:Presentation","loe:days","impact:low","backport:skip","v8.8.0"],"number":151231,"url":"https://github.com/elastic/kibana/pull/151231","mergeCommit":{"message":"[Controls]
Use EUI Selectable for Field search (#151231)\n\n## Summary\r\nReplaces
Control field selection list with
EUISelectable.","sha":"eb9cc11a7c81073a75fb3e6ec33e61796cc40aff"}},"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/151231","number":151231,"mergeCommit":{"message":"[Controls]
Use EUI Selectable for Field search (#151231)\n\n## Summary\r\nReplaces
Control field selection list with
EUISelectable.","sha":"eb9cc11a7c81073a75fb3e6ec33e61796cc40aff"}}]}]
BACKPORT-->

---------

Co-authored-by: Devon Thomson <devon.thomson@elastic.co>
2023-04-20 15:49:36 -07:00
Kibana Machine
f18982ed2f
[8.7] [Synthetics] Fix performance breakdown link from error details page (#155393) (#155427)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Synthetics] Fix performance breakdown link from error details page
(#155393)](https://github.com/elastic/kibana/pull/155393)

<!--- 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-04-20T16:23:36Z","message":"[Synthetics]
Fix performance breakdown link from error details page
(#155393)","sha":"08a68dbe730d63a0f77c63e46da5581bbb842d41","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:uptime","release_note:skip","v8.7.0","v8.8.0","v8.7.2"],"number":155393,"url":"https://github.com/elastic/kibana/pull/155393","mergeCommit":{"message":"[Synthetics]
Fix performance breakdown link from error details page
(#155393)","sha":"08a68dbe730d63a0f77c63e46da5581bbb842d41"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"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/155393","number":155393,"mergeCommit":{"message":"[Synthetics]
Fix performance breakdown link from error details page
(#155393)","sha":"08a68dbe730d63a0f77c63e46da5581bbb842d41"}}]}]
BACKPORT-->

Co-authored-by: Shahzad <shahzad31comp@gmail.com>
2023-04-20 10:33:53 -07:00
Kibana Machine
5a11de69f9
[8.7] [DOCS] Remove or move book-scoped attributes (#155210) (#155426)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[DOCS] Remove or move book-scoped attributes
(#155210)](https://github.com/elastic/kibana/pull/155210)

<!--- 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-04-20T16:12:09Z","message":"[DOCS]
Remove or move book-scoped attributes
(#155210)","sha":"5120d692c8c6a1545fbc40acff7b691523eb32d9","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","docs","v8.8.0","v8.7.1"],"number":155210,"url":"https://github.com/elastic/kibana/pull/155210","mergeCommit":{"message":"[DOCS]
Remove or move book-scoped attributes
(#155210)","sha":"5120d692c8c6a1545fbc40acff7b691523eb32d9"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/155210","number":155210,"mergeCommit":{"message":"[DOCS]
Remove or move book-scoped attributes
(#155210)","sha":"5120d692c8c6a1545fbc40acff7b691523eb32d9"}},{"branch":"8.7","label":"v8.7.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-04-20 12:32:37 -04:00
Kibana Machine
a398c5e611
[8.7] [Synthetics] add default email recovery message (#154862) (#155418)
# Backport

This will backport the following commits from `main` to `8.7`:
 - [Synthetics] add default email recovery message (#154862) (0b71c745)

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

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

<!--BACKPORT [{"author":{"name":"Dominique
Clarke","email":"dominique.clarke@elastic.co"},"sourceCommit":{"committedDate":"2023-04-20T14:51:04Z","message":"[Synthetics]
add default email recovery message (#154862)\n\n##
Summary\r\n\r\nResolves
https://github.com/elastic/kibana/issues/153891\r\n<img width=\"1334\"
alt=\"Screen Shot 2023-04-18 at 7 50 20
PM\"\r\nsrc=\"https://user-images.githubusercontent.com/11356435/232928889-09de824f-14ef-426d-8732-6da7fc12eb37.png\">\r\n\r\nDown
email\r\n\r\nRecovered email\r\n<img width=\"1339\" alt=\"Screen Shot
2023-04-18 at 7 50 30
PM\"\r\nsrc=\"https://user-images.githubusercontent.com/11356435/232928874-4e7c0cbb-b7ec-4684-b0d2-88ec993697df.png\">\r\n\r\nPlease
note the `recoverd` typo in the screenshot has been addressed
in\r\ncommits\r\n[7c4040f](56f637b82e)\r\n\r\n###
Testing\r\nThis PR is extremely tricky to test. I have deployed this
branch to my\r\nown cloud account. This ensures that I can control the
allowlist setting\r\nfor emails on cloud. If you want, I can give you
the cloud cluster where\r\nthis branch is hosted and if you give me your
email I can add you to my\r\nallowlist settings for you to
test.\r\n\r\nThe cloud cluster is current on
commit\r\n[f889500](f889500dc2)","sha":"0b71c7458df0d78869668dbe38c7b11757da3193"},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[]}]
BACKPORT-->

Co-authored-by: Dominique Clarke <dominique.clarke@elastic.co>
2023-04-20 08:54:34 -07:00
Kibana Machine
cad6f92bc2
[8.7] [Uptime] Add both both ip filters for view host in uptime location for host and monitor (#155382) (#155399)
# Backport

This will backport the following commits from `main` to `8.7`:
- [Uptime] Add both both ip filters for view host in uptime location for
host and monitor (#155382) (c13a3ab6)

<!--- 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-04-20T13:17:09Z","message":"[Uptime]
Add both both ip filters for view host in uptime location for host and
monitor
(#155382)","sha":"c13a3ab603c51df0b36433e0e658ead0753bb9b8"},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[]}]
BACKPORT-->

Co-authored-by: Shahzad <shahzad31comp@gmail.com>
2023-04-20 07:23:55 -07:00
Kibana Machine
4b993659b8
[8.7] Setup Node.js environment before instrumenting Kibana with APM. (#155063) (#155300)
# Backport

This will backport the following commits from `main` to `8.7`:
- [Setup Node.js environment before instrumenting Kibana with APM.
(#155063)](https://github.com/elastic/kibana/pull/155063)

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

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

<!--BACKPORT [{"author":{"name":"Aleh
Zasypkin","email":"aleh.zasypkin@elastic.co"},"sourceCommit":{"committedDate":"2023-04-19T16:33:11Z","message":"Setup
Node.js environment before instrumenting Kibana with APM.
(#155063)","sha":"eb90e40da5f48fa8554b495ecd9b046f5f5978e3","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","release_note:skip","backport:all-open","v8.8.0"],"number":155063,"url":"https://github.com/elastic/kibana/pull/155063","mergeCommit":{"message":"Setup
Node.js environment before instrumenting Kibana with APM.
(#155063)","sha":"eb90e40da5f48fa8554b495ecd9b046f5f5978e3"}},"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/155063","number":155063,"mergeCommit":{"message":"Setup
Node.js environment before instrumenting Kibana with APM.
(#155063)","sha":"eb90e40da5f48fa8554b495ecd9b046f5f5978e3"}}]}]
BACKPORT-->

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>
2023-04-20 04:58:43 -07:00
Julia Rechkunova
d07697dc17
[8.7] [Discover] Address react warnings for legacy table (#154579) (#155345)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Discover] Address react warnings for legacy table
(#154579)](https://github.com/elastic/kibana/pull/154579)

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

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

<!--BACKPORT [{"author":{"name":"Julia
Rechkunova","email":"julia.rechkunova@elastic.co"},"sourceCommit":{"committedDate":"2023-04-20T07:11:59Z","message":"[Discover]
Address react warnings for legacy table (#154579)\n\n##
Summary\r\n\r\nThis PR resolves react warnings for the legacy
table:\r\n<details><summary>passing undefined to `TotalDocuments`
during\r\nloading</summary>\r\n<pre>\r\nract_devtools_backend.js:2655
Warning: Failed prop type: The prop\r\n`value` is marked as required in
`FormattedNumber`, but its value is\r\n`undefined`.\r\nat
FormattedNumber\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149935:5)\r\nat
TotalDocuments\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.7.js:70:3)\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiFlexItem\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109977:23)\r\n
at
div\r\nat\r\n9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109752:23\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiFlexItem\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109977:23)\r\n
at
div\r\nat\r\n9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109752:23\r\nat
DocTableEmbeddable\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.7.js:309:109)\r\nat
PseudoLocaleWrapper\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14199:5)\r\nat
IntlProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149454:5)\r\nat
I18nProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14130:3)\r\nat
DiscoverDocTableEmbeddable\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.7.js:235:26)\r\nat
SavedSearchEmbeddableComponent\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.7.js:976:3)\r\nat
Provider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:1794:15)\r\nat
CurrentEuiBreakpointProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:161492:23)\r\nat
EuiThemeProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:166432:22)\r\nat
EuiCacheProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:138902:20)\r\nat
EuiProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:139002:25)\r\nat
KibanaThemeProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:4625:3)\r\nat
PseudoLocaleWrapper\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14199:5)\r\nat
IntlProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149454:5)\r\nat
I18nProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14130:3)\r\no\r\n</pre>\r\n</details>\r\n\r\n<details><summary>non
unique keys for table headers and columns in
SQL\r\nmode</summary>\r\n<pre>\r\nract_devtools_backend.js:2655 Warning:
Encountered two children with the\r\nsame key, `order_date`. Keys should
be unique so that components\r\nmaintain their identity across updates.
Non-unique keys may cause\r\nchildren to be duplicated and/or omitted —
the behavior is unsupported\r\nand could change in a future version.\r\n
at tr\r\nat
TableHeader\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.3.js:3956:3)\r\n
at thead\r\n at table\r\nat
DocTableInfiniteContent\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:15565:3)\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.3.js:4710:3\r\nat
DocTableInfinite\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:15613:79)\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiFlexItem\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109977:23)\r\nat
DiscoverDocumentsComponent\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:6758:3)\r\n
at
div\r\nat\r\n9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109752:23\r\nat
DiscoverMainContent\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:7485:3)\r\nat
InPortal\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/unifiedHistogram/1.0.0/unifiedHistogram.chunk.0.js:980:28)\r\nat
UnifiedHistogramLayout\r\n(9007199254/bundles/plugin/unifiedHistogram/1.0.0/unifiedHistogram.chunk.0.js:3019:95\r\n
at Suspense\r\nat
EuiErrorBoundary\r\n(9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
DiscoverHistogramLayout\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:6956:3)\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiPanel\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:136743:23)\r\nat
EuiPageContent_Deprecated\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:133907:31)\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiFlexItem\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109977:23)\r\n
at
div\r\nat\r\n9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109752:23\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiPageBody\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:133756:23)\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiPage\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:133610:23)\r\nat
DiscoverLayout\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:7173:3)\r\nat
DiscoverMainProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:14340:3)\r\nat
DiscoverMainApp\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:12539:5)\r\nat
DiscoverMainRoute\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:12703:86)\r\nat
Route\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:361914:29)\r\nat
Route\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:3677:3)\r\nat
Switch\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:362120:29)\r\nat
Router\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:361543:30)\r\nat
EuiErrorBoundary\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:108416:81)\r\nat
Provider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:1794:15)\r\nat
CurrentEuiBreakpointProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:161492:23)\r\nat
EuiThemeProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:166432:22)\r\nat
EuiCacheProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:138902:20)\r\nat
EuiProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:139002:25)\r\nat
KibanaThemeProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:4625:3)\r\nat
PseudoLocaleWrapper\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14199:5)\r\nat
IntlProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149454:5)\r\nat
I18nProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14130:3)\r\no\r\n</pre>\r\n</details>\r\n\r\nThe
one regarding array keys is interesting: time field column
is\r\nrendered twice in the legacy table (as the first column and later
on\r\nagain) in SQL mode. We could consider removing this duplication
in\r\ncolumns but this would become a breaking change to the
existing\r\nbehaviour, no? So I went with updating the key for
now.\r\n\r\nFor testing:\r\n- switch to legacy table via Advanced
Settings\r\n - add a saved search to Dashboard\r\n - check SQL mode on
Discover","sha":"d079fbb0c80fa124ee8499887d146663463581c6","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:DataDiscovery","backport:prev-minor","v8.8.0"],"number":154579,"url":"https://github.com/elastic/kibana/pull/154579","mergeCommit":{"message":"[Discover]
Address react warnings for legacy table (#154579)\n\n##
Summary\r\n\r\nThis PR resolves react warnings for the legacy
table:\r\n<details><summary>passing undefined to `TotalDocuments`
during\r\nloading</summary>\r\n<pre>\r\nract_devtools_backend.js:2655
Warning: Failed prop type: The prop\r\n`value` is marked as required in
`FormattedNumber`, but its value is\r\n`undefined`.\r\nat
FormattedNumber\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149935:5)\r\nat
TotalDocuments\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.7.js:70:3)\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiFlexItem\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109977:23)\r\n
at
div\r\nat\r\n9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109752:23\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiFlexItem\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109977:23)\r\n
at
div\r\nat\r\n9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109752:23\r\nat
DocTableEmbeddable\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.7.js:309:109)\r\nat
PseudoLocaleWrapper\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14199:5)\r\nat
IntlProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149454:5)\r\nat
I18nProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14130:3)\r\nat
DiscoverDocTableEmbeddable\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.7.js:235:26)\r\nat
SavedSearchEmbeddableComponent\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.7.js:976:3)\r\nat
Provider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:1794:15)\r\nat
CurrentEuiBreakpointProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:161492:23)\r\nat
EuiThemeProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:166432:22)\r\nat
EuiCacheProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:138902:20)\r\nat
EuiProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:139002:25)\r\nat
KibanaThemeProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:4625:3)\r\nat
PseudoLocaleWrapper\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14199:5)\r\nat
IntlProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149454:5)\r\nat
I18nProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14130:3)\r\no\r\n</pre>\r\n</details>\r\n\r\n<details><summary>non
unique keys for table headers and columns in
SQL\r\nmode</summary>\r\n<pre>\r\nract_devtools_backend.js:2655 Warning:
Encountered two children with the\r\nsame key, `order_date`. Keys should
be unique so that components\r\nmaintain their identity across updates.
Non-unique keys may cause\r\nchildren to be duplicated and/or omitted —
the behavior is unsupported\r\nand could change in a future version.\r\n
at tr\r\nat
TableHeader\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.3.js:3956:3)\r\n
at thead\r\n at table\r\nat
DocTableInfiniteContent\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:15565:3)\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.3.js:4710:3\r\nat
DocTableInfinite\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:15613:79)\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiFlexItem\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109977:23)\r\nat
DiscoverDocumentsComponent\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:6758:3)\r\n
at
div\r\nat\r\n9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109752:23\r\nat
DiscoverMainContent\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:7485:3)\r\nat
InPortal\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/unifiedHistogram/1.0.0/unifiedHistogram.chunk.0.js:980:28)\r\nat
UnifiedHistogramLayout\r\n(9007199254/bundles/plugin/unifiedHistogram/1.0.0/unifiedHistogram.chunk.0.js:3019:95\r\n
at Suspense\r\nat
EuiErrorBoundary\r\n(9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
DiscoverHistogramLayout\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:6956:3)\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiPanel\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:136743:23)\r\nat
EuiPageContent_Deprecated\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:133907:31)\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiFlexItem\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109977:23)\r\n
at
div\r\nat\r\n9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109752:23\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiPageBody\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:133756:23)\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiPage\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:133610:23)\r\nat
DiscoverLayout\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:7173:3)\r\nat
DiscoverMainProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:14340:3)\r\nat
DiscoverMainApp\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:12539:5)\r\nat
DiscoverMainRoute\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:12703:86)\r\nat
Route\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:361914:29)\r\nat
Route\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:3677:3)\r\nat
Switch\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:362120:29)\r\nat
Router\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:361543:30)\r\nat
EuiErrorBoundary\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:108416:81)\r\nat
Provider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:1794:15)\r\nat
CurrentEuiBreakpointProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:161492:23)\r\nat
EuiThemeProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:166432:22)\r\nat
EuiCacheProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:138902:20)\r\nat
EuiProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:139002:25)\r\nat
KibanaThemeProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:4625:3)\r\nat
PseudoLocaleWrapper\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14199:5)\r\nat
IntlProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149454:5)\r\nat
I18nProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14130:3)\r\no\r\n</pre>\r\n</details>\r\n\r\nThe
one regarding array keys is interesting: time field column
is\r\nrendered twice in the legacy table (as the first column and later
on\r\nagain) in SQL mode. We could consider removing this duplication
in\r\ncolumns but this would become a breaking change to the
existing\r\nbehaviour, no? So I went with updating the key for
now.\r\n\r\nFor testing:\r\n- switch to legacy table via Advanced
Settings\r\n - add a saved search to Dashboard\r\n - check SQL mode on
Discover","sha":"d079fbb0c80fa124ee8499887d146663463581c6"}},"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/154579","number":154579,"mergeCommit":{"message":"[Discover]
Address react warnings for legacy table (#154579)\n\n##
Summary\r\n\r\nThis PR resolves react warnings for the legacy
table:\r\n<details><summary>passing undefined to `TotalDocuments`
during\r\nloading</summary>\r\n<pre>\r\nract_devtools_backend.js:2655
Warning: Failed prop type: The prop\r\n`value` is marked as required in
`FormattedNumber`, but its value is\r\n`undefined`.\r\nat
FormattedNumber\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149935:5)\r\nat
TotalDocuments\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.7.js:70:3)\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiFlexItem\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109977:23)\r\n
at
div\r\nat\r\n9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109752:23\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiFlexItem\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109977:23)\r\n
at
div\r\nat\r\n9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109752:23\r\nat
DocTableEmbeddable\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.7.js:309:109)\r\nat
PseudoLocaleWrapper\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14199:5)\r\nat
IntlProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149454:5)\r\nat
I18nProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14130:3)\r\nat
DiscoverDocTableEmbeddable\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.7.js:235:26)\r\nat
SavedSearchEmbeddableComponent\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.7.js:976:3)\r\nat
Provider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:1794:15)\r\nat
CurrentEuiBreakpointProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:161492:23)\r\nat
EuiThemeProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:166432:22)\r\nat
EuiCacheProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:138902:20)\r\nat
EuiProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:139002:25)\r\nat
KibanaThemeProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:4625:3)\r\nat
PseudoLocaleWrapper\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14199:5)\r\nat
IntlProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149454:5)\r\nat
I18nProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14130:3)\r\no\r\n</pre>\r\n</details>\r\n\r\n<details><summary>non
unique keys for table headers and columns in
SQL\r\nmode</summary>\r\n<pre>\r\nract_devtools_backend.js:2655 Warning:
Encountered two children with the\r\nsame key, `order_date`. Keys should
be unique so that components\r\nmaintain their identity across updates.
Non-unique keys may cause\r\nchildren to be duplicated and/or omitted —
the behavior is unsupported\r\nand could change in a future version.\r\n
at tr\r\nat
TableHeader\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.3.js:3956:3)\r\n
at thead\r\n at table\r\nat
DocTableInfiniteContent\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:15565:3)\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.3.js:4710:3\r\nat
DocTableInfinite\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:15613:79)\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiFlexItem\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109977:23)\r\nat
DiscoverDocumentsComponent\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:6758:3)\r\n
at
div\r\nat\r\n9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109752:23\r\nat
DiscoverMainContent\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:7485:3)\r\nat
InPortal\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/unifiedHistogram/1.0.0/unifiedHistogram.chunk.0.js:980:28)\r\nat
UnifiedHistogramLayout\r\n(9007199254/bundles/plugin/unifiedHistogram/1.0.0/unifiedHistogram.chunk.0.js:3019:95\r\n
at Suspense\r\nat
EuiErrorBoundary\r\n(9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
DiscoverHistogramLayout\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:6956:3)\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiPanel\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:136743:23)\r\nat
EuiPageContent_Deprecated\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:133907:31)\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiFlexItem\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109977:23)\r\n
at
div\r\nat\r\n9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:109752:23\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiPageBody\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:133756:23)\r\n
at
div\r\nat\r\nhttp://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170360:73\r\nat
EuiPage\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:133610:23)\r\nat
DiscoverLayout\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:7173:3)\r\nat
DiscoverMainProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:14340:3)\r\nat
DiscoverMainApp\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:12539:5)\r\nat
DiscoverMainRoute\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:12703:86)\r\nat
Route\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:361914:29)\r\nat
Route\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/discover/1.0.0/discover.chunk.6.js:3677:3)\r\nat
Switch\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:362120:29)\r\nat
Router\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:361543:30)\r\nat
EuiErrorBoundary\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:108416:81)\r\nat
Provider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:1794:15)\r\nat
CurrentEuiBreakpointProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:161492:23)\r\nat
EuiThemeProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:166432:22)\r\nat
EuiCacheProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:138902:20)\r\nat
EuiProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:139002:25)\r\nat
KibanaThemeProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:4625:3)\r\nat
PseudoLocaleWrapper\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14199:5)\r\nat
IntlProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149454:5)\r\nat
I18nProvider\r\n(http://localhost:5601/rzv/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14130:3)\r\no\r\n</pre>\r\n</details>\r\n\r\nThe
one regarding array keys is interesting: time field column
is\r\nrendered twice in the legacy table (as the first column and later
on\r\nagain) in SQL mode. We could consider removing this duplication
in\r\ncolumns but this would become a breaking change to the
existing\r\nbehaviour, no? So I went with updating the key for
now.\r\n\r\nFor testing:\r\n- switch to legacy table via Advanced
Settings\r\n - add a saved search to Dashboard\r\n - check SQL mode on
Discover","sha":"d079fbb0c80fa124ee8499887d146663463581c6"}}]}]
BACKPORT-->
2023-04-20 01:30:33 -07:00
Kibana Machine
5b805acfd5
[8.7] [Fleet] Fix logs useless rerender (#155305) (#155310)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Fleet] Fix logs useless rerender
(#155305)](https://github.com/elastic/kibana/pull/155305)

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

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

<!--BACKPORT [{"author":{"name":"Nicolas
Chaulet","email":"nicolas.chaulet@elastic.co"},"sourceCommit":{"committedDate":"2023-04-19T19:02:51Z","message":"[Fleet]
Fix logs useless rerender
(#155305)","sha":"befd429f4f70eb332b52e0a331b8e167ba0369f4","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:Fleet","backport:prev-minor","v8.8.0"],"number":155305,"url":"https://github.com/elastic/kibana/pull/155305","mergeCommit":{"message":"[Fleet]
Fix logs useless rerender
(#155305)","sha":"befd429f4f70eb332b52e0a331b8e167ba0369f4"}},"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/155305","number":155305,"mergeCommit":{"message":"[Fleet]
Fix logs useless rerender
(#155305)","sha":"befd429f4f70eb332b52e0a331b8e167ba0369f4"}}]}]
BACKPORT-->

Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2023-04-19 13:17:16 -07:00