Commit graph

34554 commits

Author SHA1 Message Date
Cauê Marcondes
4888b049fe
[8.16] [APM][e2e] Skip transaction_details Cypress test (#197388) (#198290)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[APM][e2e] Skip transaction_details Cypress test
(#197388)](https://github.com/elastic/kibana/pull/197388)

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

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

<!--BACKPORT [{"author":{"name":"Sergi
Romeu","email":"sergi.romeu@elastic.co"},"sourceCommit":{"committedDate":"2024-10-23T13:32:55Z","message":"[APM][e2e]
Skip transaction_details Cypress test (#197388)\n\n## Summary\n\nRelates
to #197386 \n\nThis PR skips the failing test, eventually we will need
to fix it and\nthe work will be handled on the parent
issue.","sha":"4568240e6420318be7f8d948c5d3e1c88b963abe","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","apm","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","v8.16.0","testing","v8.17.0"],"number":197388,"url":"https://github.com/elastic/kibana/pull/197388","mergeCommit":{"message":"[APM][e2e]
Skip transaction_details Cypress test (#197388)\n\n## Summary\n\nRelates
to #197386 \n\nThis PR skips the failing test, eventually we will need
to fix it and\nthe work will be handled on the parent
issue.","sha":"4568240e6420318be7f8d948c5d3e1c88b963abe"}},"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/197388","number":197388,"mergeCommit":{"message":"[APM][e2e]
Skip transaction_details Cypress test (#197388)\n\n## Summary\n\nRelates
to #197386 \n\nThis PR skips the failing test, eventually we will need
to fix it and\nthe work will be handled on the parent
issue.","sha":"4568240e6420318be7f8d948c5d3e1c88b963abe"}},{"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/197443","number":197443,"state":"MERGED","mergeCommit":{"sha":"0579451939b6435b4bf76416cdc0d16e41e721e6","message":"[8.x]
[APM][e2e] Skip transaction_details Cypress test (#197388)
(#197443)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.x`:\n- [[APM][e2e] Skip transaction_details Cypress
test\n(#197388)](https://github.com/elastic/kibana/pull/197388)\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\":\"Sergi\nRomeu\",\"email\":\"sergi.romeu@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-10-23T13:32:55Z\",\"message\":\"[APM][e2e]\nSkip
transaction_details Cypress test (#197388)\\n\\n##
Summary\\n\\nRelates\nto #197386 \\n\\nThis PR skips the failing test,
eventually we will need\nto fix it and\\nthe work will be handled on the
parent\nissue.\",\"sha\":\"4568240e6420318be7f8d948c5d3e1c88b963abe\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.17.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"v9.0.0\",\"apm\",\"backport:prev-minor\",\"ci:project-deploy-observability\",\"Team:obs-ux-infra_services\",\"testing\"],\"title\":\"[APM][e2e]\nSkip
transaction_details
Cypress\ntest\",\"number\":197388,\"url\":\"https://github.com/elastic/kibana/pull/197388\",\"mergeCommit\":{\"message\":\"[APM][e2e]\nSkip
transaction_details Cypress test (#197388)\\n\\n##
Summary\\n\\nRelates\nto #197386 \\n\\nThis PR skips the failing test,
eventually we will need\nto fix it and\\nthe work will be handled on the
parent\nissue.\",\"sha\":\"4568240e6420318be7f8d948c5d3e1c88b963abe\"}},\"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/197388\",\"number\":197388,\"mergeCommit\":{\"message\":\"[APM][e2e]\nSkip
transaction_details Cypress test (#197388)\\n\\n##
Summary\\n\\nRelates\nto #197386 \\n\\nThis PR skips the failing test,
eventually we will need\nto fix it and\\nthe work will be handled on the
parent\nissue.\",\"sha\":\"4568240e6420318be7f8d948c5d3e1c88b963abe\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Sergi Romeu <sergi.romeu@elastic.co>"}}]}] BACKPORT-->

Co-authored-by: Sergi Romeu <sergi.romeu@elastic.co>
2024-10-30 07:24:12 -05:00
Kibana Machine
f3f33d4df4
[8.16] [Synthetics] Fixes broken e2e tests !! (#197567) (#198280)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Synthetics] Fixes broken e2e tests !!
(#197567)](https://github.com/elastic/kibana/pull/197567)

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

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

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"shahzad31comp@gmail.com"},"sourceCommit":{"committedDate":"2024-10-24T09:10:51Z","message":"[Synthetics]
Fixes broken e2e tests !! (#197567)\n\n## Summary\r\n\r\nFixes broken
e2e tests !!\r\n\r\nRules API behavior somehow has changed , i still not
sure what changed\r\nbut now it will rely on UI
!!","sha":"b61a627ef3a04617b2834e6c445666318a98d848","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-management","v8.16.0","v8.17.0"],"title":"[Synthetics]
Fixes broken e2e tests
!!","number":197567,"url":"https://github.com/elastic/kibana/pull/197567","mergeCommit":{"message":"[Synthetics]
Fixes broken e2e tests !! (#197567)\n\n## Summary\r\n\r\nFixes broken
e2e tests !!\r\n\r\nRules API behavior somehow has changed , i still not
sure what changed\r\nbut now it will rely on UI
!!","sha":"b61a627ef3a04617b2834e6c445666318a98d848"}},"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/197567","number":197567,"mergeCommit":{"message":"[Synthetics]
Fixes broken e2e tests !! (#197567)\n\n## Summary\r\n\r\nFixes broken
e2e tests !!\r\n\r\nRules API behavior somehow has changed , i still not
sure what changed\r\nbut now it will rely on UI
!!","sha":"b61a627ef3a04617b2834e6c445666318a98d848"}},{"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/197579","number":197579,"state":"MERGED","mergeCommit":{"sha":"407d794861df930e364972e938edff46fe659d0b","message":"[8.x]
[Synthetics] Fixes broken e2e tests !! (#197567) (#197579)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.x`:\n- [[Synthetics] Fixes broken e2e tests
!!\n(#197567)](https://github.com/elastic/kibana/pull/197567)\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\n[{\"author\":{\"name\":\"Shahzad\",\"email\":\"shahzad31comp@gmail.com\"},\"sourceCommit\":{\"committedDate\":\"2024-10-24T09:10:51Z\",\"message\":\"[Synthetics]\nFixes
broken e2e tests !! (#197567)\\n\\n## Summary\\r\\n\\r\\nFixes
broken\ne2e tests !!\\r\\n\\r\\nRules API behavior somehow has changed ,
i still not\nsure what changed\\r\\nbut now it will rely on
UI\n!!\",\"sha\":\"b61a627ef3a04617b2834e6c445666318a98d848\",\"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-management\"],\"title\":\"[Synthetics]\nFixes
broken e2e
tests\n!!\",\"number\":197567,\"url\":\"https://github.com/elastic/kibana/pull/197567\",\"mergeCommit\":{\"message\":\"[Synthetics]\nFixes
broken e2e tests !! (#197567)\\n\\n## Summary\\r\\n\\r\\nFixes
broken\ne2e tests !!\\r\\n\\r\\nRules API behavior somehow has changed ,
i still not\nsure what changed\\r\\nbut now it will rely on
UI\n!!\",\"sha\":\"b61a627ef3a04617b2834e6c445666318a98d848\"}},\"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/197567\",\"number\":197567,\"mergeCommit\":{\"message\":\"[Synthetics]\nFixes
broken e2e tests !! (#197567)\\n\\n## Summary\\r\\n\\r\\nFixes
broken\ne2e tests !!\\r\\n\\r\\nRules API behavior somehow has changed ,
i still not\nsure what changed\\r\\nbut now it will rely on
UI\n!!\",\"sha\":\"b61a627ef3a04617b2834e6c445666318a98d848\"}}]}]
BACKPORT-->\n\nCo-authored-by: Shahzad <shahzad31comp@gmail.com>"}}]}]
BACKPORT-->

Co-authored-by: Shahzad <shahzad31comp@gmail.com>
2024-10-30 06:52:46 -05:00
Kibana Machine
115ab7a082
[8.16] [Cloud Security] add vulnerabilties data set to filter for links from CNVM dashboard (#197648) (#198139)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Cloud Security] add vulnerabilties data set to filter for links from
CNVM dashboard (#197648)](https://github.com/elastic/kibana/pull/197648)

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

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

<!--BACKPORT [{"author":{"name":"Maxim
Kholod","email":"maxim.kholod@elastic.co"},"sourceCommit":{"committedDate":"2024-10-29T10:53:23Z","message":"[Cloud
Security] add vulnerabilties data set to filter for links from CNVM
dashboard (#197648)\n\n## Summary\r\n\r\n- fixes
https://github.com/elastic/security-team/issues/10915","sha":"b4ed7a1945f5ea5b76be36833cdf11e28641cf8f","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","backport:prev-minor","v8.16.0","backport:version","v8.17.0"],"title":"[Cloud
Security] add vulnerabilties data set to filter for links from CNVM
dashboard","number":197648,"url":"https://github.com/elastic/kibana/pull/197648","mergeCommit":{"message":"[Cloud
Security] add vulnerabilties data set to filter for links from CNVM
dashboard (#197648)\n\n## Summary\r\n\r\n- fixes
https://github.com/elastic/security-team/issues/10915","sha":"b4ed7a1945f5ea5b76be36833cdf11e28641cf8f"}},"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/197648","number":197648,"mergeCommit":{"message":"[Cloud
Security] add vulnerabilties data set to filter for links from CNVM
dashboard (#197648)\n\n## Summary\r\n\r\n- fixes
https://github.com/elastic/security-team/issues/10915","sha":"b4ed7a1945f5ea5b76be36833cdf11e28641cf8f"}},{"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: Maxim Kholod <maxim.kholod@elastic.co>
2024-10-30 06:05:09 -05:00
Kibana Machine
b7c86966f8
[8.16] [EDR Workflows] Improve on unavailable shard exception flakiness in cypress (#197864) (#198137)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[EDR Workflows] Improve on unavailable shard exception flakiness in
cypress (#197864)](https://github.com/elastic/kibana/pull/197864)

<!--- 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-29T10:52:36Z","message":"[EDR
Workflows] Improve on unavailable shard exception flakiness in cypress
(#197864)\n\n## Summary\r\n\r\nThe cypress task
`cy.task('indexEndpointHosts')` sometimes
throws\r\n`no_shard_available_action_exception`, when transforms are
stopped. This\r\nlooks like a temporary issue, and in other tests it is
simply retried.\r\n\r\nThis PR adds the retry logic for this type of
error, and unskips some\r\ntests.\r\n\r\ncloses #194135\r\ncloses
#191914\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"db18039dc40bc0e994be666a83a28a0452a0c6e2","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 on unavailable shard exception flakiness in
cypress","number":197864,"url":"https://github.com/elastic/kibana/pull/197864","mergeCommit":{"message":"[EDR
Workflows] Improve on unavailable shard exception flakiness in cypress
(#197864)\n\n## Summary\r\n\r\nThe cypress task
`cy.task('indexEndpointHosts')` sometimes
throws\r\n`no_shard_available_action_exception`, when transforms are
stopped. This\r\nlooks like a temporary issue, and in other tests it is
simply retried.\r\n\r\nThis PR adds the retry logic for this type of
error, and unskips some\r\ntests.\r\n\r\ncloses #194135\r\ncloses
#191914\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"db18039dc40bc0e994be666a83a28a0452a0c6e2"}},"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/197864","number":197864,"mergeCommit":{"message":"[EDR
Workflows] Improve on unavailable shard exception flakiness in cypress
(#197864)\n\n## Summary\r\n\r\nThe cypress task
`cy.task('indexEndpointHosts')` sometimes
throws\r\n`no_shard_available_action_exception`, when transforms are
stopped. This\r\nlooks like a temporary issue, and in other tests it is
simply retried.\r\n\r\nThis PR adds the retry logic for this type of
error, and unskips some\r\ntests.\r\n\r\ncloses #194135\r\ncloses
#191914\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests
changed","sha":"db18039dc40bc0e994be666a83a28a0452a0c6e2"}},{"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: Gergő Ábrahám <gergo.abraham@elastic.co>
2024-10-30 04:22:42 -05:00
Kibana Machine
678244f8e2
[8.16] [Observability Onboarding] Set tech preview badges correctly (#197831) (#198130)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Observability Onboarding] Set tech preview badges correctly
(#197831)](https://github.com/elastic/kibana/pull/197831)

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

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

<!--BACKPORT [{"author":{"name":"Joe
Reuter","email":"johannes.reuter@elastic.co"},"sourceCommit":{"committedDate":"2024-10-29T10:28:22Z","message":"[Observability
Onboarding] Set tech preview badges correctly (#197831)\n\nAs discussed,
adjust the first onboarding page:\r\n* Remove tech preview labels from
EA flows\r\n* Change wording\r\n\r\n<img width=\"857\" alt=\"Screenshot
2024-10-25 at 15 23
47\"\r\nsrc=\"https://github.com/user-attachments/assets/ceffbe90-019d-4fa8-ab6f-16cbf0aaf3d4\">\r\n<img
width=\"814\" alt=\"Screenshot 2024-10-25 at 15 23
59\"\r\nsrc=\"https://github.com/user-attachments/assets/4f5cf657-6fd2-479f-aa92-9460bc2ecfef\">","sha":"d23dce0080f8c7815188aa244f98c526d84ee45e","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-logs","Feature:
Observability Onboarding","v8.16.0","v8.17.0"],"title":"[Observability
Onboarding] Set tech preview badges
correctly","number":197831,"url":"https://github.com/elastic/kibana/pull/197831","mergeCommit":{"message":"[Observability
Onboarding] Set tech preview badges correctly (#197831)\n\nAs discussed,
adjust the first onboarding page:\r\n* Remove tech preview labels from
EA flows\r\n* Change wording\r\n\r\n<img width=\"857\" alt=\"Screenshot
2024-10-25 at 15 23
47\"\r\nsrc=\"https://github.com/user-attachments/assets/ceffbe90-019d-4fa8-ab6f-16cbf0aaf3d4\">\r\n<img
width=\"814\" alt=\"Screenshot 2024-10-25 at 15 23
59\"\r\nsrc=\"https://github.com/user-attachments/assets/4f5cf657-6fd2-479f-aa92-9460bc2ecfef\">","sha":"d23dce0080f8c7815188aa244f98c526d84ee45e"}},"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/197831","number":197831,"mergeCommit":{"message":"[Observability
Onboarding] Set tech preview badges correctly (#197831)\n\nAs discussed,
adjust the first onboarding page:\r\n* Remove tech preview labels from
EA flows\r\n* Change wording\r\n\r\n<img width=\"857\" alt=\"Screenshot
2024-10-25 at 15 23
47\"\r\nsrc=\"https://github.com/user-attachments/assets/ceffbe90-019d-4fa8-ab6f-16cbf0aaf3d4\">\r\n<img
width=\"814\" alt=\"Screenshot 2024-10-25 at 15 23
59\"\r\nsrc=\"https://github.com/user-attachments/assets/4f5cf657-6fd2-479f-aa92-9460bc2ecfef\">","sha":"d23dce0080f8c7815188aa244f98c526d84ee45e"}},{"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 Reuter <johannes.reuter@elastic.co>
2024-10-30 04:02:47 -05:00
Tomasz Ciecierski
c652d38e6c
[8.16] [EDR Workflows] Fix Cypress tests failing on Alerts step (#197384) (#198119)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[EDR Workflows] Fix Cypress tests failing on Alerts step
(#197384)](https://github.com/elastic/kibana/pull/197384)

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

### 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-28T14:44:29Z","message":"[EDR
Workflows] Fix Cypress tests failing on Alerts step
(#197384)","sha":"962f73130b96df919473de79b6a9b0067652e607","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"],"number":197384,"url":"https://github.com/elastic/kibana/pull/197384","mergeCommit":{"message":"[EDR
Workflows] Fix Cypress tests failing on Alerts step
(#197384)","sha":"962f73130b96df919473de79b6a9b0067652e607"}},"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/197384","number":197384,"mergeCommit":{"message":"[EDR
Workflows] Fix Cypress tests failing on Alerts step
(#197384)","sha":"962f73130b96df919473de79b6a9b0067652e607"}},{"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-30 09:09:56 +01:00
Tiago Costa
ffeef9de44
skip flaky suite (#174682) 2024-10-30 04:53:02 +00:00
Kibana Machine
7578b6d280
[8.16] [Search][Connectors] Create connector via try in console (#197757) (#198223)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Search][Connectors] Create connector via try in console
(#197757)](https://github.com/elastic/kibana/pull/197757)

<!--- 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-29T22:18:49Z","message":"[Search][Connectors]
Create connector via try in console (#197757)\n\n## Summary\r\n\r\nThis
PR enables the possibility of creating a connector opening
the\r\nembedded console in the start step.\r\n\r\n![CleanShot 2024-10-28
at 10
00\r\n04](https://github.com/user-attachments/assets/bf2c0a89-1c18-4fcd-8c2b-4fbbe3ef80a9)\r\n\r\n---------\r\n\r\nCo-authored-by:
Liam Thompson
<32779855+leemthompo@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"248119ec8c506311f8d24a35ccae318e066b3026","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:EnterpriseSearch","v8.16.0","backport:version","v8.17.0"],"title":"[Search][Connectors]
Create connector via try in
console","number":197757,"url":"https://github.com/elastic/kibana/pull/197757","mergeCommit":{"message":"[Search][Connectors]
Create connector via try in console (#197757)\n\n## Summary\r\n\r\nThis
PR enables the possibility of creating a connector opening
the\r\nembedded console in the start step.\r\n\r\n![CleanShot 2024-10-28
at 10
00\r\n04](https://github.com/user-attachments/assets/bf2c0a89-1c18-4fcd-8c2b-4fbbe3ef80a9)\r\n\r\n---------\r\n\r\nCo-authored-by:
Liam Thompson
<32779855+leemthompo@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"248119ec8c506311f8d24a35ccae318e066b3026"}},"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/197757","number":197757,"mergeCommit":{"message":"[Search][Connectors]
Create connector via try in console (#197757)\n\n## Summary\r\n\r\nThis
PR enables the possibility of creating a connector opening
the\r\nembedded console in the start step.\r\n\r\n![CleanShot 2024-10-28
at 10
00\r\n04](https://github.com/user-attachments/assets/bf2c0a89-1c18-4fcd-8c2b-4fbbe3ef80a9)\r\n\r\n---------\r\n\r\nCo-authored-by:
Liam Thompson
<32779855+leemthompo@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"248119ec8c506311f8d24a35ccae318e066b3026"}},{"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: José Luis González <joseluisgj@gmail.com>
2024-10-29 19:03:05 -05:00
Kibana Machine
87aa6d6eaf
[8.16] [Search][Connectors] Confirmation modal before leaving the connector creation flow (#197646) (#198221)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Search][Connectors] Confirmation modal before leaving the connector
creation flow (#197646)](https://github.com/elastic/kibana/pull/197646)

<!--- 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-29T22:17:04Z","message":"[Search][Connectors]
Confirmation modal before leaving the connector creation flow
(#197646)\n\n## Summary\r\n\r\nThis PR shows a confirmation modal when
users leave the connectors\r\ncreation flow before providing all
necessary info, asking for\r\nintentional confirmation after leaving the
experience.\r\n\r\nSetting `isFormDirty = true` only after generating
the connectors config\r\nand letting users leave the experience setting
`isFormDirty = false`\r\nwhen we arrive to the Finish up
step\r\n\r\n![CleanShot 2024-10-24 at 18
56\r\n11](https://github.com/user-attachments/assets/90f355e2-d227-4d2a-a45e-bcfbb743d588)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>\r\nCo-authored-by: Jedr
Blaszyk
<jedrazb@gmail.com>","sha":"aec93bf043619cde2d6b3fecace70cd4c3c56e94","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:EnterpriseSearch","v8.16.0","backport:version","v8.17.0"],"title":"[Search][Connectors]
Confirmation modal before leaving the connector creation
flow","number":197646,"url":"https://github.com/elastic/kibana/pull/197646","mergeCommit":{"message":"[Search][Connectors]
Confirmation modal before leaving the connector creation flow
(#197646)\n\n## Summary\r\n\r\nThis PR shows a confirmation modal when
users leave the connectors\r\ncreation flow before providing all
necessary info, asking for\r\nintentional confirmation after leaving the
experience.\r\n\r\nSetting `isFormDirty = true` only after generating
the connectors config\r\nand letting users leave the experience setting
`isFormDirty = false`\r\nwhen we arrive to the Finish up
step\r\n\r\n![CleanShot 2024-10-24 at 18
56\r\n11](https://github.com/user-attachments/assets/90f355e2-d227-4d2a-a45e-bcfbb743d588)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>\r\nCo-authored-by: Jedr
Blaszyk
<jedrazb@gmail.com>","sha":"aec93bf043619cde2d6b3fecace70cd4c3c56e94"}},"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/197646","number":197646,"mergeCommit":{"message":"[Search][Connectors]
Confirmation modal before leaving the connector creation flow
(#197646)\n\n## Summary\r\n\r\nThis PR shows a confirmation modal when
users leave the connectors\r\ncreation flow before providing all
necessary info, asking for\r\nintentional confirmation after leaving the
experience.\r\n\r\nSetting `isFormDirty = true` only after generating
the connectors config\r\nand letting users leave the experience setting
`isFormDirty = false`\r\nwhen we arrive to the Finish up
step\r\n\r\n![CleanShot 2024-10-24 at 18
56\r\n11](https://github.com/user-attachments/assets/90f355e2-d227-4d2a-a45e-bcfbb743d588)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>\r\nCo-authored-by: Jedr
Blaszyk
<jedrazb@gmail.com>","sha":"aec93bf043619cde2d6b3fecace70cd4c3c56e94"}},{"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: José Luis González <joseluisgj@gmail.com>
2024-10-29 19:00:35 -05:00
Pablo Machado
9d57fda3fc
[8.16] [SecuritySolution] Fix entities list initial sorting (#197465) (#198114)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[SecuritySolution] Fix entities list initial sorting
(#197465)](https://github.com/elastic/kibana/pull/197465)

<!--- 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-24T14:04:13Z","message":"[SecuritySolution]
Fix entities list initial sorting (#197465)\n\n## Summary\r\n\r\nThe
entity list initial sorting wasn't working because it referenced
an\r\nold
field.","sha":"7a8d813a9ccb3dcb3aa8c7524f2e07f8d0ce5781","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","Theme: entity_analytics","Feature:Entity
Analytics","Team:Entity
Analytics","v8.16.0","backport:version","v8.17.0"],"number":197465,"url":"https://github.com/elastic/kibana/pull/197465","mergeCommit":{"message":"[SecuritySolution]
Fix entities list initial sorting (#197465)\n\n## Summary\r\n\r\nThe
entity list initial sorting wasn't working because it referenced
an\r\nold
field.","sha":"7a8d813a9ccb3dcb3aa8c7524f2e07f8d0ce5781"}},"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/197465","number":197465,"mergeCommit":{"message":"[SecuritySolution]
Fix entities list initial sorting (#197465)\n\n## Summary\r\n\r\nThe
entity list initial sorting wasn't working because it referenced
an\r\nold
field.","sha":"7a8d813a9ccb3dcb3aa8c7524f2e07f8d0ce5781"}},{"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/197657","number":197657,"state":"MERGED","mergeCommit":{"sha":"ccc7398809ce4a39c5f7955700df5e04f0d1b191","message":"[8.x]
[SecuritySolution] Fix entities list initial sorting (#197465)
(#197657)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.x`:\n- [[SecuritySolution] Fix entities list initial
sorting\n(#197465)](https://github.com/elastic/kibana/pull/197465)\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\":\"Pablo\nMachado\",\"email\":\"pablo.nevesmachado@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-10-24T14:04:13Z\",\"message\":\"[SecuritySolution]\nFix
entities list initial sorting (#197465)\\n\\n##
Summary\\r\\n\\r\\nThe\nentity list initial sorting wasn't working
because it
referenced\nan\\r\\nold\nfield.\",\"sha\":\"7a8d813a9ccb3dcb3aa8c7524f2e07f8d0ce5781\",\"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:\nSecuritySolution\",\"Theme:
entity_analytics\",\"Feature:Entity\nAnalytics\",\"Team:Entity\nAnalytics\",\"v8.16.0\",\"backport:version\",\"v8.17.0\"],\"title\":\"[SecuritySolution]\nFix
entities list
initial\nsorting\",\"number\":197465,\"url\":\"https://github.com/elastic/kibana/pull/197465\",\"mergeCommit\":{\"message\":\"[SecuritySolution]\nFix
entities list initial sorting (#197465)\\n\\n##
Summary\\r\\n\\r\\nThe\nentity list initial sorting wasn't working
because it
referenced\nan\\r\\nold\nfield.\",\"sha\":\"7a8d813a9ccb3dcb3aa8c7524f2e07f8d0ce5781\"}},\"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/197465\",\"number\":197465,\"mergeCommit\":{\"message\":\"[SecuritySolution]\nFix
entities list initial sorting (#197465)\\n\\n##
Summary\\r\\n\\r\\nThe\nentity list initial sorting wasn't working
because it
referenced\nan\\r\\nold\nfield.\",\"sha\":\"7a8d813a9ccb3dcb3aa8c7524f2e07f8d0ce5781\"}},{\"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\"}]}]\nBACKPORT-->\n\nCo-authored-by:
Pablo Machado <pablo.nevesmachado@elastic.co>"}}]}] BACKPORT-->
2024-10-29 06:30:50 -05:00
Carlos Crespo
512cabcb34
[8.16] [Entity Inventory] Add basic telemetry (#197055) (#198047)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Entity Inventory] Add basic telemetry
(#197055)](https://github.com/elastic/kibana/pull/197055)

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

### 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-25T14:49:49Z","message":"[Entity
Inventory] Add basic telemetry (#197055)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/195608.\r\n\r\nIn this PR, we
introduce basic telemetry tracking for the new
Inventory\r\nplugin.\r\nThese events will help us gain insight into how
users are interacting\r\nwith the Inventory feature, including the state
of the views, search\r\nbehaviors, and entity type
filtering.\r\n\r\n\r\n**New events**\r\n- Entity Inventory Viewed\r\n-
Entity Inventory Search Query Submitted\r\n- Entity Inventory Entity
Type Filtered\r\n- Entity View
Clicked\r\n\r\n\r\n![Untitled-2024-07-24-1420](https://github.com/user-attachments/assets/6e85ea00-c626-4bc1-a4f8-9907674eb264)\r\n\r\n\r\n~**New
attribute added to global context**~\r\n- ~eem_enabled~\r\n\r\n~It will
only be populated if the Inventory plugin is accessible to\r\nusers and
after they access the Observability solution.\r\nIf EEM is not enabled
and the user enables it, the property will be\r\nupdated
accordingly.~\r\n\r\nDetails about not implementing `eem_enabled` can be
found in
[this\r\ncomment](https://github.com/elastic/kibana/pull/197055#issuecomment-2432123047).","sha":"7d673b84c3ecec2f6da81b57196301c6e7fe384a","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","v9.0.0","telemetry","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","v8.16.0"],"number":197055,"url":"https://github.com/elastic/kibana/pull/197055","mergeCommit":{"message":"[Entity
Inventory] Add basic telemetry (#197055)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/195608.\r\n\r\nIn this PR, we
introduce basic telemetry tracking for the new
Inventory\r\nplugin.\r\nThese events will help us gain insight into how
users are interacting\r\nwith the Inventory feature, including the state
of the views, search\r\nbehaviors, and entity type
filtering.\r\n\r\n\r\n**New events**\r\n- Entity Inventory Viewed\r\n-
Entity Inventory Search Query Submitted\r\n- Entity Inventory Entity
Type Filtered\r\n- Entity View
Clicked\r\n\r\n\r\n![Untitled-2024-07-24-1420](https://github.com/user-attachments/assets/6e85ea00-c626-4bc1-a4f8-9907674eb264)\r\n\r\n\r\n~**New
attribute added to global context**~\r\n- ~eem_enabled~\r\n\r\n~It will
only be populated if the Inventory plugin is accessible to\r\nusers and
after they access the Observability solution.\r\nIf EEM is not enabled
and the user enables it, the property will be\r\nupdated
accordingly.~\r\n\r\nDetails about not implementing `eem_enabled` can be
found in
[this\r\ncomment](https://github.com/elastic/kibana/pull/197055#issuecomment-2432123047).","sha":"7d673b84c3ecec2f6da81b57196301c6e7fe384a"}},"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/197055","number":197055,"mergeCommit":{"message":"[Entity
Inventory] Add basic telemetry (#197055)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/195608.\r\n\r\nIn this PR, we
introduce basic telemetry tracking for the new
Inventory\r\nplugin.\r\nThese events will help us gain insight into how
users are interacting\r\nwith the Inventory feature, including the state
of the views, search\r\nbehaviors, and entity type
filtering.\r\n\r\n\r\n**New events**\r\n- Entity Inventory Viewed\r\n-
Entity Inventory Search Query Submitted\r\n- Entity Inventory Entity
Type Filtered\r\n- Entity View
Clicked\r\n\r\n\r\n![Untitled-2024-07-24-1420](https://github.com/user-attachments/assets/6e85ea00-c626-4bc1-a4f8-9907674eb264)\r\n\r\n\r\n~**New
attribute added to global context**~\r\n- ~eem_enabled~\r\n\r\n~It will
only be populated if the Inventory plugin is accessible to\r\nusers and
after they access the Observability solution.\r\nIf EEM is not enabled
and the user enables it, the property will be\r\nupdated
accordingly.~\r\n\r\nDetails about not implementing `eem_enabled` can be
found in
[this\r\ncomment](https://github.com/elastic/kibana/pull/197055#issuecomment-2432123047).","sha":"7d673b84c3ecec2f6da81b57196301c6e7fe384a"}},{"branch":"8.16","label":"v8.16.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: Irene Blanco <irene.blanco@elastic.co>
2024-10-29 04:36:49 -05:00
Abhishek Bhatia
6f333b8ae0
[8.16] Kibana space scoped component-template for risk engine (#197170) (#198110)
# Backport

This will backport the following commits from `main` to `8.16`:
- [Kibana space scoped component-template for risk engine
(#197170)](https://github.com/elastic/kibana/pull/197170)

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

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

<!--BACKPORT [{"author":{"name":"Abhishek
Bhatia","email":"117628830+abhishekbhatia1710@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-22T15:45:52Z","message":"Kibana
space scoped component-template for risk engine (#197170)\n\n##
Summary\r\n\r\nThe component template used when enabling the risk engine
is not Kibana\r\nspace-agnostic, as the component template in every
space is named\r\n`.risk-score-mappings`. This caused issues during the
cleanup process,\r\nwhere it attempted to delete the same component
template from each space\r\nbut failed because other spaces' index
templates were still referencing\r\nit.\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\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n\r\n\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#_add_your_labels)\r\n-
[ ] This will appear in the **Release Notes** and follow
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b562288289f326084511c68759db84e20cee2791","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","backport
missing","v9.0.0","Team:Entity
Analytics","backport:version"],"number":197170,"url":"https://github.com/elastic/kibana/pull/197170","mergeCommit":{"message":"Kibana
space scoped component-template for risk engine (#197170)\n\n##
Summary\r\n\r\nThe component template used when enabling the risk engine
is not Kibana\r\nspace-agnostic, as the component template in every
space is named\r\n`.risk-score-mappings`. This caused issues during the
cleanup process,\r\nwhere it attempted to delete the same component
template from each space\r\nbut failed because other spaces' index
templates were still referencing\r\nit.\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\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n\r\n\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#_add_your_labels)\r\n-
[ ] This will appear in the **Release Notes** and follow
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b562288289f326084511c68759db84e20cee2791"}},"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/197170","number":197170,"mergeCommit":{"message":"Kibana
space scoped component-template for risk engine (#197170)\n\n##
Summary\r\n\r\nThe component template used when enabling the risk engine
is not Kibana\r\nspace-agnostic, as the component template in every
space is named\r\n`.risk-score-mappings`. This caused issues during the
cleanup process,\r\nwhere it attempted to delete the same component
template from each space\r\nbut failed because other spaces' index
templates were still referencing\r\nit.\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\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n\r\n\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#_add_your_labels)\r\n-
[ ] This will appear in the **Release Notes** and follow
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b562288289f326084511c68759db84e20cee2791"}}]}]
BACKPORT-->
2024-10-29 04:32:28 -05:00
Kibana Machine
e3ffdc8785
[8.16] [Security Solution][Hotfix] Avoid blocking prebuilt rule upgrade upon conflicts with disabled feature flag (#198106) (#198111)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Security Solution][Hotfix] Avoid blocking prebuilt rule upgrade upon
conflicts with disabled feature flag
(#198106)](https://github.com/elastic/kibana/pull/198106)

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

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

<!--BACKPORT [{"author":{"name":"Maxim
Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2024-10-29T07:36:33Z","message":"[Security
Solution][Hotfix] Avoid blocking prebuilt rule upgrade upon conflicts
with disabled feature flag (#198106)\n\n## Summary\r\n\r\nIt turned out
some of the update rule buttons are disabled. This is a side effect of
the functionality not fully hidden under a feature flag. This PR hides
prebuilt rule customisation functionality disabling update rule buttons
under `prebuiltRulesCustomizationEnabled` feature flag.\r\n\r\n##
Before\r\n\r\n![image](https://github.com/user-attachments/assets/b7ca5ff8-be37-47a7-ad7e-b85386909f38)\r\n\r\n##
After\r\n\r\n<img width=\"1719\" alt=\"image\"
src=\"https://github.com/user-attachments/assets/349223dc-dda5-46fb-832f-d7097a81580e\">\r\n\r\n<img
width=\"1721\" alt=\"image\"
src=\"https://github.com/user-attachments/assets/a28512f6-e605-460e-884d-571ab408a7d9\">","sha":"9622f62153f597ea91b34f7e2c877fe70b30f231","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:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","backport:prev-major"],"title":"[Security Solution][Hotfix] Avoid
blocking prebuilt rule upgrade upon conflicts with disabled feature
flag","number":198106,"url":"https://github.com/elastic/kibana/pull/198106","mergeCommit":{"message":"[Security
Solution][Hotfix] Avoid blocking prebuilt rule upgrade upon conflicts
with disabled feature flag (#198106)\n\n## Summary\r\n\r\nIt turned out
some of the update rule buttons are disabled. This is a side effect of
the functionality not fully hidden under a feature flag. This PR hides
prebuilt rule customisation functionality disabling update rule buttons
under `prebuiltRulesCustomizationEnabled` feature flag.\r\n\r\n##
Before\r\n\r\n![image](https://github.com/user-attachments/assets/b7ca5ff8-be37-47a7-ad7e-b85386909f38)\r\n\r\n##
After\r\n\r\n<img width=\"1719\" alt=\"image\"
src=\"https://github.com/user-attachments/assets/349223dc-dda5-46fb-832f-d7097a81580e\">\r\n\r\n<img
width=\"1721\" alt=\"image\"
src=\"https://github.com/user-attachments/assets/a28512f6-e605-460e-884d-571ab408a7d9\">","sha":"9622f62153f597ea91b34f7e2c877fe70b30f231"}},"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/198106","number":198106,"mergeCommit":{"message":"[Security
Solution][Hotfix] Avoid blocking prebuilt rule upgrade upon conflicts
with disabled feature flag (#198106)\n\n## Summary\r\n\r\nIt turned out
some of the update rule buttons are disabled. This is a side effect of
the functionality not fully hidden under a feature flag. This PR hides
prebuilt rule customisation functionality disabling update rule buttons
under `prebuiltRulesCustomizationEnabled` feature flag.\r\n\r\n##
Before\r\n\r\n![image](https://github.com/user-attachments/assets/b7ca5ff8-be37-47a7-ad7e-b85386909f38)\r\n\r\n##
After\r\n\r\n<img width=\"1719\" alt=\"image\"
src=\"https://github.com/user-attachments/assets/349223dc-dda5-46fb-832f-d7097a81580e\">\r\n\r\n<img
width=\"1721\" alt=\"image\"
src=\"https://github.com/user-attachments/assets/a28512f6-e605-460e-884d-571ab408a7d9\">","sha":"9622f62153f597ea91b34f7e2c877fe70b30f231"}}]}]
BACKPORT-->

Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
2024-10-29 04:18:07 -05:00
Kibana Machine
58c5d2c147
[8.16] Added redirect option after Entity CSV upload (#197937) (#198091)
# Backport

This will backport the following commits from `main` to `8.16`:
- [Added redirect option after Entity CSV upload
(#197937)](https://github.com/elastic/kibana/pull/197937)

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

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

<!--BACKPORT [{"author":{"name":"Jared
Burgett","email":"147995946+jaredburgettelastic@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-28T21:00:06Z","message":"Added
redirect option after Entity CSV upload (#197937)\n\n##
Summary\r\n\r\nAdded a redirect button to view Entities after a
successful Asset\r\nCriticality CSV file upload
process\r\n\r\nAdditionally, made some small changes to the copy for the
Entity Store\r\nmanagement workflows\r\n\r\n<img width=\"1490\"
alt=\"Screenshot 2024-10-27 at 9 49
17 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/77b587b7-8300-40ae-adc2-5119aa5f39ab\">\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"be6708bffcb0a264bee29c029c7945ff22fa6761","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":"Added
redirect option after Entity CSV
upload","number":197937,"url":"https://github.com/elastic/kibana/pull/197937","mergeCommit":{"message":"Added
redirect option after Entity CSV upload (#197937)\n\n##
Summary\r\n\r\nAdded a redirect button to view Entities after a
successful Asset\r\nCriticality CSV file upload
process\r\n\r\nAdditionally, made some small changes to the copy for the
Entity Store\r\nmanagement workflows\r\n\r\n<img width=\"1490\"
alt=\"Screenshot 2024-10-27 at 9 49
17 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/77b587b7-8300-40ae-adc2-5119aa5f39ab\">\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"be6708bffcb0a264bee29c029c7945ff22fa6761"}},"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/197937","number":197937,"mergeCommit":{"message":"Added
redirect option after Entity CSV upload (#197937)\n\n##
Summary\r\n\r\nAdded a redirect button to view Entities after a
successful Asset\r\nCriticality CSV file upload
process\r\n\r\nAdditionally, made some small changes to the copy for the
Entity Store\r\nmanagement workflows\r\n\r\n<img width=\"1490\"
alt=\"Screenshot 2024-10-27 at 9 49
17 PM\"\r\nsrc=\"https://github.com/user-attachments/assets/77b587b7-8300-40ae-adc2-5119aa5f39ab\">\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"be6708bffcb0a264bee29c029c7945ff22fa6761"}},{"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: Jared Burgett <147995946+jaredburgettelastic@users.noreply.github.com>
2024-10-28 17:44:48 -05:00
Kibana Machine
fa5276475b
[8.16] [Security GenAI][BUG] KB index entry created via pdf upload does not give the right response (#198020) (#198075)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Security GenAI][BUG] KB index entry created via pdf upload does not
give the right response
(#198020)](https://github.com/elastic/kibana/pull/198020)

<!--- 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-28T19:12:38Z","message":"[Security
GenAI][BUG] KB index entry created via pdf upload does not give the
right response (#198020)\n\n## Summary\r\n\r\nThese changes fix the
issue with the wrong response of the AI Assistant\r\nusing knowledge
base tool and index entry generated from a PDF file.\r\n\r\nThe issue
happens because we are using the first chunk of uploaded PDF\r\ndocument
as a context that we pass to LLM instead of using inner hits\r\nchunks
which are actual parts of the document relevant to the
questions.\r\n\r\nHere is [the
blog\r\npost](https://www.elastic.co/search-labs/blog/semantic-text-with-amazon-bedrock)\r\nthat
talks about the strategy of using inner hits to get the most\r\nrelevant
documents. (see `Strategy 1: API Calls` section)\r\n\r\n### Upload +
index PDF\r\n\r\n1. Navigate to Integrations page\r\n2. Select \"Upload
a file\"\r\n3. Select and upload a PDF file\r\n4. Press Import
button\r\n5. Switch to Advanced tab\r\n6. Fill in \"Index name\"\r\n7.
Add additional field > Add semantic text field > Fill in form\r\n *
Field: `attachment.content`\r\n * Copy to field: `content`\r\n *
Inference endpoint: `elser_model_2`\r\n8. Press Add button\r\n9. Press
Import button\r\n\r\n### Add KB index entry (with uploaded PDF
data)\r\n\r\n1. Navigate to AI Assistant's Knowledge Base page\r\n2. New
> Index\r\n3. Fill in \"New index entry\" form (below are main
fields)\r\n * Name: `[add entry name]`\r\n * Index: `[select index name
created during uploading a PDF file]`\r\n * Field: `content`\r\n4. Press
Save button\r\n\r\n### Testing notes\r\n\r\nEnable knowledge base
feature via\r\n\r\n```\r\nxpack.securitySolution.enableExperimental:\r\n
- 'assistantKnowledgeBaseByDefault'\r\n```\r\n\r\n### Example PDF for
testing\r\n\r\n**PDF document**:\r\n[Elastic Global Threat
Report\r\n2024](https://github.com/user-attachments/files/17544720/elastic-global-threat-report-2024.pdf)\r\n\r\n**KB
Index entry**:\r\nData Description: \"Use this tool to answer questions
about the Elastic\r\nGlobal Threat Report (GTR) 2024\"\r\nQuery
Instruction: \"Key terms to return data relevant to the
Elastic\r\nGlobal Threat Report (GTR) 2024\"\r\n\r\n**Questions**:\r\n1.
Who are the authors of the GTR 2024?\r\n2. What is the forecast for the
coming year in GTR 2024?\r\n3. What are top 10 Process Injection by
rules in Windows endpoints in\r\nGTR 2024?\r\n4. What is the most widely
adopted cloud service provider this year\r\naccording to GTR 2024?\r\n6.
Give a brief conclusion of the GTR 2024\r\n\r\n**Current
behaviour**:\r\n\r\n<img width=\"656\" alt=\"Screenshot 2024-10-28 at 16
43
48\"\r\nsrc=\"https://github.com/user-attachments/assets/90615356-8807-4786-b58d-ca28c83aaec9\">\r\n\r\n**Fixed
behaviour**:\r\n\r\n<img width=\"655\" alt=\"Screenshot 2024-10-28 at 16
44
47\"\r\nsrc=\"https://github.com/user-attachments/assets/9ebefbcc-20c2-4c79-98f3-11fa6acf3da6\">","sha":"af2bff4ca455168a691e17bd26a84b24f2ff8e99","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","Team:Security Generative
AI","v8.16.0","backport:version","v8.17.0"],"title":"[Security
GenAI][BUG] KB index entry created via pdf upload does not give the
right
response","number":198020,"url":"https://github.com/elastic/kibana/pull/198020","mergeCommit":{"message":"[Security
GenAI][BUG] KB index entry created via pdf upload does not give the
right response (#198020)\n\n## Summary\r\n\r\nThese changes fix the
issue with the wrong response of the AI Assistant\r\nusing knowledge
base tool and index entry generated from a PDF file.\r\n\r\nThe issue
happens because we are using the first chunk of uploaded PDF\r\ndocument
as a context that we pass to LLM instead of using inner hits\r\nchunks
which are actual parts of the document relevant to the
questions.\r\n\r\nHere is [the
blog\r\npost](https://www.elastic.co/search-labs/blog/semantic-text-with-amazon-bedrock)\r\nthat
talks about the strategy of using inner hits to get the most\r\nrelevant
documents. (see `Strategy 1: API Calls` section)\r\n\r\n### Upload +
index PDF\r\n\r\n1. Navigate to Integrations page\r\n2. Select \"Upload
a file\"\r\n3. Select and upload a PDF file\r\n4. Press Import
button\r\n5. Switch to Advanced tab\r\n6. Fill in \"Index name\"\r\n7.
Add additional field > Add semantic text field > Fill in form\r\n *
Field: `attachment.content`\r\n * Copy to field: `content`\r\n *
Inference endpoint: `elser_model_2`\r\n8. Press Add button\r\n9. Press
Import button\r\n\r\n### Add KB index entry (with uploaded PDF
data)\r\n\r\n1. Navigate to AI Assistant's Knowledge Base page\r\n2. New
> Index\r\n3. Fill in \"New index entry\" form (below are main
fields)\r\n * Name: `[add entry name]`\r\n * Index: `[select index name
created during uploading a PDF file]`\r\n * Field: `content`\r\n4. Press
Save button\r\n\r\n### Testing notes\r\n\r\nEnable knowledge base
feature via\r\n\r\n```\r\nxpack.securitySolution.enableExperimental:\r\n
- 'assistantKnowledgeBaseByDefault'\r\n```\r\n\r\n### Example PDF for
testing\r\n\r\n**PDF document**:\r\n[Elastic Global Threat
Report\r\n2024](https://github.com/user-attachments/files/17544720/elastic-global-threat-report-2024.pdf)\r\n\r\n**KB
Index entry**:\r\nData Description: \"Use this tool to answer questions
about the Elastic\r\nGlobal Threat Report (GTR) 2024\"\r\nQuery
Instruction: \"Key terms to return data relevant to the
Elastic\r\nGlobal Threat Report (GTR) 2024\"\r\n\r\n**Questions**:\r\n1.
Who are the authors of the GTR 2024?\r\n2. What is the forecast for the
coming year in GTR 2024?\r\n3. What are top 10 Process Injection by
rules in Windows endpoints in\r\nGTR 2024?\r\n4. What is the most widely
adopted cloud service provider this year\r\naccording to GTR 2024?\r\n6.
Give a brief conclusion of the GTR 2024\r\n\r\n**Current
behaviour**:\r\n\r\n<img width=\"656\" alt=\"Screenshot 2024-10-28 at 16
43
48\"\r\nsrc=\"https://github.com/user-attachments/assets/90615356-8807-4786-b58d-ca28c83aaec9\">\r\n\r\n**Fixed
behaviour**:\r\n\r\n<img width=\"655\" alt=\"Screenshot 2024-10-28 at 16
44
47\"\r\nsrc=\"https://github.com/user-attachments/assets/9ebefbcc-20c2-4c79-98f3-11fa6acf3da6\">","sha":"af2bff4ca455168a691e17bd26a84b24f2ff8e99"}},"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/198020","number":198020,"mergeCommit":{"message":"[Security
GenAI][BUG] KB index entry created via pdf upload does not give the
right response (#198020)\n\n## Summary\r\n\r\nThese changes fix the
issue with the wrong response of the AI Assistant\r\nusing knowledge
base tool and index entry generated from a PDF file.\r\n\r\nThe issue
happens because we are using the first chunk of uploaded PDF\r\ndocument
as a context that we pass to LLM instead of using inner hits\r\nchunks
which are actual parts of the document relevant to the
questions.\r\n\r\nHere is [the
blog\r\npost](https://www.elastic.co/search-labs/blog/semantic-text-with-amazon-bedrock)\r\nthat
talks about the strategy of using inner hits to get the most\r\nrelevant
documents. (see `Strategy 1: API Calls` section)\r\n\r\n### Upload +
index PDF\r\n\r\n1. Navigate to Integrations page\r\n2. Select \"Upload
a file\"\r\n3. Select and upload a PDF file\r\n4. Press Import
button\r\n5. Switch to Advanced tab\r\n6. Fill in \"Index name\"\r\n7.
Add additional field > Add semantic text field > Fill in form\r\n *
Field: `attachment.content`\r\n * Copy to field: `content`\r\n *
Inference endpoint: `elser_model_2`\r\n8. Press Add button\r\n9. Press
Import button\r\n\r\n### Add KB index entry (with uploaded PDF
data)\r\n\r\n1. Navigate to AI Assistant's Knowledge Base page\r\n2. New
> Index\r\n3. Fill in \"New index entry\" form (below are main
fields)\r\n * Name: `[add entry name]`\r\n * Index: `[select index name
created during uploading a PDF file]`\r\n * Field: `content`\r\n4. Press
Save button\r\n\r\n### Testing notes\r\n\r\nEnable knowledge base
feature via\r\n\r\n```\r\nxpack.securitySolution.enableExperimental:\r\n
- 'assistantKnowledgeBaseByDefault'\r\n```\r\n\r\n### Example PDF for
testing\r\n\r\n**PDF document**:\r\n[Elastic Global Threat
Report\r\n2024](https://github.com/user-attachments/files/17544720/elastic-global-threat-report-2024.pdf)\r\n\r\n**KB
Index entry**:\r\nData Description: \"Use this tool to answer questions
about the Elastic\r\nGlobal Threat Report (GTR) 2024\"\r\nQuery
Instruction: \"Key terms to return data relevant to the
Elastic\r\nGlobal Threat Report (GTR) 2024\"\r\n\r\n**Questions**:\r\n1.
Who are the authors of the GTR 2024?\r\n2. What is the forecast for the
coming year in GTR 2024?\r\n3. What are top 10 Process Injection by
rules in Windows endpoints in\r\nGTR 2024?\r\n4. What is the most widely
adopted cloud service provider this year\r\naccording to GTR 2024?\r\n6.
Give a brief conclusion of the GTR 2024\r\n\r\n**Current
behaviour**:\r\n\r\n<img width=\"656\" alt=\"Screenshot 2024-10-28 at 16
43
48\"\r\nsrc=\"https://github.com/user-attachments/assets/90615356-8807-4786-b58d-ca28c83aaec9\">\r\n\r\n**Fixed
behaviour**:\r\n\r\n<img width=\"655\" alt=\"Screenshot 2024-10-28 at 16
44
47\"\r\nsrc=\"https://github.com/user-attachments/assets/9ebefbcc-20c2-4c79-98f3-11fa6acf3da6\">","sha":"af2bff4ca455168a691e17bd26a84b24f2ff8e99"}},{"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: Ievgen Sorokopud <ievgen.sorokopud@elastic.co>
2024-10-28 15:55:02 -05:00
Tiago Costa
12714eb085
skip flaky suite (#189739) 2024-10-28 20:46:46 +00:00
Kibana Machine
ebf33b08e5
[8.16] [Security Solution][Detection Engine] fixes preview logs issue when switching between rules (#197098) (#198050)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Security Solution][Detection Engine] fixes preview logs issue when
switching between rules
(#197098)](https://github.com/elastic/kibana/pull/197098)

<!--- 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-28T16:35:36Z","message":"[Security
Solution][Detection Engine] fixes preview logs issue when switching
between rules (#197098)\n\n## Summary\r\n\r\n - addresses
https://github.com/elastic/kibana/issues/196616","sha":"6a6d1f3b6e41f8e1740d3bba4f5537feddbbbb24","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","backport:prev-minor","Team:Detection
Engine","v8.16.0","backport:version","v8.17.0"],"title":"[Security
Solution][Detection Engine] fixes preview logs issue when switching
between
rules","number":197098,"url":"https://github.com/elastic/kibana/pull/197098","mergeCommit":{"message":"[Security
Solution][Detection Engine] fixes preview logs issue when switching
between rules (#197098)\n\n## Summary\r\n\r\n - addresses
https://github.com/elastic/kibana/issues/196616","sha":"6a6d1f3b6e41f8e1740d3bba4f5537feddbbbb24"}},"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/197098","number":197098,"mergeCommit":{"message":"[Security
Solution][Detection Engine] fixes preview logs issue when switching
between rules (#197098)\n\n## Summary\r\n\r\n - addresses
https://github.com/elastic/kibana/issues/196616","sha":"6a6d1f3b6e41f8e1740d3bba4f5537feddbbbb24"}},{"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: Vitalii Dmyterko <92328789+vitaliidm@users.noreply.github.com>
2024-10-28 13:17:15 -05:00
Kibana Machine
dedfdecbaf
[8.16] [AI Assistant] Set scope and rename to Observability and Search (#196322) (#197608)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[AI Assistant] Set scope and rename to Observability and Search
(#196322)](https://github.com/elastic/kibana/pull/196322)

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

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

<!--BACKPORT [{"author":{"name":"Sander
Philipse","email":"94373878+sphilipse@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-24T11:13:43Z","message":"[AI
Assistant] Set scope and rename to Observability and Search
(#196322)\n\n## Summary\r\n\r\nThis renames the Observability AI
Assistant in some places to AI\r\nAssistant for Observability and
Search. It also makes the scope\r\nmulti-valued on both
sides.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"26ec293f07a990930c4caf9765d79882723dbfa6","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:Search","Team:Obs
AI
Assistant","ci:project-deploy-observability","Team:obs-ux-infra_services","apm:review","v8.16.0","backport:version","v8.17.0"],"title":"[AI
Assistant] Set scope and rename to Observability and
Search","number":196322,"url":"https://github.com/elastic/kibana/pull/196322","mergeCommit":{"message":"[AI
Assistant] Set scope and rename to Observability and Search
(#196322)\n\n## Summary\r\n\r\nThis renames the Observability AI
Assistant in some places to AI\r\nAssistant for Observability and
Search. It also makes the scope\r\nmulti-valued on both
sides.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"26ec293f07a990930c4caf9765d79882723dbfa6"}},"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/196322","number":196322,"mergeCommit":{"message":"[AI
Assistant] Set scope and rename to Observability and Search
(#196322)\n\n## Summary\r\n\r\nThis renames the Observability AI
Assistant in some places to AI\r\nAssistant for Observability and
Search. It also makes the scope\r\nmulti-valued on both
sides.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"26ec293f07a990930c4caf9765d79882723dbfa6"}},{"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: Sander Philipse <94373878+sphilipse@users.noreply.github.com>
2024-10-28 12:56:52 -05:00
Kibana Machine
9bdaef80cd
[8.16] [Response Ops][Task Manager] Propagate &#x60;msearch&#x60; error status code so backpressure mechanism responds correctly (#197501) (#198034)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Response Ops][Task Manager] Propagate &#x60;msearch&#x60; error
status code so backpressure mechanism responds correctly
(#197501)](https://github.com/elastic/kibana/pull/197501)

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

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

<!--BACKPORT [{"author":{"name":"Ying
Mao","email":"ying.mao@elastic.co"},"sourceCommit":{"committedDate":"2024-10-28T15:43:51Z","message":"[Response
Ops][Task Manager] Propagate `msearch` error status code so backpressure
mechanism responds correctly (#197501)\n\nResolves
https://github.com/elastic/response-ops-team/issues/240\r\n\r\n##
Summary\r\n\r\nCreating an `MsearchError` class that preserves the
status code from any\r\nmsearch errors. These errors are already piped
to the managed\r\nconfiguration observable that watches for and responds
to ES errors from\r\nthe update by query claim strategy so I updated
that filter to filter\r\nfor msearch 429 and 503 errors as
well.\r\n\r\n## To Verify\r\n\r\n1. Make sure you're using the mget
claim strategy\r\n(`xpack.task_manager.claim_strategy: 'mget'`) and
start ES and Kibana.\r\n2. Inject a 429 error into an msearch
response.\r\n\r\n```\r\n---
a/x-pack/plugins/task_manager/server/task_store.ts\r\n+++
b/x-pack/plugins/task_manager/server/task_store.ts\r\n@@ -571,6 +571,8
@@ export class TaskStore {\r\n });\r\n const { responses } =
result;\r\n\r\n+ responses[0].status = 429;\r\n+\r\n const versionMap =
this.createVersionMap([]);\r\n```\r\n\r\n3. See task manager log the
msearch errors and eventually reduce
polling\r\ncapacity\r\n\r\n```\r\n[2024-10-23T15:35:59.255-04:00][ERROR][plugins.taskManager]
Failed to poll for work: Unexpected status code from taskStore::msearch:
429\r\n[2024-10-23T15:35:59.756-04:00][ERROR][plugins.taskManager]
Failed to poll for work: Unexpected status code from taskStore::msearch:
429\r\n[2024-10-23T15:36:00.257-04:00][ERROR][plugins.taskManager]
Failed to poll for work: Unexpected status code from taskStore::msearch:
429\r\n[2024-10-23T15:36:00.757-04:00][ERROR][plugins.taskManager]
Failed to poll for work: Unexpected status code from taskStore::msearch:
429\r\n...\r\n\r\n[2024-10-23T15:36:06.267-04:00][WARN
][plugins.taskManager] Poll interval configuration is temporarily
increased after Elasticsearch returned 19 \"too many request\" and/or
\"execute [inline] script\"
error(s).\r\n[2024-10-23T15:36:06.268-04:00][WARN ][plugins.taskManager]
Capacity configuration is temporarily reduced after Elasticsearch
returned 19 \"too many request\" and/or \"execute [inline] script\"
error(s).\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"043e18b6a097f4405ff37a99396c0c8c92db6b44","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","v8.16.0","v8.17.0"],"title":"[Response
Ops][Task Manager] Propagate `msearch` error status code so backpressure
mechanism responds
correctly","number":197501,"url":"https://github.com/elastic/kibana/pull/197501","mergeCommit":{"message":"[Response
Ops][Task Manager] Propagate `msearch` error status code so backpressure
mechanism responds correctly (#197501)\n\nResolves
https://github.com/elastic/response-ops-team/issues/240\r\n\r\n##
Summary\r\n\r\nCreating an `MsearchError` class that preserves the
status code from any\r\nmsearch errors. These errors are already piped
to the managed\r\nconfiguration observable that watches for and responds
to ES errors from\r\nthe update by query claim strategy so I updated
that filter to filter\r\nfor msearch 429 and 503 errors as
well.\r\n\r\n## To Verify\r\n\r\n1. Make sure you're using the mget
claim strategy\r\n(`xpack.task_manager.claim_strategy: 'mget'`) and
start ES and Kibana.\r\n2. Inject a 429 error into an msearch
response.\r\n\r\n```\r\n---
a/x-pack/plugins/task_manager/server/task_store.ts\r\n+++
b/x-pack/plugins/task_manager/server/task_store.ts\r\n@@ -571,6 +571,8
@@ export class TaskStore {\r\n });\r\n const { responses } =
result;\r\n\r\n+ responses[0].status = 429;\r\n+\r\n const versionMap =
this.createVersionMap([]);\r\n```\r\n\r\n3. See task manager log the
msearch errors and eventually reduce
polling\r\ncapacity\r\n\r\n```\r\n[2024-10-23T15:35:59.255-04:00][ERROR][plugins.taskManager]
Failed to poll for work: Unexpected status code from taskStore::msearch:
429\r\n[2024-10-23T15:35:59.756-04:00][ERROR][plugins.taskManager]
Failed to poll for work: Unexpected status code from taskStore::msearch:
429\r\n[2024-10-23T15:36:00.257-04:00][ERROR][plugins.taskManager]
Failed to poll for work: Unexpected status code from taskStore::msearch:
429\r\n[2024-10-23T15:36:00.757-04:00][ERROR][plugins.taskManager]
Failed to poll for work: Unexpected status code from taskStore::msearch:
429\r\n...\r\n\r\n[2024-10-23T15:36:06.267-04:00][WARN
][plugins.taskManager] Poll interval configuration is temporarily
increased after Elasticsearch returned 19 \"too many request\" and/or
\"execute [inline] script\"
error(s).\r\n[2024-10-23T15:36:06.268-04:00][WARN ][plugins.taskManager]
Capacity configuration is temporarily reduced after Elasticsearch
returned 19 \"too many request\" and/or \"execute [inline] script\"
error(s).\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"043e18b6a097f4405ff37a99396c0c8c92db6b44"}},"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/197501","number":197501,"mergeCommit":{"message":"[Response
Ops][Task Manager] Propagate `msearch` error status code so backpressure
mechanism responds correctly (#197501)\n\nResolves
https://github.com/elastic/response-ops-team/issues/240\r\n\r\n##
Summary\r\n\r\nCreating an `MsearchError` class that preserves the
status code from any\r\nmsearch errors. These errors are already piped
to the managed\r\nconfiguration observable that watches for and responds
to ES errors from\r\nthe update by query claim strategy so I updated
that filter to filter\r\nfor msearch 429 and 503 errors as
well.\r\n\r\n## To Verify\r\n\r\n1. Make sure you're using the mget
claim strategy\r\n(`xpack.task_manager.claim_strategy: 'mget'`) and
start ES and Kibana.\r\n2. Inject a 429 error into an msearch
response.\r\n\r\n```\r\n---
a/x-pack/plugins/task_manager/server/task_store.ts\r\n+++
b/x-pack/plugins/task_manager/server/task_store.ts\r\n@@ -571,6 +571,8
@@ export class TaskStore {\r\n });\r\n const { responses } =
result;\r\n\r\n+ responses[0].status = 429;\r\n+\r\n const versionMap =
this.createVersionMap([]);\r\n```\r\n\r\n3. See task manager log the
msearch errors and eventually reduce
polling\r\ncapacity\r\n\r\n```\r\n[2024-10-23T15:35:59.255-04:00][ERROR][plugins.taskManager]
Failed to poll for work: Unexpected status code from taskStore::msearch:
429\r\n[2024-10-23T15:35:59.756-04:00][ERROR][plugins.taskManager]
Failed to poll for work: Unexpected status code from taskStore::msearch:
429\r\n[2024-10-23T15:36:00.257-04:00][ERROR][plugins.taskManager]
Failed to poll for work: Unexpected status code from taskStore::msearch:
429\r\n[2024-10-23T15:36:00.757-04:00][ERROR][plugins.taskManager]
Failed to poll for work: Unexpected status code from taskStore::msearch:
429\r\n...\r\n\r\n[2024-10-23T15:36:06.267-04:00][WARN
][plugins.taskManager] Poll interval configuration is temporarily
increased after Elasticsearch returned 19 \"too many request\" and/or
\"execute [inline] script\"
error(s).\r\n[2024-10-23T15:36:06.268-04:00][WARN ][plugins.taskManager]
Capacity configuration is temporarily reduced after Elasticsearch
returned 19 \"too many request\" and/or \"execute [inline] script\"
error(s).\r\n```\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"043e18b6a097f4405ff37a99396c0c8c92db6b44"}},{"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: Ying Mao <ying.mao@elastic.co>
2024-10-28 12:31:24 -05:00
Lisa Cawley
f5e7c9b963
[8.16] [OpenAPI][DOCS] Add descriptions, examples, responses for role APIs (#195527) (#197890)
# Backport

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

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

### 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-25T17:13:57Z","message":"[OpenAPI][DOCS]
Add descriptions, examples, responses for role APIs
(#195527)\n\nCo-authored-by: Elena Shostak
<165678770+elena-shostak@users.noreply.github.com>","sha":"02fab7248d5b4e537030252df81bef55d04d0595","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","Feature:Security/Authorization","v9.0.0","docs","v8.16.0","backport:version","v8.17.0"],"number":195527,"url":"https://github.com/elastic/kibana/pull/195527","mergeCommit":{"message":"[OpenAPI][DOCS]
Add descriptions, examples, responses for role APIs
(#195527)\n\nCo-authored-by: Elena Shostak
<165678770+elena-shostak@users.noreply.github.com>","sha":"02fab7248d5b4e537030252df81bef55d04d0595"}},"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/195527","number":195527,"mergeCommit":{"message":"[OpenAPI][DOCS]
Add descriptions, examples, responses for role APIs
(#195527)\n\nCo-authored-by: Elena Shostak
<165678770+elena-shostak@users.noreply.github.com>","sha":"02fab7248d5b4e537030252df81bef55d04d0595"}},{"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-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-10-28 18:28:37 +01:00
Kibana Machine
ec81e460d6
[8.16] Delete data when clearing security entity store (#197938) (#198017)
# Backport

This will backport the following commits from `main` to `8.16`:
- [Delete data when clearing security entity store
(#197938)](https://github.com/elastic/kibana/pull/197938)

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

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

<!--BACKPORT [{"author":{"name":"Jared
Burgett","email":"147995946+jaredburgettelastic@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-28T14:59:01Z","message":"Delete
data when clearing security entity store (#197938)\n\n##
Summary\r\n\r\nFixed a bug where the \"Clear all entities\" button in
the security entity\r\nstore didn't delete data due to a missing query
parameter.","sha":"ffc88107f0f136481662f1fe3d1a19e23319eecd","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":"Delete
data when clearing security entity
store","number":197938,"url":"https://github.com/elastic/kibana/pull/197938","mergeCommit":{"message":"Delete
data when clearing security entity store (#197938)\n\n##
Summary\r\n\r\nFixed a bug where the \"Clear all entities\" button in
the security entity\r\nstore didn't delete data due to a missing query
parameter.","sha":"ffc88107f0f136481662f1fe3d1a19e23319eecd"}},"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/197938","number":197938,"mergeCommit":{"message":"Delete
data when clearing security entity store (#197938)\n\n##
Summary\r\n\r\nFixed a bug where the \"Clear all entities\" button in
the security entity\r\nstore didn't delete data due to a missing query
parameter.","sha":"ffc88107f0f136481662f1fe3d1a19e23319eecd"}},{"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: Jared Burgett <147995946+jaredburgettelastic@users.noreply.github.com>
2024-10-28 11:45:32 -05:00
Kibana Machine
495308d7b6
[8.16] [Cloud Security] exclude unknown findings from compliance score calculation (#197829) (#198004)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Cloud Security] exclude unknown findings from compliance score
calculation (#197829)](https://github.com/elastic/kibana/pull/197829)

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

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

<!--BACKPORT [{"author":{"name":"Maxim
Kholod","email":"maxim.kholod@elastic.co"},"sourceCommit":{"committedDate":"2024-10-28T14:09:47Z","message":"[Cloud
Security] exclude unknown findings from compliance score calculation
(#197829)\n\n## Summary\r\n\r\nFindings from 3rd party date can have
`result.evaluation: unknown`. This\r\nleads to incorrect
posture/compliance score in our flows. This PR\r\nremoves these findings
from the score calculation and graphical\r\nrepresentation. properly
introducing `unknown` in the compliance score\r\nUX flows will be solved
separately\r\n\r\n- fixes
https://github.com/elastic/security-team/issues/10913\r\n\r\n###
Screenshots\r\n\r\n<img width=\"1473\" alt=\"Screenshot 2024-10-25 at 14
19
03\"\r\nsrc=\"https://github.com/user-attachments/assets/c69e45b0-7da1-4eb8-b83a-f895e7b7c3a4\">\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- [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-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] [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-
[x] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] 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)","sha":"3791a9bc6a7347bc4f0b4d9c754cc629204a05fd","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","backport:prev-minor","v8.16.0","backport:version","v8.17.0"],"title":"[Cloud
Security] exclude unknown findings from compliance score
calculation","number":197829,"url":"https://github.com/elastic/kibana/pull/197829","mergeCommit":{"message":"[Cloud
Security] exclude unknown findings from compliance score calculation
(#197829)\n\n## Summary\r\n\r\nFindings from 3rd party date can have
`result.evaluation: unknown`. This\r\nleads to incorrect
posture/compliance score in our flows. This PR\r\nremoves these findings
from the score calculation and graphical\r\nrepresentation. properly
introducing `unknown` in the compliance score\r\nUX flows will be solved
separately\r\n\r\n- fixes
https://github.com/elastic/security-team/issues/10913\r\n\r\n###
Screenshots\r\n\r\n<img width=\"1473\" alt=\"Screenshot 2024-10-25 at 14
19
03\"\r\nsrc=\"https://github.com/user-attachments/assets/c69e45b0-7da1-4eb8-b83a-f895e7b7c3a4\">\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- [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-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] [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-
[x] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] 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)","sha":"3791a9bc6a7347bc4f0b4d9c754cc629204a05fd"}},"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/197829","number":197829,"mergeCommit":{"message":"[Cloud
Security] exclude unknown findings from compliance score calculation
(#197829)\n\n## Summary\r\n\r\nFindings from 3rd party date can have
`result.evaluation: unknown`. This\r\nleads to incorrect
posture/compliance score in our flows. This PR\r\nremoves these findings
from the score calculation and graphical\r\nrepresentation. properly
introducing `unknown` in the compliance score\r\nUX flows will be solved
separately\r\n\r\n- fixes
https://github.com/elastic/security-team/issues/10913\r\n\r\n###
Screenshots\r\n\r\n<img width=\"1473\" alt=\"Screenshot 2024-10-25 at 14
19
03\"\r\nsrc=\"https://github.com/user-attachments/assets/c69e45b0-7da1-4eb8-b83a-f895e7b7c3a4\">\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- [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-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] [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-
[x] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] 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)","sha":"3791a9bc6a7347bc4f0b4d9c754cc629204a05fd"}},{"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: Maxim Kholod <maxim.kholod@elastic.co>
2024-10-28 10:51:08 -05:00
Philippe Oberti
9604402862
[8.16] [Security Solution][Notes] - fix createdBy filter for notes management page (#197706) (#197911)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Security Solution][Notes] - fix createdBy filter for notes
management page
(#197706)](https://github.com/elastic/kibana/pull/197706)

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

### 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-25T20:37:23Z","message":"[Security
Solution][Notes] - fix createdBy filter for notes management page
(#197706)","sha":"1065bbf03ca0583935d9b482939823e6b46c3c52","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"],"number":197706,"url":"https://github.com/elastic/kibana/pull/197706","mergeCommit":{"message":"[Security
Solution][Notes] - fix createdBy filter for notes management page
(#197706)","sha":"1065bbf03ca0583935d9b482939823e6b46c3c52"}},"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/197706","number":197706,"mergeCommit":{"message":"[Security
Solution][Notes] - fix createdBy filter for notes management page
(#197706)","sha":"1065bbf03ca0583935d9b482939823e6b46c3c52"}},{"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-28 10:23:31 -05:00
Kibana Machine
33eea1e06a
[8.16] [Discover][ES|QL] Rename Documents tab to Results (#197833) (#197978)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Discover][ES|QL] Rename Documents tab to Results
(#197833)](https://github.com/elastic/kibana/pull/197833)

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

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

<!--BACKPORT [{"author":{"name":"Julia
Rechkunova","email":"julia.rechkunova@elastic.co"},"sourceCommit":{"committedDate":"2024-10-28T11:45:39Z","message":"[Discover][ES|QL]
Rename Documents tab to Results (#197833)\n\n## Summary\r\n\r\nThis PR
renames Documents label to Results for ES|QL mode.\r\n\r\n<img
width=\"1091\" alt=\"Screenshot 2024-10-25 at 15 44
32\"\r\nsrc=\"https://github.com/user-attachments/assets/8678bb86-7e4b-4341-9bb3-50becced655b\">\r\n<img
width=\"1676\" alt=\"Screenshot 2024-10-25 at 15 52
55\"\r\nsrc=\"https://github.com/user-attachments/assets/c79d2ee0-62e1-4506-bcb5-29552287f140\">\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":"8a96f69250ffe674c3d2fff340db39f7f8b99652","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","v9.0.0","Team:DataDiscovery","v8.16.0","backport:version","v8.17.0"],"title":"[Discover][ES|QL]
Rename Documents tab to
Results","number":197833,"url":"https://github.com/elastic/kibana/pull/197833","mergeCommit":{"message":"[Discover][ES|QL]
Rename Documents tab to Results (#197833)\n\n## Summary\r\n\r\nThis PR
renames Documents label to Results for ES|QL mode.\r\n\r\n<img
width=\"1091\" alt=\"Screenshot 2024-10-25 at 15 44
32\"\r\nsrc=\"https://github.com/user-attachments/assets/8678bb86-7e4b-4341-9bb3-50becced655b\">\r\n<img
width=\"1676\" alt=\"Screenshot 2024-10-25 at 15 52
55\"\r\nsrc=\"https://github.com/user-attachments/assets/c79d2ee0-62e1-4506-bcb5-29552287f140\">\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":"8a96f69250ffe674c3d2fff340db39f7f8b99652"}},"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/197833","number":197833,"mergeCommit":{"message":"[Discover][ES|QL]
Rename Documents tab to Results (#197833)\n\n## Summary\r\n\r\nThis PR
renames Documents label to Results for ES|QL mode.\r\n\r\n<img
width=\"1091\" alt=\"Screenshot 2024-10-25 at 15 44
32\"\r\nsrc=\"https://github.com/user-attachments/assets/8678bb86-7e4b-4341-9bb3-50becced655b\">\r\n<img
width=\"1676\" alt=\"Screenshot 2024-10-25 at 15 52
55\"\r\nsrc=\"https://github.com/user-attachments/assets/c79d2ee0-62e1-4506-bcb5-29552287f140\">\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":"8a96f69250ffe674c3d2fff340db39f7f8b99652"}},{"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: Julia Rechkunova <julia.rechkunova@elastic.co>
2024-10-28 08:28:26 -05:00
Kibana Machine
51da2182b6
[8.16] [Observability Onboarding] Show search bar even when category is not selected (#197825) (#197973)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Observability Onboarding] Show search bar even when category is not
selected (#197825)](https://github.com/elastic/kibana/pull/197825)

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

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

<!--BACKPORT [{"author":{"name":"Mykola
Harmash","email":"mykola.harmash@gmail.com"},"sourceCommit":{"committedDate":"2024-10-28T11:21:07Z","message":"[Observability
Onboarding] Show search bar even when category is not selected
(#197825)\n\nCloses
https://github.com/elastic/observability-dev/issues/4065 🔒\r\n\r\nFixes
an issue when search bar is not visible unless a category
is\r\nselected.\r\n\r\n![CleanShot 2024-10-25 at 14
53\r\n44@2x](https://github.com/user-attachments/assets/774d2fe2-e4f0-4a46-a851-a0f756a96b12)","sha":"97f227ef714b3ffe83cbd6a9db5db9d11e6d23fd","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-logs","v8.16.0"],"title":"[Observability
Onboarding] Show search bar even when category is not
selected","number":197825,"url":"https://github.com/elastic/kibana/pull/197825","mergeCommit":{"message":"[Observability
Onboarding] Show search bar even when category is not selected
(#197825)\n\nCloses
https://github.com/elastic/observability-dev/issues/4065 🔒\r\n\r\nFixes
an issue when search bar is not visible unless a category
is\r\nselected.\r\n\r\n![CleanShot 2024-10-25 at 14
53\r\n44@2x](https://github.com/user-attachments/assets/774d2fe2-e4f0-4a46-a851-a0f756a96b12)","sha":"97f227ef714b3ffe83cbd6a9db5db9d11e6d23fd"}},"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/197825","number":197825,"mergeCommit":{"message":"[Observability
Onboarding] Show search bar even when category is not selected
(#197825)\n\nCloses
https://github.com/elastic/observability-dev/issues/4065 🔒\r\n\r\nFixes
an issue when search bar is not visible unless a category
is\r\nselected.\r\n\r\n![CleanShot 2024-10-25 at 14
53\r\n44@2x](https://github.com/user-attachments/assets/774d2fe2-e4f0-4a46-a851-a0f756a96b12)","sha":"97f227ef714b3ffe83cbd6a9db5db9d11e6d23fd"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Mykola Harmash <mykola.harmash@gmail.com>
2024-10-28 08:07:46 -05:00
Kibana Machine
12da822e3d
[8.16] [Cloud Security] add posture type for CSPM dashboard accounts link (#197633) (#197970)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Cloud Security] add posture type for CSPM dashboard accounts link
(#197633)](https://github.com/elastic/kibana/pull/197633)

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

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

<!--BACKPORT [{"author":{"name":"Maxim
Kholod","email":"maxim.kholod@elastic.co"},"sourceCommit":{"committedDate":"2024-10-28T11:18:48Z","message":"[Cloud
Security] add posture type for CSPM dashboard accounts link
(#197633)\n\n## Summary\r\n\r\n- fixes
https://github.com/elastic/security-team/issues/10914","sha":"b6de3b713dd4cd3996b40bce53c7f0f31b2bcf1f","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","backport:prev-minor","v8.16.0","backport:version","v8.17.0"],"title":"[Cloud
Security] add posture type for CSPM dashboard accounts
link","number":197633,"url":"https://github.com/elastic/kibana/pull/197633","mergeCommit":{"message":"[Cloud
Security] add posture type for CSPM dashboard accounts link
(#197633)\n\n## Summary\r\n\r\n- fixes
https://github.com/elastic/security-team/issues/10914","sha":"b6de3b713dd4cd3996b40bce53c7f0f31b2bcf1f"}},"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/197633","number":197633,"mergeCommit":{"message":"[Cloud
Security] add posture type for CSPM dashboard accounts link
(#197633)\n\n## Summary\r\n\r\n- fixes
https://github.com/elastic/security-team/issues/10914","sha":"b6de3b713dd4cd3996b40bce53c7f0f31b2bcf1f"}},{"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: Maxim Kholod <maxim.kholod@elastic.co>
2024-10-28 08:01:44 -05:00
Kibana Machine
7f52ae8d6a
[8.16] [Cloud Security] Clicking on Contextual Flyout popout Icon now opens page in new tab (#196763) (#197934)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Cloud Security] Clicking on Contextual Flyout popout Icon now opens
page in new tab
(#196763)](https://github.com/elastic/kibana/pull/196763)

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

### 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-27T16:47:01Z","message":"[Cloud
Security] Clicking on Contextual Flyout popout Icon now opens page in
new tab (#196763)\n\n## Summary\r\n\r\nCurrently when user clicks on
Popout icon on Misconfiguration or\r\nVulnerabilities Contextual flyout,
user gets redirected to Findings page\r\nbut in the same tab. Popout
Icon implies that it should navigate user to\r\nother page on separate
Tabs as such the current behaviour is not right.\r\n\r\nThis PR
addresses that issue\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"37a4691ab6b33886b20126b54120f37002f26125","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","backport:prev-minor","v8.16.0"],"title":"[Cloud Security]
Clicking on Contextual Flyout popout Icon now opens page in new
tab","number":196763,"url":"https://github.com/elastic/kibana/pull/196763","mergeCommit":{"message":"[Cloud
Security] Clicking on Contextual Flyout popout Icon now opens page in
new tab (#196763)\n\n## Summary\r\n\r\nCurrently when user clicks on
Popout icon on Misconfiguration or\r\nVulnerabilities Contextual flyout,
user gets redirected to Findings page\r\nbut in the same tab. Popout
Icon implies that it should navigate user to\r\nother page on separate
Tabs as such the current behaviour is not right.\r\n\r\nThis PR
addresses that issue\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"37a4691ab6b33886b20126b54120f37002f26125"}},"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/196763","number":196763,"mergeCommit":{"message":"[Cloud
Security] Clicking on Contextual Flyout popout Icon now opens page in
new tab (#196763)\n\n## Summary\r\n\r\nCurrently when user clicks on
Popout icon on Misconfiguration or\r\nVulnerabilities Contextual flyout,
user gets redirected to Findings page\r\nbut in the same tab. Popout
Icon implies that it should navigate user to\r\nother page on separate
Tabs as such the current behaviour is not right.\r\n\r\nThis PR
addresses that issue\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"37a4691ab6b33886b20126b54120f37002f26125"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Rickyanto Ang <rickyangwyn@gmail.com>
2024-10-27 13:26:33 -05:00
Kibana Machine
bfc8ec8ea7
[8.16] [Response Ops][Maintenance Window] Fix Maintenance Window Wildcard Scoped Queries (#194777) (#197927)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Response Ops][Maintenance Window] Fix Maintenance Window Wildcard
Scoped Queries (#194777)](https://github.com/elastic/kibana/pull/194777)

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

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

<!--BACKPORT [{"author":{"name":"Jiawei
Wu","email":"74562234+JiaweiWu@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-26T09:47:29Z","message":"[Response
Ops][Maintenance Window] Fix Maintenance Window Wildcard Scoped Queries
(#194777)\n\n## Summary\r\n\r\nIssue:
https://github.com/elastic/sdh-kibana/issues/4923\r\n\r\nFixes
maintenance window scoped query using wildcards by injecting
the\r\n`analyze_wildcard` property to the DSL used to determine which
alerts\r\nshould be associated with the maintenance window.\r\n\r\nAlso
fixes the update route to correctly take into account the
user's\r\n`allowLeadingWildcard` flag. It was implemented for the create
route but\r\nnot the update route.\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/194763\r\n\r\n### To
test:\r\n1. Install sample
data:\r\n\r\n![image](https://github.com/user-attachments/assets/4be72fc8-e4ab-47a3-b5db-48f97b1827ae)\r\n\r\n2.
Create a maintenance window with the following scoped query:
\r\n\r\n![image](https://github.com/user-attachments/assets/e2d37fd0-b957-4e76-bea3-8d954651c557)\r\n\r\n3.
Create a ES query rule and trigger
actions:\r\n\r\n![image](https://github.com/user-attachments/assets/551f5145-9ab7-48c4-a48e-e674b4f0509a)\r\n\r\n4.
Assert the `maintenance_window_id` on the 4 alerts are
set\r\n\r\n![image](https://github.com/user-attachments/assets/7ace95d3-d992-4305-a564-cf3004c9ae9e)\r\n\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios)\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"7ad937db574603e53aeebe69d591554801cf857b","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.17.0"],"title":"[Response
Ops][Maintenance Window] Fix Maintenance Window Wildcard Scoped
Queries","number":194777,"url":"https://github.com/elastic/kibana/pull/194777","mergeCommit":{"message":"[Response
Ops][Maintenance Window] Fix Maintenance Window Wildcard Scoped Queries
(#194777)\n\n## Summary\r\n\r\nIssue:
https://github.com/elastic/sdh-kibana/issues/4923\r\n\r\nFixes
maintenance window scoped query using wildcards by injecting
the\r\n`analyze_wildcard` property to the DSL used to determine which
alerts\r\nshould be associated with the maintenance window.\r\n\r\nAlso
fixes the update route to correctly take into account the
user's\r\n`allowLeadingWildcard` flag. It was implemented for the create
route but\r\nnot the update route.\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/194763\r\n\r\n### To
test:\r\n1. Install sample
data:\r\n\r\n![image](https://github.com/user-attachments/assets/4be72fc8-e4ab-47a3-b5db-48f97b1827ae)\r\n\r\n2.
Create a maintenance window with the following scoped query:
\r\n\r\n![image](https://github.com/user-attachments/assets/e2d37fd0-b957-4e76-bea3-8d954651c557)\r\n\r\n3.
Create a ES query rule and trigger
actions:\r\n\r\n![image](https://github.com/user-attachments/assets/551f5145-9ab7-48c4-a48e-e674b4f0509a)\r\n\r\n4.
Assert the `maintenance_window_id` on the 4 alerts are
set\r\n\r\n![image](https://github.com/user-attachments/assets/7ace95d3-d992-4305-a564-cf3004c9ae9e)\r\n\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios)\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"7ad937db574603e53aeebe69d591554801cf857b"}},"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/194777","number":194777,"mergeCommit":{"message":"[Response
Ops][Maintenance Window] Fix Maintenance Window Wildcard Scoped Queries
(#194777)\n\n## Summary\r\n\r\nIssue:
https://github.com/elastic/sdh-kibana/issues/4923\r\n\r\nFixes
maintenance window scoped query using wildcards by injecting
the\r\n`analyze_wildcard` property to the DSL used to determine which
alerts\r\nshould be associated with the maintenance window.\r\n\r\nAlso
fixes the update route to correctly take into account the
user's\r\n`allowLeadingWildcard` flag. It was implemented for the create
route but\r\nnot the update route.\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/194763\r\n\r\n### To
test:\r\n1. Install sample
data:\r\n\r\n![image](https://github.com/user-attachments/assets/4be72fc8-e4ab-47a3-b5db-48f97b1827ae)\r\n\r\n2.
Create a maintenance window with the following scoped query:
\r\n\r\n![image](https://github.com/user-attachments/assets/e2d37fd0-b957-4e76-bea3-8d954651c557)\r\n\r\n3.
Create a ES query rule and trigger
actions:\r\n\r\n![image](https://github.com/user-attachments/assets/551f5145-9ab7-48c4-a48e-e674b4f0509a)\r\n\r\n4.
Assert the `maintenance_window_id` on the 4 alerts are
set\r\n\r\n![image](https://github.com/user-attachments/assets/7ace95d3-d992-4305-a564-cf3004c9ae9e)\r\n\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios)\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"7ad937db574603e53aeebe69d591554801cf857b"}},{"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: Jiawei Wu <74562234+JiaweiWu@users.noreply.github.com>
2024-10-26 06:28:39 -05:00
Kibana Machine
724be35d2d
[8.16] [APM] Update onboarding link to use locator with &quot;application&quot; as category parameter (#197780) (#197819)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[APM] Update onboarding link to use locator with
&quot;application&quot; as category parameter
(#197780)](https://github.com/elastic/kibana/pull/197780)

<!--- 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-25T12:27:55Z","message":"[APM]
Update onboarding link to use locator with \"application\" as category
parameter (#197780)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/197590.\r\n\r\nThis PR
addresses an issue with the onboarding link used by the\r\n`addApmData`
constant, where the \"Application\" option fails to\r\npreselect. The
issue is caused by the URL being incorrectly formed, with\r\nthe
category parameter set to `apm` instead of `application`.\r\n\r\nTo
resolve this, the PR introduces two main changes:\r\n- Update to use the
correct locator\r\n- Modify the category parameter to use `application`
instead of
`apm`\r\n\r\n|Before|After|\r\n|-|-|\r\n\r\n|![before](508bb258-e2c2-4057-9242-653864548e4a)|","sha":"4798c59158f2bd7dc09bfd07c8ab69bcfb23c0b8","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","v8.17.0"],"title":"[APM]
Update onboarding link to use locator with \"application\" as category
parameter","number":197780,"url":"https://github.com/elastic/kibana/pull/197780","mergeCommit":{"message":"[APM]
Update onboarding link to use locator with \"application\" as category
parameter (#197780)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/197590.\r\n\r\nThis PR
addresses an issue with the onboarding link used by the\r\n`addApmData`
constant, where the \"Application\" option fails to\r\npreselect. The
issue is caused by the URL being incorrectly formed, with\r\nthe
category parameter set to `apm` instead of `application`.\r\n\r\nTo
resolve this, the PR introduces two main changes:\r\n- Update to use the
correct locator\r\n- Modify the category parameter to use `application`
instead of
`apm`\r\n\r\n|Before|After|\r\n|-|-|\r\n\r\n|![before](508bb258-e2c2-4057-9242-653864548e4a)|","sha":"4798c59158f2bd7dc09bfd07c8ab69bcfb23c0b8"}},"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/197780","number":197780,"mergeCommit":{"message":"[APM]
Update onboarding link to use locator with \"application\" as category
parameter (#197780)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/197590.\r\n\r\nThis PR
addresses an issue with the onboarding link used by the\r\n`addApmData`
constant, where the \"Application\" option fails to\r\npreselect. The
issue is caused by the URL being incorrectly formed, with\r\nthe
category parameter set to `apm` instead of `application`.\r\n\r\nTo
resolve this, the PR introduces two main changes:\r\n- Update to use the
correct locator\r\n- Modify the category parameter to use `application`
instead of
`apm`\r\n\r\n|Before|After|\r\n|-|-|\r\n\r\n|![before](508bb258-e2c2-4057-9242-653864548e4a)|","sha":"4798c59158f2bd7dc09bfd07c8ab69bcfb23c0b8"}},{"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: Irene Blanco <irene.blanco@elastic.co>
2024-10-25 13:23:24 -05:00
Kibana Machine
14c8a9e2ec
[8.16] [ML] Adds ES|QL visualizer menu item in Observability&#x27;s ML left-nav (#197300) (#197856)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[ML] Adds ES|QL visualizer menu item in Observability&#x27;s ML
left-nav (#197300)](https://github.com/elastic/kibana/pull/197300)

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

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

<!--BACKPORT [{"author":{"name":"Melissa
Alvarez","email":"melissa.alvarez@elastic.co"},"sourceCommit":{"committedDate":"2024-10-25T15:23:23Z","message":"[ML]
Adds ES|QL visualizer menu item in Observability's ML left-nav
(#197300)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/197142\r\n\r\nAdds ES|QL
visualizer menu item in Observability's ML
left-nav.\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/f705f94a-3f9c-471e-9c41-8e5020881750)\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"d1eb47806eb1f0650cfa9e86a24a5a0b5be2bec3","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","v9.0.0","ci:project-deploy-observability","Team:obs-ux-management","v8.16.0","backport:version","v8.17.0"],"title":"[ML]
Adds ES|QL visualizer menu item in Observability's ML
left-nav","number":197300,"url":"https://github.com/elastic/kibana/pull/197300","mergeCommit":{"message":"[ML]
Adds ES|QL visualizer menu item in Observability's ML left-nav
(#197300)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/197142\r\n\r\nAdds ES|QL
visualizer menu item in Observability's ML
left-nav.\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/f705f94a-3f9c-471e-9c41-8e5020881750)\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"d1eb47806eb1f0650cfa9e86a24a5a0b5be2bec3"}},"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/197300","number":197300,"mergeCommit":{"message":"[ML]
Adds ES|QL visualizer menu item in Observability's ML left-nav
(#197300)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/197142\r\n\r\nAdds ES|QL
visualizer menu item in Observability's ML
left-nav.\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/f705f94a-3f9c-471e-9c41-8e5020881750)\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"d1eb47806eb1f0650cfa9e86a24a5a0b5be2bec3"}},{"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: Melissa Alvarez <melissa.alvarez@elastic.co>
2024-10-25 12:08:18 -05:00
Kibana Machine
f34afbe425
[8.16] [Search] [Playground] Bug get text field for semantic field (#197345) (#197813)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Search] [Playground] Bug get text field for semantic field
(#197345)](https://github.com/elastic/kibana/pull/197345)

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

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

<!--BACKPORT [{"author":{"name":"Yan
Savitski","email":"yan.savitski@elastic.co"},"sourceCommit":{"committedDate":"2024-10-25T11:54:16Z","message":"[Search]
[Playground] Bug get text field for semantic field (#197345)\n\n- Fix
[Object object] in retrieval documents when semantic text is
used\r\n<img width=\"825\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/39b154ac-727b-40c2-8262-4ff6f892a634\">","sha":"a224f9e14bcfc94db669c7e73dc97fc923326e36","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:Search","backport:prev-minor","v8.16.0"],"title":"[Search]
[Playground] Bug get text field for semantic
field","number":197345,"url":"https://github.com/elastic/kibana/pull/197345","mergeCommit":{"message":"[Search]
[Playground] Bug get text field for semantic field (#197345)\n\n- Fix
[Object object] in retrieval documents when semantic text is
used\r\n<img width=\"825\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/39b154ac-727b-40c2-8262-4ff6f892a634\">","sha":"a224f9e14bcfc94db669c7e73dc97fc923326e36"}},"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/197345","number":197345,"mergeCommit":{"message":"[Search]
[Playground] Bug get text field for semantic field (#197345)\n\n- Fix
[Object object] in retrieval documents when semantic text is
used\r\n<img width=\"825\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/39b154ac-727b-40c2-8262-4ff6f892a634\">","sha":"a224f9e14bcfc94db669c7e73dc97fc923326e36"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Yan Savitski <yan.savitski@elastic.co>
2024-10-25 08:37:30 -05:00
Kibana Machine
af2cd0c47d
[8.16] [ML] Memory usage: Functional tests (#197415) (#197808)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[ML] Memory usage: Functional tests
(#197415)](https://github.com/elastic/kibana/pull/197415)

<!--- 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-25T11:39:38Z","message":"[ML]
Memory usage: Functional tests (#197415)\n\n## Summary\r\n\r\nFunctional
tests for `memory usage` page in
ML.","sha":"479280c0b74747056634421c9b9e05f94a3c7e07","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["non-issue",":ml","release_note:skip","v9.0.0","Team:ML","v8.16.0","backport:version","v8.17.0"],"title":"[ML]
Memory usage: Functional
tests","number":197415,"url":"https://github.com/elastic/kibana/pull/197415","mergeCommit":{"message":"[ML]
Memory usage: Functional tests (#197415)\n\n## Summary\r\n\r\nFunctional
tests for `memory usage` page in
ML.","sha":"479280c0b74747056634421c9b9e05f94a3c7e07"}},"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/197415","number":197415,"mergeCommit":{"message":"[ML]
Memory usage: Functional tests (#197415)\n\n## Summary\r\n\r\nFunctional
tests for `memory usage` page in
ML.","sha":"479280c0b74747056634421c9b9e05f94a3c7e07"}},{"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-25 08:23:13 -05:00
Kibana Machine
b627c018bc
[8.16] Improve error logs for task manager poller (#197635) (#197803)
# Backport

This will backport the following commits from `main` to `8.16`:
- [Improve error logs for task manager poller
(#197635)](https://github.com/elastic/kibana/pull/197635)

<!--- 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-25T11:12:44Z","message":"Improve
error logs for task manager poller (#197635)\n\nI noticed some scenarios
we see error logs from the task poller like\r\n`Failed to poll for work:
undefined` making me think `err.message` is\r\nempty in some situations.
I'm modifying the code to handle string\r\nsituations if ever they occur
by performing `err.message || err` and to\r\nalso include a stack trace
when strings are passed-in.\r\n\r\n---------\r\n\r\nCo-authored-by:
Patrick Mueller
<patrick.mueller@elastic.co>","sha":"81b63c60eb6d1fe623f2e177cd55d2f285f79590","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","v8.16.0","v8.17.0"],"title":"Improve
error logs for task manager
poller","number":197635,"url":"https://github.com/elastic/kibana/pull/197635","mergeCommit":{"message":"Improve
error logs for task manager poller (#197635)\n\nI noticed some scenarios
we see error logs from the task poller like\r\n`Failed to poll for work:
undefined` making me think `err.message` is\r\nempty in some situations.
I'm modifying the code to handle string\r\nsituations if ever they occur
by performing `err.message || err` and to\r\nalso include a stack trace
when strings are passed-in.\r\n\r\n---------\r\n\r\nCo-authored-by:
Patrick Mueller
<patrick.mueller@elastic.co>","sha":"81b63c60eb6d1fe623f2e177cd55d2f285f79590"}},"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/197635","number":197635,"mergeCommit":{"message":"Improve
error logs for task manager poller (#197635)\n\nI noticed some scenarios
we see error logs from the task poller like\r\n`Failed to poll for work:
undefined` making me think `err.message` is\r\nempty in some situations.
I'm modifying the code to handle string\r\nsituations if ever they occur
by performing `err.message || err` and to\r\nalso include a stack trace
when strings are passed-in.\r\n\r\n---------\r\n\r\nCo-authored-by:
Patrick Mueller
<patrick.mueller@elastic.co>","sha":"81b63c60eb6d1fe623f2e177cd55d2f285f79590"}},{"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-25 07:54:02 -05:00
Kibana Machine
51dcb445e9
[8.16] [HTTP/OAS] Add Kibana OpenAPI bundling documentation (#195645) (#197726)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[HTTP/OAS] Add Kibana OpenAPI bundling documentation
(#195645)](https://github.com/elastic/kibana/pull/195645)

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

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

<!--BACKPORT [{"author":{"name":"Maxim
Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2024-10-24T20:38:22Z","message":"[HTTP/OAS]
Add Kibana OpenAPI bundling documentation (#195645)\n\n**Epic:**
https://github.com/elastic/security-team/issues/9401
(internal)\r\n\r\n## Summary\r\n\r\nThis PR adds Kibana OpenAPI bundling
documentation. The functionality includes multiple scripts and
automation scattered throughout the vast Kibana repo. The goal is to
document the whole chain and make it transparent for the
readers.","sha":"f0c956e58540eb7a0704eeeb1ba01034eae2b8de","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","Team:Core","release_note:skip","v9.0.0","Team:
SecuritySolution","backport:prev-minor","v8.16.0"],"title":"[HTTP/OAS]
Add Kibana OpenAPI bundling
documentation","number":195645,"url":"https://github.com/elastic/kibana/pull/195645","mergeCommit":{"message":"[HTTP/OAS]
Add Kibana OpenAPI bundling documentation (#195645)\n\n**Epic:**
https://github.com/elastic/security-team/issues/9401
(internal)\r\n\r\n## Summary\r\n\r\nThis PR adds Kibana OpenAPI bundling
documentation. The functionality includes multiple scripts and
automation scattered throughout the vast Kibana repo. The goal is to
document the whole chain and make it transparent for the
readers.","sha":"f0c956e58540eb7a0704eeeb1ba01034eae2b8de"}},"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/195645","number":195645,"mergeCommit":{"message":"[HTTP/OAS]
Add Kibana OpenAPI bundling documentation (#195645)\n\n**Epic:**
https://github.com/elastic/security-team/issues/9401
(internal)\r\n\r\n## Summary\r\n\r\nThis PR adds Kibana OpenAPI bundling
documentation. The functionality includes multiple scripts and
automation scattered throughout the vast Kibana repo. The goal is to
document the whole chain and make it transparent for the
readers.","sha":"f0c956e58540eb7a0704eeeb1ba01034eae2b8de"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
2024-10-25 07:41:34 -05:00
Kibana Machine
e5b0246211
[8.16] [ML] Changes inference processor description (#197645) (#197788)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[ML] Changes inference processor description
(#197645)](https://github.com/elastic/kibana/pull/197645)

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

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

<!--BACKPORT [{"author":{"name":"István Zoltán
Szabó","email":"szabosteve@gmail.com"},"sourceCommit":{"committedDate":"2024-10-25T09:56:45Z","message":"[ML]
Changes inference processor description (#197645)\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"27a98aa9c30b1ad6f1e620dc1be2e644481ab96d","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":"[ML]
Changes inference processor
description","number":197645,"url":"https://github.com/elastic/kibana/pull/197645","mergeCommit":{"message":"[ML]
Changes inference processor description (#197645)\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"27a98aa9c30b1ad6f1e620dc1be2e644481ab96d"}},"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/197645","number":197645,"mergeCommit":{"message":"[ML]
Changes inference processor description (#197645)\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"27a98aa9c30b1ad6f1e620dc1be2e644481ab96d"}},{"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: István Zoltán Szabó <szabosteve@gmail.com>
2024-10-25 06:41:50 -05:00
Kibana Machine
ec2bae0eaf
[8.16] [Sustainable Kibana Architecture] Address &#x60;security&#x60; group dependencies&#x27; issues (#197480) (#197784)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Sustainable Kibana Architecture] Address &#x60;security&#x60; group
dependencies&#x27; issues
(#197480)](https://github.com/elastic/kibana/pull/197480)

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2024-10-25T09:26:05Z","message":"[Sustainable
Kibana Architecture] Address `security` group dependencies' issues
(#197480)\n\n## Summary\r\n\r\nIn the scope of [Sustainable
Kibana\r\nArchitecture](https://github.com/elastic/kibana-team/issues/1179),
this\r\nPR fixes invalid dependencies from `security solution` code
towards\r\npackages that are categorised as `group: 'platform',
visibility:\r\n'private'`.\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"6e3bf7775e52515d5dfc653d25e769b0252c4d3d","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:
SecuritySolution","backport:prev-major"],"title":"[Sustainable Kibana
Architecture] Address `security` group dependencies'
issues","number":197480,"url":"https://github.com/elastic/kibana/pull/197480","mergeCommit":{"message":"[Sustainable
Kibana Architecture] Address `security` group dependencies' issues
(#197480)\n\n## Summary\r\n\r\nIn the scope of [Sustainable
Kibana\r\nArchitecture](https://github.com/elastic/kibana-team/issues/1179),
this\r\nPR fixes invalid dependencies from `security solution` code
towards\r\npackages that are categorised as `group: 'platform',
visibility:\r\n'private'`.\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"6e3bf7775e52515d5dfc653d25e769b0252c4d3d"}},"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/197480","number":197480,"mergeCommit":{"message":"[Sustainable
Kibana Architecture] Address `security` group dependencies' issues
(#197480)\n\n## Summary\r\n\r\nIn the scope of [Sustainable
Kibana\r\nArchitecture](https://github.com/elastic/kibana-team/issues/1179),
this\r\nPR fixes invalid dependencies from `security solution` code
towards\r\npackages that are categorised as `group: 'platform',
visibility:\r\n'private'`.\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"6e3bf7775e52515d5dfc653d25e769b0252c4d3d"}}]}]
BACKPORT-->

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
2024-10-25 06:06:33 -05:00
Kibana Machine
97de70ace8
[8.16] [Observability Onboarding] OTel Kubernetes flow - reference 8.16 values file (#197208) (#197772)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Observability Onboarding] OTel Kubernetes flow - reference 8.16
values file (#197208)](https://github.com/elastic/kibana/pull/197208)

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

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

<!--BACKPORT [{"author":{"name":"Roger
Coll","email":"roger.coll@elastic.co"},"sourceCommit":{"committedDate":"2024-10-25T08:07:20Z","message":"[Observability
Onboarding] OTel Kubernetes flow - reference 8.16 values file
(#197208)\n\n## Summary\r\n\r\nReference 8.16 values file branch + bump
kube-stack Helm Chart version\r\n\r\n\r\n### Checklist\r\n\r\nDelete any
items that are not applicable to this PR.\r\n\r\n- [ ] Any text added
follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#_add_your_labels)\r\n-
[ ] This will appear in the **Release Notes** and follow
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\nCo-authored-by:
Joe Reuter
<johannes.reuter@elastic.co>","sha":"dc2d8e46345d9afaaa436cbe297f6e4fb9f90981","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","v8.16.0","v8.17.0"],"title":"[Observability
Onboarding] OTel Kubernetes flow - reference 8.16 values
file","number":197208,"url":"https://github.com/elastic/kibana/pull/197208","mergeCommit":{"message":"[Observability
Onboarding] OTel Kubernetes flow - reference 8.16 values file
(#197208)\n\n## Summary\r\n\r\nReference 8.16 values file branch + bump
kube-stack Helm Chart version\r\n\r\n\r\n### Checklist\r\n\r\nDelete any
items that are not applicable to this PR.\r\n\r\n- [ ] Any text added
follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#_add_your_labels)\r\n-
[ ] This will appear in the **Release Notes** and follow
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\nCo-authored-by:
Joe Reuter
<johannes.reuter@elastic.co>","sha":"dc2d8e46345d9afaaa436cbe297f6e4fb9f90981"}},"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/197208","number":197208,"mergeCommit":{"message":"[Observability
Onboarding] OTel Kubernetes flow - reference 8.16 values file
(#197208)\n\n## Summary\r\n\r\nReference 8.16 values file branch + bump
kube-stack Helm Chart version\r\n\r\n\r\n### Checklist\r\n\r\nDelete any
items that are not applicable to this PR.\r\n\r\n- [ ] Any text added
follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#_add_your_labels)\r\n-
[ ] This will appear in the **Release Notes** and follow
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\nCo-authored-by:
Joe Reuter
<johannes.reuter@elastic.co>","sha":"dc2d8e46345d9afaaa436cbe297f6e4fb9f90981"}},{"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: Roger Coll <roger.coll@elastic.co>
2024-10-25 04:51:41 -05:00
Kibana Machine
59e1317d35
[8.16] [Search] Fix autogenerated connector names (#197585) (#197768)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Search] Fix autogenerated connector names
(#197585)](https://github.com/elastic/kibana/pull/197585)

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

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

<!--BACKPORT [{"author":{"name":"Navarone
Feekery","email":"13634519+navarone-feekery@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-25T07:53:16Z","message":"[Search]
Fix autogenerated connector names (#197585)\n\nImprove the autogenerated
connector names by\r\n\r\n- Re-generating names when changing connector
source\r\n- Preventing editing of names after connector is
created","sha":"c05e1c58ab7677bf082dc11da040a0c3be4d6498","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:Search","backport:prev-major","v8.16.0","v8.17.0"],"title":"[Search]
Fix autogenerated connector
names","number":197585,"url":"https://github.com/elastic/kibana/pull/197585","mergeCommit":{"message":"[Search]
Fix autogenerated connector names (#197585)\n\nImprove the autogenerated
connector names by\r\n\r\n- Re-generating names when changing connector
source\r\n- Preventing editing of names after connector is
created","sha":"c05e1c58ab7677bf082dc11da040a0c3be4d6498"}},"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/197585","number":197585,"mergeCommit":{"message":"[Search]
Fix autogenerated connector names (#197585)\n\nImprove the autogenerated
connector names by\r\n\r\n- Re-generating names when changing connector
source\r\n- Preventing editing of names after connector is
created","sha":"c05e1c58ab7677bf082dc11da040a0c3be4d6498"}},{"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: Navarone Feekery <13634519+navarone-feekery@users.noreply.github.com>
2024-10-25 04:38:47 -05:00
Kibana Machine
864ba5df51
[8.16] Update the test subjects of the feedback buttons (#197311) (#197763)
# Backport

This will backport the following commits from `main` to `8.16`:
- [Update the test subjects of the feedback buttons
(#197311)](https://github.com/elastic/kibana/pull/197311)

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

### 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-25T07:14:00Z","message":"Update
the test subjects of the feedback buttons (#197311)\n\nUpdate the test
subjects of the feedback buttons.\r\n\r\nCloses
https://github.com/elastic/kibana/issues/196297\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"188beda849ae886b164c9ccd3d5f7d2edf35479c","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","v8.16.0"],"title":"Update
the test subjects of the feedback
buttons","number":197311,"url":"https://github.com/elastic/kibana/pull/197311","mergeCommit":{"message":"Update
the test subjects of the feedback buttons (#197311)\n\nUpdate the test
subjects of the feedback buttons.\r\n\r\nCloses
https://github.com/elastic/kibana/issues/196297\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"188beda849ae886b164c9ccd3d5f7d2edf35479c"}},"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/197311","number":197311,"mergeCommit":{"message":"Update
the test subjects of the feedback buttons (#197311)\n\nUpdate the test
subjects of the feedback buttons.\r\n\r\nCloses
https://github.com/elastic/kibana/issues/196297\r\n\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"188beda849ae886b164c9ccd3d5f7d2edf35479c"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Giorgos Bamparopoulos <georgios.bamparopoulos@elastic.co>
2024-10-25 03:53:14 -05:00
Mark J. Hoy
ede41c1049
[8.16] [Enterprise Search] Update Enterprise Search Decommissioning Callout (#197658) (#197730)
# Backport

This will backport the following commits from `8.x` to `8.16`:
- [[Enterprise Search] Update Enterprise Search Decommissioning Callout
(#197658)](https://github.com/elastic/kibana/pull/197658)

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

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

<!--BACKPORT [{"author":{"name":"Mark J.
Hoy","email":"mark.hoy@elastic.co"},"sourceCommit":{"committedDate":"2024-10-24T19:10:16Z","message":"[Enterprise
Search] Update Enterprise Search Decommissioning Callout (#197658)\n\n##
Summary\r\n\r\nUpdates the decommissioning callout text and makes the
\"Learn more\"\r\nbutton context aware for App Search and Workplace
Search.\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/4871fbb3-61f1-4c39-8af0-d8964a091bca)\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] This was
checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\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#_add_your_labels)\r\n-
[ ] This will appear in the **Release Notes** and follow
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"20a83d1785eec579f9f37a6337357d8a6eee59cd","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.16.0","backport:version","v8.17.0"],"number":197658,"url":"https://github.com/elastic/kibana/pull/197658","mergeCommit":{"message":"[Enterprise
Search] Update Enterprise Search Decommissioning Callout (#197658)\n\n##
Summary\r\n\r\nUpdates the decommissioning callout text and makes the
\"Learn more\"\r\nbutton context aware for App Search and Workplace
Search.\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/4871fbb3-61f1-4c39-8af0-d8964a091bca)\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [x] This was
checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\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#_add_your_labels)\r\n-
[ ] This will appear in the **Release Notes** and follow
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"20a83d1785eec579f9f37a6337357d8a6eee59cd"}},"sourceBranch":"8.x","suggestedTargetBranches":["8.16"],"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"}]}]
BACKPORT-->
2024-10-25 09:40:41 +02:00
Kibana Machine
71045ee24e
[8.16] [Security Solution] Removes obselete Timeline Tour - New Features (#197385) (#197754)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Security Solution] Removes obselete Timeline Tour - New Features
(#197385)](https://github.com/elastic/kibana/pull/197385)

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

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

<!--BACKPORT [{"author":{"name":"Jatin
Kathuria","email":"jatin.kathuria@elastic.co"},"sourceCommit":{"committedDate":"2024-10-25T04:41:35Z","message":"[Security
Solution] Removes obselete Timeline Tour - New Features (#197385)\n\n##
Summary\r\n\r\nHandles
https://github.com/elastic/kibana/issues/197295\r\n\r\nThis PR removes
the obselete timeline tour which was introduced in\r\n`8.12` and may not
be relevant now in `8.16`.\r\n\r\nFrom the perspective of users directly
to `8.16` from `8.11`. I guess it\r\nmight be okay for users to expect
considerable changes that may have\r\nhappened between `8.11` and `8.16`
and a tour might not be necessary
🤷","sha":"663a339b3a4937682346d5e762da212c4d4e109a","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","Team:Fleet","v9.0.0","Team:Threat
Hunting:Investigations","v8.16.0"],"title":"[Security Solution] Removes
obselete Timeline Tour - New
Features","number":197385,"url":"https://github.com/elastic/kibana/pull/197385","mergeCommit":{"message":"[Security
Solution] Removes obselete Timeline Tour - New Features (#197385)\n\n##
Summary\r\n\r\nHandles
https://github.com/elastic/kibana/issues/197295\r\n\r\nThis PR removes
the obselete timeline tour which was introduced in\r\n`8.12` and may not
be relevant now in `8.16`.\r\n\r\nFrom the perspective of users directly
to `8.16` from `8.11`. I guess it\r\nmight be okay for users to expect
considerable changes that may have\r\nhappened between `8.11` and `8.16`
and a tour might not be necessary
🤷","sha":"663a339b3a4937682346d5e762da212c4d4e109a"}},"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/197385","number":197385,"mergeCommit":{"message":"[Security
Solution] Removes obselete Timeline Tour - New Features (#197385)\n\n##
Summary\r\n\r\nHandles
https://github.com/elastic/kibana/issues/197295\r\n\r\nThis PR removes
the obselete timeline tour which was introduced in\r\n`8.12` and may not
be relevant now in `8.16`.\r\n\r\nFrom the perspective of users directly
to `8.16` from `8.11`. I guess it\r\nmight be okay for users to expect
considerable changes that may have\r\nhappened between `8.11` and `8.16`
and a tour might not be necessary
🤷","sha":"663a339b3a4937682346d5e762da212c4d4e109a"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Jatin Kathuria <jatin.kathuria@elastic.co>
2024-10-25 01:20:03 -05:00
Kibana Machine
9bd2c8accd
[8.16] [Security Assistant] Fix Security Assistant settings link behavior and adjust initial settings tab (#197323) (#197748)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Security Assistant] Fix Security Assistant settings link behavior
and adjust initial settings tab
(#197323)](https://github.com/elastic/kibana/pull/197323)

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

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

<!--BACKPORT [{"author":{"name":"Steph
Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2024-10-23T16:06:47Z","message":"[Security
Assistant] Fix Security Assistant settings link behavior and adjust
initial settings tab
(#197323)","sha":"a6dc47ddeb15d6c7b91e1abaaf83fba3eee2fef2","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","v8.17.0"],"title":"[Security
Assistant] Fix Security Assistant settings link behavior and adjust
initial settings
tab","number":197323,"url":"https://github.com/elastic/kibana/pull/197323","mergeCommit":{"message":"[Security
Assistant] Fix Security Assistant settings link behavior and adjust
initial settings tab
(#197323)","sha":"a6dc47ddeb15d6c7b91e1abaaf83fba3eee2fef2"}},"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/197323","number":197323,"mergeCommit":{"message":"[Security
Assistant] Fix Security Assistant settings link behavior and adjust
initial settings tab
(#197323)","sha":"a6dc47ddeb15d6c7b91e1abaaf83fba3eee2fef2"}},{"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/197493","number":197493,"state":"MERGED","mergeCommit":{"sha":"942827df09a03a7356f66e98753a3e356e644371","message":"[8.x]
[Security Assistant] Fix Security Assistant settings link behavior and
adjust initial settings tab (#197323) (#197493)\n\n# Backport\n\nThis
will backport the following commits from `main` to `8.x`:\n- [[Security
Assistant] Fix Security Assistant settings link behavior\nand adjust
initial settings
tab\n(#197323)](https://github.com/elastic/kibana/pull/197323)\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\":\"Steph\nMilovic\",\"email\":\"stephanie.milovic@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-10-23T16:06:47Z\",\"message\":\"[Security\nAssistant]
Fix Security Assistant settings link behavior and adjust\ninitial
settings
tab\n(#197323)\",\"sha\":\"a6dc47ddeb15d6c7b91e1abaaf83fba3eee2fef2\",\"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:\nSecuritySolution\",\"backport:prev-minor\",\"Team:Security
Generative\nAI\"],\"title\":\"[Security Assistant] Fix Security
Assistant settings link\nbehavior and adjust initial
settings\ntab\",\"number\":197323,\"url\":\"https://github.com/elastic/kibana/pull/197323\",\"mergeCommit\":{\"message\":\"[Security\nAssistant]
Fix Security Assistant settings link behavior and adjust\ninitial
settings
tab\n(#197323)\",\"sha\":\"a6dc47ddeb15d6c7b91e1abaaf83fba3eee2fef2\"}},\"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/197323\",\"number\":197323,\"mergeCommit\":{\"message\":\"[Security\nAssistant]
Fix Security Assistant settings link behavior and adjust\ninitial
settings
tab\n(#197323)\",\"sha\":\"a6dc47ddeb15d6c7b91e1abaaf83fba3eee2fef2\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Steph Milovic <stephanie.milovic@elastic.co>"}}]}] BACKPORT-->

Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
2024-10-24 20:04:04 -05:00
Ersin Erdal
6bde9626df
[8.16] Apply backpressure to the task poller whenever Elasticsearch requests respond with 503 errors (#196900) (#197705)
# Backport

This will backport the following commits from `main` to `8.16`:
- [Apply backpressure to the task poller whenever Elasticsearch requests
respond with 503 errors
(#196900)](https://github.com/elastic/kibana/pull/196900)

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

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

<!--BACKPORT [{"author":{"name":"Ersin
Erdal","email":"92688503+ersin-erdal@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-23T23:16:45Z","message":"Apply
backpressure to the task poller whenever Elasticsearch requests respond
with 503 errors (#196900)\n\nResolves: #195134\r\n\r\nThis PR adds 503
error check to the error filter of\r\n`createManagedConfiguration`
function, besides the 501 error .\r\nSo it applies backpressure to the
task poller for 503 errors as
well.","sha":"292a7d384e51ca9e76d09f817f583bd0b201d9e0","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","v9.0.0","backport:prev-minor","v8.16.0","v8.17.0"],"number":196900,"url":"https://github.com/elastic/kibana/pull/196900","mergeCommit":{"message":"Apply
backpressure to the task poller whenever Elasticsearch requests respond
with 503 errors (#196900)\n\nResolves: #195134\r\n\r\nThis PR adds 503
error check to the error filter of\r\n`createManagedConfiguration`
function, besides the 501 error .\r\nSo it applies backpressure to the
task poller for 503 errors as
well.","sha":"292a7d384e51ca9e76d09f817f583bd0b201d9e0"}},"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/196900","number":196900,"mergeCommit":{"message":"Apply
backpressure to the task poller whenever Elasticsearch requests respond
with 503 errors (#196900)\n\nResolves: #195134\r\n\r\nThis PR adds 503
error check to the error filter of\r\n`createManagedConfiguration`
function, besides the 501 error .\r\nSo it applies backpressure to the
task poller for 503 errors as
well.","sha":"292a7d384e51ca9e76d09f817f583bd0b201d9e0"}},{"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/197544","number":197544,"state":"MERGED","mergeCommit":{"sha":"e2001cadd96d112108ee60780bf3708d5fa48a14","message":"[8.x]
Apply backpressure to the task poller whenever Elasticsearch requests
respond with 503 errors (#196900) (#197544)\n\n# Backport\n\nThis will
backport the following commits from `main` to `8.x`:\n- [Apply
backpressure to the task poller whenever Elasticsearch requests\nrespond
with 503
errors\n(#196900)](https://github.com/elastic/kibana/pull/196900)\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\":\"Ersin\nErdal\",\"email\":\"92688503+ersin-erdal@users.noreply.github.com\"},\"sourceCommit\":{\"committedDate\":\"2024-10-23T23:16:45Z\",\"message\":\"Apply\nbackpressure
to the task poller whenever Elasticsearch requests respond\nwith 503
errors (#196900)\\n\\nResolves: #195134\\r\\n\\r\\nThis PR adds
503\nerror check to the error filter
of\\r\\n`createManagedConfiguration`\nfunction, besides the 501 error
.\\r\\nSo it applies backpressure to the\ntask poller for 503 errors
as\nwell.\",\"sha\":\"292a7d384e51ca9e76d09f817f583bd0b201d9e0\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.17.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"Team:ResponseOps\",\"v9.0.0\",\"backport:prev-minor\"],\"title\":\"Apply\nbackpressure
to the task poller whenever Elasticsearch requests respond\nwith
503\nerrors\",\"number\":196900,\"url\":\"https://github.com/elastic/kibana/pull/196900\",\"mergeCommit\":{\"message\":\"Apply\nbackpressure
to the task poller whenever Elasticsearch requests respond\nwith 503
errors (#196900)\\n\\nResolves: #195134\\r\\n\\r\\nThis PR adds
503\nerror check to the error filter
of\\r\\n`createManagedConfiguration`\nfunction, besides the 501 error
.\\r\\nSo it applies backpressure to the\ntask poller for 503 errors
as\nwell.\",\"sha\":\"292a7d384e51ca9e76d09f817f583bd0b201d9e0\"}},\"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/196900\",\"number\":196900,\"mergeCommit\":{\"message\":\"Apply\nbackpressure
to the task poller whenever Elasticsearch requests respond\nwith 503
errors (#196900)\\n\\nResolves: #195134\\r\\n\\r\\nThis PR adds
503\nerror check to the error filter
of\\r\\n`createManagedConfiguration`\nfunction, besides the 501 error
.\\r\\nSo it applies backpressure to the\ntask poller for 503 errors
as\nwell.\",\"sha\":\"292a7d384e51ca9e76d09f817f583bd0b201d9e0\"}}]}]
BACKPORT-->\n\nCo-authored-by: Ersin Erdal
<92688503+ersin-erdal@users.noreply.github.com>"}}]}] BACKPORT-->
2024-10-24 15:54:30 -05:00
Kibana Machine
ad44f48fd5
[8.16] [CLOUD] add the term search for es in kibana (#197667) (#197708)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[CLOUD] add the term search for es in kibana
(#197667)](https://github.com/elastic/kibana/pull/197667)

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

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

<!--BACKPORT [{"author":{"name":"Xavier
Mouligneau","email":"xavier.mouligneau@elastic.co"},"sourceCommit":{"committedDate":"2024-10-24T17:49:14Z","message":"[CLOUD]
add the term search for es in kibana (#197667)\n\n## Summary\r\n\r\nThe
cloud can pass the term `search` for the solution type. It will
be\r\nideal to only have one term but for now let's merge this fix and I
will\r\ncheck with CP that we only pass one term for `search`
and\r\n`elasticsearch`.\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] 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)","sha":"60e3da73b6118e34ec250a1cb4a2f4904097b532","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Team:Cloud","release_note:skip","v9.0.0","v8.16.0","backport:version","v8.17.0"],"title":"[CLOUD]
add the term search for es in
kibana","number":197667,"url":"https://github.com/elastic/kibana/pull/197667","mergeCommit":{"message":"[CLOUD]
add the term search for es in kibana (#197667)\n\n## Summary\r\n\r\nThe
cloud can pass the term `search` for the solution type. It will
be\r\nideal to only have one term but for now let's merge this fix and I
will\r\ncheck with CP that we only pass one term for `search`
and\r\n`elasticsearch`.\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] 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)","sha":"60e3da73b6118e34ec250a1cb4a2f4904097b532"}},"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/197667","number":197667,"mergeCommit":{"message":"[CLOUD]
add the term search for es in kibana (#197667)\n\n## Summary\r\n\r\nThe
cloud can pass the term `search` for the solution type. It will
be\r\nideal to only have one term but for now let's merge this fix and I
will\r\ncheck with CP that we only pass one term for `search`
and\r\n`elasticsearch`.\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] 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)","sha":"60e3da73b6118e34ec250a1cb4a2f4904097b532"}},{"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: Xavier Mouligneau <xavier.mouligneau@elastic.co>
2024-10-24 14:30:18 -05:00
Kibana Machine
87a2285fbd
[8.16] [Security Solution] Remove &#x60;unifiedComponentsInTimelineDisabled&#x60; flag (#195959) (#197692)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Security Solution] Remove
&#x60;unifiedComponentsInTimelineDisabled&#x60; flag
(#195959)](https://github.com/elastic/kibana/pull/195959)

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

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

<!--BACKPORT [{"author":{"name":"Jatin
Kathuria","email":"jatin.kathuria@elastic.co"},"sourceCommit":{"committedDate":"2024-10-24T16:41:19Z","message":"[Security
Solution] Remove `unifiedComponentsInTimelineDisabled` flag
(#195959)\n\n## Summary\r\n\r\nHandles
https://github.com/elastic/security-team/issues/9645\r\n\r\nFollow Up PR
for removal of Old timeline Code
:\r\nhttps://github.com/elastic/kibana/pull/196243\r\n\r\n- This PR
removes `unifiedComponentsInTimelineDisabled` flag. What this\r\nmeans
that that unified components in Timeline are now enabled
by\r\ndefault.\r\n\r\n- Consequently, the old timeline table code
becomes obsolete and is also\r\nremoved. (
https://github.com/elastic/kibana/pull/196243)\r\n\r\n##
Changes\r\n\r\n1. Converted all cypress and jest tests that were testing
old Timeline\r\ntable to test new unified components in Timeline. If the
test for new\r\ntimeline already existed, old tests are also
removed.","sha":"c41178d2d6e952798548ccd7db691d5ceff62053","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] Remove
`unifiedComponentsInTimelineDisabled`
flag","number":195959,"url":"https://github.com/elastic/kibana/pull/195959","mergeCommit":{"message":"[Security
Solution] Remove `unifiedComponentsInTimelineDisabled` flag
(#195959)\n\n## Summary\r\n\r\nHandles
https://github.com/elastic/security-team/issues/9645\r\n\r\nFollow Up PR
for removal of Old timeline Code
:\r\nhttps://github.com/elastic/kibana/pull/196243\r\n\r\n- This PR
removes `unifiedComponentsInTimelineDisabled` flag. What this\r\nmeans
that that unified components in Timeline are now enabled
by\r\ndefault.\r\n\r\n- Consequently, the old timeline table code
becomes obsolete and is also\r\nremoved. (
https://github.com/elastic/kibana/pull/196243)\r\n\r\n##
Changes\r\n\r\n1. Converted all cypress and jest tests that were testing
old Timeline\r\ntable to test new unified components in Timeline. If the
test for new\r\ntimeline already existed, old tests are also
removed.","sha":"c41178d2d6e952798548ccd7db691d5ceff62053"}},"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/195959","number":195959,"mergeCommit":{"message":"[Security
Solution] Remove `unifiedComponentsInTimelineDisabled` flag
(#195959)\n\n## Summary\r\n\r\nHandles
https://github.com/elastic/security-team/issues/9645\r\n\r\nFollow Up PR
for removal of Old timeline Code
:\r\nhttps://github.com/elastic/kibana/pull/196243\r\n\r\n- This PR
removes `unifiedComponentsInTimelineDisabled` flag. What this\r\nmeans
that that unified components in Timeline are now enabled
by\r\ndefault.\r\n\r\n- Consequently, the old timeline table code
becomes obsolete and is also\r\nremoved. (
https://github.com/elastic/kibana/pull/196243)\r\n\r\n##
Changes\r\n\r\n1. Converted all cypress and jest tests that were testing
old Timeline\r\ntable to test new unified components in Timeline. If the
test for new\r\ntimeline already existed, old tests are also
removed.","sha":"c41178d2d6e952798548ccd7db691d5ceff62053"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Jatin Kathuria <jatin.kathuria@elastic.co>
2024-10-24 14:07:20 -05:00
Kibana Machine
594a504938
[8.16] [Observability Onboarding] Fix small UI issues (#197234) (#197689)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Observability Onboarding] Fix small UI issues
(#197234)](https://github.com/elastic/kibana/pull/197234)

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

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

<!--BACKPORT [{"author":{"name":"Mykola
Harmash","email":"mykola.harmash@gmail.com"},"sourceCommit":{"committedDate":"2024-10-24T16:29:52Z","message":"[Observability
Onboarding] Fix small UI issues (#197234)\n\nCloses
https://github.com/elastic/observability-dev/issues/4015 🔒\r\n\r\n*
Makes the footer's top boarder to span across the full page width\r\n*
Removes the empty header action menu on the main onboarding
screen\r\nwhen using the new solution sidenav\r\n* Replaces \"Give
feedback\" button on the EDOT collector flow with the\r\nfeedback
buttons used in other flows\r\n\r\nOther things mentioned in
[the\r\nissue](https://github.com/elastic/observability-dev/issues/4015)
have\r\nbeen resolved already by previous changes.\r\n\r\n![CleanShot
2024-10-22 at 15
13\r\n17@2x](https://github.com/user-attachments/assets/383641cf-285e-401f-96e8-578e639d3199)\r\n\r\n\r\nTo
enable the new solution navigation locally:\r\n1. Add these to
`kibana.dev.yml`\r\n```\r\nxpack.spaces.allowSolutionVisibility:
true\r\nxpack.spaces.experimental.forceSolutionVisibility:
true\r\n```\r\n2. Run Kibana and navigate to Spaces Management\r\n3. Set
\"Observability\" view for the space you're using locally
(most\r\nlikely
\"Default\")","sha":"18210933b9250771377293a3005a4cd0277da405","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","v8.16.0"],"title":"[Observability
Onboarding] Fix small UI
issues","number":197234,"url":"https://github.com/elastic/kibana/pull/197234","mergeCommit":{"message":"[Observability
Onboarding] Fix small UI issues (#197234)\n\nCloses
https://github.com/elastic/observability-dev/issues/4015 🔒\r\n\r\n*
Makes the footer's top boarder to span across the full page width\r\n*
Removes the empty header action menu on the main onboarding
screen\r\nwhen using the new solution sidenav\r\n* Replaces \"Give
feedback\" button on the EDOT collector flow with the\r\nfeedback
buttons used in other flows\r\n\r\nOther things mentioned in
[the\r\nissue](https://github.com/elastic/observability-dev/issues/4015)
have\r\nbeen resolved already by previous changes.\r\n\r\n![CleanShot
2024-10-22 at 15
13\r\n17@2x](https://github.com/user-attachments/assets/383641cf-285e-401f-96e8-578e639d3199)\r\n\r\n\r\nTo
enable the new solution navigation locally:\r\n1. Add these to
`kibana.dev.yml`\r\n```\r\nxpack.spaces.allowSolutionVisibility:
true\r\nxpack.spaces.experimental.forceSolutionVisibility:
true\r\n```\r\n2. Run Kibana and navigate to Spaces Management\r\n3. Set
\"Observability\" view for the space you're using locally
(most\r\nlikely
\"Default\")","sha":"18210933b9250771377293a3005a4cd0277da405"}},"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/197234","number":197234,"mergeCommit":{"message":"[Observability
Onboarding] Fix small UI issues (#197234)\n\nCloses
https://github.com/elastic/observability-dev/issues/4015 🔒\r\n\r\n*
Makes the footer's top boarder to span across the full page width\r\n*
Removes the empty header action menu on the main onboarding
screen\r\nwhen using the new solution sidenav\r\n* Replaces \"Give
feedback\" button on the EDOT collector flow with the\r\nfeedback
buttons used in other flows\r\n\r\nOther things mentioned in
[the\r\nissue](https://github.com/elastic/observability-dev/issues/4015)
have\r\nbeen resolved already by previous changes.\r\n\r\n![CleanShot
2024-10-22 at 15
13\r\n17@2x](https://github.com/user-attachments/assets/383641cf-285e-401f-96e8-578e639d3199)\r\n\r\n\r\nTo
enable the new solution navigation locally:\r\n1. Add these to
`kibana.dev.yml`\r\n```\r\nxpack.spaces.allowSolutionVisibility:
true\r\nxpack.spaces.experimental.forceSolutionVisibility:
true\r\n```\r\n2. Run Kibana and navigate to Spaces Management\r\n3. Set
\"Observability\" view for the space you're using locally
(most\r\nlikely
\"Default\")","sha":"18210933b9250771377293a3005a4cd0277da405"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Mykola Harmash <mykola.harmash@gmail.com>
2024-10-24 13:13:09 -05:00
Kibana Machine
b0af74f1c3
[8.16] [ML] Trained models: Accessibility tests (#197446) (#197687)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[ML] Trained models: Accessibility tests
(#197446)](https://github.com/elastic/kibana/pull/197446)

<!--- 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-24T16:22:53Z","message":"[ML]
Trained models: Accessibility tests (#197446)\n\n##
Summary\r\n\r\nAccessibility tests for Trained models
page.","sha":"f279b39bde0136df1efb0b9cc4e97af68be69896","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["non-issue",":ml","release_note:skip","v9.0.0","Team:ML","v8.16.0","backport:version","v8.17.0"],"title":"[ML]
Trained models: Accessibility
tests","number":197446,"url":"https://github.com/elastic/kibana/pull/197446","mergeCommit":{"message":"[ML]
Trained models: Accessibility tests (#197446)\n\n##
Summary\r\n\r\nAccessibility tests for Trained models
page.","sha":"f279b39bde0136df1efb0b9cc4e97af68be69896"}},"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/197446","number":197446,"mergeCommit":{"message":"[ML]
Trained models: Accessibility tests (#197446)\n\n##
Summary\r\n\r\nAccessibility tests for Trained models
page.","sha":"f279b39bde0136df1efb0b9cc4e97af68be69896"}},{"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-24 13:08:42 -05:00
Kibana Machine
a3c1646aec
[8.16] [Entity Store] Bugfix: Double nested arrays (#197589) (#197682)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[Entity Store] Bugfix: Double nested arrays
(#197589)](https://github.com/elastic/kibana/pull/197589)

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

### 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-24T16:05:09Z","message":"[Entity
Store] Bugfix: Double nested arrays (#197589)\n\n##
Summary\r\n\r\nEntities were appearing in the entity store with double
nested arrays\r\nlike below.\r\n\r\nThe issue was that the arrays
changed from `List` to `Set` type and the\r\ncode only checked for
lists. Using `Collection` has fixed this.\r\n\r\n```\r\n \"_index\":
\".entities.v1.latest.security_host_default\",\r\n \"_id\":
\"c03w7AZsMkm_obWF2HZEirgAAAAAAAAA\",\r\n \"_score\": 1,\r\n
\"_source\": {\r\n \"host\": {\r\n \"hostname\": [\r\n [\r\n
\"small-host-1.example.small.com\"\r\n ]\r\n ],\r\n \"domain\": [\r\n
[\r\n \"example.small.com\"\r\n ]\r\n ],\r\n \"ip\": [\r\n [\r\n
\"192.168.1.1\",\r\n \"192.168.1.0\",\r\n \"192.168.1.3\",\r\n
\"192.168.1.2\",\r\n \"192.168.1.9\",\r\n \"192.168.1.8\",\r\n
\"192.168.1.5\",\r\n \"192.168.1.4\",\r\n \"192.168.1.7\",\r\n
\"192.168.1.6\"\r\n ]\r\n ],\r\n
```\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"855456b3bf26204c9a32008a1bc538d9c63b5190","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","Team:Entity
Analytics","v8.16.0","backport:version","v8.17.0"],"title":"[Entity
Store] Bugfix: Double nested
arrays","number":197589,"url":"https://github.com/elastic/kibana/pull/197589","mergeCommit":{"message":"[Entity
Store] Bugfix: Double nested arrays (#197589)\n\n##
Summary\r\n\r\nEntities were appearing in the entity store with double
nested arrays\r\nlike below.\r\n\r\nThe issue was that the arrays
changed from `List` to `Set` type and the\r\ncode only checked for
lists. Using `Collection` has fixed this.\r\n\r\n```\r\n \"_index\":
\".entities.v1.latest.security_host_default\",\r\n \"_id\":
\"c03w7AZsMkm_obWF2HZEirgAAAAAAAAA\",\r\n \"_score\": 1,\r\n
\"_source\": {\r\n \"host\": {\r\n \"hostname\": [\r\n [\r\n
\"small-host-1.example.small.com\"\r\n ]\r\n ],\r\n \"domain\": [\r\n
[\r\n \"example.small.com\"\r\n ]\r\n ],\r\n \"ip\": [\r\n [\r\n
\"192.168.1.1\",\r\n \"192.168.1.0\",\r\n \"192.168.1.3\",\r\n
\"192.168.1.2\",\r\n \"192.168.1.9\",\r\n \"192.168.1.8\",\r\n
\"192.168.1.5\",\r\n \"192.168.1.4\",\r\n \"192.168.1.7\",\r\n
\"192.168.1.6\"\r\n ]\r\n ],\r\n
```\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"855456b3bf26204c9a32008a1bc538d9c63b5190"}},"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/197589","number":197589,"mergeCommit":{"message":"[Entity
Store] Bugfix: Double nested arrays (#197589)\n\n##
Summary\r\n\r\nEntities were appearing in the entity store with double
nested arrays\r\nlike below.\r\n\r\nThe issue was that the arrays
changed from `List` to `Set` type and the\r\ncode only checked for
lists. Using `Collection` has fixed this.\r\n\r\n```\r\n \"_index\":
\".entities.v1.latest.security_host_default\",\r\n \"_id\":
\"c03w7AZsMkm_obWF2HZEirgAAAAAAAAA\",\r\n \"_score\": 1,\r\n
\"_source\": {\r\n \"host\": {\r\n \"hostname\": [\r\n [\r\n
\"small-host-1.example.small.com\"\r\n ]\r\n ],\r\n \"domain\": [\r\n
[\r\n \"example.small.com\"\r\n ]\r\n ],\r\n \"ip\": [\r\n [\r\n
\"192.168.1.1\",\r\n \"192.168.1.0\",\r\n \"192.168.1.3\",\r\n
\"192.168.1.2\",\r\n \"192.168.1.9\",\r\n \"192.168.1.8\",\r\n
\"192.168.1.5\",\r\n \"192.168.1.4\",\r\n \"192.168.1.7\",\r\n
\"192.168.1.6\"\r\n ]\r\n ],\r\n
```\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"855456b3bf26204c9a32008a1bc538d9c63b5190"}},{"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: Mark Hopkin <mark.hopkin@elastic.co>
2024-10-24 12:46:29 -05:00
Kibana Machine
97d2fdf727
[8.16] [ML] File upload: enabling check for model allocations (#197395) (#197677)
# Backport

This will backport the following commits from `main` to `8.16`:
- [[ML] File upload: enabling check for model allocations
(#197395)](https://github.com/elastic/kibana/pull/197395)

<!--- 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-24T15:33:36Z","message":"[ML]
File upload: enabling check for model allocations (#197395)\n\nEnables
the previously commented out check for `num_allocations` when\r\nlisting
the inference endpoints.\r\n\r\nThe adaptive allocation count can drop
to 0, but it is still valid for\r\nuse. Uploading a file will cause it
to be re-deployed.\r\n\r\nRelated to es PRs
https://github.com/elastic/elasticsearch/pull/115233\r\nand
https://github.com/elastic/elasticsearch/pull/115095\r\n\r\nFollow on
from
https://github.com/elastic/kibana/pull/196577","sha":"66b2447fe7879dec1ede5c5cd3aea9b34ae1fad9","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement",":ml","Feature:File
and Index Data Viz","Feature:File
Upload","v9.0.0","v8.16.0","backport:version","v8.17.0"],"title":"[ML]
File upload: enabling check for model
allocations","number":197395,"url":"https://github.com/elastic/kibana/pull/197395","mergeCommit":{"message":"[ML]
File upload: enabling check for model allocations (#197395)\n\nEnables
the previously commented out check for `num_allocations` when\r\nlisting
the inference endpoints.\r\n\r\nThe adaptive allocation count can drop
to 0, but it is still valid for\r\nuse. Uploading a file will cause it
to be re-deployed.\r\n\r\nRelated to es PRs
https://github.com/elastic/elasticsearch/pull/115233\r\nand
https://github.com/elastic/elasticsearch/pull/115095\r\n\r\nFollow on
from
https://github.com/elastic/kibana/pull/196577","sha":"66b2447fe7879dec1ede5c5cd3aea9b34ae1fad9"}},"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/197395","number":197395,"mergeCommit":{"message":"[ML]
File upload: enabling check for model allocations (#197395)\n\nEnables
the previously commented out check for `num_allocations` when\r\nlisting
the inference endpoints.\r\n\r\nThe adaptive allocation count can drop
to 0, but it is still valid for\r\nuse. Uploading a file will cause it
to be re-deployed.\r\n\r\nRelated to es PRs
https://github.com/elastic/elasticsearch/pull/115233\r\nand
https://github.com/elastic/elasticsearch/pull/115095\r\n\r\nFollow on
from
https://github.com/elastic/kibana/pull/196577","sha":"66b2447fe7879dec1ede5c5cd3aea9b34ae1fad9"}},{"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-24 12:20:06 -05:00
Kibana Machine
bd6f22b96c
[8.16] [EDR Workflows] Download multiple agent versions (#197469) (#197673)
# Backport

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

<!--- 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-24T15:10:19Z","message":"[EDR
Workflows] Download multiple agent versions
(#197469)","sha":"f3c29f82d6bb2fa2c823ae44ad980f4242da65ec","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] Download multiple agent
versions","number":197469,"url":"https://github.com/elastic/kibana/pull/197469","mergeCommit":{"message":"[EDR
Workflows] Download multiple agent versions
(#197469)","sha":"f3c29f82d6bb2fa2c823ae44ad980f4242da65ec"}},"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/197469","number":197469,"mergeCommit":{"message":"[EDR
Workflows] Download multiple agent versions
(#197469)","sha":"f3c29f82d6bb2fa2c823ae44ad980f4242da65ec"}},{"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-24 12:03:18 -05:00