Commit graph

34554 commits

Author SHA1 Message Date
Kibana Machine
bbe0c0602a
[8.16] [Fleet] Improve space selector validation when not providing valid space (#197117) (#197223)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Fleet] Improve space selector validation when not providing valid
space (#197117)](https://github.com/elastic/kibana/pull/197117)

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

### 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":"2024-10-22T12:12:08Z","message":"[Fleet]
Improve space selector validation when not providing valid space
(#197117)","sha":"b668544406aa45df70c5c3e1f88ccf2b1c0eb140","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","backport:prev-major"],"title":"[Fleet]
Improve space selector validation when not providing valid
space","number":197117,"url":"https://github.com/elastic/kibana/pull/197117","mergeCommit":{"message":"[Fleet]
Improve space selector validation when not providing valid space
(#197117)","sha":"b668544406aa45df70c5c3e1f88ccf2b1c0eb140"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197117","number":197117,"mergeCommit":{"message":"[Fleet]
Improve space selector validation when not providing valid space
(#197117)","sha":"b668544406aa45df70c5c3e1f88ccf2b1c0eb140"}}]}]
BACKPORT-->

Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2024-10-22 09:50:43 -05:00
Elena Stoeva
1ad7e5d032
[8.16] [Ingest Pipelines] Update copy in Manage processors (#196923) (#197196)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Ingest Pipelines] Update copy in Manage processors
(#196923)](https://github.com/elastic/kibana/pull/196923)

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

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

<!--BACKPORT [{"author":{"name":"Elena
Stoeva","email":"59341489+ElenaStoeva@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-22T09:14:42Z","message":"[Ingest
Pipelines] Update copy in Manage processors (#196923)\n\n##
Summary\r\n\r\nThis PR adds some copy changes to the Manage processors
pages.\r\n\r\n1. Empty prompt\r\n- Width and padding of the prompt is
adjusted so that \"IP\" in the title\r\nstarts in the 2nd line\r\n-
Description is updated\r\n<img width=\"800\" alt=\"Screenshot 2024-10-18
at 17 00
53\"\r\nsrc=\"https://github.com/user-attachments/assets/51aa6cdc-5eb4-4c54-8960-7ee273d82ef5\">\r\n\r\n\r\n2.
Add database modal\r\n- Copy in callouts is updated\r\n- The help text
of the \"Type\" field is updated\r\n- The text in the \"Database already
exists\" error callout is updated\r\n<img width=\"1490\"
alt=\"Screenshot 2024-10-21 at 09 34
12\"\r\nsrc=\"https://github.com/user-attachments/assets/ab3c2e21-4457-435f-a4c3-874c6edcb2ce\">\r\n<img
width=\"1498\" alt=\"Screenshot 2024-10-18 at 17 24
43\"\r\nsrc=\"https://github.com/user-attachments/assets/a0c15f5d-9360-4ee7-806d-2b5b64b6fd2a\">\r\n\r\n\r\n3.
Manage processors page\r\n- The title of the page is changed from
\"GeoIP\" to \"IP Location\"\r\n<img width=\"800\" alt=\"Screenshot
2024-10-18 at 17 20
01\"\r\nsrc=\"https://github.com/user-attachments/assets/cde8b070-9664-42df-b71a-723a5356d4a2\">","sha":"996eb73811c665945f8c4425d1e8e89fa9688b40","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Kibana
Management","release_note:skip","v9.0.0","Feature:Ingest Node
Pipelines","backport:prev-minor","v8.16.0","v8.17.0"],"number":196923,"url":"https://github.com/elastic/kibana/pull/196923","mergeCommit":{"message":"[Ingest
Pipelines] Update copy in Manage processors (#196923)\n\n##
Summary\r\n\r\nThis PR adds some copy changes to the Manage processors
pages.\r\n\r\n1. Empty prompt\r\n- Width and padding of the prompt is
adjusted so that \"IP\" in the title\r\nstarts in the 2nd line\r\n-
Description is updated\r\n<img width=\"800\" alt=\"Screenshot 2024-10-18
at 17 00
53\"\r\nsrc=\"https://github.com/user-attachments/assets/51aa6cdc-5eb4-4c54-8960-7ee273d82ef5\">\r\n\r\n\r\n2.
Add database modal\r\n- Copy in callouts is updated\r\n- The help text
of the \"Type\" field is updated\r\n- The text in the \"Database already
exists\" error callout is updated\r\n<img width=\"1490\"
alt=\"Screenshot 2024-10-21 at 09 34
12\"\r\nsrc=\"https://github.com/user-attachments/assets/ab3c2e21-4457-435f-a4c3-874c6edcb2ce\">\r\n<img
width=\"1498\" alt=\"Screenshot 2024-10-18 at 17 24
43\"\r\nsrc=\"https://github.com/user-attachments/assets/a0c15f5d-9360-4ee7-806d-2b5b64b6fd2a\">\r\n\r\n\r\n3.
Manage processors page\r\n- The title of the page is changed from
\"GeoIP\" to \"IP Location\"\r\n<img width=\"800\" alt=\"Screenshot
2024-10-18 at 17 20
01\"\r\nsrc=\"https://github.com/user-attachments/assets/cde8b070-9664-42df-b71a-723a5356d4a2\">","sha":"996eb73811c665945f8c4425d1e8e89fa9688b40"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196923","number":196923,"mergeCommit":{"message":"[Ingest
Pipelines] Update copy in Manage processors (#196923)\n\n##
Summary\r\n\r\nThis PR adds some copy changes to the Manage processors
pages.\r\n\r\n1. Empty prompt\r\n- Width and padding of the prompt is
adjusted so that \"IP\" in the title\r\nstarts in the 2nd line\r\n-
Description is updated\r\n<img width=\"800\" alt=\"Screenshot 2024-10-18
at 17 00
53\"\r\nsrc=\"https://github.com/user-attachments/assets/51aa6cdc-5eb4-4c54-8960-7ee273d82ef5\">\r\n\r\n\r\n2.
Add database modal\r\n- Copy in callouts is updated\r\n- The help text
of the \"Type\" field is updated\r\n- The text in the \"Database already
exists\" error callout is updated\r\n<img width=\"1490\"
alt=\"Screenshot 2024-10-21 at 09 34
12\"\r\nsrc=\"https://github.com/user-attachments/assets/ab3c2e21-4457-435f-a4c3-874c6edcb2ce\">\r\n<img
width=\"1498\" alt=\"Screenshot 2024-10-18 at 17 24
43\"\r\nsrc=\"https://github.com/user-attachments/assets/a0c15f5d-9360-4ee7-806d-2b5b64b6fd2a\">\r\n\r\n\r\n3.
Manage processors page\r\n- The title of the page is changed from
\"GeoIP\" to \"IP Location\"\r\n<img width=\"800\" alt=\"Screenshot
2024-10-18 at 17 20
01\"\r\nsrc=\"https://github.com/user-attachments/assets/cde8b070-9664-42df-b71a-723a5356d4a2\">","sha":"996eb73811c665945f8c4425d1e8e89fa9688b40"}},{"branch":"8.16","label":"v8.16.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/197187","number":197187,"state":"OPEN"}]}]
BACKPORT-->
2024-10-22 15:14:39 +02:00
Pablo Machado
c7baeb20b7
[8.16] [SecuritySolution] Fix entity-store to support asset criticality delete (#196680) (#197189)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[SecuritySolution] Fix entity-store to support asset criticality
delete (#196680)](https://github.com/elastic/kibana/pull/196680)

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

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

<!--BACKPORT [{"author":{"name":"Pablo
Machado","email":"pablo.nevesmachado@elastic.co"},"sourceCommit":{"committedDate":"2024-10-22T07:58:20Z","message":"[SecuritySolution]
Fix entity-store to support asset criticality delete (#196680)\n\n##
Summary\r\n\r\nUpdate the entity store API so it does not return the
asset criticality\r\nfield when the value is 'deleted'.\r\n\r\n\r\n###
How to test it\r\n* Open kibana with data\r\n* Install the entity
store\r\n* Update asset criticality for a host or user\r\n* Wait for the
engine to run (I don't know a reliable way to do this)\r\n* Refresh the
entity analytics dashboard, and it should show empty\r\nfields for
deleted asset criticality\r\n\r\n- [ ] Backport it to 8.16\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":"597fd3e82e549f7a746728af1a577e9fa982b89d","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","v9.0.0","Team:
SecuritySolution","Theme: entity_analytics","Feature:Entity
Analytics","Team:Entity
Analytics","v8.16.0","backport:version","v8.17.0"],"number":196680,"url":"https://github.com/elastic/kibana/pull/196680","mergeCommit":{"message":"[SecuritySolution]
Fix entity-store to support asset criticality delete (#196680)\n\n##
Summary\r\n\r\nUpdate the entity store API so it does not return the
asset criticality\r\nfield when the value is 'deleted'.\r\n\r\n\r\n###
How to test it\r\n* Open kibana with data\r\n* Install the entity
store\r\n* Update asset criticality for a host or user\r\n* Wait for the
engine to run (I don't know a reliable way to do this)\r\n* Refresh the
entity analytics dashboard, and it should show empty\r\nfields for
deleted asset criticality\r\n\r\n- [ ] Backport it to 8.16\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":"597fd3e82e549f7a746728af1a577e9fa982b89d"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196680","number":196680,"mergeCommit":{"message":"[SecuritySolution]
Fix entity-store to support asset criticality delete (#196680)\n\n##
Summary\r\n\r\nUpdate the entity store API so it does not return the
asset criticality\r\nfield when the value is 'deleted'.\r\n\r\n\r\n###
How to test it\r\n* Open kibana with data\r\n* Install the entity
store\r\n* Update asset criticality for a host or user\r\n* Wait for the
engine to run (I don't know a reliable way to do this)\r\n* Refresh the
entity analytics dashboard, and it should show empty\r\nfields for
deleted asset criticality\r\n\r\n- [ ] Backport it to 8.16\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":"597fd3e82e549f7a746728af1a577e9fa982b89d"}},{"branch":"8.16","label":"v8.16.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/197177","number":197177,"state":"OPEN"}]}]
BACKPORT-->
2024-10-22 14:21:05 +02:00
Kibana Machine
27e881576e
[8.16] [EDR Workflows] Improve agent downloader (#196135) (#197183)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[EDR Workflows] Improve agent downloader
(#196135)](https://github.com/elastic/kibana/pull/196135)

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

### 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":"2024-10-22T08:51:55Z","message":"[EDR
Workflows] Improve agent downloader
(#196135)","sha":"c5067fdd06425541d6eb5a9ef5260c9ea9a86816","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Defend
Workflows","v8.16.0","backport:version","v8.17.0"],"title":"[EDR
Workflows] Improve agent
downloader","number":196135,"url":"https://github.com/elastic/kibana/pull/196135","mergeCommit":{"message":"[EDR
Workflows] Improve agent downloader
(#196135)","sha":"c5067fdd06425541d6eb5a9ef5260c9ea9a86816"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196135","number":196135,"mergeCommit":{"message":"[EDR
Workflows] Improve agent downloader
(#196135)","sha":"c5067fdd06425541d6eb5a9ef5260c9ea9a86816"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Tomasz Ciecierski <tomasz.ciecierski@elastic.co>
2024-10-22 05:35:58 -05:00
Giorgos Bamparopoulos
5d1530f5aa
[8.16] [Onboarding] Add tech preview badges to onboarding flows (#196926) (#197181)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Onboarding] Add tech preview badges to onboarding flows
(#196926)](https://github.com/elastic/kibana/pull/196926)

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

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

<!--BACKPORT [{"author":{"name":"Giorgos
Bamparopoulos","email":"georgios.bamparopoulos@elastic.co"},"sourceCommit":{"committedDate":"2024-10-21T13:45:56Z","message":"[Onboarding]
Add tech preview badges to onboarding flows (#196926)\n\n##
Summary\r\nAdds Tech Preview badges for the following flows:\r\n\r\n-
Auto-detect Integrations with Elastic Agent (Tile + Page)\r\n-
Kubernetes monitoring with Elastic Agent (Tile + Page)\r\n- Host
monitoring with EDOT Collector (Tile)\r\n\r\n### Auto-detect
flow\r\n#### Tile\r\n\r\n<img width=\"394\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/b7bb75c0-4930-4294-bb25-7e44c4724cab\">\r\n\r\n####
Page\r\n<img width=\"1218\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/590f7999-579d-4b14-ae69-d726bf194948\">\r\n\r\n###
Kubernetes monitoring with EA\r\n#### Tile\r\n<img width=\"393\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/e8ddca06-5907-46f8-bddc-d5ef42a03a71\">\r\n\r\n####
Page\r\n<img width=\"1219\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/4936656e-e4b6-4b7e-821f-c3dd80529177\">\r\n\r\n###
Host monitoring (OTel)\r\n#### Tile\r\n<img width=\"390\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/7820fdb1-b119-48f3-8450-bbafcf81da6a\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Joe Reuter
<johannes.reuter@elastic.co>","sha":"d7e48fd21583b235d1cfa671a86196421d008de9","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Feature:
Observability
Onboarding","v8.16.0","v8.17.0"],"number":196926,"url":"https://github.com/elastic/kibana/pull/196926","mergeCommit":{"message":"[Onboarding]
Add tech preview badges to onboarding flows (#196926)\n\n##
Summary\r\nAdds Tech Preview badges for the following flows:\r\n\r\n-
Auto-detect Integrations with Elastic Agent (Tile + Page)\r\n-
Kubernetes monitoring with Elastic Agent (Tile + Page)\r\n- Host
monitoring with EDOT Collector (Tile)\r\n\r\n### Auto-detect
flow\r\n#### Tile\r\n\r\n<img width=\"394\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/b7bb75c0-4930-4294-bb25-7e44c4724cab\">\r\n\r\n####
Page\r\n<img width=\"1218\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/590f7999-579d-4b14-ae69-d726bf194948\">\r\n\r\n###
Kubernetes monitoring with EA\r\n#### Tile\r\n<img width=\"393\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/e8ddca06-5907-46f8-bddc-d5ef42a03a71\">\r\n\r\n####
Page\r\n<img width=\"1219\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/4936656e-e4b6-4b7e-821f-c3dd80529177\">\r\n\r\n###
Host monitoring (OTel)\r\n#### Tile\r\n<img width=\"390\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/7820fdb1-b119-48f3-8450-bbafcf81da6a\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Joe Reuter
<johannes.reuter@elastic.co>","sha":"d7e48fd21583b235d1cfa671a86196421d008de9"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196926","number":196926,"mergeCommit":{"message":"[Onboarding]
Add tech preview badges to onboarding flows (#196926)\n\n##
Summary\r\nAdds Tech Preview badges for the following flows:\r\n\r\n-
Auto-detect Integrations with Elastic Agent (Tile + Page)\r\n-
Kubernetes monitoring with Elastic Agent (Tile + Page)\r\n- Host
monitoring with EDOT Collector (Tile)\r\n\r\n### Auto-detect
flow\r\n#### Tile\r\n\r\n<img width=\"394\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/b7bb75c0-4930-4294-bb25-7e44c4724cab\">\r\n\r\n####
Page\r\n<img width=\"1218\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/590f7999-579d-4b14-ae69-d726bf194948\">\r\n\r\n###
Kubernetes monitoring with EA\r\n#### Tile\r\n<img width=\"393\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/e8ddca06-5907-46f8-bddc-d5ef42a03a71\">\r\n\r\n####
Page\r\n<img width=\"1219\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/4936656e-e4b6-4b7e-821f-c3dd80529177\">\r\n\r\n###
Host monitoring (OTel)\r\n#### Tile\r\n<img width=\"390\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/7820fdb1-b119-48f3-8450-bbafcf81da6a\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Joe Reuter
<johannes.reuter@elastic.co>","sha":"d7e48fd21583b235d1cfa671a86196421d008de9"}},{"branch":"8.16","label":"v8.16.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/197067","number":197067,"state":"MERGED","mergeCommit":{"sha":"5484f87753e790e1f8a2699f1a6433af414f737f","message":"[8.x]
[Onboarding] Add tech preview badges to onboarding flows (#196926)
(#197067)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.x`:\n- [[Onboarding] Add tech preview badges to onboarding
flows\n(#196926)](https://github.com/elastic/kibana/pull/196926)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Giorgos\nBamparopoulos\",\"email\":\"georgios.bamparopoulos@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-10-21T13:45:56Z\",\"message\":\"[Onboarding]\nAdd
tech preview badges to onboarding flows
(#196926)\\n\\n##\nSummary\\r\\nAdds Tech Preview badges for the
following flows:\\r\\n\\r\\n-\nAuto-detect Integrations with Elastic
Agent (Tile + Page)\\r\\n-\nKubernetes monitoring with Elastic Agent
(Tile + Page)\\r\\n- Host\nmonitoring with EDOT Collector
(Tile)\\r\\n\\r\\n### Auto-detect\nflow\\r\\n#### Tile\\r\\n\\r\\n<img
width=\\\"394\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/b7bb75c0-4930-4294-bb25-7e44c4724cab\\\">\\r\\n\\r\\n####\nPage\\r\\n<img
width=\\\"1218\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/590f7999-579d-4b14-ae69-d726bf194948\\\">\\r\\n\\r\\n###\nKubernetes
monitoring with EA\\r\\n#### Tile\\r\\n<img
width=\\\"393\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/e8ddca06-5907-46f8-bddc-d5ef42a03a71\\\">\\r\\n\\r\\n####\nPage\\r\\n<img
width=\\\"1219\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/4936656e-e4b6-4b7e-821f-c3dd80529177\\\">\\r\\n\\r\\n###\nHost
monitoring (OTel)\\r\\n#### Tile\\r\\n<img
width=\\\"390\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/7820fdb1-b119-48f3-8450-bbafcf81da6a\\\">\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:\nJoe
Reuter\n<johannes.reuter@elastic.co>\",\"sha\":\"d7e48fd21583b235d1cfa671a86196421d008de9\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.17.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"bug\",\"release_note:skip\",\"v9.0.0\",\"backport:prev-minor\",\"ci:project-deploy-observability\",\"Feature:\nObservability
Onboarding\"],\"title\":\"[Onboarding] Add tech preview badges\nto
onboarding\nflows\",\"number\":196926,\"url\":\"https://github.com/elastic/kibana/pull/196926\",\"mergeCommit\":{\"message\":\"[Onboarding]\nAdd
tech preview badges to onboarding flows
(#196926)\\n\\n##\nSummary\\r\\nAdds Tech Preview badges for the
following flows:\\r\\n\\r\\n-\nAuto-detect Integrations with Elastic
Agent (Tile + Page)\\r\\n-\nKubernetes monitoring with Elastic Agent
(Tile + Page)\\r\\n- Host\nmonitoring with EDOT Collector
(Tile)\\r\\n\\r\\n### Auto-detect\nflow\\r\\n#### Tile\\r\\n\\r\\n<img
width=\\\"394\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/b7bb75c0-4930-4294-bb25-7e44c4724cab\\\">\\r\\n\\r\\n####\nPage\\r\\n<img
width=\\\"1218\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/590f7999-579d-4b14-ae69-d726bf194948\\\">\\r\\n\\r\\n###\nKubernetes
monitoring with EA\\r\\n#### Tile\\r\\n<img
width=\\\"393\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/e8ddca06-5907-46f8-bddc-d5ef42a03a71\\\">\\r\\n\\r\\n####\nPage\\r\\n<img
width=\\\"1219\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/4936656e-e4b6-4b7e-821f-c3dd80529177\\\">\\r\\n\\r\\n###\nHost
monitoring (OTel)\\r\\n#### Tile\\r\\n<img
width=\\\"390\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/7820fdb1-b119-48f3-8450-bbafcf81da6a\\\">\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:\nJoe
Reuter\n<johannes.reuter@elastic.co>\",\"sha\":\"d7e48fd21583b235d1cfa671a86196421d008de9\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/196926\",\"number\":196926,\"mergeCommit\":{\"message\":\"[Onboarding]\nAdd
tech preview badges to onboarding flows
(#196926)\\n\\n##\nSummary\\r\\nAdds Tech Preview badges for the
following flows:\\r\\n\\r\\n-\nAuto-detect Integrations with Elastic
Agent (Tile + Page)\\r\\n-\nKubernetes monitoring with Elastic Agent
(Tile + Page)\\r\\n- Host\nmonitoring with EDOT Collector
(Tile)\\r\\n\\r\\n### Auto-detect\nflow\\r\\n#### Tile\\r\\n\\r\\n<img
width=\\\"394\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/b7bb75c0-4930-4294-bb25-7e44c4724cab\\\">\\r\\n\\r\\n####\nPage\\r\\n<img
width=\\\"1218\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/590f7999-579d-4b14-ae69-d726bf194948\\\">\\r\\n\\r\\n###\nKubernetes
monitoring with EA\\r\\n#### Tile\\r\\n<img
width=\\\"393\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/e8ddca06-5907-46f8-bddc-d5ef42a03a71\\\">\\r\\n\\r\\n####\nPage\\r\\n<img
width=\\\"1219\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/4936656e-e4b6-4b7e-821f-c3dd80529177\\\">\\r\\n\\r\\n###\nHost
monitoring (OTel)\\r\\n#### Tile\\r\\n<img
width=\\\"390\\\"\nalt=\\\"image\\\"\\r\\nsrc=\\\"https://github.com/user-attachments/assets/7820fdb1-b119-48f3-8450-bbafcf81da6a\\\">\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:\nJoe
Reuter\n<johannes.reuter@elastic.co>\",\"sha\":\"d7e48fd21583b235d1cfa671a86196421d008de9\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Giorgos Bamparopoulos <georgios.bamparopoulos@elastic.co>"}}]}]
BACKPORT-->
2024-10-22 12:32:55 +02:00
Kibana Machine
4b9256f202
[8.16] [Data Usage] use auto ops service (#196312) (#197132)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Data Usage] use auto ops service
(#196312)](https://github.com/elastic/kibana/pull/196312)

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

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

<!--BACKPORT [{"author":{"name":"Sandra
G","email":"neptunian@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-17T19:30:05Z","message":"[Data
Usage] use auto ops service (#196312)\n\n## Summary\r\n\r\n- use
AutoOpsAPIService service and removes mock data\r\n- removes checking
for serviceConfig.enabled to register routes as they\r\nwon't register
if the plugin isn't enabled\r\n- adds UI toasts with error message when
requests fail\r\n- adds centralized DataUsageService for managing other
services","sha":"7af4c6da4a08b6452c0c6e1264d1ceffbf628c42","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","v8.16.0","backport:version","v8.17.0"],"title":"[Data
Usage] use auto ops
service","number":196312,"url":"https://github.com/elastic/kibana/pull/196312","mergeCommit":{"message":"[Data
Usage] use auto ops service (#196312)\n\n## Summary\r\n\r\n- use
AutoOpsAPIService service and removes mock data\r\n- removes checking
for serviceConfig.enabled to register routes as they\r\nwon't register
if the plugin isn't enabled\r\n- adds UI toasts with error message when
requests fail\r\n- adds centralized DataUsageService for managing other
services","sha":"7af4c6da4a08b6452c0c6e1264d1ceffbf628c42"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196312","number":196312,"mergeCommit":{"message":"[Data
Usage] use auto ops service (#196312)\n\n## Summary\r\n\r\n- use
AutoOpsAPIService service and removes mock data\r\n- removes checking
for serviceConfig.enabled to register routes as they\r\nwon't register
if the plugin isn't enabled\r\n- adds UI toasts with error message when
requests fail\r\n- adds centralized DataUsageService for managing other
services","sha":"7af4c6da4a08b6452c0c6e1264d1ceffbf628c42"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/196769","number":196769,"state":"MERGED","mergeCommit":{"sha":"d2bcd89599918d7094b2c16dbfb34a227e762441","message":"[8.x]
[Data Usage] use auto ops service (#196312) (#196769)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.x`:\n- [[Data Usage] use auto ops
service\n(#196312)](https://github.com/elastic/kibana/pull/196312)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Sandra\nG\",\"email\":\"neptunian@users.noreply.github.com\"},\"sourceCommit\":{\"committedDate\":\"2024-10-17T19:30:05Z\",\"message\":\"[Data\nUsage]
use auto ops service (#196312)\\n\\n## Summary\\r\\n\\r\\n-
use\nAutoOpsAPIService service and removes mock data\\r\\n- removes
checking\nfor serviceConfig.enabled to register routes as
they\\r\\nwon't register\nif the plugin isn't enabled\\r\\n- adds UI
toasts with error message when\nrequests fail\\r\\n- adds centralized
DataUsageService for managing
other\nservices\",\"sha\":\"7af4c6da4a08b6452c0c6e1264d1ceffbf628c42\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.17.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"v9.0.0\",\"backport:prev-minor\"],\"title\":\"[Data\nUsage]
use auto
ops\nservice\",\"number\":196312,\"url\":\"https://github.com/elastic/kibana/pull/196312\",\"mergeCommit\":{\"message\":\"[Data\nUsage]
use auto ops service (#196312)\\n\\n## Summary\\r\\n\\r\\n-
use\nAutoOpsAPIService service and removes mock data\\r\\n- removes
checking\nfor serviceConfig.enabled to register routes as
they\\r\\nwon't register\nif the plugin isn't enabled\\r\\n- adds UI
toasts with error message when\nrequests fail\\r\\n- adds centralized
DataUsageService for managing
other\nservices\",\"sha\":\"7af4c6da4a08b6452c0c6e1264d1ceffbf628c42\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/196312\",\"number\":196312,\"mergeCommit\":{\"message\":\"[Data\nUsage]
use auto ops service (#196312)\\n\\n## Summary\\r\\n\\r\\n-
use\nAutoOpsAPIService service and removes mock data\\r\\n- removes
checking\nfor serviceConfig.enabled to register routes as
they\\r\\nwon't register\nif the plugin isn't enabled\\r\\n- adds UI
toasts with error message when\nrequests fail\\r\\n- adds centralized
DataUsageService for managing
other\nservices\",\"sha\":\"7af4c6da4a08b6452c0c6e1264d1ceffbf628c42\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Sandra G <neptunian@users.noreply.github.com>"}}]}] BACKPORT-->

Co-authored-by: Sandra G <neptunian@users.noreply.github.com>
2024-10-21 18:09:53 -05:00
Kibana Machine
ee0df4b71d
[8.16] [Spaces Mgmt] Ensure space ID is used for comparison logic (#196930) (#197135)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Spaces Mgmt] Ensure space ID is used for comparison logic
(#196930)](https://github.com/elastic/kibana/pull/196930)

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

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

<!--BACKPORT [{"author":{"name":"Tim
Sullivan","email":"tsullivan@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-21T20:15:13Z","message":"[Spaces
Mgmt] Ensure space ID is used for comparison logic (#196930)\n\nCloses
https://github.com/elastic/kibana/issues/192811\r\n\r\n##
Summary\r\n\r\nWhen creating a space, if it's not the current, you
should be able to\r\nuse the switch icon from the table. This PR fixes a
bug that disabled\r\nthe switch icon for spaces that aren't the current,
if they have the\r\nsame name as the current.\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"a3d216f496d319ab41855711e88c4b9c80a57152","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","v8.16.0","backport:version","v8.17.0"],"title":"[Spaces
Mgmt] Ensure space ID is used for comparison
logic","number":196930,"url":"https://github.com/elastic/kibana/pull/196930","mergeCommit":{"message":"[Spaces
Mgmt] Ensure space ID is used for comparison logic (#196930)\n\nCloses
https://github.com/elastic/kibana/issues/192811\r\n\r\n##
Summary\r\n\r\nWhen creating a space, if it's not the current, you
should be able to\r\nuse the switch icon from the table. This PR fixes a
bug that disabled\r\nthe switch icon for spaces that aren't the current,
if they have the\r\nsame name as the current.\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"a3d216f496d319ab41855711e88c4b9c80a57152"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196930","number":196930,"mergeCommit":{"message":"[Spaces
Mgmt] Ensure space ID is used for comparison logic (#196930)\n\nCloses
https://github.com/elastic/kibana/issues/192811\r\n\r\n##
Summary\r\n\r\nWhen creating a space, if it's not the current, you
should be able to\r\nuse the switch icon from the table. This PR fixes a
bug that disabled\r\nthe switch icon for spaces that aren't the current,
if they have the\r\nsame name as the current.\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"a3d216f496d319ab41855711e88c4b9c80a57152"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>
2024-10-21 17:01:34 -05:00
Kibana Machine
494164e179
[8.16] [Screenshotting/PDF Worker Thread] Add type to GeneratePdfResponse (#196860) (#197128)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Screenshotting/PDF Worker Thread] Add type to GeneratePdfResponse
(#196860)](https://github.com/elastic/kibana/pull/196860)

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

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

<!--BACKPORT [{"author":{"name":"Krzysztof
Kowalczyk","email":"krzysztof.kowalczyk@elastic.co"},"sourceCommit":{"committedDate":"2024-10-21T19:15:58Z","message":"[Screenshotting/PDF
Worker Thread] Add type to GeneratePdfResponse (#196860)\n\n##
Summary\r\n\r\nThis PR adds a `type` to `GeneratePdfResponse` and
introduces more\r\nlogging for PDF worker.\r\n\r\nCloses:
#194493","sha":"c25a97bc0a3a85ad5c7bb18aab7916410efd05b7","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:SharedUX","v8.16.0","Feature:Reporting:Screenshot","backport:version","v8.17.0"],"title":"[Screenshotting/PDF
Worker Thread] Add type to
GeneratePdfResponse","number":196860,"url":"https://github.com/elastic/kibana/pull/196860","mergeCommit":{"message":"[Screenshotting/PDF
Worker Thread] Add type to GeneratePdfResponse (#196860)\n\n##
Summary\r\n\r\nThis PR adds a `type` to `GeneratePdfResponse` and
introduces more\r\nlogging for PDF worker.\r\n\r\nCloses:
#194493","sha":"c25a97bc0a3a85ad5c7bb18aab7916410efd05b7"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196860","number":196860,"mergeCommit":{"message":"[Screenshotting/PDF
Worker Thread] Add type to GeneratePdfResponse (#196860)\n\n##
Summary\r\n\r\nThis PR adds a `type` to `GeneratePdfResponse` and
introduces more\r\nlogging for PDF worker.\r\n\r\nCloses:
#194493","sha":"c25a97bc0a3a85ad5c7bb18aab7916410efd05b7"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Krzysztof Kowalczyk <krzysztof.kowalczyk@elastic.co>
2024-10-21 16:29:45 -05:00
Kibana Machine
68a67f34f6
[8.16] [EDR Workflows] Unskip DW tests (#196794) (#197123)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[EDR Workflows] Unskip DW tests
(#196794)](https://github.com/elastic/kibana/pull/196794)

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

### 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":"2024-10-21T18:51:28Z","message":"[EDR
Workflows] Unskip DW tests
(#196794)","sha":"82a91b4b9dc25557838957e876f96664f1a1da8c","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Defend
Workflows","v8.16.0","backport:version","v8.17.0"],"title":"[EDR
Workflows] Unskip DW
tests","number":196794,"url":"https://github.com/elastic/kibana/pull/196794","mergeCommit":{"message":"[EDR
Workflows] Unskip DW tests
(#196794)","sha":"82a91b4b9dc25557838957e876f96664f1a1da8c"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196794","number":196794,"mergeCommit":{"message":"[EDR
Workflows] Unskip DW tests
(#196794)","sha":"82a91b4b9dc25557838957e876f96664f1a1da8c"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Tomasz Ciecierski <tomasz.ciecierski@elastic.co>
2024-10-21 15:52:27 -05:00
Tim Sullivan
49593afcbb
[8.16] [Spaces and Roles] Fix rules on showing Permissions tab (#196442) (#196938)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Spaces and Roles] Fix rules on showing `Permissions` tab
(#196442)](https://github.com/elastic/kibana/pull/196442)

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

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

<!--BACKPORT [{"author":{"name":"Tim
Sullivan","email":"tsullivan@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-18T15:39:57Z","message":"[Spaces
and Roles] Fix rules on showing `Permissions` tab (#196442)\n\n##
Summary\r\n\r\nSome deployment types don't have custom roles. This PR
hides the\r\n`Permissions` tab in Spaces Management for projects without
role\r\nmanagement enabled. The solution uses the
isRoleManagementEnabled\r\nfunction from the security plugin’s authz
service for this.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"4ed9e5173c6d56a949c15fcb8aa223cfc64fc5f1","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","v9.0.0","v8.16.0","backport:version","v8.17.0"],"number":196442,"url":"https://github.com/elastic/kibana/pull/196442","mergeCommit":{"message":"[Spaces
and Roles] Fix rules on showing `Permissions` tab (#196442)\n\n##
Summary\r\n\r\nSome deployment types don't have custom roles. This PR
hides the\r\n`Permissions` tab in Spaces Management for projects without
role\r\nmanagement enabled. The solution uses the
isRoleManagementEnabled\r\nfunction from the security plugin’s authz
service for this.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"4ed9e5173c6d56a949c15fcb8aa223cfc64fc5f1"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196442","number":196442,"mergeCommit":{"message":"[Spaces
and Roles] Fix rules on showing `Permissions` tab (#196442)\n\n##
Summary\r\n\r\nSome deployment types don't have custom roles. This PR
hides the\r\n`Permissions` tab in Spaces Management for projects without
role\r\nmanagement enabled. The solution uses the
isRoleManagementEnabled\r\nfunction from the security plugin’s authz
service for this.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"4ed9e5173c6d56a949c15fcb8aa223cfc64fc5f1"}},{"branch":"8.16","label":"v8.16.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-10-21 15:48:28 -05:00
Kibana Machine
cce59545c4
[8.16] [EDR Workflows] Unskip osquery tests (#196793) (#197121)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[EDR Workflows] Unskip osquery tests
(#196793)](https://github.com/elastic/kibana/pull/196793)

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

### 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":"2024-10-21T18:50:12Z","message":"[EDR
Workflows] Unskip osquery tests
(#196793)","sha":"2c25cc06588976cb90ec3551320fef3e8dbbecf4","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Defend
Workflows","v8.16.0","backport:version","v8.17.0"],"title":"[EDR
Workflows] Unskip osquery
tests","number":196793,"url":"https://github.com/elastic/kibana/pull/196793","mergeCommit":{"message":"[EDR
Workflows] Unskip osquery tests
(#196793)","sha":"2c25cc06588976cb90ec3551320fef3e8dbbecf4"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196793","number":196793,"mergeCommit":{"message":"[EDR
Workflows] Unskip osquery tests
(#196793)","sha":"2c25cc06588976cb90ec3551320fef3e8dbbecf4"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Tomasz Ciecierski <tomasz.ciecierski@elastic.co>
2024-10-21 15:32:24 -05:00
Rodney Norris
52483614f5
[8.16] [Search] Fix: Enterprise Search gated form submission (#196983) (#197087)
# Backport

This will backport the following commits from `8.x` to `8.16`:
- [[Search] Fix: Enterprise Search gated form submission
(#196983)](https://github.com/elastic/kibana/pull/196983)

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

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

<!--BACKPORT [{"author":{"name":"Rodney
Norris","email":"rodney.norris@elastic.co"},"sourceCommit":{"committedDate":"2024-10-21T14:46:54Z","message":"[Search]
Fix: Enterprise Search gated form submission (#196983)\n\n##
Summary\r\n\r\nUpdated the gate forms to explicit reload the browser
after the api call\r\nsucceeds to avoid race conditions from relying on
the form default\r\nbehavior to reload the
browser.","sha":"f25c12b8c7f48fa10ded3cdf5e1dd30fb9f164b5","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","Team:Search","v8.16.0","v8.17.0","v8.15.4"],"number":196983,"url":"https://github.com/elastic/kibana/pull/196983","mergeCommit":{"message":"[Search]
Fix: Enterprise Search gated form submission (#196983)\n\n##
Summary\r\n\r\nUpdated the gate forms to explicit reload the browser
after the api call\r\nsucceeds to avoid race conditions from relying on
the form default\r\nbehavior to reload the
browser.","sha":"f25c12b8c7f48fa10ded3cdf5e1dd30fb9f164b5"}},"sourceBranch":"8.x","suggestedTargetBranches":["8.16","8.15"],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.15","label":"v8.15.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-10-21 12:16:43 -05:00
Davis Plumlee
0e9d89be8d
[8.16] [Security Solution] Removes outdated rule tour for rule management workflow (#196731) (#197080)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Security Solution] Removes outdated rule tour for rule management
workflow (#196731)](https://github.com/elastic/kibana/pull/196731)

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

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

<!--BACKPORT [{"author":{"name":"Davis
Plumlee","email":"56367316+dplumlee@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-21T14:33:26Z","message":"[Security
Solution] Removes outdated rule tour for rule management workflow
(#196731)\n\n## Summary\r\n\r\nRemoves the tour for rule features
implemented in\r\nhttps://github.com/elastic/kibana/pull/176767 as they
are no longer new.\r\nKeeps the component and logic to use for future
tours, just removes\r\nreference to the specific rules management
tour.\r\n\r\n### Steps to test\r\n\r\n1. Make sure
the\r\n`securitySolution.rulesManagementPage.newFeaturesTour.v8.13`
local\r\nstorage key is cleared from your kibana page (this will make
the tour\r\nshow up normally)\r\n2. Notice that navigating to the rule
management page does not display\r\nthe rule tour\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"3547e154b57adbdbf36abda5c4571452b4ee0b26","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Detections
and Resp","Team: SecuritySolution","Feature:Rule
Management","Team:Detection Rule
Management","v8.16.0","backport:version"],"number":196731,"url":"https://github.com/elastic/kibana/pull/196731","mergeCommit":{"message":"[Security
Solution] Removes outdated rule tour for rule management workflow
(#196731)\n\n## Summary\r\n\r\nRemoves the tour for rule features
implemented in\r\nhttps://github.com/elastic/kibana/pull/176767 as they
are no longer new.\r\nKeeps the component and logic to use for future
tours, just removes\r\nreference to the specific rules management
tour.\r\n\r\n### Steps to test\r\n\r\n1. Make sure
the\r\n`securitySolution.rulesManagementPage.newFeaturesTour.v8.13`
local\r\nstorage key is cleared from your kibana page (this will make
the tour\r\nshow up normally)\r\n2. Notice that navigating to the rule
management page does not display\r\nthe rule tour\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"3547e154b57adbdbf36abda5c4571452b4ee0b26"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196731","number":196731,"mergeCommit":{"message":"[Security
Solution] Removes outdated rule tour for rule management workflow
(#196731)\n\n## Summary\r\n\r\nRemoves the tour for rule features
implemented in\r\nhttps://github.com/elastic/kibana/pull/176767 as they
are no longer new.\r\nKeeps the component and logic to use for future
tours, just removes\r\nreference to the specific rules management
tour.\r\n\r\n### Steps to test\r\n\r\n1. Make sure
the\r\n`securitySolution.rulesManagementPage.newFeaturesTour.v8.13`
local\r\nstorage key is cleared from your kibana page (this will make
the tour\r\nshow up normally)\r\n2. Notice that navigating to the rule
management page does not display\r\nthe rule tour\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"3547e154b57adbdbf36abda5c4571452b4ee0b26"}},{"branch":"8.16","label":"v8.16.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-10-21 19:01:45 +02:00
Kibana Machine
27792b2bc4
[8.16] [Monitoring] Improved &quot;Nodes changed&quot; rule alert message (#195699) (#196630)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Monitoring] Improved &quot;Nodes changed&quot; rule alert message
(#195699)](https://github.com/elastic/kibana/pull/195699)

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

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

<!--BACKPORT [{"author":{"name":"Valentin
Crettaz","email":"valentin.crettaz@elastic.co"},"sourceCommit":{"committedDate":"2024-10-11T14:06:45Z","message":"[Monitoring]
Improved \"Nodes changed\" rule alert message (#195699)\n\nCloses
https://github.com/elastic/kibana/issues/195533\r\n\r\n##
Summary\r\n\r\nThis PR fixes the format of the message of the Stack
Monitoring built-in\r\n\"Nodes changed\" alert to be less
confusing.\r\n\r\nThe message now lists the added/removed/restarted
nodes in a clearer\r\nfashion.\r\n\r\nInstead of\r\n```\r\nNodes changed
alert is firing for cluster-name-xyz (abc123). The following
Elasticsearch nodes have been added: removed: instance-0000000012
restarted.\r\n```\r\nThe message now shows like\r\n```\r\nNodes changed
alert is firing for cluster-name-xyz (abc123). The following
Elasticsearch nodes have been added: none / removed: instance-0000000012
/ restarted: none\r\n```\r\n\r\n### Checklist\r\n\r\n- [X] Any text
added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[X] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [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)","sha":"819d80a649dbcc6d7faf88f92b1f58039002ebe1","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","Team:Monitoring","release_note:skip","Feature:Stack
Monitoring","v9.0.0","v8.16.0","backport:version"],"title":"[Monitoring]
Improved \"Nodes changed\" rule alert
message","number":195699,"url":"https://github.com/elastic/kibana/pull/195699","mergeCommit":{"message":"[Monitoring]
Improved \"Nodes changed\" rule alert message (#195699)\n\nCloses
https://github.com/elastic/kibana/issues/195533\r\n\r\n##
Summary\r\n\r\nThis PR fixes the format of the message of the Stack
Monitoring built-in\r\n\"Nodes changed\" alert to be less
confusing.\r\n\r\nThe message now lists the added/removed/restarted
nodes in a clearer\r\nfashion.\r\n\r\nInstead of\r\n```\r\nNodes changed
alert is firing for cluster-name-xyz (abc123). The following
Elasticsearch nodes have been added: removed: instance-0000000012
restarted.\r\n```\r\nThe message now shows like\r\n```\r\nNodes changed
alert is firing for cluster-name-xyz (abc123). The following
Elasticsearch nodes have been added: none / removed: instance-0000000012
/ restarted: none\r\n```\r\n\r\n### Checklist\r\n\r\n- [X] Any text
added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[X] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [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)","sha":"819d80a649dbcc6d7faf88f92b1f58039002ebe1"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195699","number":195699,"mergeCommit":{"message":"[Monitoring]
Improved \"Nodes changed\" rule alert message (#195699)\n\nCloses
https://github.com/elastic/kibana/issues/195533\r\n\r\n##
Summary\r\n\r\nThis PR fixes the format of the message of the Stack
Monitoring built-in\r\n\"Nodes changed\" alert to be less
confusing.\r\n\r\nThe message now lists the added/removed/restarted
nodes in a clearer\r\nfashion.\r\n\r\nInstead of\r\n```\r\nNodes changed
alert is firing for cluster-name-xyz (abc123). The following
Elasticsearch nodes have been added: removed: instance-0000000012
restarted.\r\n```\r\nThe message now shows like\r\n```\r\nNodes changed
alert is firing for cluster-name-xyz (abc123). The following
Elasticsearch nodes have been added: none / removed: instance-0000000012
/ restarted: none\r\n```\r\n\r\n### Checklist\r\n\r\n- [X] Any text
added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[X] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [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)","sha":"819d80a649dbcc6d7faf88f92b1f58039002ebe1"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Valentin Crettaz <valentin.crettaz@elastic.co>
2024-10-21 11:43:44 -05:00
Kibana Machine
b2c151a12f
[8.16] [Automatic Import] Cel template fixes (#196945) (#196978)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Automatic Import] Cel template fixes
(#196945)](https://github.com/elastic/kibana/pull/196945)

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

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

<!--BACKPORT [{"author":{"name":"Kylie
Meli","email":"kylie.geller@elastic.co"},"sourceCommit":{"committedDate":"2024-10-19T13:56:55Z","message":"[Automatic
Import] Cel template fixes (#196945)\n\n## Summary\r\n\r\nThis PR
corrects the CEL template so that it can successfully
complete\r\npackage policy installation. The fixes are 1) adding a
template path,\r\nand 2) removing the common template values from the
cel templates.\r\n\r\nTested and verified with and without the CEL
generation FF
enabled.","sha":"15390e4cdb9aecca5ba5782b0081cb244dbd1a08","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","v8.16.0","Team:Security-Scalability","backport:version"],"title":"[Automatic
Import] Cel template
fixes","number":196945,"url":"https://github.com/elastic/kibana/pull/196945","mergeCommit":{"message":"[Automatic
Import] Cel template fixes (#196945)\n\n## Summary\r\n\r\nThis PR
corrects the CEL template so that it can successfully
complete\r\npackage policy installation. The fixes are 1) adding a
template path,\r\nand 2) removing the common template values from the
cel templates.\r\n\r\nTested and verified with and without the CEL
generation FF
enabled.","sha":"15390e4cdb9aecca5ba5782b0081cb244dbd1a08"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196945","number":196945,"mergeCommit":{"message":"[Automatic
Import] Cel template fixes (#196945)\n\n## Summary\r\n\r\nThis PR
corrects the CEL template so that it can successfully
complete\r\npackage policy installation. The fixes are 1) adding a
template path,\r\nand 2) removing the common template values from the
cel templates.\r\n\r\nTested and verified with and without the CEL
generation FF
enabled.","sha":"15390e4cdb9aecca5ba5782b0081cb244dbd1a08"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Kylie Meli <kylie.geller@elastic.co>
2024-10-21 09:59:22 -05:00
Kibana Machine
45b1980ee3
[8.16] [SecuritySolution] Clean up loading state when the timeline import modal closes (#197018) (#197051)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[SecuritySolution] Clean up loading state when the timeline import
modal closes (#197018)](https://github.com/elastic/kibana/pull/197018)

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

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

<!--BACKPORT [{"author":{"name":"Jan
Monschke","email":"jan.monschke@elastic.co"},"sourceCommit":{"committedDate":"2024-10-21T12:39:05Z","message":"[SecuritySolution]
Clean up loading state when the timeline import modal closes
(#197018)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/196877\r\n\r\nThe above issue
describes an issue where the timeline import modal can\r\nget into a
broken state after a timeline failed to import. The fix was\r\nto
synchronize the loading state of the
modal.","sha":"9577aa980dd1565fba05e34292fb5c0bba692889","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","v9.0.0","Team:Threat
Hunting:Investigations","v8.16.0"],"title":"[SecuritySolution] Clean up
loading state when the timeline import modal
closes","number":197018,"url":"https://github.com/elastic/kibana/pull/197018","mergeCommit":{"message":"[SecuritySolution]
Clean up loading state when the timeline import modal closes
(#197018)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/196877\r\n\r\nThe above issue
describes an issue where the timeline import modal can\r\nget into a
broken state after a timeline failed to import. The fix was\r\nto
synchronize the loading state of the
modal.","sha":"9577aa980dd1565fba05e34292fb5c0bba692889"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197018","number":197018,"mergeCommit":{"message":"[SecuritySolution]
Clean up loading state when the timeline import modal closes
(#197018)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/196877\r\n\r\nThe above issue
describes an issue where the timeline import modal can\r\nget into a
broken state after a timeline failed to import. The fix was\r\nto
synchronize the loading state of the
modal.","sha":"9577aa980dd1565fba05e34292fb5c0bba692889"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Jan Monschke <jan.monschke@elastic.co>
2024-10-21 09:47:14 -05:00
Kibana Machine
514ae3f33e
[8.16] [SecuritySolutuion] Fix misaligned toolbar in alerts table (#196804) (#197039)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[SecuritySolutuion] Fix misaligned toolbar in alerts table
(#196804)](https://github.com/elastic/kibana/pull/196804)

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

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

<!--BACKPORT [{"author":{"name":"Jan
Monschke","email":"jan.monschke@elastic.co"},"sourceCommit":{"committedDate":"2024-10-21T11:49:39Z","message":"[SecuritySolutuion]
Fix misaligned toolbar in alerts table (#196804)\n\n##
Summary\r\n\r\nSome items in the alerts table's toolbar were misaligned.
This PR adds a\r\nquick fix for these misaligned items but the actual
fix will hopefully\r\nbe done in EUI
(https://github.com/elastic/eui/pull/8085)\r\n\r\nBefore:\r\n<img
width=\"1265\" alt=\"Screenshot 2024-10-18 at 09 47
53\"\r\nsrc=\"https://github.com/user-attachments/assets/b5220e8f-f26e-4847-8326-504863bc39bf\">\r\n\r\nAfter:\r\n<img
width=\"1274\" alt=\"Screenshot 2024-10-18 at 09 47
14\"\r\nsrc=\"https://github.com/user-attachments/assets/ff6cbc31-301a-4b43-afc2-938262118d8a\">\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"082a89797edaa45a5d20b5378f8d521561800218","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","v9.0.0","Team:Threat
Hunting:Investigations","v8.16.0"],"title":"[SecuritySolutuion] Fix
misaligned toolbar in alerts
table","number":196804,"url":"https://github.com/elastic/kibana/pull/196804","mergeCommit":{"message":"[SecuritySolutuion]
Fix misaligned toolbar in alerts table (#196804)\n\n##
Summary\r\n\r\nSome items in the alerts table's toolbar were misaligned.
This PR adds a\r\nquick fix for these misaligned items but the actual
fix will hopefully\r\nbe done in EUI
(https://github.com/elastic/eui/pull/8085)\r\n\r\nBefore:\r\n<img
width=\"1265\" alt=\"Screenshot 2024-10-18 at 09 47
53\"\r\nsrc=\"https://github.com/user-attachments/assets/b5220e8f-f26e-4847-8326-504863bc39bf\">\r\n\r\nAfter:\r\n<img
width=\"1274\" alt=\"Screenshot 2024-10-18 at 09 47
14\"\r\nsrc=\"https://github.com/user-attachments/assets/ff6cbc31-301a-4b43-afc2-938262118d8a\">\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"082a89797edaa45a5d20b5378f8d521561800218"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196804","number":196804,"mergeCommit":{"message":"[SecuritySolutuion]
Fix misaligned toolbar in alerts table (#196804)\n\n##
Summary\r\n\r\nSome items in the alerts table's toolbar were misaligned.
This PR adds a\r\nquick fix for these misaligned items but the actual
fix will hopefully\r\nbe done in EUI
(https://github.com/elastic/eui/pull/8085)\r\n\r\nBefore:\r\n<img
width=\"1265\" alt=\"Screenshot 2024-10-18 at 09 47
53\"\r\nsrc=\"https://github.com/user-attachments/assets/b5220e8f-f26e-4847-8326-504863bc39bf\">\r\n\r\nAfter:\r\n<img
width=\"1274\" alt=\"Screenshot 2024-10-18 at 09 47
14\"\r\nsrc=\"https://github.com/user-attachments/assets/ff6cbc31-301a-4b43-afc2-938262118d8a\">\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"082a89797edaa45a5d20b5378f8d521561800218"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Jan Monschke <jan.monschke@elastic.co>
2024-10-21 08:53:02 -05:00
Kibana Machine
f3bb299e32
[8.16] [SecuritySolution][Onboarding] Catch completion check failure (#196389) (#197033)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[SecuritySolution][Onboarding] Catch completion check failure
(#196389)](https://github.com/elastic/kibana/pull/196389)

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

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

<!--BACKPORT [{"author":{"name":"Angela
Chuang","email":"6295984+angorayc@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-21T10:56:50Z","message":"[SecuritySolution][Onboarding]
Catch completion check failure (#196389)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/196091
|\r\n~https://github.com/elastic/kibana/issues/196649~\r\n\r\n1. Add the
error handling when an error occurred during check complete.\r\n2.
Update the AI assistant capabilities
to\r\n`[['securitySolutionAssistant.ai-assistant',
'actions.show']]`\r\n\r\n**Steps to
verify:**\r\n\r\n\r\nhttps://p.elstc.co/paste/+6OYqx41#tZxjvqXgQJ2uRlCSqZH8ADMEAvR1+qnXe-5kEbt+bro\r\nLogin
with the user without indices privilege. It should display the
tab\r\ncontent without the completion information.\r\n\r\nWhen
completion check failed - it should display and error `toast`,\r\nregard
the card as `incomplete` and `show the
content`:\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/30b1654e-99cc-4582-8beb-c4a5fb005e6f\r\n\r\nAI
assistant should not show connectors options as `add integration`
is\r\nregarded as incomplete:\r\n\r\n<img width=\"1761\"
alt=\"Screenshot 2024-10-17 at 15 02
42\"\r\nsrc=\"https://github.com/user-attachments/assets/07fb317e-57d6-4980-aae3-7eb2d0fce12a\">\r\n\r\n\r\nThen
add the index privilege:\r\n<img width=\"2208\" alt=\"Screenshot
2024-10-17 at 15 07
36\"\r\nsrc=\"https://github.com/user-attachments/assets/bb879964-e31b-4ee3-8eb3-dff0381be287\">\r\n\r\nWhen
completion check success: it should display the completion
results:\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2a27a042-c634-4f44-bfd0-2ae503f396a2\r\n\r\n\r\n\r\nSet
`actions and connectors` to read only:\r\n<img width=\"779\"
alt=\"Screenshot 2024-10-17 at 15 04
28\"\r\nsrc=\"https://github.com/user-attachments/assets/098b0c90-30a9-4e82-ad16-10d2cd64a9cc\">\r\n\r\n\r\n<img
width=\"1250\" alt=\"Screenshot 2024-10-17 at 16 40
18\"\r\nsrc=\"https://github.com/user-attachments/assets/5e677d5a-32b8-4cea-b240-207a3f055f9c\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n\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":"10ec204128776930c48376a848fe20b1301569f9","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","backport","v9.0.0","Team:Threat
Hunting:Explore","ci:cloud-deploy","v8.16.0"],"title":"[SecuritySolution][Onboarding]
Catch completion check
failure","number":196389,"url":"https://github.com/elastic/kibana/pull/196389","mergeCommit":{"message":"[SecuritySolution][Onboarding]
Catch completion check failure (#196389)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/196091
|\r\n~https://github.com/elastic/kibana/issues/196649~\r\n\r\n1. Add the
error handling when an error occurred during check complete.\r\n2.
Update the AI assistant capabilities
to\r\n`[['securitySolutionAssistant.ai-assistant',
'actions.show']]`\r\n\r\n**Steps to
verify:**\r\n\r\n\r\nhttps://p.elstc.co/paste/+6OYqx41#tZxjvqXgQJ2uRlCSqZH8ADMEAvR1+qnXe-5kEbt+bro\r\nLogin
with the user without indices privilege. It should display the
tab\r\ncontent without the completion information.\r\n\r\nWhen
completion check failed - it should display and error `toast`,\r\nregard
the card as `incomplete` and `show the
content`:\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/30b1654e-99cc-4582-8beb-c4a5fb005e6f\r\n\r\nAI
assistant should not show connectors options as `add integration`
is\r\nregarded as incomplete:\r\n\r\n<img width=\"1761\"
alt=\"Screenshot 2024-10-17 at 15 02
42\"\r\nsrc=\"https://github.com/user-attachments/assets/07fb317e-57d6-4980-aae3-7eb2d0fce12a\">\r\n\r\n\r\nThen
add the index privilege:\r\n<img width=\"2208\" alt=\"Screenshot
2024-10-17 at 15 07
36\"\r\nsrc=\"https://github.com/user-attachments/assets/bb879964-e31b-4ee3-8eb3-dff0381be287\">\r\n\r\nWhen
completion check success: it should display the completion
results:\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2a27a042-c634-4f44-bfd0-2ae503f396a2\r\n\r\n\r\n\r\nSet
`actions and connectors` to read only:\r\n<img width=\"779\"
alt=\"Screenshot 2024-10-17 at 15 04
28\"\r\nsrc=\"https://github.com/user-attachments/assets/098b0c90-30a9-4e82-ad16-10d2cd64a9cc\">\r\n\r\n\r\n<img
width=\"1250\" alt=\"Screenshot 2024-10-17 at 16 40
18\"\r\nsrc=\"https://github.com/user-attachments/assets/5e677d5a-32b8-4cea-b240-207a3f055f9c\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n\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":"10ec204128776930c48376a848fe20b1301569f9"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196389","number":196389,"mergeCommit":{"message":"[SecuritySolution][Onboarding]
Catch completion check failure (#196389)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/196091
|\r\n~https://github.com/elastic/kibana/issues/196649~\r\n\r\n1. Add the
error handling when an error occurred during check complete.\r\n2.
Update the AI assistant capabilities
to\r\n`[['securitySolutionAssistant.ai-assistant',
'actions.show']]`\r\n\r\n**Steps to
verify:**\r\n\r\n\r\nhttps://p.elstc.co/paste/+6OYqx41#tZxjvqXgQJ2uRlCSqZH8ADMEAvR1+qnXe-5kEbt+bro\r\nLogin
with the user without indices privilege. It should display the
tab\r\ncontent without the completion information.\r\n\r\nWhen
completion check failed - it should display and error `toast`,\r\nregard
the card as `incomplete` and `show the
content`:\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/30b1654e-99cc-4582-8beb-c4a5fb005e6f\r\n\r\nAI
assistant should not show connectors options as `add integration`
is\r\nregarded as incomplete:\r\n\r\n<img width=\"1761\"
alt=\"Screenshot 2024-10-17 at 15 02
42\"\r\nsrc=\"https://github.com/user-attachments/assets/07fb317e-57d6-4980-aae3-7eb2d0fce12a\">\r\n\r\n\r\nThen
add the index privilege:\r\n<img width=\"2208\" alt=\"Screenshot
2024-10-17 at 15 07
36\"\r\nsrc=\"https://github.com/user-attachments/assets/bb879964-e31b-4ee3-8eb3-dff0381be287\">\r\n\r\nWhen
completion check success: it should display the completion
results:\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/2a27a042-c634-4f44-bfd0-2ae503f396a2\r\n\r\n\r\n\r\nSet
`actions and connectors` to read only:\r\n<img width=\"779\"
alt=\"Screenshot 2024-10-17 at 15 04
28\"\r\nsrc=\"https://github.com/user-attachments/assets/098b0c90-30a9-4e82-ad16-10d2cd64a9cc\">\r\n\r\n\r\n<img
width=\"1250\" alt=\"Screenshot 2024-10-17 at 16 40
18\"\r\nsrc=\"https://github.com/user-attachments/assets/5e677d5a-32b8-4cea-b240-207a3f055f9c\">\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n\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":"10ec204128776930c48376a848fe20b1301569f9"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Angela Chuang <6295984+angorayc@users.noreply.github.com>
2024-10-21 08:00:47 -05:00
Rickyanto Ang
29333f8587
[8.16] [Cloud Security] Cypress Test for Misconfiguration Preview and Table for Contextual Flyout (#193125) (#196974)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Cloud Security] Cypress Test for Misconfiguration Preview and Table
for Contextual Flyout
(#193125)](https://github.com/elastic/kibana/pull/193125)

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

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

<!--BACKPORT [{"author":{"name":"Rickyanto
Ang","email":"rickyangwyn@gmail.com"},"sourceCommit":{"committedDate":"2024-10-19T08:39:50Z","message":"[Cloud
Security] Cypress Test for Misconfiguration Preview and Table for
Contextual Flyout (#193125)\n\n## Summary\r\nThis PR is for Cypress test
for the Misconfiguration Preview and
Data\r\ntable\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"2de1f4a55805d4a6d4d3560e3025798e33db87b5","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Cloud
Security","v8.16.0","backport:version"],"number":193125,"url":"https://github.com/elastic/kibana/pull/193125","mergeCommit":{"message":"[Cloud
Security] Cypress Test for Misconfiguration Preview and Table for
Contextual Flyout (#193125)\n\n## Summary\r\nThis PR is for Cypress test
for the Misconfiguration Preview and
Data\r\ntable\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"2de1f4a55805d4a6d4d3560e3025798e33db87b5"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193125","number":193125,"mergeCommit":{"message":"[Cloud
Security] Cypress Test for Misconfiguration Preview and Table for
Contextual Flyout (#193125)\n\n## Summary\r\nThis PR is for Cypress test
for the Misconfiguration Preview and
Data\r\ntable\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"2de1f4a55805d4a6d4d3560e3025798e33db87b5"}},{"branch":"8.16","label":"v8.16.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-10-21 05:42:18 -07:00
Kibana Machine
6d77db490f
[8.16] [ML] File data visualizer: only list sparse_embedding and text_embedding inference endpoints (#196577) (#197030)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[ML] File data visualizer: only list sparse_embedding and
text_embedding inference endpoints
(#196577)](https://github.com/elastic/kibana/pull/196577)

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

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

<!--BACKPORT [{"author":{"name":"James
Gowdy","email":"jgowdy@elastic.co"},"sourceCommit":{"committedDate":"2024-10-21T10:56:05Z","message":"[ML]
File data visualizer: only list sparse_embedding and text_embedding
inference endpoints (#196577)\n\nWhen listing the inference endpoints
available for the semantic text\r\nfield, we should only list
`sparse_embedding` and `text_embedding`\r\ntypes.\r\n\r\n<img
width=\"353\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/95526f2b-e293-4e01-be79-b87e1ecb9a75\">\r\n\r\n\r\n\r\nThis
PR adds a check to the `data_visualizer/inference_endpoints`\r\nendpoint
to ensure only `sparse_embedding` and `text_embedding` types\r\nare used
and they have at least one allocation.\r\nNOTE, the allocation check is
currently commented out waiting on an es\r\nchange.
https://github.com/elastic/elasticsearch/pull/115095\r\n\r\nAlso renames
the endpoint from `data_visualizer/inference_services`
->\r\n`data_visualizer/inference_endpoints`\r\nAnd renames variables
which were incorrectly named \"service\" rather
than\r\n\"endpoint\"","sha":"fb412ca0b7dfb997f2f84da62a12f32d3012ffb0","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug",":ml","release_note:skip","Feature:File
and Index Data Viz","Feature:File
Upload","v9.0.0","v8.16.0","backport:version","v8.17.0"],"title":"[ML]
File data visualizer: only list sparse_embedding and text_embedding
inference
endpoints","number":196577,"url":"https://github.com/elastic/kibana/pull/196577","mergeCommit":{"message":"[ML]
File data visualizer: only list sparse_embedding and text_embedding
inference endpoints (#196577)\n\nWhen listing the inference endpoints
available for the semantic text\r\nfield, we should only list
`sparse_embedding` and `text_embedding`\r\ntypes.\r\n\r\n<img
width=\"353\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/95526f2b-e293-4e01-be79-b87e1ecb9a75\">\r\n\r\n\r\n\r\nThis
PR adds a check to the `data_visualizer/inference_endpoints`\r\nendpoint
to ensure only `sparse_embedding` and `text_embedding` types\r\nare used
and they have at least one allocation.\r\nNOTE, the allocation check is
currently commented out waiting on an es\r\nchange.
https://github.com/elastic/elasticsearch/pull/115095\r\n\r\nAlso renames
the endpoint from `data_visualizer/inference_services`
->\r\n`data_visualizer/inference_endpoints`\r\nAnd renames variables
which were incorrectly named \"service\" rather
than\r\n\"endpoint\"","sha":"fb412ca0b7dfb997f2f84da62a12f32d3012ffb0"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196577","number":196577,"mergeCommit":{"message":"[ML]
File data visualizer: only list sparse_embedding and text_embedding
inference endpoints (#196577)\n\nWhen listing the inference endpoints
available for the semantic text\r\nfield, we should only list
`sparse_embedding` and `text_embedding`\r\ntypes.\r\n\r\n<img
width=\"353\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/95526f2b-e293-4e01-be79-b87e1ecb9a75\">\r\n\r\n\r\n\r\nThis
PR adds a check to the `data_visualizer/inference_endpoints`\r\nendpoint
to ensure only `sparse_embedding` and `text_embedding` types\r\nare used
and they have at least one allocation.\r\nNOTE, the allocation check is
currently commented out waiting on an es\r\nchange.
https://github.com/elastic/elasticsearch/pull/115095\r\n\r\nAlso renames
the endpoint from `data_visualizer/inference_services`
->\r\n`data_visualizer/inference_endpoints`\r\nAnd renames variables
which were incorrectly named \"service\" rather
than\r\n\"endpoint\"","sha":"fb412ca0b7dfb997f2f84da62a12f32d3012ffb0"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: James Gowdy <jgowdy@elastic.co>
2024-10-21 07:39:50 -05:00
Kibana Machine
1f26be27af
[8.16] [ResponseOps][Rules]Deprecate &#x60;ruleFormV2&#x60; flag. (#196507) (#196702)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[ResponseOps][Rules]Deprecate &#x60;ruleFormV2&#x60; flag.
(#196507)](https://github.com/elastic/kibana/pull/196507)

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

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

<!--BACKPORT
[{"author":{"name":"Antonio","email":"antonio.coelho@elastic.co"},"sourceCommit":{"committedDate":"2024-10-17T13:48:36Z","message":"[ResponseOps][Rules]Deprecate
`ruleFormV2` flag. (#196507)\n\nFixes #196493\r\n\r\n##
Summary\r\n\r\nIn a previous PR the `ruleFormV2` feature flag was
renamed when it\r\nshould have been deprecated. This PR fixes
that.","sha":"7988ced8ea04966a02901e68791eb6f24d6ea40e","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","v9.0.0","Feature:Alerting/RulesFramework","backport:prev-minor","v8.16.0"],"title":"[ResponseOps][Rules]Deprecate
`ruleFormV2`
flag.","number":196507,"url":"https://github.com/elastic/kibana/pull/196507","mergeCommit":{"message":"[ResponseOps][Rules]Deprecate
`ruleFormV2` flag. (#196507)\n\nFixes #196493\r\n\r\n##
Summary\r\n\r\nIn a previous PR the `ruleFormV2` feature flag was
renamed when it\r\nshould have been deprecated. This PR fixes
that.","sha":"7988ced8ea04966a02901e68791eb6f24d6ea40e"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196507","number":196507,"mergeCommit":{"message":"[ResponseOps][Rules]Deprecate
`ruleFormV2` flag. (#196507)\n\nFixes #196493\r\n\r\n##
Summary\r\n\r\nIn a previous PR the `ruleFormV2` feature flag was
renamed when it\r\nshould have been deprecated. This PR fixes
that.","sha":"7988ced8ea04966a02901e68791eb6f24d6ea40e"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Antonio <antonio.coelho@elastic.co>
2024-10-21 06:34:04 -05:00
Kibana Machine
3454617a18
[8.16] [ResponseOps][Rules][Alerts] Link stack rule details page refresh button to alerts table (#195736) (#196653)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[ResponseOps][Rules][Alerts] Link stack rule details page refresh
button to alerts table
(#195736)](https://github.com/elastic/kibana/pull/195736)

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

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

<!--BACKPORT [{"author":{"name":"Umberto
Pepato","email":"umbopepato@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-17T09:46:29Z","message":"[ResponseOps][Rules][Alerts]
Link stack rule details page refresh button to alerts table
(#195736)\n\n## Summary\r\n\r\nForwards the reload request from the
Stack Management rule detail page\r\n`🔄 Refresh` button to the alerts
table.\r\n\r\n## To verify\r\n\r\n1. Create a Stack rule that fires
alerts\r\n2. Visit that rule's detail page\r\n3. Check that the `🔄
Refresh` button correctly refreshes the alerts\r\ntable (i.e. by
changing the rule params and checking that the alerts\r\nupdate
accordingly)\r\n\r\n## References\r\n\r\nFixes #188405,
#183155","sha":"6a0ad109087fd8b9efe9198a6df23f4658929c05","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","v9.0.0","backport:prev-major","v8.16.0","v8.15.3"],"title":"[ResponseOps][Rules][Alerts]
Link stack rule details page refresh button to alerts
table","number":195736,"url":"https://github.com/elastic/kibana/pull/195736","mergeCommit":{"message":"[ResponseOps][Rules][Alerts]
Link stack rule details page refresh button to alerts table
(#195736)\n\n## Summary\r\n\r\nForwards the reload request from the
Stack Management rule detail page\r\n`🔄 Refresh` button to the alerts
table.\r\n\r\n## To verify\r\n\r\n1. Create a Stack rule that fires
alerts\r\n2. Visit that rule's detail page\r\n3. Check that the `🔄
Refresh` button correctly refreshes the alerts\r\ntable (i.e. by
changing the rule params and checking that the alerts\r\nupdate
accordingly)\r\n\r\n## References\r\n\r\nFixes #188405,
#183155","sha":"6a0ad109087fd8b9efe9198a6df23f4658929c05"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.15"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195736","number":195736,"mergeCommit":{"message":"[ResponseOps][Rules][Alerts]
Link stack rule details page refresh button to alerts table
(#195736)\n\n## Summary\r\n\r\nForwards the reload request from the
Stack Management rule detail page\r\n`🔄 Refresh` button to the alerts
table.\r\n\r\n## To verify\r\n\r\n1. Create a Stack rule that fires
alerts\r\n2. Visit that rule's detail page\r\n3. Check that the `🔄
Refresh` button correctly refreshes the alerts\r\ntable (i.e. by
changing the rule params and checking that the alerts\r\nupdate
accordingly)\r\n\r\n## References\r\n\r\nFixes #188405,
#183155","sha":"6a0ad109087fd8b9efe9198a6df23f4658929c05"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.15","label":"v8.15.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Umberto Pepato <umbopepato@users.noreply.github.com>
2024-10-21 05:05:11 -05:00
Kibana Machine
f8f9a672c6
[8.16] [APM][Otel]Fix get_error_group_main_statistics making trace.id optional field (#196822) (#196966)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[APM][Otel]Fix get_error_group_main_statistics making trace.id
optional field (#196822)](https://github.com/elastic/kibana/pull/196822)

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

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

<!--BACKPORT [{"author":{"name":"Carlos
Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-18T23:16:36Z","message":"[APM][Otel]Fix
get_error_group_main_statistics making trace.id optional field
(#196822)\n\nfixes
[196821](https://github.com/elastic/kibana/issues/196821)\r\n\r\n##
Summary\r\n\r\n`trace.id` should've been sent as an optional field to
the\r\n`get_error_group_main_statistics` query. This PR fixes
that\r\n\r\n<img width=\"700\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/20b63361-9645-418f-a611-2c0e29b385c7\">\r\n\r\n\r\n##
How to test \r\n\r\n- Run the opentelemetry
demo:\r\nhttps://github.com/elastic/opentelemetry-demo/tree/rca_ingress_obs\r\n-
Navigate to Application > Services\r\n- Open the service details for
loadgenerator","sha":"a36fa1151b4af7ecd1565bf2b67fad20835b8209","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-major","ci:project-deploy-observability","Team:obs-ux-infra_services"],"title":"[APM][Otel]Fix
get_error_group_main_statistics making trace.id optional
field","number":196822,"url":"https://github.com/elastic/kibana/pull/196822","mergeCommit":{"message":"[APM][Otel]Fix
get_error_group_main_statistics making trace.id optional field
(#196822)\n\nfixes
[196821](https://github.com/elastic/kibana/issues/196821)\r\n\r\n##
Summary\r\n\r\n`trace.id` should've been sent as an optional field to
the\r\n`get_error_group_main_statistics` query. This PR fixes
that\r\n\r\n<img width=\"700\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/20b63361-9645-418f-a611-2c0e29b385c7\">\r\n\r\n\r\n##
How to test \r\n\r\n- Run the opentelemetry
demo:\r\nhttps://github.com/elastic/opentelemetry-demo/tree/rca_ingress_obs\r\n-
Navigate to Application > Services\r\n- Open the service details for
loadgenerator","sha":"a36fa1151b4af7ecd1565bf2b67fad20835b8209"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196822","number":196822,"mergeCommit":{"message":"[APM][Otel]Fix
get_error_group_main_statistics making trace.id optional field
(#196822)\n\nfixes
[196821](https://github.com/elastic/kibana/issues/196821)\r\n\r\n##
Summary\r\n\r\n`trace.id` should've been sent as an optional field to
the\r\n`get_error_group_main_statistics` query. This PR fixes
that\r\n\r\n<img width=\"700\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/20b63361-9645-418f-a611-2c0e29b385c7\">\r\n\r\n\r\n##
How to test \r\n\r\n- Run the opentelemetry
demo:\r\nhttps://github.com/elastic/opentelemetry-demo/tree/rca_ingress_obs\r\n-
Navigate to Application > Services\r\n- Open the service details for
loadgenerator","sha":"a36fa1151b4af7ecd1565bf2b67fad20835b8209"}}]}]
BACKPORT-->

Co-authored-by: Carlos Crespo <crespocarlos@users.noreply.github.com>
2024-10-18 20:17:21 -05:00
Kibana Machine
b80bc6235d
[8.16] [Security Solution] [Attack discovery] Updates default Attack discovery max alerts for users still using legacy models (#196939) (#196959)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Security Solution] [Attack discovery] Updates default Attack
discovery max alerts for users still using legacy models
(#196939)](https://github.com/elastic/kibana/pull/196939)

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

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

<!--BACKPORT [{"author":{"name":"Andrew
Macri","email":"andrew.macri@elastic.co"},"sourceCommit":{"committedDate":"2024-10-18T21:06:55Z","message":"[Security
Solution] [Attack discovery] Updates default Attack discovery max alerts
for users still using legacy models (#196939)\n\n### [Security Solution]
[Attack discovery] Updates default Attack discovery max alerts for users
still using legacy models\r\n\r\nIn consideration of users still using
legacy models, (e.g. GPT-4 instead of GPT-4o), this PR updates
`DEFAULT_ATTACK_DISCOVERY_MAX_ALERTS` from its previous value `200` in
<https://github.com/elastic/kibana/pull/195669> to `100`.\r\n\r\nThis PR
also includes additional tests.\r\n\r\n## Desk testing\r\n\r\n1)
Navigate to Security > Attack discovery\r\n\r\n2) Click the settings
gear\r\n\r\n3) Select any value above or below `100` in the Alerts range
slider\r\n\r\n4) Click `Reset`\r\n\r\n**Expected result**\r\n\r\n- The
range slider resets to
`100`","sha":"96585a540b2c5c717ecaf1f71cc2f6f69b4378f5","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:
SecuritySolution","Team:Security Generative
AI","v8.16.0","backport:version"],"title":"[Security Solution] [Attack
discovery] Updates default Attack discovery max alerts for users still
using legacy
models","number":196939,"url":"https://github.com/elastic/kibana/pull/196939","mergeCommit":{"message":"[Security
Solution] [Attack discovery] Updates default Attack discovery max alerts
for users still using legacy models (#196939)\n\n### [Security Solution]
[Attack discovery] Updates default Attack discovery max alerts for users
still using legacy models\r\n\r\nIn consideration of users still using
legacy models, (e.g. GPT-4 instead of GPT-4o), this PR updates
`DEFAULT_ATTACK_DISCOVERY_MAX_ALERTS` from its previous value `200` in
<https://github.com/elastic/kibana/pull/195669> to `100`.\r\n\r\nThis PR
also includes additional tests.\r\n\r\n## Desk testing\r\n\r\n1)
Navigate to Security > Attack discovery\r\n\r\n2) Click the settings
gear\r\n\r\n3) Select any value above or below `100` in the Alerts range
slider\r\n\r\n4) Click `Reset`\r\n\r\n**Expected result**\r\n\r\n- The
range slider resets to
`100`","sha":"96585a540b2c5c717ecaf1f71cc2f6f69b4378f5"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196939","number":196939,"mergeCommit":{"message":"[Security
Solution] [Attack discovery] Updates default Attack discovery max alerts
for users still using legacy models (#196939)\n\n### [Security Solution]
[Attack discovery] Updates default Attack discovery max alerts for users
still using legacy models\r\n\r\nIn consideration of users still using
legacy models, (e.g. GPT-4 instead of GPT-4o), this PR updates
`DEFAULT_ATTACK_DISCOVERY_MAX_ALERTS` from its previous value `200` in
<https://github.com/elastic/kibana/pull/195669> to `100`.\r\n\r\nThis PR
also includes additional tests.\r\n\r\n## Desk testing\r\n\r\n1)
Navigate to Security > Attack discovery\r\n\r\n2) Click the settings
gear\r\n\r\n3) Select any value above or below `100` in the Alerts range
slider\r\n\r\n4) Click `Reset`\r\n\r\n**Expected result**\r\n\r\n- The
range slider resets to
`100`","sha":"96585a540b2c5c717ecaf1f71cc2f6f69b4378f5"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Andrew Macri <andrew.macri@elastic.co>
2024-10-18 17:50:38 -05:00
Kibana Machine
689c847dfe
[8.16] [DOCS][OpenAPI] Add descriptions, examples, tags, responses for space APIs (#195333) (#196943)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[DOCS][OpenAPI] Add descriptions, examples, tags, responses for space
APIs (#195333)](https://github.com/elastic/kibana/pull/195333)

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

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

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2024-10-18T19:03:06Z","message":"[DOCS][OpenAPI]
Add descriptions, examples, tags, responses for space APIs
(#195333)\n\nCo-authored-by: Elena Shostak
<165678770+elena-shostak@users.noreply.github.com>","sha":"2656e5a4ff79277c9a370ee24d6692ccb1d3142c","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Security/Spaces","release_note:skip","v9.0.0","docs","v8.16.0","backport:version","v8.17.0"],"title":"[DOCS][OpenAPI]
Add descriptions, examples, tags, responses for space
APIs","number":195333,"url":"https://github.com/elastic/kibana/pull/195333","mergeCommit":{"message":"[DOCS][OpenAPI]
Add descriptions, examples, tags, responses for space APIs
(#195333)\n\nCo-authored-by: Elena Shostak
<165678770+elena-shostak@users.noreply.github.com>","sha":"2656e5a4ff79277c9a370ee24d6692ccb1d3142c"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195333","number":195333,"mergeCommit":{"message":"[DOCS][OpenAPI]
Add descriptions, examples, tags, responses for space APIs
(#195333)\n\nCo-authored-by: Elena Shostak
<165678770+elena-shostak@users.noreply.github.com>","sha":"2656e5a4ff79277c9a370ee24d6692ccb1d3142c"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2024-10-18 15:43:40 -05:00
Kibana Machine
bbd42c0b08
[8.16] [ip location processor] Add mmdb suffix to db file names (#196788) (#196940)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[ip location processor] Add mmdb suffix to db file names
(#196788)](https://github.com/elastic/kibana/pull/196788)

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

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

<!--BACKPORT [{"author":{"name":"Matthew
Kime","email":"matt@mattki.me"},"sourceCommit":{"committedDate":"2024-10-18T18:48:57Z","message":"[ip
location processor] Add mmdb suffix to db file names (#196788)\n\n##
Summary\r\n\r\nSimply adds the mmdb suffix to the db
names.\r\n\r\nCloses
https://github.com/elastic/kibana/issues/196745","sha":"f789ba61d4ca675bf6ea35f4c1f5fb033363e06a","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Kibana
Management","release_note:skip","v9.0.0","Feature:Ingest Node
Pipelines","backport:prev-minor","v8.16.0","backport:version","v8.17.0"],"title":"[ip
location processor] Add mmdb suffix to db file
names","number":196788,"url":"https://github.com/elastic/kibana/pull/196788","mergeCommit":{"message":"[ip
location processor] Add mmdb suffix to db file names (#196788)\n\n##
Summary\r\n\r\nSimply adds the mmdb suffix to the db
names.\r\n\r\nCloses
https://github.com/elastic/kibana/issues/196745","sha":"f789ba61d4ca675bf6ea35f4c1f5fb033363e06a"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196788","number":196788,"mergeCommit":{"message":"[ip
location processor] Add mmdb suffix to db file names (#196788)\n\n##
Summary\r\n\r\nSimply adds the mmdb suffix to the db
names.\r\n\r\nCloses
https://github.com/elastic/kibana/issues/196745","sha":"f789ba61d4ca675bf6ea35f4c1f5fb033363e06a"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Matthew Kime <matt@mattki.me>
2024-10-18 15:39:17 -05:00
Kibana Machine
b74e838992
[8.16] [Security Solution][Notes] - fix an issue that breaks the notes management page, an enum value was missing from the api (#196912) (#196935)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Security Solution][Notes] - fix an issue that breaks the notes
management page, an enum value was missing from the api
(#196912)](https://github.com/elastic/kibana/pull/196912)

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

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

<!--BACKPORT [{"author":{"name":"Philippe
Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2024-10-18T18:09:02Z","message":"[Security
Solution][Notes] - fix an issue that breaks the notes management page,
an enum value was missing from the api (#196912)\n\n##
Summary\r\n\r\n_**Notes: please ignore the spaces introduced in the
first commit,\r\nWebstorm is trying to be smart... CI should take care
of fixing that in\r\na second commit shortly**_\r\n\r\nThis PR fixes a
small issue that prevents the notes management page to\r\nload. The
issue comes from the fact that one of the enum values passed\r\nto
filter notes was missing from the open api spec. This issue
was\r\nintroduced in this
recent\r\n[PR](https://github.com/elastic/kibana/pull/195501).\r\n\r\nCurrent
notes management borken page\r\n![Screenshot 2024-10-18 at 10
30\r\n13 AM](https://github.com/user-attachments/assets/4926a62f-1ebf-4698-8a13-bf761d77f4ba)\r\n\r\nThis
is the error in the network tab\r\n![Screenshot 2024-10-18 at 10
30\r\n29 AM](https://github.com/user-attachments/assets/90b56246-c116-4050-bcfa-2c6668274e74)\r\n\r\nThis
PR fixes the issue\r\n![Screenshot 2024-10-18 at 10
27\r\n01 AM](https://github.com/user-attachments/assets/7d3338ce-ad73-4be5-b94c-15bcf0234680)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"bf7c5aaf29e475979023a607a4f318b5f005d0d8","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","v9.0.0","Team:Threat
Hunting:Investigations","v8.16.0"],"title":"[Security Solution][Notes] -
fix an issue that breaks the notes management page, an enum value was
missing from the
api","number":196912,"url":"https://github.com/elastic/kibana/pull/196912","mergeCommit":{"message":"[Security
Solution][Notes] - fix an issue that breaks the notes management page,
an enum value was missing from the api (#196912)\n\n##
Summary\r\n\r\n_**Notes: please ignore the spaces introduced in the
first commit,\r\nWebstorm is trying to be smart... CI should take care
of fixing that in\r\na second commit shortly**_\r\n\r\nThis PR fixes a
small issue that prevents the notes management page to\r\nload. The
issue comes from the fact that one of the enum values passed\r\nto
filter notes was missing from the open api spec. This issue
was\r\nintroduced in this
recent\r\n[PR](https://github.com/elastic/kibana/pull/195501).\r\n\r\nCurrent
notes management borken page\r\n![Screenshot 2024-10-18 at 10
30\r\n13 AM](https://github.com/user-attachments/assets/4926a62f-1ebf-4698-8a13-bf761d77f4ba)\r\n\r\nThis
is the error in the network tab\r\n![Screenshot 2024-10-18 at 10
30\r\n29 AM](https://github.com/user-attachments/assets/90b56246-c116-4050-bcfa-2c6668274e74)\r\n\r\nThis
PR fixes the issue\r\n![Screenshot 2024-10-18 at 10
27\r\n01 AM](https://github.com/user-attachments/assets/7d3338ce-ad73-4be5-b94c-15bcf0234680)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"bf7c5aaf29e475979023a607a4f318b5f005d0d8"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196912","number":196912,"mergeCommit":{"message":"[Security
Solution][Notes] - fix an issue that breaks the notes management page,
an enum value was missing from the api (#196912)\n\n##
Summary\r\n\r\n_**Notes: please ignore the spaces introduced in the
first commit,\r\nWebstorm is trying to be smart... CI should take care
of fixing that in\r\na second commit shortly**_\r\n\r\nThis PR fixes a
small issue that prevents the notes management page to\r\nload. The
issue comes from the fact that one of the enum values passed\r\nto
filter notes was missing from the open api spec. This issue
was\r\nintroduced in this
recent\r\n[PR](https://github.com/elastic/kibana/pull/195501).\r\n\r\nCurrent
notes management borken page\r\n![Screenshot 2024-10-18 at 10
30\r\n13 AM](https://github.com/user-attachments/assets/4926a62f-1ebf-4698-8a13-bf761d77f4ba)\r\n\r\nThis
is the error in the network tab\r\n![Screenshot 2024-10-18 at 10
30\r\n29 AM](https://github.com/user-attachments/assets/90b56246-c116-4050-bcfa-2c6668274e74)\r\n\r\nThis
PR fixes the issue\r\n![Screenshot 2024-10-18 at 10
27\r\n01 AM](https://github.com/user-attachments/assets/7d3338ce-ad73-4be5-b94c-15bcf0234680)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"bf7c5aaf29e475979023a607a4f318b5f005d0d8"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
2024-10-18 14:52:51 -05:00
Kibana Machine
849235a69a
[8.16] [ip location processor] provider case fixes (#196735) (#196932)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[ip location processor] provider case fixes
(#196735)](https://github.com/elastic/kibana/pull/196735)

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

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

<!--BACKPORT [{"author":{"name":"Joe
Gallo","email":"joe.gallo@elastic.co"},"sourceCommit":{"committedDate":"2024-10-18T17:48:21Z","message":"[ip
location processor] provider case fixes
(#196735)","sha":"9fae77470adcb69e094e806deca518dfcc89f424","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Kibana
Management","release_note:skip","v9.0.0","Feature:Ingest Node
Pipelines","backport:prev-minor","v8.16.0","v8.17.0"],"title":"[ip
location processor] provider case
fixes","number":196735,"url":"https://github.com/elastic/kibana/pull/196735","mergeCommit":{"message":"[ip
location processor] provider case fixes
(#196735)","sha":"9fae77470adcb69e094e806deca518dfcc89f424"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196735","number":196735,"mergeCommit":{"message":"[ip
location processor] provider case fixes
(#196735)","sha":"9fae77470adcb69e094e806deca518dfcc89f424"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Joe Gallo <joe.gallo@elastic.co>
2024-10-18 14:29:13 -05:00
Tim Sullivan
e0d0ff9d7f
[8.16] [Spaces] Read Security license to infer eligibility for sub feature customization (#195389) (#196924)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Spaces] Read Security license to infer eligibility for sub feature
customization (#195389)](https://github.com/elastic/kibana/pull/195389)

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

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

<!--BACKPORT [{"author":{"name":"Eyo O.
Eyo","email":"7893459+eokoneyo@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-16T10:02:51Z","message":"[Spaces]
Read Security license to infer eligibility for sub feature customization
(#195389)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/195549\r\n\r\nThis PR adds
implementation such that eligibility to allow for the\r\ntoggling of the
switch for customization of sub features whilst defining\r\nprivileges
that would be assigned to a space is determined from
security\r\nlicense.\r\n\r\n\r\n###
Before\r\n![ScreenRecording2024-10-09at10 09
33-ezgif\r\ncom-video-to-gif-converter](https://github.com/user-attachments/assets/c80761c9-a45e-4784-835e-e6895d2fbed5)\r\n\r\n###
After\r\n\r\n![ScreenRecording2024-10-09at10 05
53-ezgif\r\ncom-video-to-gif-converter](https://github.com/user-attachments/assets/4e7d5724-42b0-4495-8fae-b47e7a97957c)\r\n\r\n<!--
### Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n-->","sha":"e6e30c20215ce7cbb8bd25d6646edc5d0a8bc33e","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","backport
missing","v9.0.0","backport:prev-major"],"number":195389,"url":"https://github.com/elastic/kibana/pull/195389","mergeCommit":{"message":"[Spaces]
Read Security license to infer eligibility for sub feature customization
(#195389)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/195549\r\n\r\nThis PR adds
implementation such that eligibility to allow for the\r\ntoggling of the
switch for customization of sub features whilst defining\r\nprivileges
that would be assigned to a space is determined from
security\r\nlicense.\r\n\r\n\r\n###
Before\r\n![ScreenRecording2024-10-09at10 09
33-ezgif\r\ncom-video-to-gif-converter](https://github.com/user-attachments/assets/c80761c9-a45e-4784-835e-e6895d2fbed5)\r\n\r\n###
After\r\n\r\n![ScreenRecording2024-10-09at10 05
53-ezgif\r\ncom-video-to-gif-converter](https://github.com/user-attachments/assets/4e7d5724-42b0-4495-8fae-b47e7a97957c)\r\n\r\n<!--
### Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n-->","sha":"e6e30c20215ce7cbb8bd25d6646edc5d0a8bc33e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195389","number":195389,"mergeCommit":{"message":"[Spaces]
Read Security license to infer eligibility for sub feature customization
(#195389)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/195549\r\n\r\nThis PR adds
implementation such that eligibility to allow for the\r\ntoggling of the
switch for customization of sub features whilst defining\r\nprivileges
that would be assigned to a space is determined from
security\r\nlicense.\r\n\r\n\r\n###
Before\r\n![ScreenRecording2024-10-09at10 09
33-ezgif\r\ncom-video-to-gif-converter](https://github.com/user-attachments/assets/c80761c9-a45e-4784-835e-e6895d2fbed5)\r\n\r\n###
After\r\n\r\n![ScreenRecording2024-10-09at10 05
53-ezgif\r\ncom-video-to-gif-converter](https://github.com/user-attachments/assets/4e7d5724-42b0-4495-8fae-b47e7a97957c)\r\n\r\n<!--
### Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n-->","sha":"e6e30c20215ce7cbb8bd25d6646edc5d0a8bc33e"}}]}]
BACKPORT-->

Co-authored-by: Eyo O. Eyo <7893459+eokoneyo@users.noreply.github.com>
2024-10-18 13:31:46 -05:00
Mark Hopkin
9be2beb69b
[8.16] [Entity Analytics] Bug: update timestamp on criticality soft delete (#196722) (#196881)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Entity Analytics] Bug: update timestamp on criticality soft delete
(#196722)](https://github.com/elastic/kibana/pull/196722)

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

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

<!--BACKPORT [{"author":{"name":"Tiago Vila
Verde","email":"tiago.vilaverde@elastic.co"},"sourceCommit":{"committedDate":"2024-10-18T08:07:32Z","message":"[Entity
Analytics] Bug: update timestamp on criticality soft delete
(#196722)\n\n## Summary\r\n\r\nThis fixes a bug with asset criticality
where \"soft delete\" does not\r\nupdate the `@timestamp`
field","sha":"07fc8753604a27b9cc2c7c396e85f9bd9dc40674","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","v9.0.0","backport:prev-minor","Team:Entity
Analytics","v8.17.0"],"number":196722,"url":"https://github.com/elastic/kibana/pull/196722","mergeCommit":{"message":"[Entity
Analytics] Bug: update timestamp on criticality soft delete
(#196722)\n\n## Summary\r\n\r\nThis fixes a bug with asset criticality
where \"soft delete\" does not\r\nupdate the `@timestamp`
field","sha":"07fc8753604a27b9cc2c7c396e85f9bd9dc40674"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196722","number":196722,"mergeCommit":{"message":"[Entity
Analytics] Bug: update timestamp on criticality soft delete
(#196722)\n\n## Summary\r\n\r\nThis fixes a bug with asset criticality
where \"soft delete\" does not\r\nupdate the `@timestamp`
field","sha":"07fc8753604a27b9cc2c7c396e85f9bd9dc40674"}},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/196810","number":196810,"state":"MERGED","mergeCommit":{"sha":"7a8f79d4a3c777b10a470dc4e7f458f8b2c7176b","message":"[8.x]
[Entity Analytics] Bug: update timestamp on criticality soft delete
(#196722) (#196810)\n\n# Backport\n\nThis will backport the following
commits from `main` to `8.x`:\n- [[Entity Analytics] Bug: update
timestamp on criticality soft
delete\n(#196722)](https://github.com/elastic/kibana/pull/196722)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Tiago
Vila\nVerde\",\"email\":\"tiago.vilaverde@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-10-18T08:07:32Z\",\"message\":\"[Entity\nAnalytics]
Bug: update timestamp on criticality soft delete\n(#196722)\\n\\n##
Summary\\r\\n\\r\\nThis fixes a bug with asset criticality\nwhere
\\\"soft delete\\\" does not\\r\\nupdate the
`@timestamp`\nfield\",\"sha\":\"07fc8753604a27b9cc2c7c396e85f9bd9dc40674\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.17.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"bug\",\"release_note:fix\",\"v9.0.0\",\"backport:prev-minor\",\"Team:Entity\nAnalytics\"],\"title\":\"[Entity
Analytics] Bug: update timestamp on\ncriticality
soft\ndelete\",\"number\":196722,\"url\":\"https://github.com/elastic/kibana/pull/196722\",\"mergeCommit\":{\"message\":\"[Entity\nAnalytics]
Bug: update timestamp on criticality soft delete\n(#196722)\\n\\n##
Summary\\r\\n\\r\\nThis fixes a bug with asset criticality\nwhere
\\\"soft delete\\\" does not\\r\\nupdate the
`@timestamp`\nfield\",\"sha\":\"07fc8753604a27b9cc2c7c396e85f9bd9dc40674\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/196722\",\"number\":196722,\"mergeCommit\":{\"message\":\"[Entity\nAnalytics]
Bug: update timestamp on criticality soft delete\n(#196722)\\n\\n##
Summary\\r\\n\\r\\nThis fixes a bug with asset criticality\nwhere
\\\"soft delete\\\" does not\\r\\nupdate the
`@timestamp`\nfield\",\"sha\":\"07fc8753604a27b9cc2c7c396e85f9bd9dc40674\"}}]}]
BACKPORT-->\n\nCo-authored-by: Tiago Vila Verde
<tiago.vilaverde@elastic.co>"}}]}] BACKPORT-->

Co-authored-by: Tiago Vila Verde <tiago.vilaverde@elastic.co>
2024-10-18 13:10:52 -05:00
Mark Hopkin
f929851176
[8.16] [8.x] [Entity Store] Fix and re-enable entity store integration tests (#196296) (#196656) (#196840)
# Backport

This will backport the following commits from `8.x` to `8.16`:
- [[8.x] [Entity Store] Fix and re-enable entity store integration tests
(#196296) (#196656)](https://github.com/elastic/kibana/pull/196656)

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

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

<!--BACKPORT [{"author":{"name":"Mark
Hopkin","email":"mark.hopkin@elastic.co"},"sourceCommit":{"committedDate":"2024-10-18T10:03:50Z","message":"[8.x]
[Entity Store] Fix and re-enable entity store integration tests
(#196296) (#196656)\n\n# Backport\n\nThis will backport the following
commits from `main` to `8.x`:\n- [[Entity Store] Fix and re-enable
entity store integration
tests\n(#196296)](https://github.com/elastic/kibana/pull/196296)\n\n<!---
Backport version: 8.9.8 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Mark\nHopkin\",\"email\":\"mark.hopkin@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-10-16T09:22:18Z\",\"message\":\"[Entity\nStore]
Fix and re-enable entity store integration tests
(#196296)\\n\\n##\nSummary\\r\\n\\r\\nWe previously had to skip these
tests due to permissions\nissues, I have\\r\\nnow fixed and
re-enabled\nthem.\",\"sha\":\"002b757123a12172a4d5d114843bc67d063ebdf8\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.16.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"backport\nmissing\",\"v9.0.0\",\"Team:\nSecuritySolution\",\"backport:prev-minor\",\"Team:Entity\nAnalytics\"],\"number\":196296,\"url\":\"https://github.com/elastic/kibana/pull/196296\",\"mergeCommit\":{\"message\":\"[Entity\nStore]
Fix and re-enable entity store integration tests
(#196296)\\n\\n##\nSummary\\r\\n\\r\\nWe previously had to skip these
tests due to permissions\nissues, I have\\r\\nnow fixed and
re-enabled\nthem.\",\"sha\":\"002b757123a12172a4d5d114843bc67d063ebdf8\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"labelRegex\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/196296\",\"number\":196296,\"mergeCommit\":{\"message\":\"[Entity\nStore]
Fix and re-enable entity store integration tests
(#196296)\\n\\n##\nSummary\\r\\n\\r\\nWe previously had to skip these
tests due to permissions\nissues, I have\\r\\nnow fixed and
re-enabled\nthem.\",\"sha\":\"002b757123a12172a4d5d114843bc67d063ebdf8\"}}]}]
BACKPORT-->\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"cb119aca152821bb41efe0b47de398960a818c1a","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport"],"number":196656,"url":"https://github.com/elastic/kibana/pull/196656","mergeCommit":{"message":"[8.x]
[Entity Store] Fix and re-enable entity store integration tests
(#196296) (#196656)\n\n# Backport\n\nThis will backport the following
commits from `main` to `8.x`:\n- [[Entity Store] Fix and re-enable
entity store integration
tests\n(#196296)](https://github.com/elastic/kibana/pull/196296)\n\n<!---
Backport version: 8.9.8 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Mark\nHopkin\",\"email\":\"mark.hopkin@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-10-16T09:22:18Z\",\"message\":\"[Entity\nStore]
Fix and re-enable entity store integration tests
(#196296)\\n\\n##\nSummary\\r\\n\\r\\nWe previously had to skip these
tests due to permissions\nissues, I have\\r\\nnow fixed and
re-enabled\nthem.\",\"sha\":\"002b757123a12172a4d5d114843bc67d063ebdf8\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.16.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"backport\nmissing\",\"v9.0.0\",\"Team:\nSecuritySolution\",\"backport:prev-minor\",\"Team:Entity\nAnalytics\"],\"number\":196296,\"url\":\"https://github.com/elastic/kibana/pull/196296\",\"mergeCommit\":{\"message\":\"[Entity\nStore]
Fix and re-enable entity store integration tests
(#196296)\\n\\n##\nSummary\\r\\n\\r\\nWe previously had to skip these
tests due to permissions\nissues, I have\\r\\nnow fixed and
re-enabled\nthem.\",\"sha\":\"002b757123a12172a4d5d114843bc67d063ebdf8\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"labelRegex\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/196296\",\"number\":196296,\"mergeCommit\":{\"message\":\"[Entity\nStore]
Fix and re-enable entity store integration tests
(#196296)\\n\\n##\nSummary\\r\\n\\r\\nWe previously had to skip these
tests due to permissions\nissues, I have\\r\\nnow fixed and
re-enabled\nthem.\",\"sha\":\"002b757123a12172a4d5d114843bc67d063ebdf8\"}}]}]
BACKPORT-->\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"cb119aca152821bb41efe0b47de398960a818c1a"}},"sourceBranch":"8.x","suggestedTargetBranches":[],"targetPullRequestStates":[]}]
BACKPORT-->

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-10-18 13:10:24 -05:00
Kibana Machine
806796f1f7
[8.16] [ES|QL] Create expression type evaluator (#195989) (#196921)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[ES|QL] Create expression type evaluator
(#195989)](https://github.com/elastic/kibana/pull/195989)

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

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

<!--BACKPORT [{"author":{"name":"Drew
Tate","email":"drew.tate@elastic.co"},"sourceCommit":{"committedDate":"2024-10-18T16:15:11Z","message":"[ES|QL]
Create expression type evaluator (#195989)\n\n## Summary\r\n\r\nClose
https://github.com/elastic/kibana/issues/195682\r\nClose
https://github.com/elastic/kibana/issues/195430\r\n\r\nIntroduces
`getExpressionType`, the ES|QL expression type evaluator to\r\nrule them
all!\r\n\r\nAlso, fixes several validation bugs related to the faulty
logic that\r\nexisted before with variable type detection (some noted
in\r\nhttps://github.com/elastic/kibana/issues/192255#issuecomment-2394613881).\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"2173af79fde374008b181ca42cf98a7137a7bb24","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Feature:ES|QL","Team:ESQL","v8.16.0","backport:version","v8.17.0"],"title":"[ES|QL]
Create expression type
evaluator","number":195989,"url":"https://github.com/elastic/kibana/pull/195989","mergeCommit":{"message":"[ES|QL]
Create expression type evaluator (#195989)\n\n## Summary\r\n\r\nClose
https://github.com/elastic/kibana/issues/195682\r\nClose
https://github.com/elastic/kibana/issues/195430\r\n\r\nIntroduces
`getExpressionType`, the ES|QL expression type evaluator to\r\nrule them
all!\r\n\r\nAlso, fixes several validation bugs related to the faulty
logic that\r\nexisted before with variable type detection (some noted
in\r\nhttps://github.com/elastic/kibana/issues/192255#issuecomment-2394613881).\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"2173af79fde374008b181ca42cf98a7137a7bb24"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195989","number":195989,"mergeCommit":{"message":"[ES|QL]
Create expression type evaluator (#195989)\n\n## Summary\r\n\r\nClose
https://github.com/elastic/kibana/issues/195682\r\nClose
https://github.com/elastic/kibana/issues/195430\r\n\r\nIntroduces
`getExpressionType`, the ES|QL expression type evaluator to\r\nrule them
all!\r\n\r\nAlso, fixes several validation bugs related to the faulty
logic that\r\nexisted before with variable type detection (some noted
in\r\nhttps://github.com/elastic/kibana/issues/192255#issuecomment-2394613881).\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"2173af79fde374008b181ca42cf98a7137a7bb24"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Drew Tate <drew.tate@elastic.co>
2024-10-18 12:59:18 -05:00
Kibana Machine
568cfe885d
[8.16] [Security Solution] Remove &#x60;exceptions_list&#x60;, &#x60;author&#x60; and &#x60;license&#x60; from Diffable Rule (#196561) (#196903)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Security Solution] Remove &#x60;exceptions_list&#x60;,
&#x60;author&#x60; and &#x60;license&#x60; from Diffable Rule
(#196561)](https://github.com/elastic/kibana/pull/196561)

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

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

<!--BACKPORT [{"author":{"name":"Juan Pablo
Djeredjian","email":"jpdjeredjian@gmail.com"},"sourceCommit":{"committedDate":"2024-10-18T14:50:36Z","message":"[Security
Solution] Remove `exceptions_list`, `author` and `license` from Diffable
Rule (#196561)\n\nResolves:
https://github.com/elastic/kibana/issues/196213\r\n\r\n##
Summary\r\n\r\nExcludes the fields `exceptions_list`, `author` and
`license` from the\r\n`DiffableRule` definition.\r\n\r\nThis
will:\r\n\r\n- prevent them from appearing in the Three Way Diff
component\r\n- prevent them from being able to be passed as a value in
the `fields`\r\nobject of the `/upgrade/_perform` endpoint to set a
specific\r\n`pick_version` for it (NOTE: the current logic already
forces\r\n`exceptions_list` to upgrade to the CURRENT version, but
removing it\r\nfrom DiffableRule, will completely remove the from the
payload schema,\r\nand the endpoint will then throw a validation error
if included, rather\r\nthan silently ignoring it)\r\n\r\n##
Screenshots\r\n\r\n###
Before\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/aacd0b43-bb29-46d0-990d-c669224c1451)\r\n\r\n\r\n###
After\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/e568ca7f-03fc-42d6-8879-d3f23558ae9d)\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":"716fdb23c7d42c9f7c29525af793ff1594ad67f0","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","backport:prev-minor","v8.16.0"],"title":"[Security Solution]
Remove `exceptions_list`, `author` and `license` from Diffable
Rule","number":196561,"url":"https://github.com/elastic/kibana/pull/196561","mergeCommit":{"message":"[Security
Solution] Remove `exceptions_list`, `author` and `license` from Diffable
Rule (#196561)\n\nResolves:
https://github.com/elastic/kibana/issues/196213\r\n\r\n##
Summary\r\n\r\nExcludes the fields `exceptions_list`, `author` and
`license` from the\r\n`DiffableRule` definition.\r\n\r\nThis
will:\r\n\r\n- prevent them from appearing in the Three Way Diff
component\r\n- prevent them from being able to be passed as a value in
the `fields`\r\nobject of the `/upgrade/_perform` endpoint to set a
specific\r\n`pick_version` for it (NOTE: the current logic already
forces\r\n`exceptions_list` to upgrade to the CURRENT version, but
removing it\r\nfrom DiffableRule, will completely remove the from the
payload schema,\r\nand the endpoint will then throw a validation error
if included, rather\r\nthan silently ignoring it)\r\n\r\n##
Screenshots\r\n\r\n###
Before\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/aacd0b43-bb29-46d0-990d-c669224c1451)\r\n\r\n\r\n###
After\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/e568ca7f-03fc-42d6-8879-d3f23558ae9d)\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":"716fdb23c7d42c9f7c29525af793ff1594ad67f0"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196561","number":196561,"mergeCommit":{"message":"[Security
Solution] Remove `exceptions_list`, `author` and `license` from Diffable
Rule (#196561)\n\nResolves:
https://github.com/elastic/kibana/issues/196213\r\n\r\n##
Summary\r\n\r\nExcludes the fields `exceptions_list`, `author` and
`license` from the\r\n`DiffableRule` definition.\r\n\r\nThis
will:\r\n\r\n- prevent them from appearing in the Three Way Diff
component\r\n- prevent them from being able to be passed as a value in
the `fields`\r\nobject of the `/upgrade/_perform` endpoint to set a
specific\r\n`pick_version` for it (NOTE: the current logic already
forces\r\n`exceptions_list` to upgrade to the CURRENT version, but
removing it\r\nfrom DiffableRule, will completely remove the from the
payload schema,\r\nand the endpoint will then throw a validation error
if included, rather\r\nthan silently ignoring it)\r\n\r\n##
Screenshots\r\n\r\n###
Before\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/aacd0b43-bb29-46d0-990d-c669224c1451)\r\n\r\n\r\n###
After\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/e568ca7f-03fc-42d6-8879-d3f23558ae9d)\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":"716fdb23c7d42c9f7c29525af793ff1594ad67f0"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Juan Pablo Djeredjian <jpdjeredjian@gmail.com>
2024-10-18 14:57:29 -03:00
Kibana Machine
0bbb55e6da
[8.16] [ML] Data Drift: Update brush positions on window resize fix (#196830) (#196913)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[ML] Data Drift: Update brush positions on window resize fix
(#196830)](https://github.com/elastic/kibana/pull/196830)

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

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

<!--BACKPORT [{"author":{"name":"Robert
Jaszczurek","email":"92210485+rbrtj@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-18T15:31:00Z","message":"[ML]
Data Drift: Update brush positions on window resize fix (#196830)\n\n##
Summary\r\n\r\nFix for:
[#188738](https://github.com/elastic/kibana/issues/188738).\r\nThe brush
positions weren't being updated on window resize, as is done\r\nin e.g.
`Log Rate Analysis`.\r\n\r\nAfter
fix:\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/fd424c19-744f-4d20-8076-25cf8e0c8ecb","sha":"720c1cbb19e141d31cd0b2ce052c1d62342c51d9","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","Feature:File
and Index Data
Viz","v9.0.0","v8.16.0","backport:version","v8.17.0"],"title":"[ML] Data
Drift: Update brush positions on window resize
fix","number":196830,"url":"https://github.com/elastic/kibana/pull/196830","mergeCommit":{"message":"[ML]
Data Drift: Update brush positions on window resize fix (#196830)\n\n##
Summary\r\n\r\nFix for:
[#188738](https://github.com/elastic/kibana/issues/188738).\r\nThe brush
positions weren't being updated on window resize, as is done\r\nin e.g.
`Log Rate Analysis`.\r\n\r\nAfter
fix:\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/fd424c19-744f-4d20-8076-25cf8e0c8ecb","sha":"720c1cbb19e141d31cd0b2ce052c1d62342c51d9"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196830","number":196830,"mergeCommit":{"message":"[ML]
Data Drift: Update brush positions on window resize fix (#196830)\n\n##
Summary\r\n\r\nFix for:
[#188738](https://github.com/elastic/kibana/issues/188738).\r\nThe brush
positions weren't being updated on window resize, as is done\r\nin e.g.
`Log Rate Analysis`.\r\n\r\nAfter
fix:\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/fd424c19-744f-4d20-8076-25cf8e0c8ecb","sha":"720c1cbb19e141d31cd0b2ce052c1d62342c51d9"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Robert Jaszczurek <92210485+rbrtj@users.noreply.github.com>
2024-10-18 12:18:38 -05:00
Kibana Machine
d146fb9f25
[8.16] [ES|QL] Open bracket parsing bug (#196241) (#196892)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[ES|QL] Open bracket parsing bug
(#196241)](https://github.com/elastic/kibana/pull/196241)

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

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

<!--BACKPORT [{"author":{"name":"Vadim
Kibana","email":"82822460+vadimkibana@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-18T14:15:29Z","message":"[ES|QL]
Open bracket parsing bug (#196241)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/191683\r\n\r\nGracefully
handles open square brackets in `FROM` command.\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n### For
maintainers\r\n\r\n- [x] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#_add_your_labels)","sha":"3849d99a41e2e42c9a9e06b97c3affa2e75999d1","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","review","release_note:skip","v9.0.0","Feature:ES|QL","Team:ESQL","v8.16.0","backport:version","v8.17.0"],"title":"[ES|QL]
Open bracket parsing
bug","number":196241,"url":"https://github.com/elastic/kibana/pull/196241","mergeCommit":{"message":"[ES|QL]
Open bracket parsing bug (#196241)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/191683\r\n\r\nGracefully
handles open square brackets in `FROM` command.\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n### For
maintainers\r\n\r\n- [x] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#_add_your_labels)","sha":"3849d99a41e2e42c9a9e06b97c3affa2e75999d1"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196241","number":196241,"mergeCommit":{"message":"[ES|QL]
Open bracket parsing bug (#196241)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/191683\r\n\r\nGracefully
handles open square brackets in `FROM` command.\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n### For
maintainers\r\n\r\n- [x] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#_add_your_labels)","sha":"3849d99a41e2e42c9a9e06b97c3affa2e75999d1"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com>
2024-10-18 10:58:49 -05:00
Kibana Machine
e300e281c4
[8.16] Fixing CTA content for web crawler (#196853) (#196883)
# Backport

This will backport the following commits from `main` to `8.16`:
- [Fixing CTA content for web crawler
(#196853)](https://github.com/elastic/kibana/pull/196853)

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

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

<!--BACKPORT [{"author":{"name":"José Luis
González","email":"joseluisgj@gmail.com"},"sourceCommit":{"committedDate":"2024-10-18T13:30:42Z","message":"Fixing
CTA content for web crawler (#196853)\n\n## Summary\r\n\r\nSmall bug fix
for this web crawler CTA button content:\r\n![CleanShot 2024-10-18 at 13
31\r\n42@2x](https://github.com/user-attachments/assets/edc5f341-30d5-4a90-96bd-3eda2836bbfe)\r\nThat
should say just _Crawl
URL_","sha":"9aaffa9d9114eda8ddca90ae8173d5cbd38ffb95","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","v9.0.0","backport:prev-minor","backport:prev-major","v8.15.0","v8.16.0","backport:version"],"title":"Fixing
CTA content for web
crawler","number":196853,"url":"https://github.com/elastic/kibana/pull/196853","mergeCommit":{"message":"Fixing
CTA content for web crawler (#196853)\n\n## Summary\r\n\r\nSmall bug fix
for this web crawler CTA button content:\r\n![CleanShot 2024-10-18 at 13
31\r\n42@2x](https://github.com/user-attachments/assets/edc5f341-30d5-4a90-96bd-3eda2836bbfe)\r\nThat
should say just _Crawl
URL_","sha":"9aaffa9d9114eda8ddca90ae8173d5cbd38ffb95"}},"sourceBranch":"main","suggestedTargetBranches":["8.15","8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196853","number":196853,"mergeCommit":{"message":"Fixing
CTA content for web crawler (#196853)\n\n## Summary\r\n\r\nSmall bug fix
for this web crawler CTA button content:\r\n![CleanShot 2024-10-18 at 13
31\r\n42@2x](https://github.com/user-attachments/assets/edc5f341-30d5-4a90-96bd-3eda2836bbfe)\r\nThat
should say just _Crawl
URL_","sha":"9aaffa9d9114eda8ddca90ae8173d5cbd38ffb95"}},{"branch":"8.15","label":"v8.15.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: José Luis González <joseluisgj@gmail.com>
2024-10-18 10:20:43 -05:00
Kibana Machine
79e7c86a09
[8.16] [DataUsage][Serverless] Data usage charts enhancements (#196559) (#196876)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[DataUsage][Serverless] Data usage charts enhancements
(#196559)](https://github.com/elastic/kibana/pull/196559)

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

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

<!--BACKPORT
[{"author":{"name":"Ash","email":"1849116+ashokaditya@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-18T13:10:30Z","message":"[DataUsage][Serverless]
Data usage charts enhancements (#196559)\n\n## Summary\r\n\r\nfollow up
of:\r\n- elastic/kibana/pull/195556\r\n\r\nAdds a lot of enhancements to
the datastream dropdown including:\r\n\r\n- [x] shows storage sizes on
the data stream dropdown\r\n- [x] preselects all data streams on the
first page load\r\n- [x] updates selected data streams to URL
params\r\n- [x] selects data streams based on URL load\r\n- [x] doesn't
allow deselecting all data streams\r\n- [x] cancels older API
requests\r\n\r\n### screen\r\n![Screenshot 2024-10-16 at 16
57\r\n43](https://github.com/user-attachments/assets/38db2d93-f531-4269-88ea-51b4926b6a72)\r\n\r\n###
clip\r\n\r\n![metrics-ux-16-10](https://github.com/user-attachments/assets/7913d1b6-31df-48e6-a3a9-f4dad0dc1b1e)\r\n\r\nrelated
PRs\r\n- elastic/kibana/pull/193966 \r\n \r\n### Checklist\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-
[ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [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] 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\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"13e19cb645e3e3b037ea40809dfbfdaf93529169","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","v8.16.0","backport:version"],"title":"[DataUsage][Serverless]
Data usage charts
enhancements","number":196559,"url":"https://github.com/elastic/kibana/pull/196559","mergeCommit":{"message":"[DataUsage][Serverless]
Data usage charts enhancements (#196559)\n\n## Summary\r\n\r\nfollow up
of:\r\n- elastic/kibana/pull/195556\r\n\r\nAdds a lot of enhancements to
the datastream dropdown including:\r\n\r\n- [x] shows storage sizes on
the data stream dropdown\r\n- [x] preselects all data streams on the
first page load\r\n- [x] updates selected data streams to URL
params\r\n- [x] selects data streams based on URL load\r\n- [x] doesn't
allow deselecting all data streams\r\n- [x] cancels older API
requests\r\n\r\n### screen\r\n![Screenshot 2024-10-16 at 16
57\r\n43](https://github.com/user-attachments/assets/38db2d93-f531-4269-88ea-51b4926b6a72)\r\n\r\n###
clip\r\n\r\n![metrics-ux-16-10](https://github.com/user-attachments/assets/7913d1b6-31df-48e6-a3a9-f4dad0dc1b1e)\r\n\r\nrelated
PRs\r\n- elastic/kibana/pull/193966 \r\n \r\n### Checklist\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-
[ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [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] 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\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"13e19cb645e3e3b037ea40809dfbfdaf93529169"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196559","number":196559,"mergeCommit":{"message":"[DataUsage][Serverless]
Data usage charts enhancements (#196559)\n\n## Summary\r\n\r\nfollow up
of:\r\n- elastic/kibana/pull/195556\r\n\r\nAdds a lot of enhancements to
the datastream dropdown including:\r\n\r\n- [x] shows storage sizes on
the data stream dropdown\r\n- [x] preselects all data streams on the
first page load\r\n- [x] updates selected data streams to URL
params\r\n- [x] selects data streams based on URL load\r\n- [x] doesn't
allow deselecting all data streams\r\n- [x] cancels older API
requests\r\n\r\n### screen\r\n![Screenshot 2024-10-16 at 16
57\r\n43](https://github.com/user-attachments/assets/38db2d93-f531-4269-88ea-51b4926b6a72)\r\n\r\n###
clip\r\n\r\n![metrics-ux-16-10](https://github.com/user-attachments/assets/7913d1b6-31df-48e6-a3a9-f4dad0dc1b1e)\r\n\r\nrelated
PRs\r\n- elastic/kibana/pull/193966 \r\n \r\n### Checklist\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-
[ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [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] 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\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"13e19cb645e3e3b037ea40809dfbfdaf93529169"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Ash <1849116+ashokaditya@users.noreply.github.com>
2024-10-18 09:59:33 -05:00
Kibana Machine
744fe64937
[8.16] [Fleet] Use FIPS compliant password hashing algorithm in output preconfiguration (#196754) (#196864)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Fleet] Use FIPS compliant password hashing algorithm in output
preconfiguration
(#196754)](https://github.com/elastic/kibana/pull/196754)

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

### 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":"2024-10-18T12:32:18Z","message":"[Fleet]
Use FIPS compliant password hashing algorithm in output preconfiguration
(#196754)","sha":"07eee1924c4a5f54d5bad7950d2688e4f0dc11ed","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","backport:prev-minor","v8.16.0"],"title":"[Fleet]
Use FIPS compliant password hashing algorithm in output
preconfiguration","number":196754,"url":"https://github.com/elastic/kibana/pull/196754","mergeCommit":{"message":"[Fleet]
Use FIPS compliant password hashing algorithm in output preconfiguration
(#196754)","sha":"07eee1924c4a5f54d5bad7950d2688e4f0dc11ed"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196754","number":196754,"mergeCommit":{"message":"[Fleet]
Use FIPS compliant password hashing algorithm in output preconfiguration
(#196754)","sha":"07eee1924c4a5f54d5bad7950d2688e4f0dc11ed"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2024-10-18 09:22:26 -05:00
Kibana Machine
6fb9643ecb
[8.16] Enable Kubernetes Otel flow (#196531) (#196687)
# Backport

This will backport the following commits from `main` to `8.16`:
- [Enable Kubernetes Otel flow
(#196531)](https://github.com/elastic/kibana/pull/196531)

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

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

<!--BACKPORT [{"author":{"name":"Thom
Heymann","email":"190132+thomheymann@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-17T12:26:56Z","message":"Enable
Kubernetes Otel flow
(#196531)\n\nResolves\r\n[#4035](https://github.com/elastic/observability-dev/issues/4035)\r\n\r\n##
Summary\r\n\r\nEnable Kubernetes Otel flow\r\n\r\n##
Screenshot\r\n\r\n<img width=\"1189\" alt=\"Screenshot 2024-10-16 at 13
21
24\"\r\nsrc=\"https://github.com/user-attachments/assets/d1e87756-bfee-497a-9861-9912542e13a9\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Joe Reuter
<johannes.reuter@elastic.co>","sha":"e92e0202b0856c1c7377a9d9327cf4ebc8bb6685","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-logs","Feature:
Observability Onboarding","v8.16.0"],"title":"Enable Kubernetes Otel
flow","number":196531,"url":"https://github.com/elastic/kibana/pull/196531","mergeCommit":{"message":"Enable
Kubernetes Otel flow
(#196531)\n\nResolves\r\n[#4035](https://github.com/elastic/observability-dev/issues/4035)\r\n\r\n##
Summary\r\n\r\nEnable Kubernetes Otel flow\r\n\r\n##
Screenshot\r\n\r\n<img width=\"1189\" alt=\"Screenshot 2024-10-16 at 13
21
24\"\r\nsrc=\"https://github.com/user-attachments/assets/d1e87756-bfee-497a-9861-9912542e13a9\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Joe Reuter
<johannes.reuter@elastic.co>","sha":"e92e0202b0856c1c7377a9d9327cf4ebc8bb6685"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196531","number":196531,"mergeCommit":{"message":"Enable
Kubernetes Otel flow
(#196531)\n\nResolves\r\n[#4035](https://github.com/elastic/observability-dev/issues/4035)\r\n\r\n##
Summary\r\n\r\nEnable Kubernetes Otel flow\r\n\r\n##
Screenshot\r\n\r\n<img width=\"1189\" alt=\"Screenshot 2024-10-16 at 13
21
24\"\r\nsrc=\"https://github.com/user-attachments/assets/d1e87756-bfee-497a-9861-9912542e13a9\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Joe Reuter
<johannes.reuter@elastic.co>","sha":"e92e0202b0856c1c7377a9d9327cf4ebc8bb6685"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Thom Heymann <190132+thomheymann@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2024-10-18 09:15:15 -05:00
Kibana Machine
8094dd6d77
[8.16] Hide assistant&#x27;s knowledge base UI when &#x60;assistantKnowledgeBaseByDefault&#x60; feature flag is disabled (#196762) (#196857)
# Backport

This will backport the following commits from `main` to `8.16`:
- [Hide assistant&#x27;s knowledge base UI when
&#x60;assistantKnowledgeBaseByDefault&#x60; feature flag is disabled
(#196762)](https://github.com/elastic/kibana/pull/196762)

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

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

<!--BACKPORT [{"author":{"name":"Ievgen
Sorokopud","email":"ievgen.sorokopud@elastic.co"},"sourceCommit":{"committedDate":"2024-10-18T11:35:04Z","message":"Hide
assistant's knowledge base UI when `assistantKnowledgeBaseByDefault`
feature flag is disabled (#196762)\n\n## Summary\r\n\r\nThis is the
followup to https://github.com/elastic/kibana/pull/195733\r\nwhere we
implemented the RBAC to allow managing Global Knowledge Base\r\ndocs.
With those changes we introduced a bug where we do not hide the\r\nRBAC
configuration setting when `assistantKnowledgeBaseByDefault`\r\nfeature
flag is disabled. It means that in Serverless users will see\r\nthis
setting but it will do nothing for them.\r\n\r\n### Screenshots of the
fixed behaviour\r\n\r\n* `assistantKnowledgeBaseByDefault =
true`\r\n\r\n\r\n![Capture-2024-10-17-204859](https://github.com/user-attachments/assets/ca4489b1-8ad9-4e57-824f-455ddb74da6c)\r\n\r\n*
`assistantKnowledgeBaseByDefault =
false`\r\n\r\n\r\n![Capture-2024-10-17-204752](https://github.com/user-attachments/assets/fbd2511f-4e09-4ef9-8403-6578366728e4)","sha":"f6e8065dd75116ddf596b77f75a8468804008323","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Feature:Security
Assistant","Team:Security Generative
AI","v8.16.0","backport:version"],"title":"Hide assistant's knowledge
base UI when `assistantKnowledgeBaseByDefault` feature flag is
disabled","number":196762,"url":"https://github.com/elastic/kibana/pull/196762","mergeCommit":{"message":"Hide
assistant's knowledge base UI when `assistantKnowledgeBaseByDefault`
feature flag is disabled (#196762)\n\n## Summary\r\n\r\nThis is the
followup to https://github.com/elastic/kibana/pull/195733\r\nwhere we
implemented the RBAC to allow managing Global Knowledge Base\r\ndocs.
With those changes we introduced a bug where we do not hide the\r\nRBAC
configuration setting when `assistantKnowledgeBaseByDefault`\r\nfeature
flag is disabled. It means that in Serverless users will see\r\nthis
setting but it will do nothing for them.\r\n\r\n### Screenshots of the
fixed behaviour\r\n\r\n* `assistantKnowledgeBaseByDefault =
true`\r\n\r\n\r\n![Capture-2024-10-17-204859](https://github.com/user-attachments/assets/ca4489b1-8ad9-4e57-824f-455ddb74da6c)\r\n\r\n*
`assistantKnowledgeBaseByDefault =
false`\r\n\r\n\r\n![Capture-2024-10-17-204752](https://github.com/user-attachments/assets/fbd2511f-4e09-4ef9-8403-6578366728e4)","sha":"f6e8065dd75116ddf596b77f75a8468804008323"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196762","number":196762,"mergeCommit":{"message":"Hide
assistant's knowledge base UI when `assistantKnowledgeBaseByDefault`
feature flag is disabled (#196762)\n\n## Summary\r\n\r\nThis is the
followup to https://github.com/elastic/kibana/pull/195733\r\nwhere we
implemented the RBAC to allow managing Global Knowledge Base\r\ndocs.
With those changes we introduced a bug where we do not hide the\r\nRBAC
configuration setting when `assistantKnowledgeBaseByDefault`\r\nfeature
flag is disabled. It means that in Serverless users will see\r\nthis
setting but it will do nothing for them.\r\n\r\n### Screenshots of the
fixed behaviour\r\n\r\n* `assistantKnowledgeBaseByDefault =
true`\r\n\r\n\r\n![Capture-2024-10-17-204859](https://github.com/user-attachments/assets/ca4489b1-8ad9-4e57-824f-455ddb74da6c)\r\n\r\n*
`assistantKnowledgeBaseByDefault =
false`\r\n\r\n\r\n![Capture-2024-10-17-204752](https://github.com/user-attachments/assets/fbd2511f-4e09-4ef9-8403-6578366728e4)","sha":"f6e8065dd75116ddf596b77f75a8468804008323"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Ievgen Sorokopud <ievgen.sorokopud@elastic.co>
2024-10-18 08:20:23 -05:00
Kibana Machine
a4c05e3efb
[8.16] Onboard elastic owned ECH clusters to use &#x60;mget&#x60; task claiming (#196757) (#196855)
# Backport

This will backport the following commits from `main` to `8.16`:
- [Onboard elastic owned ECH clusters to use &#x60;mget&#x60; task
claiming (#196757)](https://github.com/elastic/kibana/pull/196757)

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

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

<!--BACKPORT [{"author":{"name":"Mike
Côté","email":"mikecote@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-18T11:31:32Z","message":"Onboard
elastic owned ECH clusters to use `mget` task claiming
(#196757)\n\nSimilar to
https://github.com/elastic/kibana/pull/196317\r\n\r\nIn this PR, I'm
flipping the mget feature flag to on for all elastic\r\nowned ECH
clusters. Elastic owned clusters are determined by looking
at\r\n`plugins.cloud?.isElasticStaffOwned`.\r\n\r\n## To
verify\r\nObserve the PR deployment which doesn't start with `a` or `b`
yet is\r\nusing the mget claim strategy by logging `Using claim strategy
mget`
on\r\nstartup.","sha":"97f2a9098fb91708250459910820b1b99d40f1c4","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Feature:Task
Manager","Team:ResponseOps","v9.0.0","backport:prev-minor","ci:cloud-deploy","v8.16.0","v8.17.0"],"title":"Onboard
elastic owned ECH clusters to use `mget` task
claiming","number":196757,"url":"https://github.com/elastic/kibana/pull/196757","mergeCommit":{"message":"Onboard
elastic owned ECH clusters to use `mget` task claiming
(#196757)\n\nSimilar to
https://github.com/elastic/kibana/pull/196317\r\n\r\nIn this PR, I'm
flipping the mget feature flag to on for all elastic\r\nowned ECH
clusters. Elastic owned clusters are determined by looking
at\r\n`plugins.cloud?.isElasticStaffOwned`.\r\n\r\n## To
verify\r\nObserve the PR deployment which doesn't start with `a` or `b`
yet is\r\nusing the mget claim strategy by logging `Using claim strategy
mget`
on\r\nstartup.","sha":"97f2a9098fb91708250459910820b1b99d40f1c4"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196757","number":196757,"mergeCommit":{"message":"Onboard
elastic owned ECH clusters to use `mget` task claiming
(#196757)\n\nSimilar to
https://github.com/elastic/kibana/pull/196317\r\n\r\nIn this PR, I'm
flipping the mget feature flag to on for all elastic\r\nowned ECH
clusters. Elastic owned clusters are determined by looking
at\r\n`plugins.cloud?.isElasticStaffOwned`.\r\n\r\n## To
verify\r\nObserve the PR deployment which doesn't start with `a` or `b`
yet is\r\nusing the mget claim strategy by logging `Using claim strategy
mget`
on\r\nstartup.","sha":"97f2a9098fb91708250459910820b1b99d40f1c4"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
2024-10-18 08:15:46 -05:00
Kibana Machine
9ad35b8414
[8.16] [Defend Workflows] Endpoint advanced options migration vs policy re-deployment issue mitigation (#196708) (#196835)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Defend Workflows] Endpoint advanced options migration vs policy
re-deployment issue mitigation
(#196708)](https://github.com/elastic/kibana/pull/196708)

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

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

<!--BACKPORT [{"author":{"name":"Gergő
Ábrahám","email":"gergo.abraham@elastic.co"},"sourceCommit":{"committedDate":"2024-10-18T10:15:00Z","message":"[Defend
Workflows] Endpoint advanced options migration vs policy re-deployment
issue mitigation (#196708)\n\n## Summary\r\n\r\ncloses
https://github.com/elastic/security-team/issues/10851\r\n\r\n>
[!note]\r\n> ⚠️ needs to be included in v8.16\r\n> ⚠️ needs to be merged
this week to avoid
releasing\r\nhttps://github.com/elastic/kibana/pull/195797 on
Serverless\r\n\r\nAs backfilled package policies are not automatically
redeployed (see\r\nhttps://github.com/elastic/kibana/issues/193352),
this PR's goal is to\r\nprovide quick mitigation in the following
matters:\r\n- update default values in the descriptions of advanced
options added in\r\nhttps://github.com/elastic/kibana/pull/195797, to
harmonize with latest\r\nEndpoint changes
(https://github.com/elastic/endpoint-dev/issues/15109)\r\n- remove
backfill/migration of those default values:\r\n- we should be _able_ to
safely remove the backfills, as they have not\r\nyet been released to
serverless. and,\r\n- we _should_ remove them to make sure that when we
update the defaults\r\nin the future and apply the backfill, there will
be a data change that\r\ncould trigger policy re-deployment, in case
data change is what the\r\ntrigger will be in #193352.\r\n - example
scenario of what could go wrong:\r\n - if we'd apply backfill now, the
package won't be redeployed.\r\n- if the user does not touch it until
the next release - no redeploy.\r\n- if #193352 is implemented and uses
data comparison when running\r\nmigrations - again, no redeploy because
we already backfilled the data\r\nmonths before.\r\n - cc @ferullo
@nfritts \r\n- hide banner describing event volume reduction (added
in\r\nhttps://github.com/elastic/kibana/pull/195177, already released
to\r\nserverless, but it is what it is)\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"142997925e5aafac306056b00be1789271aa5dd0","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","Team:Defend
Workflows","v8.16.0","backport:version"],"title":"[Defend Workflows]
Endpoint advanced options migration vs policy re-deployment issue
mitigation","number":196708,"url":"https://github.com/elastic/kibana/pull/196708","mergeCommit":{"message":"[Defend
Workflows] Endpoint advanced options migration vs policy re-deployment
issue mitigation (#196708)\n\n## Summary\r\n\r\ncloses
https://github.com/elastic/security-team/issues/10851\r\n\r\n>
[!note]\r\n> ⚠️ needs to be included in v8.16\r\n> ⚠️ needs to be merged
this week to avoid
releasing\r\nhttps://github.com/elastic/kibana/pull/195797 on
Serverless\r\n\r\nAs backfilled package policies are not automatically
redeployed (see\r\nhttps://github.com/elastic/kibana/issues/193352),
this PR's goal is to\r\nprovide quick mitigation in the following
matters:\r\n- update default values in the descriptions of advanced
options added in\r\nhttps://github.com/elastic/kibana/pull/195797, to
harmonize with latest\r\nEndpoint changes
(https://github.com/elastic/endpoint-dev/issues/15109)\r\n- remove
backfill/migration of those default values:\r\n- we should be _able_ to
safely remove the backfills, as they have not\r\nyet been released to
serverless. and,\r\n- we _should_ remove them to make sure that when we
update the defaults\r\nin the future and apply the backfill, there will
be a data change that\r\ncould trigger policy re-deployment, in case
data change is what the\r\ntrigger will be in #193352.\r\n - example
scenario of what could go wrong:\r\n - if we'd apply backfill now, the
package won't be redeployed.\r\n- if the user does not touch it until
the next release - no redeploy.\r\n- if #193352 is implemented and uses
data comparison when running\r\nmigrations - again, no redeploy because
we already backfilled the data\r\nmonths before.\r\n - cc @ferullo
@nfritts \r\n- hide banner describing event volume reduction (added
in\r\nhttps://github.com/elastic/kibana/pull/195177, already released
to\r\nserverless, but it is what it is)\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"142997925e5aafac306056b00be1789271aa5dd0"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196708","number":196708,"mergeCommit":{"message":"[Defend
Workflows] Endpoint advanced options migration vs policy re-deployment
issue mitigation (#196708)\n\n## Summary\r\n\r\ncloses
https://github.com/elastic/security-team/issues/10851\r\n\r\n>
[!note]\r\n> ⚠️ needs to be included in v8.16\r\n> ⚠️ needs to be merged
this week to avoid
releasing\r\nhttps://github.com/elastic/kibana/pull/195797 on
Serverless\r\n\r\nAs backfilled package policies are not automatically
redeployed (see\r\nhttps://github.com/elastic/kibana/issues/193352),
this PR's goal is to\r\nprovide quick mitigation in the following
matters:\r\n- update default values in the descriptions of advanced
options added in\r\nhttps://github.com/elastic/kibana/pull/195797, to
harmonize with latest\r\nEndpoint changes
(https://github.com/elastic/endpoint-dev/issues/15109)\r\n- remove
backfill/migration of those default values:\r\n- we should be _able_ to
safely remove the backfills, as they have not\r\nyet been released to
serverless. and,\r\n- we _should_ remove them to make sure that when we
update the defaults\r\nin the future and apply the backfill, there will
be a data change that\r\ncould trigger policy re-deployment, in case
data change is what the\r\ntrigger will be in #193352.\r\n - example
scenario of what could go wrong:\r\n - if we'd apply backfill now, the
package won't be redeployed.\r\n- if the user does not touch it until
the next release - no redeploy.\r\n- if #193352 is implemented and uses
data comparison when running\r\nmigrations - again, no redeploy because
we already backfilled the data\r\nmonths before.\r\n - cc @ferullo
@nfritts \r\n- hide banner describing event volume reduction (added
in\r\nhttps://github.com/elastic/kibana/pull/195177, already released
to\r\nserverless, but it is what it is)\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"142997925e5aafac306056b00be1789271aa5dd0"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Gergő Ábrahám <gergo.abraham@elastic.co>
2024-10-18 07:08:14 -05:00
Kibana Machine
c117f96744
[8.16] [APM/Infra] Display entity detail views for logs-only signals when EEM is enabled (#196387) (#196838)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[APM/Infra] Display entity detail views for logs-only signals when
EEM is enabled (#196387)](https://github.com/elastic/kibana/pull/196387)

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

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

<!--BACKPORT [{"author":{"name":"Irene
Blanco","email":"irene.blanco@elastic.co"},"sourceCommit":{"committedDate":"2024-10-18T10:21:48Z","message":"[APM/Infra]
Display entity detail views for logs-only signals when EEM is enabled
(#196387)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/196084.\r\n\r\nWe want to show
Service, Host and Container views instead of onboarging\r\nwhen EEM is
enabled, entityCentricExperience advanced setting is enabled\r\nand the
entity has logs.\r\n\r\n>[!NOTE]\r\nThe visibility of the noDataConfig
is evaluated at a generic template\r\nlevel for all 3 entity
types.\r\nTo manage visibility based on entity-specific information
(checking for\r\nlogs), we had to add checks within these templates.
While this isn’t an\r\nideal solution, it’s temporary, as we expect
upcoming generic entity\r\nviews will eventually allow us to remove this
logic.\r\n\r\n## Implementation details\r\n\r\nThere's no need to check
if EEM is enabled, as the used `dataStreams`\r\ninformation won’t return
any results if EEM is disabled. This makes the\r\nextra check
unnecessary.\r\n\r\n|Entity|Before|After|\r\n|-|-|-|\r\n\r\n|Service|![logs_only_service_before](32cab468-f3d0-49f9-8835-deb016189a14)|\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Cauê Marcondes
<55978943+cauemarcondes@users.noreply.github.com>","sha":"586330bd0b557640faa3e019201592f67d180aa4","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","v8.16.0"],"title":"[APM/Infra]
Display entity detail views for logs-only signals when EEM is
enabled","number":196387,"url":"https://github.com/elastic/kibana/pull/196387","mergeCommit":{"message":"[APM/Infra]
Display entity detail views for logs-only signals when EEM is enabled
(#196387)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/196084.\r\n\r\nWe want to show
Service, Host and Container views instead of onboarging\r\nwhen EEM is
enabled, entityCentricExperience advanced setting is enabled\r\nand the
entity has logs.\r\n\r\n>[!NOTE]\r\nThe visibility of the noDataConfig
is evaluated at a generic template\r\nlevel for all 3 entity
types.\r\nTo manage visibility based on entity-specific information
(checking for\r\nlogs), we had to add checks within these templates.
While this isn’t an\r\nideal solution, it’s temporary, as we expect
upcoming generic entity\r\nviews will eventually allow us to remove this
logic.\r\n\r\n## Implementation details\r\n\r\nThere's no need to check
if EEM is enabled, as the used `dataStreams`\r\ninformation won’t return
any results if EEM is disabled. This makes the\r\nextra check
unnecessary.\r\n\r\n|Entity|Before|After|\r\n|-|-|-|\r\n\r\n|Service|![logs_only_service_before](32cab468-f3d0-49f9-8835-deb016189a14)|\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Cauê Marcondes
<55978943+cauemarcondes@users.noreply.github.com>","sha":"586330bd0b557640faa3e019201592f67d180aa4"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196387","number":196387,"mergeCommit":{"message":"[APM/Infra]
Display entity detail views for logs-only signals when EEM is enabled
(#196387)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/196084.\r\n\r\nWe want to show
Service, Host and Container views instead of onboarging\r\nwhen EEM is
enabled, entityCentricExperience advanced setting is enabled\r\nand the
entity has logs.\r\n\r\n>[!NOTE]\r\nThe visibility of the noDataConfig
is evaluated at a generic template\r\nlevel for all 3 entity
types.\r\nTo manage visibility based on entity-specific information
(checking for\r\nlogs), we had to add checks within these templates.
While this isn’t an\r\nideal solution, it’s temporary, as we expect
upcoming generic entity\r\nviews will eventually allow us to remove this
logic.\r\n\r\n## Implementation details\r\n\r\nThere's no need to check
if EEM is enabled, as the used `dataStreams`\r\ninformation won’t return
any results if EEM is disabled. This makes the\r\nextra check
unnecessary.\r\n\r\n|Entity|Before|After|\r\n|-|-|-|\r\n\r\n|Service|![logs_only_service_before](32cab468-f3d0-49f9-8835-deb016189a14)|\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Cauê Marcondes
<55978943+cauemarcondes@users.noreply.github.com>","sha":"586330bd0b557640faa3e019201592f67d180aa4"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Irene Blanco <irene.blanco@elastic.co>
2024-10-18 07:04:50 -05:00
Kibana Machine
21a3625dd5
[8.16] [ML] Transforms: Limit the data grid result window (#196510) (#196829)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[ML] Transforms: Limit the data grid result window
(#196510)](https://github.com/elastic/kibana/pull/196510)

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

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

<!--BACKPORT [{"author":{"name":"Robert
Jaszczurek","email":"92210485+rbrtj@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-18T09:45:10Z","message":"[ML]
Transforms: Limit the data grid result window (#196510)\n\n##
Summary\r\n\r\nFix for:
[#196101](https://github.com/elastic/kibana/issues/196101)\r\nAdded a
limit for grid data, capping it at a max of `10000` documents,\r\nas any
number above this triggers an error due to ES pagination\r\nlimitations.
Since this is only a preview, displaying all the data in\r\nthe grid is
unnecessary.\r\nAfter:\r\n![Screenshot 2024-10-16 at 11
37\r\n29](https://github.com/user-attachments/assets/f73c8169-3be7-4a27-9169-c4161b22c214)\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n\r\n---------\r\n\r\nCo-authored-by:
István Zoltán Szabó
<istvan.szabo@elastic.co>","sha":"592225dfb6ffefa2717b49479491231dec12ecf2","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","v9.0.0","Team:ML","v8.16.0","backport:version"],"title":"[ML]
Transforms: Limit the data grid result
window","number":196510,"url":"https://github.com/elastic/kibana/pull/196510","mergeCommit":{"message":"[ML]
Transforms: Limit the data grid result window (#196510)\n\n##
Summary\r\n\r\nFix for:
[#196101](https://github.com/elastic/kibana/issues/196101)\r\nAdded a
limit for grid data, capping it at a max of `10000` documents,\r\nas any
number above this triggers an error due to ES pagination\r\nlimitations.
Since this is only a preview, displaying all the data in\r\nthe grid is
unnecessary.\r\nAfter:\r\n![Screenshot 2024-10-16 at 11
37\r\n29](https://github.com/user-attachments/assets/f73c8169-3be7-4a27-9169-c4161b22c214)\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n\r\n---------\r\n\r\nCo-authored-by:
István Zoltán Szabó
<istvan.szabo@elastic.co>","sha":"592225dfb6ffefa2717b49479491231dec12ecf2"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196510","number":196510,"mergeCommit":{"message":"[ML]
Transforms: Limit the data grid result window (#196510)\n\n##
Summary\r\n\r\nFix for:
[#196101](https://github.com/elastic/kibana/issues/196101)\r\nAdded a
limit for grid data, capping it at a max of `10000` documents,\r\nas any
number above this triggers an error due to ES pagination\r\nlimitations.
Since this is only a preview, displaying all the data in\r\nthe grid is
unnecessary.\r\nAfter:\r\n![Screenshot 2024-10-16 at 11
37\r\n29](https://github.com/user-attachments/assets/f73c8169-3be7-4a27-9169-c4161b22c214)\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n\r\n---------\r\n\r\nCo-authored-by:
István Zoltán Szabó
<istvan.szabo@elastic.co>","sha":"592225dfb6ffefa2717b49479491231dec12ecf2"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Robert Jaszczurek <92210485+rbrtj@users.noreply.github.com>
2024-10-18 06:31:02 -05:00
Kibana Machine
5575428dd3
[8.16] [Graph] Escape backslash characters in the graph encode functions (#196239) (#196683)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Graph] Escape backslash characters in the graph encode functions
(#196239)](https://github.com/elastic/kibana/pull/196239)

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

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

<!--BACKPORT [{"author":{"name":"Marta
Bondyra","email":"4283304+mbondyra@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-17T12:08:23Z","message":"[Graph]
Escape backslash characters in the graph encode functions
(#196239)\n\n## Summary\r\n\r\nEscape backslash characters in the graph
encode
functions.","sha":"57c4b40270ff584ab8bc1859e1097ceb14171be0","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Graph","Team:Visualizations","release_note:skip","v9.0.0","backport:all-open"],"title":"[Graph]
Escape backslash characters in the graph encode
functions","number":196239,"url":"https://github.com/elastic/kibana/pull/196239","mergeCommit":{"message":"[Graph]
Escape backslash characters in the graph encode functions
(#196239)\n\n## Summary\r\n\r\nEscape backslash characters in the graph
encode
functions.","sha":"57c4b40270ff584ab8bc1859e1097ceb14171be0"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196239","number":196239,"mergeCommit":{"message":"[Graph]
Escape backslash characters in the graph encode functions
(#196239)\n\n## Summary\r\n\r\nEscape backslash characters in the graph
encode functions.","sha":"57c4b40270ff584ab8bc1859e1097ceb14171be0"}}]}]
BACKPORT-->

Co-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>
2024-10-18 04:24:03 -05:00
Kibana Machine
b98c766c3f
[8.16] [Lens] fix flaky long running test (#196725) (#196800)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Lens] fix flaky long running test
(#196725)](https://github.com/elastic/kibana/pull/196725)

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

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

<!--BACKPORT [{"author":{"name":"Marta
Bondyra","email":"4283304+mbondyra@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-18T07:42:11Z","message":"[Lens]
fix flaky long running test (#196725)\n\n## Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/192476\r\nDue the the fact type
function is quite slow but irreplaceable here +\r\nthe DOM tree we're
rendering here is very big, I think the best option\r\nis to up the
timeout limit. On average this test is around 1s long\r\nthough. (We're
setting the limit to
10s)","sha":"ce41bf1fafca416826f1864c3bf8dc0ffb02afc5","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","Feature:Lens","v9.0.0","backport:prev-major"],"title":"[Lens]
fix flaky long running
test","number":196725,"url":"https://github.com/elastic/kibana/pull/196725","mergeCommit":{"message":"[Lens]
fix flaky long running test (#196725)\n\n## Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/192476\r\nDue the the fact type
function is quite slow but irreplaceable here +\r\nthe DOM tree we're
rendering here is very big, I think the best option\r\nis to up the
timeout limit. On average this test is around 1s long\r\nthough. (We're
setting the limit to
10s)","sha":"ce41bf1fafca416826f1864c3bf8dc0ffb02afc5"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196725","number":196725,"mergeCommit":{"message":"[Lens]
fix flaky long running test (#196725)\n\n## Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/192476\r\nDue the the fact type
function is quite slow but irreplaceable here +\r\nthe DOM tree we're
rendering here is very big, I think the best option\r\nis to up the
timeout limit. On average this test is around 1s long\r\nthough. (We're
setting the limit to
10s)","sha":"ce41bf1fafca416826f1864c3bf8dc0ffb02afc5"}}]}] BACKPORT-->

Co-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>
2024-10-18 04:18:15 -05:00
Kibana Machine
48ac7dcb90
[8.16] [Security Solution] Document details flyout - update insight KPI count (#196617) (#196779)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Security Solution] Document details flyout - update insight KPI
count (#196617)](https://github.com/elastic/kibana/pull/196617)

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

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

<!--BACKPORT
[{"author":{"name":"christineweng","email":"18648970+christineweng@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-17T22:57:52Z","message":"[Security
Solution] Document details flyout - update insight KPI count
(#196617)\n\n## Summary\r\n\r\nThis PR made some updates to the insights
KPI following\r\nhttps://github.com/elastic/kibana/pull/195509\r\n\r\n-
Updated all the counts to be
total\r\nalerts/misconfigurations/vulnerabilities\r\n- Clicking on the
count badge opens timeline (alerts) or entity preview\r\n- Revert the
order of the distribution bar for alerts to align
with\r\nothers\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/6d65503a-26b1-4db4-9118-a63ad66ac7b6\r\n\r\nLatest
design\r\n\r\n![image](https://github.com/user-attachments/assets/6d01aaf7-d87d-4ba2-afae-0845e6d3efc7)\r\n\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"71951416ca045cf0d2fee74d88faa0f717f487c6","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","v9.0.0","Team:Threat
Hunting","Team:Threat
Hunting:Investigations","v8.16.0"],"title":"[Security Solution] Document
details flyout - update insight KPI
count","number":196617,"url":"https://github.com/elastic/kibana/pull/196617","mergeCommit":{"message":"[Security
Solution] Document details flyout - update insight KPI count
(#196617)\n\n## Summary\r\n\r\nThis PR made some updates to the insights
KPI following\r\nhttps://github.com/elastic/kibana/pull/195509\r\n\r\n-
Updated all the counts to be
total\r\nalerts/misconfigurations/vulnerabilities\r\n- Clicking on the
count badge opens timeline (alerts) or entity preview\r\n- Revert the
order of the distribution bar for alerts to align
with\r\nothers\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/6d65503a-26b1-4db4-9118-a63ad66ac7b6\r\n\r\nLatest
design\r\n\r\n![image](https://github.com/user-attachments/assets/6d01aaf7-d87d-4ba2-afae-0845e6d3efc7)\r\n\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"71951416ca045cf0d2fee74d88faa0f717f487c6"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196617","number":196617,"mergeCommit":{"message":"[Security
Solution] Document details flyout - update insight KPI count
(#196617)\n\n## Summary\r\n\r\nThis PR made some updates to the insights
KPI following\r\nhttps://github.com/elastic/kibana/pull/195509\r\n\r\n-
Updated all the counts to be
total\r\nalerts/misconfigurations/vulnerabilities\r\n- Clicking on the
count badge opens timeline (alerts) or entity preview\r\n- Revert the
order of the distribution bar for alerts to align
with\r\nothers\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/6d65503a-26b1-4db4-9118-a63ad66ac7b6\r\n\r\nLatest
design\r\n\r\n![image](https://github.com/user-attachments/assets/6d01aaf7-d87d-4ba2-afae-0845e6d3efc7)\r\n\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"71951416ca045cf0d2fee74d88faa0f717f487c6"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: christineweng <18648970+christineweng@users.noreply.github.com>
2024-10-17 19:36:41 -05:00
Kibana Machine
22a0654f41
[8.16] [Security Solution] Document details flyout - fix session view alerts error (#196422) (#196758)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Security Solution] Document details flyout - fix session view alerts
error (#196422)](https://github.com/elastic/kibana/pull/196422)

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

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

<!--BACKPORT
[{"author":{"name":"christineweng","email":"18648970+christineweng@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-17T18:26:57Z","message":"[Security
Solution] Document details flyout - fix session view alerts error
(#196422)\n\n## Summary\r\n\r\nRelated
https://github.com/elastic/kibana/issues/191582\r\n\r\nWe passed indices
to session viewer based on sourcerer scope. When user\r\nis in a
non-alert page, the alerts index is not available and hence\r\nsession
viewer throws an error when a user tries to open alert details.\r\nThis
PR updates indices to always be the alerts
indices.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/264865f9-0bff-44f1-9dda-4bcd91eeab4a","sha":"89d833bf58ba614a0e9eb6a38a02c4eb5a641aeb","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:fix","v9.0.0","Team:Threat
Hunting","Team:Threat
Hunting:Investigations","v8.16.0"],"title":"[Security Solution] Document
details flyout - fix session view alerts
error","number":196422,"url":"https://github.com/elastic/kibana/pull/196422","mergeCommit":{"message":"[Security
Solution] Document details flyout - fix session view alerts error
(#196422)\n\n## Summary\r\n\r\nRelated
https://github.com/elastic/kibana/issues/191582\r\n\r\nWe passed indices
to session viewer based on sourcerer scope. When user\r\nis in a
non-alert page, the alerts index is not available and hence\r\nsession
viewer throws an error when a user tries to open alert details.\r\nThis
PR updates indices to always be the alerts
indices.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/264865f9-0bff-44f1-9dda-4bcd91eeab4a","sha":"89d833bf58ba614a0e9eb6a38a02c4eb5a641aeb"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196422","number":196422,"mergeCommit":{"message":"[Security
Solution] Document details flyout - fix session view alerts error
(#196422)\n\n## Summary\r\n\r\nRelated
https://github.com/elastic/kibana/issues/191582\r\n\r\nWe passed indices
to session viewer based on sourcerer scope. When user\r\nis in a
non-alert page, the alerts index is not available and hence\r\nsession
viewer throws an error when a user tries to open alert details.\r\nThis
PR updates indices to always be the alerts
indices.\r\n\r\n\r\nhttps://github.com/user-attachments/assets/264865f9-0bff-44f1-9dda-4bcd91eeab4a","sha":"89d833bf58ba614a0e9eb6a38a02c4eb5a641aeb"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: christineweng <18648970+christineweng@users.noreply.github.com>
2024-10-17 15:10:12 -05:00
Kibana Machine
b47b321add
[8.16] [React@18 failing test] Navigate to dataset details should navigate to details page from a main page. (#196384) (#196739)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[React@18 failing test] Navigate to dataset details should navigate
to details page from a main page.
(#196384)](https://github.com/elastic/kibana/pull/196384)

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

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

<!--BACKPORT [{"author":{"name":"Anton
Dosov","email":"anton.dosov@elastic.co"},"sourceCommit":{"committedDate":"2024-10-17T15:47:47Z","message":"[React@18
failing test] Navigate to dataset details should navigate to details
page from a main page. (#196384)\n\n## Summary\r\n\r\nHi team, we're
working on upgrading Kibana to React@18 in legacy
mode\r\nhttps://github.com/elastic/kibana-team/issues/1016#issuecomment-2399310175\r\nand
addressing remaining functional tests when running with React@18
in\r\nLegacy Mode.\r\n\r\nOne failure we've found is happening on the
dataset quality page:\r\nnavigate to dataset details should navigate to
details page from a
main\r\npage.\r\n[Failure](https://buildkite.com/elastic/kibana-pull-request/builds/236562#019222ec-e95e-44aa-a754-fd9f736accce).\r\n\r\nI
tracked it down to infinite re-render of `DegradedDocs`
component.\r\nLooks like there is an infinite useEffect loop that is
also happening\r\nwith react@17, but the results of it are not so severe
so the tests are\r\nstill passing and the page is still functioning with
react@17, wheres\r\nwith react@18 it becomes completely
unresponsive.\r\n\r\nThis effect causes the inifite loop because
`breakdown` is new object\r\nwith each
render:\r\n\r\n\r\n0d19367fdf/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/index.tsx (L85-L91)\r\n\r\nTo
reproduce the loop, I used the setup from the following
functional\r\ntests
suite:\r\nx-pack/test/functional/apps/dataset_quality/dataset_quality_details.ts","sha":"6f4346e4e6f61cf67db50fbe7ce0836c0317cc09","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:SharedUX","backport:prev-major","ci:project-deploy-observability"],"title":"[React@18
failing test] Navigate to dataset details should navigate to details
page from a main page.
","number":196384,"url":"https://github.com/elastic/kibana/pull/196384","mergeCommit":{"message":"[React@18
failing test] Navigate to dataset details should navigate to details
page from a main page. (#196384)\n\n## Summary\r\n\r\nHi team, we're
working on upgrading Kibana to React@18 in legacy
mode\r\nhttps://github.com/elastic/kibana-team/issues/1016#issuecomment-2399310175\r\nand
addressing remaining functional tests when running with React@18
in\r\nLegacy Mode.\r\n\r\nOne failure we've found is happening on the
dataset quality page:\r\nnavigate to dataset details should navigate to
details page from a
main\r\npage.\r\n[Failure](https://buildkite.com/elastic/kibana-pull-request/builds/236562#019222ec-e95e-44aa-a754-fd9f736accce).\r\n\r\nI
tracked it down to infinite re-render of `DegradedDocs`
component.\r\nLooks like there is an infinite useEffect loop that is
also happening\r\nwith react@17, but the results of it are not so severe
so the tests are\r\nstill passing and the page is still functioning with
react@17, wheres\r\nwith react@18 it becomes completely
unresponsive.\r\n\r\nThis effect causes the inifite loop because
`breakdown` is new object\r\nwith each
render:\r\n\r\n\r\n0d19367fdf/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/index.tsx (L85-L91)\r\n\r\nTo
reproduce the loop, I used the setup from the following
functional\r\ntests
suite:\r\nx-pack/test/functional/apps/dataset_quality/dataset_quality_details.ts","sha":"6f4346e4e6f61cf67db50fbe7ce0836c0317cc09"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196384","number":196384,"mergeCommit":{"message":"[React@18
failing test] Navigate to dataset details should navigate to details
page from a main page. (#196384)\n\n## Summary\r\n\r\nHi team, we're
working on upgrading Kibana to React@18 in legacy
mode\r\nhttps://github.com/elastic/kibana-team/issues/1016#issuecomment-2399310175\r\nand
addressing remaining functional tests when running with React@18
in\r\nLegacy Mode.\r\n\r\nOne failure we've found is happening on the
dataset quality page:\r\nnavigate to dataset details should navigate to
details page from a
main\r\npage.\r\n[Failure](https://buildkite.com/elastic/kibana-pull-request/builds/236562#019222ec-e95e-44aa-a754-fd9f736accce).\r\n\r\nI
tracked it down to infinite re-render of `DegradedDocs`
component.\r\nLooks like there is an infinite useEffect loop that is
also happening\r\nwith react@17, but the results of it are not so severe
so the tests are\r\nstill passing and the page is still functioning with
react@17, wheres\r\nwith react@18 it becomes completely
unresponsive.\r\n\r\nThis effect causes the inifite loop because
`breakdown` is new object\r\nwith each
render:\r\n\r\n\r\n0d19367fdf/x-pack/plugins/observability_solution/dataset_quality/public/components/dataset_quality_details/overview/document_trends/degraded_docs/index.tsx (L85-L91)\r\n\r\nTo
reproduce the loop, I used the setup from the following
functional\r\ntests
suite:\r\nx-pack/test/functional/apps/dataset_quality/dataset_quality_details.ts","sha":"6f4346e4e6f61cf67db50fbe7ce0836c0317cc09"}},{"url":"https://github.com/elastic/kibana/pull/196734","number":196734,"branch":"8.x","state":"OPEN"}]}]
BACKPORT-->

Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2024-10-17 12:48:26 -05:00
Kibana Machine
ec90dae745
[8.16] [Security Solution][Detection Engine] fixes ES|QL data tier filter from adv settings (#196390) (#196698)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Security Solution][Detection Engine] fixes ES|QL data tier filter
from adv settings
(#196390)](https://github.com/elastic/kibana/pull/196390)

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

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

<!--BACKPORT [{"author":{"name":"Vitalii
Dmyterko","email":"92328789+vitaliidm@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-17T13:28:14Z","message":"[Security
Solution][Detection Engine] fixes ES|QL data tier filter from adv
settings (#196390)\n\n## Summary\r\n\r\n- fixes absent data tier filter
for ES|QL rule\r\n- followup to
https://github.com/elastic/kibana/pull/186908\r\n\r\n###
Demo\r\n\r\n\r\nhttps://github.com/user-attachments/assets/a6f1290f-ea77-43bf-8def-42712ca5d1b0\r\n\r\n\r\n\r\n###
How to test\r\n\r\nCreate a deployment with cold and frozen data tiers
and use following\r\ncommands to create index and
ILM\r\n\r\n\r\n<details>\r\n<summary>Data tiers
commands</summary>\r\n\r\n```JSON\r\n\r\nPUT /_cluster/settings\r\n{\r\n
\"persistent\": {\r\n \"indices.lifecycle.poll_interval\": \"1m\"\r\n
}\r\n}\r\n\r\n\r\nPUT /_ilm/policy/filtering_data_tiers\r\n{\r\n
\"policy\": {\r\n \"phases\": {\r\n \"frozen\": {\r\n \"min_age\":
\"10m\",\r\n \"actions\": {\r\n \"searchable_snapshot\": {\r\n
\"snapshot_repository\": \"found-snapshots\",\r\n \"force_merge_index\":
true\r\n }\r\n }\r\n },\r\n \"cold\": {\r\n \"min_age\": \"1m\",\r\n
\"actions\": {\r\n \"searchable_snapshot\": {\r\n
\"snapshot_repository\": \"found-snapshots\",\r\n \"force_merge_index\":
true\r\n },\r\n \"set_priority\": {\r\n \"priority\": 0\r\n }\r\n }\r\n
},\r\n \"hot\": {\r\n \"min_age\": \"0ms\",\r\n \"actions\": {\r\n
\"set_priority\": {\r\n \"priority\": 100\r\n }\r\n }\r\n }\r\n }\r\n
}\r\n}\r\n\r\n\r\nPUT
/_index_template/filtering_data_tiers_template\r\n{\r\n
\"index_patterns\": [\r\n \"filtering_data_tiers*\"\r\n ],\r\n
\"template\": {\r\n \"settings\": {\r\n \"index.lifecycle.name\":
\"filtering_data_tiers\",\r\n \"index.lifecycle.rollover_alias\":
\"test-filtering_data_tiers\"\r\n },\r\n \"mappings\": {\r\n \"_meta\":
{\r\n \"version\": \"1.6.0\"\r\n },\r\n \"properties\": {\r\n
\"@timestamp\": {\r\n \"type\": \"date\"\r\n },\r\n \"host\": {\r\n
\"properties\": {\r\n \"name\": {\r\n \"type\": \"keyword\",\r\n
\"ignore_above\": 1024\r\n }\r\n }\r\n }\r\n }\r\n }\r\n
}\r\n}\r\n\r\nPUT /filtering_data_tiers-000001\r\n{\r\n \"aliases\":
{\r\n \"filtering_data_tiers\": {\r\n \"is_write_index\": true\r\n }\r\n
}\r\n}\r\n\r\n\r\nPOST filtering_data_tiers/_doc\r\n{\r\n
\"@timestamp\": \"2024-07-08T17:00:01.000Z\",\r\n \"host.name\":
\"test-0\"\r\n}\r\n\r\n\r\n```\r\n\r\n</details>","sha":"c79f0ae78633c81beebd3f95735326cc872be7f6","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Detections
and Resp","Team: SecuritySolution","backport:prev-minor","Team:Detection
Engine","v8.16.0"],"title":"[Security Solution][Detection Engine] fixes
ES|QL data tier filter from adv
settings","number":196390,"url":"https://github.com/elastic/kibana/pull/196390","mergeCommit":{"message":"[Security
Solution][Detection Engine] fixes ES|QL data tier filter from adv
settings (#196390)\n\n## Summary\r\n\r\n- fixes absent data tier filter
for ES|QL rule\r\n- followup to
https://github.com/elastic/kibana/pull/186908\r\n\r\n###
Demo\r\n\r\n\r\nhttps://github.com/user-attachments/assets/a6f1290f-ea77-43bf-8def-42712ca5d1b0\r\n\r\n\r\n\r\n###
How to test\r\n\r\nCreate a deployment with cold and frozen data tiers
and use following\r\ncommands to create index and
ILM\r\n\r\n\r\n<details>\r\n<summary>Data tiers
commands</summary>\r\n\r\n```JSON\r\n\r\nPUT /_cluster/settings\r\n{\r\n
\"persistent\": {\r\n \"indices.lifecycle.poll_interval\": \"1m\"\r\n
}\r\n}\r\n\r\n\r\nPUT /_ilm/policy/filtering_data_tiers\r\n{\r\n
\"policy\": {\r\n \"phases\": {\r\n \"frozen\": {\r\n \"min_age\":
\"10m\",\r\n \"actions\": {\r\n \"searchable_snapshot\": {\r\n
\"snapshot_repository\": \"found-snapshots\",\r\n \"force_merge_index\":
true\r\n }\r\n }\r\n },\r\n \"cold\": {\r\n \"min_age\": \"1m\",\r\n
\"actions\": {\r\n \"searchable_snapshot\": {\r\n
\"snapshot_repository\": \"found-snapshots\",\r\n \"force_merge_index\":
true\r\n },\r\n \"set_priority\": {\r\n \"priority\": 0\r\n }\r\n }\r\n
},\r\n \"hot\": {\r\n \"min_age\": \"0ms\",\r\n \"actions\": {\r\n
\"set_priority\": {\r\n \"priority\": 100\r\n }\r\n }\r\n }\r\n }\r\n
}\r\n}\r\n\r\n\r\nPUT
/_index_template/filtering_data_tiers_template\r\n{\r\n
\"index_patterns\": [\r\n \"filtering_data_tiers*\"\r\n ],\r\n
\"template\": {\r\n \"settings\": {\r\n \"index.lifecycle.name\":
\"filtering_data_tiers\",\r\n \"index.lifecycle.rollover_alias\":
\"test-filtering_data_tiers\"\r\n },\r\n \"mappings\": {\r\n \"_meta\":
{\r\n \"version\": \"1.6.0\"\r\n },\r\n \"properties\": {\r\n
\"@timestamp\": {\r\n \"type\": \"date\"\r\n },\r\n \"host\": {\r\n
\"properties\": {\r\n \"name\": {\r\n \"type\": \"keyword\",\r\n
\"ignore_above\": 1024\r\n }\r\n }\r\n }\r\n }\r\n }\r\n
}\r\n}\r\n\r\nPUT /filtering_data_tiers-000001\r\n{\r\n \"aliases\":
{\r\n \"filtering_data_tiers\": {\r\n \"is_write_index\": true\r\n }\r\n
}\r\n}\r\n\r\n\r\nPOST filtering_data_tiers/_doc\r\n{\r\n
\"@timestamp\": \"2024-07-08T17:00:01.000Z\",\r\n \"host.name\":
\"test-0\"\r\n}\r\n\r\n\r\n```\r\n\r\n</details>","sha":"c79f0ae78633c81beebd3f95735326cc872be7f6"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196390","number":196390,"mergeCommit":{"message":"[Security
Solution][Detection Engine] fixes ES|QL data tier filter from adv
settings (#196390)\n\n## Summary\r\n\r\n- fixes absent data tier filter
for ES|QL rule\r\n- followup to
https://github.com/elastic/kibana/pull/186908\r\n\r\n###
Demo\r\n\r\n\r\nhttps://github.com/user-attachments/assets/a6f1290f-ea77-43bf-8def-42712ca5d1b0\r\n\r\n\r\n\r\n###
How to test\r\n\r\nCreate a deployment with cold and frozen data tiers
and use following\r\ncommands to create index and
ILM\r\n\r\n\r\n<details>\r\n<summary>Data tiers
commands</summary>\r\n\r\n```JSON\r\n\r\nPUT /_cluster/settings\r\n{\r\n
\"persistent\": {\r\n \"indices.lifecycle.poll_interval\": \"1m\"\r\n
}\r\n}\r\n\r\n\r\nPUT /_ilm/policy/filtering_data_tiers\r\n{\r\n
\"policy\": {\r\n \"phases\": {\r\n \"frozen\": {\r\n \"min_age\":
\"10m\",\r\n \"actions\": {\r\n \"searchable_snapshot\": {\r\n
\"snapshot_repository\": \"found-snapshots\",\r\n \"force_merge_index\":
true\r\n }\r\n }\r\n },\r\n \"cold\": {\r\n \"min_age\": \"1m\",\r\n
\"actions\": {\r\n \"searchable_snapshot\": {\r\n
\"snapshot_repository\": \"found-snapshots\",\r\n \"force_merge_index\":
true\r\n },\r\n \"set_priority\": {\r\n \"priority\": 0\r\n }\r\n }\r\n
},\r\n \"hot\": {\r\n \"min_age\": \"0ms\",\r\n \"actions\": {\r\n
\"set_priority\": {\r\n \"priority\": 100\r\n }\r\n }\r\n }\r\n }\r\n
}\r\n}\r\n\r\n\r\nPUT
/_index_template/filtering_data_tiers_template\r\n{\r\n
\"index_patterns\": [\r\n \"filtering_data_tiers*\"\r\n ],\r\n
\"template\": {\r\n \"settings\": {\r\n \"index.lifecycle.name\":
\"filtering_data_tiers\",\r\n \"index.lifecycle.rollover_alias\":
\"test-filtering_data_tiers\"\r\n },\r\n \"mappings\": {\r\n \"_meta\":
{\r\n \"version\": \"1.6.0\"\r\n },\r\n \"properties\": {\r\n
\"@timestamp\": {\r\n \"type\": \"date\"\r\n },\r\n \"host\": {\r\n
\"properties\": {\r\n \"name\": {\r\n \"type\": \"keyword\",\r\n
\"ignore_above\": 1024\r\n }\r\n }\r\n }\r\n }\r\n }\r\n
}\r\n}\r\n\r\nPUT /filtering_data_tiers-000001\r\n{\r\n \"aliases\":
{\r\n \"filtering_data_tiers\": {\r\n \"is_write_index\": true\r\n }\r\n
}\r\n}\r\n\r\n\r\nPOST filtering_data_tiers/_doc\r\n{\r\n
\"@timestamp\": \"2024-07-08T17:00:01.000Z\",\r\n \"host.name\":
\"test-0\"\r\n}\r\n\r\n\r\n```\r\n\r\n</details>","sha":"c79f0ae78633c81beebd3f95735326cc872be7f6"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Vitalii Dmyterko <92328789+vitaliidm@users.noreply.github.com>
2024-10-17 12:45:22 -05:00