Commit graph

81053 commits

Author SHA1 Message Date
Kibana Machine
999dc581eb
[8.17] [Discover] Fix document comparison table padding (#205984) (#206338)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Discover] Fix document comparison table padding
(#205984)](https://github.com/elastic/kibana/pull/205984)

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

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

<!--BACKPORT [{"author":{"name":"Davis
McPhee","email":"davis.mcphee@elastic.co"},"sourceCommit":{"committedDate":"2025-01-10T16:07:15Z","message":"[Discover]
Fix document comparison table padding (#205984)\n\n##
Summary\r\n\r\nThis PR fixes the table padding on the Discover document
comparison\r\ntable which was causing the diff decorations to be cut
off. This likely\r\nstarted after #188495 when some of the standard
table styles the\r\ncomparison table inherits from changed.\r\n\r\nFixes
#205463.\r\n\r\n### Checklist\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/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- [ ] 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 was checked for breaking HTTP API changes, and any
breaking\r\nchanges have been approved by the breaking-change committee.
The\r\n`release_note:breaking` label should be applied in these
situations.\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] The PR description includes
the appropriate Release Notes section,\r\nand the correct
`release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"de3bd71d2cb34526e742a645f85b9f1f700a289d","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:DataDiscovery","backport:prev-major"],"title":"[Discover]
Fix document comparison table
padding","number":205984,"url":"https://github.com/elastic/kibana/pull/205984","mergeCommit":{"message":"[Discover]
Fix document comparison table padding (#205984)\n\n##
Summary\r\n\r\nThis PR fixes the table padding on the Discover document
comparison\r\ntable which was causing the diff decorations to be cut
off. This likely\r\nstarted after #188495 when some of the standard
table styles the\r\ncomparison table inherits from changed.\r\n\r\nFixes
#205463.\r\n\r\n### Checklist\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/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- [ ] 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 was checked for breaking HTTP API changes, and any
breaking\r\nchanges have been approved by the breaking-change committee.
The\r\n`release_note:breaking` label should be applied in these
situations.\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] The PR description includes
the appropriate Release Notes section,\r\nand the correct
`release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"de3bd71d2cb34526e742a645f85b9f1f700a289d"}},"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/205984","number":205984,"mergeCommit":{"message":"[Discover]
Fix document comparison table padding (#205984)\n\n##
Summary\r\n\r\nThis PR fixes the table padding on the Discover document
comparison\r\ntable which was causing the diff decorations to be cut
off. This likely\r\nstarted after #188495 when some of the standard
table styles the\r\ncomparison table inherits from changed.\r\n\r\nFixes
#205463.\r\n\r\n### Checklist\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/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- [ ] 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 was checked for breaking HTTP API changes, and any
breaking\r\nchanges have been approved by the breaking-change committee.
The\r\n`release_note:breaking` label should be applied in these
situations.\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] The PR description includes
the appropriate Release Notes section,\r\nand the correct
`release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"de3bd71d2cb34526e742a645f85b9f1f700a289d"}}]}]
BACKPORT-->

Co-authored-by: Davis McPhee <davis.mcphee@elastic.co>
2025-01-10 21:31:45 +00:00
Nicolas Chaulet
c3d9783181
[8.17] [Fleet] Use index.mapping.source.mode instead of _source.mode (#202729) (#206335)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Fleet] Use index.mapping.source.mode instead of _source.mode
(#202729)](https://github.com/elastic/kibana/pull/202729)

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

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

<!--BACKPORT [{"author":{"name":"Nicolas
Chaulet","email":"nicolas.chaulet@elastic.co"},"sourceCommit":{"committedDate":"2024-12-03T17:49:49Z","message":"[Fleet]
Use index.mapping.source.mode instead of _source.mode
(#202729)","sha":"6e5fc696a6f940d21af4ec5e4fd46d73a1007b71","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","backport:prev-minor","v8.18.0","v8.17.1","backport:8.17"],"number":202729,"url":"https://github.com/elastic/kibana/pull/202729","mergeCommit":{"message":"[Fleet]
Use index.mapping.source.mode instead of _source.mode
(#202729)","sha":"6e5fc696a6f940d21af4ec5e4fd46d73a1007b71"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202729","number":202729,"mergeCommit":{"message":"[Fleet]
Use index.mapping.source.mode instead of _source.mode
(#202729)","sha":"6e5fc696a6f940d21af4ec5e4fd46d73a1007b71"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/204406","number":204406,"state":"MERGED","mergeCommit":{"sha":"d3fcf47725332af0ec6a04465f495c5ef0a93b2e","message":"[8.x]
[Fleet] Use index.mapping.source.mode instead of _source.mode (#202729)
(#204406)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.x`:\n- [[Fleet] Use index.mapping.source.mode instead of
_source.mode\n(#202729)](https://github.com/elastic/kibana/pull/202729)\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\":\"Nicolas\nChaulet\",\"email\":\"nicolas.chaulet@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-12-03T17:49:49Z\",\"message\":\"[Fleet]\nUse
index.mapping.source.mode instead of
_source.mode\n(#202729)\",\"sha\":\"6e5fc696a6f940d21af4ec5e4fd46d73a1007b71\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"Team:Fleet\",\"v9.0.0\",\"backport:prev-minor\",\"v8.18.0\"],\"title\":\"[Fleet]\nUse
index.mapping.source.mode instead
of\n_source.mode\",\"number\":202729,\"url\":\"https://github.com/elastic/kibana/pull/202729\",\"mergeCommit\":{\"message\":\"[Fleet]\nUse
index.mapping.source.mode instead of
_source.mode\n(#202729)\",\"sha\":\"6e5fc696a6f940d21af4ec5e4fd46d73a1007b71\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"8.x\"],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/202729\",\"number\":202729,\"mergeCommit\":{\"message\":\"[Fleet]\nUse
index.mapping.source.mode instead of
_source.mode\n(#202729)\",\"sha\":\"6e5fc696a6f940d21af4ec5e4fd46d73a1007b71\"}},{\"branch\":\"8.x\",\"label\":\"v8.18.0\",\"branchLabelMappingKey\":\"^v8.18.0$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->\n\nCo-authored-by:
Nicolas Chaulet
<nicolas.chaulet@elastic.co>"}},{"branch":"8.17","label":"v8.17.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2025-01-10 21:18:48 +00:00
Nicolas Chaulet
cb2209e0da
[8.17] [Fleet] Bump install version after removal of deprecated _source.mode… (#204471) (#206336)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Fleet] Bump install version after removal of deprecated
_source.mode… (#204471)](https://github.com/elastic/kibana/pull/204471)

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

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

<!--BACKPORT [{"author":{"name":"Nicolas
Chaulet","email":"nicolas.chaulet@elastic.co"},"sourceCommit":{"committedDate":"2024-12-17T15:39:08Z","message":"[Fleet]
Bump install version after removal of deprecated _source.mode…
(#204471)","sha":"348ea81b1e85e846c855635c51e4e7fc3136bda1","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","backport:prev-minor","v8.18.0","v8.17.1","backport:8.17"],"number":204471,"url":"https://github.com/elastic/kibana/pull/204471","mergeCommit":{"message":"[Fleet]
Bump install version after removal of deprecated _source.mode…
(#204471)","sha":"348ea81b1e85e846c855635c51e4e7fc3136bda1"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204471","number":204471,"mergeCommit":{"message":"[Fleet]
Bump install version after removal of deprecated _source.mode…
(#204471)","sha":"348ea81b1e85e846c855635c51e4e7fc3136bda1"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/204604","number":204604,"state":"MERGED","mergeCommit":{"sha":"442d5f2b863967fdca5c2404ff84058e76f3f12c","message":"[8.x]
[Fleet] Bump install version after removal of deprecated _source.mode…
(#204471) (#204604)\n\n# Backport\r\n\r\nThis will backport the
following commits from `main` to `8.x`:\r\n- [[Fleet] Bump install
version after removal of deprecated\r\n_source.mode…
(#204471)](https://github.com/elastic/kibana/pull/204471)\r\n\r\n<!---
Backport version: 9.4.3 -->\r\n\r\n### Questions ?\r\nPlease refer to
the [Backport
tool\r\ndocumentation](https://github.com/sqren/backport)\r\n\r\n<!--BACKPORT
[{\"author\":{\"name\":\"Nicolas\r\nChaulet\",\"email\":\"nicolas.chaulet@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-12-17T15:39:08Z\",\"message\":\"[Fleet]\r\nBump
install version after removal of deprecated
_source.mode…\r\n(#204471)\",\"sha\":\"348ea81b1e85e846c855635c51e4e7fc3136bda1\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"Team:Fleet\",\"v9.0.0\",\"backport:prev-minor\",\"v8.18.0\"],\"title\":\"[Fleet]\r\nBump
install version after removal of
deprecated\r\n_source.mode…\",\"number\":204471,\"url\":\"https://github.com/elastic/kibana/pull/204471\",\"mergeCommit\":{\"message\":\"[Fleet]\r\nBump
install version after removal of deprecated
_source.mode…\r\n(#204471)\",\"sha\":\"348ea81b1e85e846c855635c51e4e7fc3136bda1\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"8.x\"],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/204471\",\"number\":204471,\"mergeCommit\":{\"message\":\"[Fleet]\r\nBump
install version after removal of deprecated
_source.mode…\r\n(#204471)\",\"sha\":\"348ea81b1e85e846c855635c51e4e7fc3136bda1\"}},{\"branch\":\"8.x\",\"label\":\"v8.18.0\",\"branchLabelMappingKey\":\"^v8.18.0$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\r\nBACKPORT-->\r\n\r\nCo-authored-by:
Nicolas Chaulet
<nicolas.chaulet@elastic.co>"}},{"branch":"8.17","label":"v8.17.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2025-01-10 21:16:14 +00:00
Kibana Machine
63273ca705
[8.17] Update dependency io-ts to ^2.2.22 (main) (#206174) (#206297)
# Backport

This will backport the following commits from `main` to `8.17`:
- [Update dependency io-ts to ^2.2.22 (main)
(#206174)](https://github.com/elastic/kibana/pull/206174)

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

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

<!--BACKPORT
[{"author":{"name":"elastic-renovate-prod[bot]","email":"174716857+elastic-renovate-prod[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-10T15:04:11Z","message":"Update
dependency io-ts to ^2.2.22 (main) (#206174)\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"44c2504240eacff6f5de9773fbc17e68312f4a6d","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:all-open"],"title":"Update
dependency io-ts to ^2.2.22
(main)","number":206174,"url":"https://github.com/elastic/kibana/pull/206174","mergeCommit":{"message":"Update
dependency io-ts to ^2.2.22 (main) (#206174)\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"44c2504240eacff6f5de9773fbc17e68312f4a6d"}},"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/206174","number":206174,"mergeCommit":{"message":"Update
dependency io-ts to ^2.2.22 (main) (#206174)\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"44c2504240eacff6f5de9773fbc17e68312f4a6d"}}]}]
BACKPORT-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2025-01-10 16:54:12 +00:00
Janki Salvi
863ef2ba5e
[8.17] [ResponseOps][Rules] Allow to set notify when and throttle at rule level (#203235) (#206109)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[ResponseOps][Rules] Allow to set notify when and throttle at rule
level (#203235)](https://github.com/elastic/kibana/pull/203235)

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

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

<!--BACKPORT [{"author":{"name":"Janki
Salvi","email":"117571355+js-jankisalvi@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-09T16:18:28Z","message":"[ResponseOps][Rules]
Allow to set notify when and throttle at rule level (#203235)\n\n##
Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/199494\r\n\r\nThis PR allows to
create and update rule with `notify_when` and\r\n`throttle` attributes
at rule level instead of `action.frequency` level.\r\n\r\n### How to
test\r\n- create a rule via api where `notify_when` and `throttle`
attributes\r\nare at rule level\r\n
<details><summary>Example</summary>\r\n Note: use your existing
connector for action\r\n \r\n ```typescript\r\n POST
kbn:/api/alerting/rule\r\n {\r\n \"tags\": [],\r\n \"params\": {\r\n
\"searchConfiguration\": {\r\n \"query\": {\r\n \"query\": \"\",\r\n
\"language\": \"kuery\"\r\n },\r\n \"index\":
\"ff959d40-b880-11e8-a6d9-e546fe2bba5f\"\r\n },\r\n \"timeField\":
\"order_date\",\r\n \"searchType\": \"searchSource\",\r\n
\"timeWindowSize\": 5,\r\n \"timeWindowUnit\": \"d\",\r\n \"threshold\":
[\r\n 10\r\n ],\r\n \"thresholdComparator\": \">\",\r\n \"size\":
100,\r\n \"aggType\": \"count\",\r\n \"groupBy\": \"all\",\r\n
\"termSize\": 5,\r\n \"excludeHitsFromPreviousRun\": false,\r\n
\"sourceFields\": []\r\n },\r\n \"schedule\": {\r\n \"interval\":
\"1m\"\r\n },\r\n \"consumer\": \"stackAlerts\",\r\n \"name\": \"ES
query rule from devtools\",\r\n \"rule_type_id\": \".es-query\",\r\n
\"notify_when\": \"onThrottleInterval\",\r\n \"throttle\": \"1h\",\r\n
\"actions\": [\r\n {\r\n \"group\": \"query matched\",\r\n \"id\":
\"ad923c8a-d27d-41a9-8c71-d33d94db4abb\",\r\n \"params\": {\r\n
\"documents\": [\r\n {\r\n \"name\": \"{{rule.name}}\"\r\n }\r\n ]\r\n
}\r\n }\r\n ],\r\n \"alert_delay\": {\r\n \"active\": 1\r\n }\r\n }\r\n
``` \r\n </details> \r\n\r\n- open the created rule\r\n- go to
`settings` tab \r\n- verify that dropdowns reflect notify_when and
throttle value correctly\r\n- update the rule via UI and verify the
same\r\n- update the rule via API and verify the same\r\n\r\n### Flaky
test runner:
\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7684\r\n\r\n###
Checklist\r\n\r\nCheck the PR satisfies following conditions. \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":"a56227bf37108da0604d731f304e0dcb81e03a4f","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","v9.0.0","backport:prev-major","v8.18.0","v8.16.3","v8.17.1"],"number":203235,"url":"https://github.com/elastic/kibana/pull/203235","mergeCommit":{"message":"[ResponseOps][Rules]
Allow to set notify when and throttle at rule level (#203235)\n\n##
Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/199494\r\n\r\nThis PR allows to
create and update rule with `notify_when` and\r\n`throttle` attributes
at rule level instead of `action.frequency` level.\r\n\r\n### How to
test\r\n- create a rule via api where `notify_when` and `throttle`
attributes\r\nare at rule level\r\n
<details><summary>Example</summary>\r\n Note: use your existing
connector for action\r\n \r\n ```typescript\r\n POST
kbn:/api/alerting/rule\r\n {\r\n \"tags\": [],\r\n \"params\": {\r\n
\"searchConfiguration\": {\r\n \"query\": {\r\n \"query\": \"\",\r\n
\"language\": \"kuery\"\r\n },\r\n \"index\":
\"ff959d40-b880-11e8-a6d9-e546fe2bba5f\"\r\n },\r\n \"timeField\":
\"order_date\",\r\n \"searchType\": \"searchSource\",\r\n
\"timeWindowSize\": 5,\r\n \"timeWindowUnit\": \"d\",\r\n \"threshold\":
[\r\n 10\r\n ],\r\n \"thresholdComparator\": \">\",\r\n \"size\":
100,\r\n \"aggType\": \"count\",\r\n \"groupBy\": \"all\",\r\n
\"termSize\": 5,\r\n \"excludeHitsFromPreviousRun\": false,\r\n
\"sourceFields\": []\r\n },\r\n \"schedule\": {\r\n \"interval\":
\"1m\"\r\n },\r\n \"consumer\": \"stackAlerts\",\r\n \"name\": \"ES
query rule from devtools\",\r\n \"rule_type_id\": \".es-query\",\r\n
\"notify_when\": \"onThrottleInterval\",\r\n \"throttle\": \"1h\",\r\n
\"actions\": [\r\n {\r\n \"group\": \"query matched\",\r\n \"id\":
\"ad923c8a-d27d-41a9-8c71-d33d94db4abb\",\r\n \"params\": {\r\n
\"documents\": [\r\n {\r\n \"name\": \"{{rule.name}}\"\r\n }\r\n ]\r\n
}\r\n }\r\n ],\r\n \"alert_delay\": {\r\n \"active\": 1\r\n }\r\n }\r\n
``` \r\n </details> \r\n\r\n- open the created rule\r\n- go to
`settings` tab \r\n- verify that dropdowns reflect notify_when and
throttle value correctly\r\n- update the rule via UI and verify the
same\r\n- update the rule via API and verify the same\r\n\r\n### Flaky
test runner:
\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7684\r\n\r\n###
Checklist\r\n\r\nCheck the PR satisfies following conditions. \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":"a56227bf37108da0604d731f304e0dcb81e03a4f"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203235","number":203235,"mergeCommit":{"message":"[ResponseOps][Rules]
Allow to set notify when and throttle at rule level (#203235)\n\n##
Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/199494\r\n\r\nThis PR allows to
create and update rule with `notify_when` and\r\n`throttle` attributes
at rule level instead of `action.frequency` level.\r\n\r\n### How to
test\r\n- create a rule via api where `notify_when` and `throttle`
attributes\r\nare at rule level\r\n
<details><summary>Example</summary>\r\n Note: use your existing
connector for action\r\n \r\n ```typescript\r\n POST
kbn:/api/alerting/rule\r\n {\r\n \"tags\": [],\r\n \"params\": {\r\n
\"searchConfiguration\": {\r\n \"query\": {\r\n \"query\": \"\",\r\n
\"language\": \"kuery\"\r\n },\r\n \"index\":
\"ff959d40-b880-11e8-a6d9-e546fe2bba5f\"\r\n },\r\n \"timeField\":
\"order_date\",\r\n \"searchType\": \"searchSource\",\r\n
\"timeWindowSize\": 5,\r\n \"timeWindowUnit\": \"d\",\r\n \"threshold\":
[\r\n 10\r\n ],\r\n \"thresholdComparator\": \">\",\r\n \"size\":
100,\r\n \"aggType\": \"count\",\r\n \"groupBy\": \"all\",\r\n
\"termSize\": 5,\r\n \"excludeHitsFromPreviousRun\": false,\r\n
\"sourceFields\": []\r\n },\r\n \"schedule\": {\r\n \"interval\":
\"1m\"\r\n },\r\n \"consumer\": \"stackAlerts\",\r\n \"name\": \"ES
query rule from devtools\",\r\n \"rule_type_id\": \".es-query\",\r\n
\"notify_when\": \"onThrottleInterval\",\r\n \"throttle\": \"1h\",\r\n
\"actions\": [\r\n {\r\n \"group\": \"query matched\",\r\n \"id\":
\"ad923c8a-d27d-41a9-8c71-d33d94db4abb\",\r\n \"params\": {\r\n
\"documents\": [\r\n {\r\n \"name\": \"{{rule.name}}\"\r\n }\r\n ]\r\n
}\r\n }\r\n ],\r\n \"alert_delay\": {\r\n \"active\": 1\r\n }\r\n }\r\n
``` \r\n </details> \r\n\r\n- open the created rule\r\n- go to
`settings` tab \r\n- verify that dropdowns reflect notify_when and
throttle value correctly\r\n- update the rule via UI and verify the
same\r\n- update the rule via API and verify the same\r\n\r\n### Flaky
test runner:
\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7684\r\n\r\n###
Checklist\r\n\r\nCheck the PR satisfies following conditions. \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":"a56227bf37108da0604d731f304e0dcb81e03a4f"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/206099","number":206099,"state":"OPEN"},{"branch":"8.16","label":"v8.16.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-10 11:14:22 +00:00
Kibana Machine
06350ef744
[8.17] [ci] Work around docosaurus errors (#206097) (#206149)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[ci] Work around docosaurus errors
(#206097)](https://github.com/elastic/kibana/pull/206097)

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

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

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2025-01-09T22:33:30Z","message":"[ci]
Work around docosaurus errors (#206097)\n\n## Summary\nThis workaround
removes the folder that needs to be built differently\nafter cloning the
repos.\n\nSee:
https://github.com/elastic/kibana/issues/206077","sha":"b3b81331b5cc7a52d31ecdaed847b0a03fe48729","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:prev-major","ci:build-next-docs"],"title":"[ci]
Work around docosaurus
errors","number":206097,"url":"https://github.com/elastic/kibana/pull/206097","mergeCommit":{"message":"[ci]
Work around docosaurus errors (#206097)\n\n## Summary\nThis workaround
removes the folder that needs to be built differently\nafter cloning the
repos.\n\nSee:
https://github.com/elastic/kibana/issues/206077","sha":"b3b81331b5cc7a52d31ecdaed847b0a03fe48729"}},"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/206097","number":206097,"mergeCommit":{"message":"[ci]
Work around docosaurus errors (#206097)\n\n## Summary\nThis workaround
removes the folder that needs to be built differently\nafter cloning the
repos.\n\nSee:
https://github.com/elastic/kibana/issues/206077","sha":"b3b81331b5cc7a52d31ecdaed847b0a03fe48729"}}]}]
BACKPORT-->

Co-authored-by: Alex Szabo <alex.szabo@elastic.co>
2025-01-10 00:23:55 +00:00
Kibana Machine
04ad01c821
[8.17] Adds notification settings for unsupported ftr tests (synthetics, inventory) (#206085) (#206124)
# Backport

This will backport the following commits from `main` to `8.17`:
- [Adds notification settings for unsupported ftr tests (synthetics,
inventory) (#206085)](https://github.com/elastic/kibana/pull/206085)

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

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

<!--BACKPORT [{"author":{"name":"Jason
Rhodes","email":"jason.rhodes@elastic.co"},"sourceCommit":{"committedDate":"2025-01-09T18:02:16Z","message":"Adds
notification settings for unsupported ftr tests (synthetics, inventory)
(#206085)\n\n## Summary\n\nBased on [work by @v1v to notify Slack teams
when there are unsupported\nFTR
failures](https://github.com/elastic/kibana/pull/205260), I've
added\nthe remaining ones for synthetics and inventory tests
here.","sha":"d7723168a55e77a775a7d8cc0d897cc8c2019275","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:all-open"],"title":"Adds
notification settings for unsupported ftr tests (synthetics,
inventory)","number":206085,"url":"https://github.com/elastic/kibana/pull/206085","mergeCommit":{"message":"Adds
notification settings for unsupported ftr tests (synthetics, inventory)
(#206085)\n\n## Summary\n\nBased on [work by @v1v to notify Slack teams
when there are unsupported\nFTR
failures](https://github.com/elastic/kibana/pull/205260), I've
added\nthe remaining ones for synthetics and inventory tests
here.","sha":"d7723168a55e77a775a7d8cc0d897cc8c2019275"}},"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/206085","number":206085,"mergeCommit":{"message":"Adds
notification settings for unsupported ftr tests (synthetics, inventory)
(#206085)\n\n## Summary\n\nBased on [work by @v1v to notify Slack teams
when there are unsupported\nFTR
failures](https://github.com/elastic/kibana/pull/205260), I've
added\nthe remaining ones for synthetics and inventory tests
here.","sha":"d7723168a55e77a775a7d8cc0d897cc8c2019275"}}]}] BACKPORT-->

Co-authored-by: Jason Rhodes <jason.rhodes@elastic.co>
2025-01-09 19:56:48 +00:00
Sebastián Zaffarano
81fd45e12a
[8.17] [8.x] [Telemetry][Security Solution] Index metadata collector (#194004) (#204311) (#204628)
# Backport

This will backport the following commits from `8.x` to `8.17`:
- [[8.x] [Telemetry][Security Solution] Index metadata collector
(#194004) (#204311)](https://github.com/elastic/kibana/pull/204311)

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

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

<!--BACKPORT [{"author":{"name":"Sebastián
Zaffarano","email":"sebastian.zaffarano@elastic.co"},"sourceCommit":{"committedDate":"2024-12-16T16:05:02Z","message":"[8.x]
[Telemetry][Security Solution] Index metadata collector (#194004)
(#204311)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.x`:\n- [[Telemetry][Security Solution] Index metadata
collector\n(#194004)](https://github.com/elastic/kibana/pull/194004)\n\n<!---
Backport version: 8.9.8 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Sebastián\nZaffarano\",\"email\":\"sebastian.zaffarano@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-12-13T18:31:03Z\",\"message\":\"[Telemetry][Security\nSolution]
Index metadata collector
(#194004)\\n\\n##\nSummary\\r\\n\\r\\nImplements a security_solution
task scheduled to run once\na day to\\r\\ncollect the following
information:\\r\\n\\r\\n1. Datastreams\nstats\\r\\n2. Indices
stats\\r\\n3. ILMs stats\\r\\n4. ILM configs\\r\\n\\r\\nThe\ntask allows
a runtime configuration to limit the number of\nindices\\r\\nand data
streams to analyze or event to disable the
feature\nentirely.\\r\\n\\r\\nOnce the data is gathered, the task sends
it as EBT\nevents.\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:
kibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\\r\\nCo-authored-by:\nElastic
Machine\n<elasticmachine@users.noreply.github.com>\",\"sha\":\"36b344a4c58a3d78a892288e0eef71e9ff163b9d\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"v9.0.0\",\"Team:\nSecuritySolution\",\"backport:all-open\",\"ci:cloud-deploy\"],\"number\":194004,\"url\":\"https://github.com/elastic/kibana/pull/194004\",\"mergeCommit\":{\"message\":\"[Telemetry][Security\nSolution]
Index metadata collector
(#194004)\\n\\n##\nSummary\\r\\n\\r\\nImplements a security_solution
task scheduled to run once\na day to\\r\\ncollect the following
information:\\r\\n\\r\\n1. Datastreams\nstats\\r\\n2. Indices
stats\\r\\n3. ILMs stats\\r\\n4. ILM configs\\r\\n\\r\\nThe\ntask allows
a runtime configuration to limit the number of\nindices\\r\\nand data
streams to analyze or event to disable the
feature\nentirely.\\r\\n\\r\\nOnce the data is gathered, the task sends
it as EBT\nevents.\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:
kibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\\r\\nCo-authored-by:\nElastic
Machine\n<elasticmachine@users.noreply.github.com>\",\"sha\":\"36b344a4c58a3d78a892288e0eef71e9ff163b9d\"}},\"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/194004\",\"number\":194004,\"mergeCommit\":{\"message\":\"[Telemetry][Security\nSolution]
Index metadata collector
(#194004)\\n\\n##\nSummary\\r\\n\\r\\nImplements a security_solution
task scheduled to run once\na day to\\r\\ncollect the following
information:\\r\\n\\r\\n1. Datastreams\nstats\\r\\n2. Indices
stats\\r\\n3. ILMs stats\\r\\n4. ILM configs\\r\\n\\r\\nThe\ntask allows
a runtime configuration to limit the number of\nindices\\r\\nand data
streams to analyze or event to disable the
feature\nentirely.\\r\\n\\r\\nOnce the data is gathered, the task sends
it as EBT\nevents.\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:
kibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\\r\\nCo-authored-by:\nElastic
Machine\n<elasticmachine@users.noreply.github.com>\",\"sha\":\"36b344a4c58a3d78a892288e0eef71e9ff163b9d\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"7a3de72bbe94a87bd972602b29212764f2619951","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport"],"number":204311,"url":"https://github.com/elastic/kibana/pull/204311","mergeCommit":{"message":"[8.x]
[Telemetry][Security Solution] Index metadata collector (#194004)
(#204311)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.x`:\n- [[Telemetry][Security Solution] Index metadata
collector\n(#194004)](https://github.com/elastic/kibana/pull/194004)\n\n<!---
Backport version: 8.9.8 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Sebastián\nZaffarano\",\"email\":\"sebastian.zaffarano@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-12-13T18:31:03Z\",\"message\":\"[Telemetry][Security\nSolution]
Index metadata collector
(#194004)\\n\\n##\nSummary\\r\\n\\r\\nImplements a security_solution
task scheduled to run once\na day to\\r\\ncollect the following
information:\\r\\n\\r\\n1. Datastreams\nstats\\r\\n2. Indices
stats\\r\\n3. ILMs stats\\r\\n4. ILM configs\\r\\n\\r\\nThe\ntask allows
a runtime configuration to limit the number of\nindices\\r\\nand data
streams to analyze or event to disable the
feature\nentirely.\\r\\n\\r\\nOnce the data is gathered, the task sends
it as EBT\nevents.\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:
kibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\\r\\nCo-authored-by:\nElastic
Machine\n<elasticmachine@users.noreply.github.com>\",\"sha\":\"36b344a4c58a3d78a892288e0eef71e9ff163b9d\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"v9.0.0\",\"Team:\nSecuritySolution\",\"backport:all-open\",\"ci:cloud-deploy\"],\"number\":194004,\"url\":\"https://github.com/elastic/kibana/pull/194004\",\"mergeCommit\":{\"message\":\"[Telemetry][Security\nSolution]
Index metadata collector
(#194004)\\n\\n##\nSummary\\r\\n\\r\\nImplements a security_solution
task scheduled to run once\na day to\\r\\ncollect the following
information:\\r\\n\\r\\n1. Datastreams\nstats\\r\\n2. Indices
stats\\r\\n3. ILMs stats\\r\\n4. ILM configs\\r\\n\\r\\nThe\ntask allows
a runtime configuration to limit the number of\nindices\\r\\nand data
streams to analyze or event to disable the
feature\nentirely.\\r\\n\\r\\nOnce the data is gathered, the task sends
it as EBT\nevents.\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:
kibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\\r\\nCo-authored-by:\nElastic
Machine\n<elasticmachine@users.noreply.github.com>\",\"sha\":\"36b344a4c58a3d78a892288e0eef71e9ff163b9d\"}},\"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/194004\",\"number\":194004,\"mergeCommit\":{\"message\":\"[Telemetry][Security\nSolution]
Index metadata collector
(#194004)\\n\\n##\nSummary\\r\\n\\r\\nImplements a security_solution
task scheduled to run once\na day to\\r\\ncollect the following
information:\\r\\n\\r\\n1. Datastreams\nstats\\r\\n2. Indices
stats\\r\\n3. ILMs stats\\r\\n4. ILM configs\\r\\n\\r\\nThe\ntask allows
a runtime configuration to limit the number of\nindices\\r\\nand data
streams to analyze or event to disable the
feature\nentirely.\\r\\n\\r\\nOnce the data is gathered, the task sends
it as EBT\nevents.\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:
kibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\\r\\nCo-authored-by:\nElastic
Machine\n<elasticmachine@users.noreply.github.com>\",\"sha\":\"36b344a4c58a3d78a892288e0eef71e9ff163b9d\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"7a3de72bbe94a87bd972602b29212764f2619951"}},"sourceBranch":"8.x","suggestedTargetBranches":[],"targetPullRequestStates":[]}]
BACKPORT-->

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-09 20:27:12 +01:00
Kibana Machine
6dd7925c29
[8.17] [Docs] Add wolfi image info (#205022) (#206101)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Docs] Add wolfi image info
(#205022)](https://github.com/elastic/kibana/pull/205022)

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

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

<!--BACKPORT
[{"author":{"name":"wajihaparvez","email":"wajiha.parvez@elastic.co"},"sourceCommit":{"committedDate":"2025-01-09T16:10:59Z","message":"[Docs]
Add wolfi image info (#205022)\n\n## Summary\r\n\r\nAdds information
about using Wolfi container images to the Install with\r\nDocker
page.\r\n\r\nCloses:
[#594](https://github.com/elastic/platform-docs-team/issues/594)","sha":"fea598ea13d9e41ce6d2b7bcf83a1845573228a0","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","v9.0.0","v8.16.0","backport:version","v8.17.0","v8.18.0"],"title":"[Docs]
Add wolfi image
info","number":205022,"url":"https://github.com/elastic/kibana/pull/205022","mergeCommit":{"message":"[Docs]
Add wolfi image info (#205022)\n\n## Summary\r\n\r\nAdds information
about using Wolfi container images to the Install with\r\nDocker
page.\r\n\r\nCloses:
[#594](https://github.com/elastic/platform-docs-team/issues/594)","sha":"fea598ea13d9e41ce6d2b7bcf83a1845573228a0"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.17","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205022","number":205022,"mergeCommit":{"message":"[Docs]
Add wolfi image info (#205022)\n\n## Summary\r\n\r\nAdds information
about using Wolfi container images to the Install with\r\nDocker
page.\r\n\r\nCloses:
[#594](https://github.com/elastic/platform-docs-team/issues/594)","sha":"fea598ea13d9e41ce6d2b7bcf83a1845573228a0"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: wajihaparvez <wajiha.parvez@elastic.co>
2025-01-09 16:56:16 +00:00
Davis McPhee
6150e4aa4c
[8.17] [Discover] Fix issue where KEEP columns are not applied after Elasticsearch error (#205833) (#205976)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Discover] Fix issue where `KEEP` columns are not applied after
Elasticsearch error
(#205833)](https://github.com/elastic/kibana/pull/205833)

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

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

<!--BACKPORT [{"author":{"name":"Davis
McPhee","email":"davis.mcphee@elastic.co"},"sourceCommit":{"committedDate":"2025-01-08T18:20:24Z","message":"[Discover]
Fix issue where `KEEP` columns are not applied after Elasticsearch error
(#205833)\n\n## Summary\r\n\r\nThis PR fixes an issue where columns are
not applied correctly when\r\nusing the ES|QL `KEEP` command after an
Elasticsearch error has\r\noccurred.\r\n\r\nFixes #205353.\r\n\r\n###
Checklist\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/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- [ ] 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 was checked for breaking HTTP API changes, and any
breaking\r\nchanges have been approved by the breaking-change committee.
The\r\n`release_note:breaking` label should be applied in these
situations.\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] The PR description includes
the appropriate Release Notes section,\r\nand the correct
`release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"8eb326d5961ef377f0a05c98c281eb5b97bd19d3","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:DataDiscovery","backport:version","v8.17.0","v8.18.0"],"number":205833,"url":"https://github.com/elastic/kibana/pull/205833","mergeCommit":{"message":"[Discover]
Fix issue where `KEEP` columns are not applied after Elasticsearch error
(#205833)\n\n## Summary\r\n\r\nThis PR fixes an issue where columns are
not applied correctly when\r\nusing the ES|QL `KEEP` command after an
Elasticsearch error has\r\noccurred.\r\n\r\nFixes #205353.\r\n\r\n###
Checklist\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/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- [ ] 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 was checked for breaking HTTP API changes, and any
breaking\r\nchanges have been approved by the breaking-change committee.
The\r\n`release_note:breaking` label should be applied in these
situations.\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] The PR description includes
the appropriate Release Notes section,\r\nand the correct
`release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"8eb326d5961ef377f0a05c98c281eb5b97bd19d3"}},"sourceBranch":"main","suggestedTargetBranches":["8.17","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205833","number":205833,"mergeCommit":{"message":"[Discover]
Fix issue where `KEEP` columns are not applied after Elasticsearch error
(#205833)\n\n## Summary\r\n\r\nThis PR fixes an issue where columns are
not applied correctly when\r\nusing the ES|QL `KEEP` command after an
Elasticsearch error has\r\noccurred.\r\n\r\nFixes #205353.\r\n\r\n###
Checklist\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/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- [ ] 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 was checked for breaking HTTP API changes, and any
breaking\r\nchanges have been approved by the breaking-change committee.
The\r\n`release_note:breaking` label should be applied in these
situations.\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] The PR description includes
the appropriate Release Notes section,\r\nand the correct
`release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"8eb326d5961ef377f0a05c98c281eb5b97bd19d3"}},{"branch":"8.17","label":"v8.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2025-01-09 14:06:27 +01:00
elastic-vault-github-plugin-prod[bot]
351fe90388
[8.17] Sync bundled packages with Package Storage (#205865)
Automated by
https://buildkite.com/elastic/package-storage-infra-kibana-discover-release-branches/builds/2019

Co-authored-by: elasticmachine <elasticmachine@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>
2025-01-09 12:58:46 +00:00
Kibana Machine
9b07116468
[8.17] [Security Solution] List all policies to display integrations properly (#205103) (#205890)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Security Solution] List all policies to display integrations
properly (#205103)](https://github.com/elastic/kibana/pull/205103)

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

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

<!--BACKPORT [{"author":{"name":"Jacek
Kolezynski","email":"jacek.kolezynski@elastic.co"},"sourceCommit":{"committedDate":"2025-01-08T13:26:32Z","message":"[Security
Solution] List all policies to display integrations properly
(#205103)\n\n**Resolves: #200167**\n\n## Summary\n\nIncrease number of
fetched package policies to the maximum. Currently\nonly the first 20
policies (the first page) are returned, which results\nin treating all
remaining ones as disabled.\nI am proposing the simplest change of
increasing the limit here to the\nmaximum. There shouldn't be too many
policies there, e.g. in the\nreproduction I am running there are 23
instead of 20.\nIf that is not enough, however, the alternative would be
to discover\nthat there are more policies than the specified limit and
the next\npage(s) would have to be collected and the results added to
the
final\nlist.\n\n#BEFORE\n\n![image](https://github.com/user-attachments/assets/c98ab5a5-e822-459e-8abc-b45a963e93d7)\n\n#AFTER
\n\n![image](https://github.com/user-attachments/assets/ac519ec2-5674-4d17-bea3-7b6df72078dc)\n\n###
Checklist\n\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"6d49348db89302cf658637e8e8bd9e33760a2cad","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","v9.0.0","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","backport:version","v8.18.0","v8.16.3","v8.17.1"],"title":"[Security
Solution] List all policies to display integrations
properly","number":205103,"url":"https://github.com/elastic/kibana/pull/205103","mergeCommit":{"message":"[Security
Solution] List all policies to display integrations properly
(#205103)\n\n**Resolves: #200167**\n\n## Summary\n\nIncrease number of
fetched package policies to the maximum. Currently\nonly the first 20
policies (the first page) are returned, which results\nin treating all
remaining ones as disabled.\nI am proposing the simplest change of
increasing the limit here to the\nmaximum. There shouldn't be too many
policies there, e.g. in the\nreproduction I am running there are 23
instead of 20.\nIf that is not enough, however, the alternative would be
to discover\nthat there are more policies than the specified limit and
the next\npage(s) would have to be collected and the results added to
the
final\nlist.\n\n#BEFORE\n\n![image](https://github.com/user-attachments/assets/c98ab5a5-e822-459e-8abc-b45a963e93d7)\n\n#AFTER
\n\n![image](https://github.com/user-attachments/assets/ac519ec2-5674-4d17-bea3-7b6df72078dc)\n\n###
Checklist\n\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"6d49348db89302cf658637e8e8bd9e33760a2cad"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205103","number":205103,"mergeCommit":{"message":"[Security
Solution] List all policies to display integrations properly
(#205103)\n\n**Resolves: #200167**\n\n## Summary\n\nIncrease number of
fetched package policies to the maximum. Currently\nonly the first 20
policies (the first page) are returned, which results\nin treating all
remaining ones as disabled.\nI am proposing the simplest change of
increasing the limit here to the\nmaximum. There shouldn't be too many
policies there, e.g. in the\nreproduction I am running there are 23
instead of 20.\nIf that is not enough, however, the alternative would be
to discover\nthat there are more policies than the specified limit and
the next\npage(s) would have to be collected and the results added to
the
final\nlist.\n\n#BEFORE\n\n![image](https://github.com/user-attachments/assets/c98ab5a5-e822-459e-8abc-b45a963e93d7)\n\n#AFTER
\n\n![image](https://github.com/user-attachments/assets/ac519ec2-5674-4d17-bea3-7b6df72078dc)\n\n###
Checklist\n\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"6d49348db89302cf658637e8e8bd9e33760a2cad"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Jacek Kolezynski <jacek.kolezynski@elastic.co>
2025-01-09 09:31:52 +00:00
Kibana Machine
66b59a25c2
[8.17] [Security Solution] Implement refactoring remark from PR #201731 (#204022) (#205904)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Security Solution] Implement refactoring remark from PR #201731
(#204022)](https://github.com/elastic/kibana/pull/204022)

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

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

<!--BACKPORT [{"author":{"name":"Jacek
Kolezynski","email":"jacek.kolezynski@elastic.co"},"sourceCommit":{"committedDate":"2025-01-08T14:01:47Z","message":"[Security
Solution] Implement refactoring remark from PR #201731 (#204022)\n\n##
Summary\n\nIn the PR #201731 for ticket #180660 @banderror advised to
refactor code\nin that PR to better separate the concerns (business
logic from\ncomponents). This is the implementation of that
review\n[remark](471a0986-bcdb-4611-ab1a-bdcbe5151f47\n\n---------\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>\nCo-authored-by: Nikita Indik
<nikita.indik@elastic.co>","sha":"20eb87d778a69b6b0d7132732cbea9cce44e895c","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["refactoring","release_note:skip","v9.0.0","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","ci:cloud-deploy","ci:project-deploy-security","backport:version","v8.18.0","v8.16.3","v8.17.1"],"title":"[Security
Solution] Implement refactoring remark from PR
#201731","number":204022,"url":"https://github.com/elastic/kibana/pull/204022","mergeCommit":{"message":"[Security
Solution] Implement refactoring remark from PR #201731 (#204022)\n\n##
Summary\n\nIn the PR #201731 for ticket #180660 @banderror advised to
refactor code\nin that PR to better separate the concerns (business
logic from\ncomponents). This is the implementation of that
review\n[remark](471a0986-bcdb-4611-ab1a-bdcbe5151f47\n\n---------\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>\nCo-authored-by: Nikita Indik
<nikita.indik@elastic.co>","sha":"20eb87d778a69b6b0d7132732cbea9cce44e895c"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204022","number":204022,"mergeCommit":{"message":"[Security
Solution] Implement refactoring remark from PR #201731 (#204022)\n\n##
Summary\n\nIn the PR #201731 for ticket #180660 @banderror advised to
refactor code\nin that PR to better separate the concerns (business
logic from\ncomponents). This is the implementation of that
review\n[remark](471a0986-bcdb-4611-ab1a-bdcbe5151f47\n\n---------\n\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>\nCo-authored-by: Nikita Indik
<nikita.indik@elastic.co>","sha":"20eb87d778a69b6b0d7132732cbea9cce44e895c"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Jacek Kolezynski <jacek.kolezynski@elastic.co>
2025-01-09 09:30:31 +00:00
Kenneth Kreindler
237a7c6526
[8.17] [Security Assistant] Move security AI assistant button into global nav bar (#203060) (#205885)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Security Assistant] Move security AI assistant button into global
nav bar (#203060)](https://github.com/elastic/kibana/pull/203060)

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

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

<!--BACKPORT [{"author":{"name":"Kenneth
Kreindler","email":"42113355+KDKHD@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-08T10:03:54Z","message":"[Security
Assistant] Move security AI assistant button into global nav bar
(#203060)\n\n## Summary\r\n\r\nMore changes are needed within the
observability and search solution to\r\nclose the issue
fully.\r\n\r\nSummarise your PR. If it involves visual changes include a
screenshot or\r\ngif.\r\n\r\nMove the security AI assistant button from
the solution header bar into\r\nthe global nav bar. This is part of the
AI assistant unification\r\ninitiative.\r\n\r\n### How to Test\r\n-
Start kibana\r\n- Go to one of the security solution pages (e.g. attack
discovery)\r\n- AI assistant button should be in the global nav bar.
Clicking it opens\r\nthe assistant.\r\n\r\n- The button can also be
tested for security serverless deployment. It\r\nshould look like the
screenshot bellow.\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies
following conditions. \r\n\r\nReviewers should verify this PR satisfies
this list as well.\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 breaking HTTP API changes, and any breaking\r\nchanges have
been approved by the breaking-change committee.
The\r\n`release_note:breaking` label should be applied in these
situations.\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] The PR description includes
the appropriate Release Notes section,\r\nand the correct
`release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n###
Identify risks\r\n\r\nDoes this PR introduce any risks? For example,
consider risks like hard\r\nto test bugs, performance regression,
potential of data loss.\r\n\r\nDescribe the risk, its severity, and
mitigation for each identified\r\nrisk. Invite stakeholders and evaluate
how to proceed before merging.\r\n\r\n- [ ] [See some
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\r\n-
[ ]
...\r\n\r\nClassic:\r\n\r\n![image](7425c886-4528-4987-a00a-48bdc71728c7)\r\n\r\nOld:\r\n<img
width=\"1728\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/5ef568c6-2d31-47da-8f5f-87dfdf10cb5c\">\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>","sha":"06cf554981845fa2e1d9505952e559568d3e0479","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-major","Feature:Security
Assistant","Team:Security Generative
AI"],"number":203060,"url":"https://github.com/elastic/kibana/pull/203060","mergeCommit":{"message":"[Security
Assistant] Move security AI assistant button into global nav bar
(#203060)\n\n## Summary\r\n\r\nMore changes are needed within the
observability and search solution to\r\nclose the issue
fully.\r\n\r\nSummarise your PR. If it involves visual changes include a
screenshot or\r\ngif.\r\n\r\nMove the security AI assistant button from
the solution header bar into\r\nthe global nav bar. This is part of the
AI assistant unification\r\ninitiative.\r\n\r\n### How to Test\r\n-
Start kibana\r\n- Go to one of the security solution pages (e.g. attack
discovery)\r\n- AI assistant button should be in the global nav bar.
Clicking it opens\r\nthe assistant.\r\n\r\n- The button can also be
tested for security serverless deployment. It\r\nshould look like the
screenshot bellow.\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies
following conditions. \r\n\r\nReviewers should verify this PR satisfies
this list as well.\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 breaking HTTP API changes, and any breaking\r\nchanges have
been approved by the breaking-change committee.
The\r\n`release_note:breaking` label should be applied in these
situations.\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] The PR description includes
the appropriate Release Notes section,\r\nand the correct
`release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n###
Identify risks\r\n\r\nDoes this PR introduce any risks? For example,
consider risks like hard\r\nto test bugs, performance regression,
potential of data loss.\r\n\r\nDescribe the risk, its severity, and
mitigation for each identified\r\nrisk. Invite stakeholders and evaluate
how to proceed before merging.\r\n\r\n- [ ] [See some
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\r\n-
[ ]
...\r\n\r\nClassic:\r\n\r\n![image](7425c886-4528-4987-a00a-48bdc71728c7)\r\n\r\nOld:\r\n<img
width=\"1728\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/5ef568c6-2d31-47da-8f5f-87dfdf10cb5c\">\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>","sha":"06cf554981845fa2e1d9505952e559568d3e0479"}},"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/203060","number":203060,"mergeCommit":{"message":"[Security
Assistant] Move security AI assistant button into global nav bar
(#203060)\n\n## Summary\r\n\r\nMore changes are needed within the
observability and search solution to\r\nclose the issue
fully.\r\n\r\nSummarise your PR. If it involves visual changes include a
screenshot or\r\ngif.\r\n\r\nMove the security AI assistant button from
the solution header bar into\r\nthe global nav bar. This is part of the
AI assistant unification\r\ninitiative.\r\n\r\n### How to Test\r\n-
Start kibana\r\n- Go to one of the security solution pages (e.g. attack
discovery)\r\n- AI assistant button should be in the global nav bar.
Clicking it opens\r\nthe assistant.\r\n\r\n- The button can also be
tested for security serverless deployment. It\r\nshould look like the
screenshot bellow.\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies
following conditions. \r\n\r\nReviewers should verify this PR satisfies
this list as well.\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 breaking HTTP API changes, and any breaking\r\nchanges have
been approved by the breaking-change committee.
The\r\n`release_note:breaking` label should be applied in these
situations.\r\n- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] The PR description includes
the appropriate Release Notes section,\r\nand the correct
`release_note:*` label is applied per
the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n###
Identify risks\r\n\r\nDoes this PR introduce any risks? For example,
consider risks like hard\r\nto test bugs, performance regression,
potential of data loss.\r\n\r\nDescribe the risk, its severity, and
mitigation for each identified\r\nrisk. Invite stakeholders and evaluate
how to proceed before merging.\r\n\r\n- [ ] [See some
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)\r\n-
[ ]
...\r\n\r\nClassic:\r\n\r\n![image](7425c886-4528-4987-a00a-48bdc71728c7)\r\n\r\nOld:\r\n<img
width=\"1728\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/5ef568c6-2d31-47da-8f5f-87dfdf10cb5c\">\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>","sha":"06cf554981845fa2e1d9505952e559568d3e0479"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-09 10:01:54 +01:00
Søren Louv-Jansen
fdb9b4edd5
[8.17] [Obs AI Assistant] Use architecture-specific elser model (#205851) (#205978)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Obs AI Assistant] Use architecture-specific elser model
(#205851)](https://github.com/elastic/kibana/pull/205851)

<!--- Backport version: 9.6.3 -->

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

<!--BACKPORT [{"author":{"name":"Søren
Louv-Jansen","email":"soren.louv@elastic.co"},"sourceCommit":{"committedDate":"2025-01-08T18:59:20Z","message":"[Obs
AI Assistant] Use architecture-specific elser model (#205851)\n\nCloses
https://github.com/elastic/kibana/issues/205852\n\nWhen installing the
Obs knowledge base it will always install the
model\n`.elser_model_2`.\nFor Linux with an x86-64 CPU an optimised
version of Elser exists\n(`elser_model_2_linux-x86_64`). We should use
that when possible.\n\nAfter this change the inference endpoint will
use\n`.elser_model_2_linux-x86_64` on supported
hardware:\n\n![image](https://github.com/user-attachments/assets/fedc6700-877a-47ab-a3b8-055db53407d0)","sha":"ad3b9880c792833e7590a60d57b65e08ecbd9b25","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:Obs
AI Assistant","backport:version","v8.18.0","v8.17.1"],"title":"[Obs AI
Assistant] Use architecture-specific elser
model","number":205851,"url":"https://github.com/elastic/kibana/pull/205851","mergeCommit":{"message":"[Obs
AI Assistant] Use architecture-specific elser model (#205851)\n\nCloses
https://github.com/elastic/kibana/issues/205852\n\nWhen installing the
Obs knowledge base it will always install the
model\n`.elser_model_2`.\nFor Linux with an x86-64 CPU an optimised
version of Elser exists\n(`elser_model_2_linux-x86_64`). We should use
that when possible.\n\nAfter this change the inference endpoint will
use\n`.elser_model_2_linux-x86_64` on supported
hardware:\n\n![image](https://github.com/user-attachments/assets/fedc6700-877a-47ab-a3b8-055db53407d0)","sha":"ad3b9880c792833e7590a60d57b65e08ecbd9b25"}},"sourceBranch":"main","suggestedTargetBranches":["8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205851","number":205851,"mergeCommit":{"message":"[Obs
AI Assistant] Use architecture-specific elser model (#205851)\n\nCloses
https://github.com/elastic/kibana/issues/205852\n\nWhen installing the
Obs knowledge base it will always install the
model\n`.elser_model_2`.\nFor Linux with an x86-64 CPU an optimised
version of Elser exists\n(`elser_model_2_linux-x86_64`). We should use
that when possible.\n\nAfter this change the inference endpoint will
use\n`.elser_model_2_linux-x86_64` on supported
hardware:\n\n![image](https://github.com/user-attachments/assets/fedc6700-877a-47ab-a3b8-055db53407d0)","sha":"ad3b9880c792833e7590a60d57b65e08ecbd9b25"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/205951","number":205951,"state":"OPEN"},{"branch":"8.17","label":"v8.17.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2025-01-09 08:52:19 +01:00
Kibana Machine
1742715003
[8.17] Corrects the default max spaces in non-serverless docs (#203857) (#205981)
# Backport

This will backport the following commits from `main` to `8.17`:
- [Corrects the default max spaces in non-serverless docs
(#203857)](https://github.com/elastic/kibana/pull/203857)

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

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

<!--BACKPORT [{"author":{"name":"Jeramy
Soucy","email":"jeramy.soucy@elastic.co"},"sourceCommit":{"committedDate":"2024-12-16T14:40:13Z","message":"Corrects
the default max spaces in non-serverless docs (#203857)\n\n##
Summary\r\n\r\nThe max spaces is described as 100, but should be 1000 by
default only\r\nin our non-serverless offerings. Only serverless is
currently limited
to\r\n100.\r\n\r\nSee\r\nhttps://www.elastic.co/guide/en/kibana/current/xpack-spaces.html#spaces-managing\r\n\r\n---------\r\n\r\nCo-authored-by:
wajihaparvez
<wajiha.parvez@elastic.co>","sha":"4ea032eb48c8d458d802e5cd606217c1bc89f235","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","v9.0.0","docs","backport:prev-major","v8.16.0","v8.17.0","v8.18.0"],"title":"Corrects
the default max spaces in non-serverless
docs","number":203857,"url":"https://github.com/elastic/kibana/pull/203857","mergeCommit":{"message":"Corrects
the default max spaces in non-serverless docs (#203857)\n\n##
Summary\r\n\r\nThe max spaces is described as 100, but should be 1000 by
default only\r\nin our non-serverless offerings. Only serverless is
currently limited
to\r\n100.\r\n\r\nSee\r\nhttps://www.elastic.co/guide/en/kibana/current/xpack-spaces.html#spaces-managing\r\n\r\n---------\r\n\r\nCo-authored-by:
wajihaparvez
<wajiha.parvez@elastic.co>","sha":"4ea032eb48c8d458d802e5cd606217c1bc89f235"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.17","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203857","number":203857,"mergeCommit":{"message":"Corrects
the default max spaces in non-serverless docs (#203857)\n\n##
Summary\r\n\r\nThe max spaces is described as 100, but should be 1000 by
default only\r\nin our non-serverless offerings. Only serverless is
currently limited
to\r\n100.\r\n\r\nSee\r\nhttps://www.elastic.co/guide/en/kibana/current/xpack-spaces.html#spaces-managing\r\n\r\n---------\r\n\r\nCo-authored-by:
wajihaparvez
<wajiha.parvez@elastic.co>","sha":"4ea032eb48c8d458d802e5cd606217c1bc89f235"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
2025-01-09 00:58:53 +00:00
Gonçalo Rica Pais da Silva
51080a545e
[8.17] [ML][APM] Fix Cytoscape listener typing, Update Cytoscape versions (#205726) (#205850)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[ML][APM] Fix Cytoscape listener typing, Update Cytoscape versions
(#205726)](https://github.com/elastic/kibana/pull/205726)

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

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

<!--BACKPORT [{"author":{"name":"Gonçalo Rica Pais da
Silva","email":"goncalo.rica@elastic.co"},"sourceCommit":{"committedDate":"2025-01-08T09:16:17Z","message":"[ML][APM]
Fix Cytoscape listener typing, Update Cytoscape versions (#205726)\n\n##
Summary\r\n\r\nUpdates Cytoscape to newer versions, requiring one change
with some\r\n`removeListener` usage no longer being valid
typing.\r\n\r\nSupersedes #205444\r\n\r\n## How to test\r\n\r\n- Passes
CI with no type errors or failed CI jobs for ML\r\n- Job Map or wherever
cytoscape is being used on ML doesn't leak event\r\nlisteners.\r\n-
Usages in APM also do not
break.","sha":"7363f03d81835f70f39caa27e7096b8a0361ae69","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:all-open","Team:obs-ux-infra_services"],"title":"[ML][APM]
Fix Cytoscape listener typing, Update Cytoscape
versions","number":205726,"url":"https://github.com/elastic/kibana/pull/205726","mergeCommit":{"message":"[ML][APM]
Fix Cytoscape listener typing, Update Cytoscape versions (#205726)\n\n##
Summary\r\n\r\nUpdates Cytoscape to newer versions, requiring one change
with some\r\n`removeListener` usage no longer being valid
typing.\r\n\r\nSupersedes #205444\r\n\r\n## How to test\r\n\r\n- Passes
CI with no type errors or failed CI jobs for ML\r\n- Job Map or wherever
cytoscape is being used on ML doesn't leak event\r\nlisteners.\r\n-
Usages in APM also do not
break.","sha":"7363f03d81835f70f39caa27e7096b8a0361ae69"}},"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/205726","number":205726,"mergeCommit":{"message":"[ML][APM]
Fix Cytoscape listener typing, Update Cytoscape versions (#205726)\n\n##
Summary\r\n\r\nUpdates Cytoscape to newer versions, requiring one change
with some\r\n`removeListener` usage no longer being valid
typing.\r\n\r\nSupersedes #205444\r\n\r\n## How to test\r\n\r\n- Passes
CI with no type errors or failed CI jobs for ML\r\n- Job Map or wherever
cytoscape is being used on ML doesn't leak event\r\nlisteners.\r\n-
Usages in APM also do not
break.","sha":"7363f03d81835f70f39caa27e7096b8a0361ae69"}}]}]
BACKPORT-->
2025-01-08 11:48:40 +00:00
Mike Côté
ebe9953778
[8.17] [ResponseOps] [Alerting] Handle invalid RRule params and prevent infinite looping (#205650) (#205830)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[ResponseOps] [Alerting] Handle invalid RRule params and prevent
infinite looping
(#205650)](https://github.com/elastic/kibana/pull/205650)

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

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

<!--BACKPORT [{"author":{"name":"Zacqary Adam
Xeper","email":"Zacqary@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-07T19:32:43Z","message":"[ResponseOps]
[Alerting] Handle invalid RRule params and prevent infinite looping
(#205650)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/205558\r\n\r\nUpdates the RRule
library to correctly handle some scenarios with\r\ninvalid parameters
that would either cause it to return strange\r\nrecurrence data or to
infinitely loop. Specifically:\r\n\r\n- On `RRule` object creation,
removes and ignores any `bymonth`,\r\n`bymonthday`, `byweekday`, or
`byyearday` value that's out of bounds,\r\ne.g. less than 0 or greater
than the number of possible months, days,\r\nweekdays, etc.\r\n-
Successfully ignores cases of `BYMONTH=2, BYMONTHDAY=30`
(February\r\n30th), an input that's complicated to invalidate but still
won't ever\r\noccur\r\n\r\nAllowing these values to go unhandled led to
unpredictable behavior. The\r\nRRule library uses Moment.js to compare
dates, but Moment.js months,\r\ndays, and other values generally start
at `0` while RRule values start\r\nat `1`. That led to several
circumstances where we passed Moment.js a\r\nvalue of `-1`, which
Moment.js interpreted as moving to the\r\n***previous*** year, month, or
other period of time.\r\n\r\nAt worst, this could cause an infinite loop
because the RRule library\r\nwas constantly iterating through the wrong
year, never reaching the date\r\nit was supposed to end on.\r\n\r\nIn
addition to making the RRule library more able to handle these
cases,\r\nthis PR also gives it a hard 100,000 iteration limit to
prevent any\r\npossible infinite loops we've missed.\r\n\r\nLastly, the
Snooze Schedule APIs also come with additional validation
to\r\nhopefully prevent out of bounds dates from ever being
set.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Janki Salvi
<117571355+js-jankisalvi@users.noreply.github.com>\r\nCo-authored-by:
Janki Salvi <jankigaurav.salvi@elastic.co>\r\nCo-authored-by: adcoelho
<antonio.coelho@elastic.co>","sha":"b30210929be0824f684f0b7d9d13bc936c1cbd22","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:ResponseOps","v9.0.0","Feature:Alerting/RulesFramework","backport:version","v8.18.0","v8.16.3","v8.17.1"],"number":205650,"url":"https://github.com/elastic/kibana/pull/205650","mergeCommit":{"message":"[ResponseOps]
[Alerting] Handle invalid RRule params and prevent infinite looping
(#205650)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/205558\r\n\r\nUpdates the RRule
library to correctly handle some scenarios with\r\ninvalid parameters
that would either cause it to return strange\r\nrecurrence data or to
infinitely loop. Specifically:\r\n\r\n- On `RRule` object creation,
removes and ignores any `bymonth`,\r\n`bymonthday`, `byweekday`, or
`byyearday` value that's out of bounds,\r\ne.g. less than 0 or greater
than the number of possible months, days,\r\nweekdays, etc.\r\n-
Successfully ignores cases of `BYMONTH=2, BYMONTHDAY=30`
(February\r\n30th), an input that's complicated to invalidate but still
won't ever\r\noccur\r\n\r\nAllowing these values to go unhandled led to
unpredictable behavior. The\r\nRRule library uses Moment.js to compare
dates, but Moment.js months,\r\ndays, and other values generally start
at `0` while RRule values start\r\nat `1`. That led to several
circumstances where we passed Moment.js a\r\nvalue of `-1`, which
Moment.js interpreted as moving to the\r\n***previous*** year, month, or
other period of time.\r\n\r\nAt worst, this could cause an infinite loop
because the RRule library\r\nwas constantly iterating through the wrong
year, never reaching the date\r\nit was supposed to end on.\r\n\r\nIn
addition to making the RRule library more able to handle these
cases,\r\nthis PR also gives it a hard 100,000 iteration limit to
prevent any\r\npossible infinite loops we've missed.\r\n\r\nLastly, the
Snooze Schedule APIs also come with additional validation
to\r\nhopefully prevent out of bounds dates from ever being
set.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Janki Salvi
<117571355+js-jankisalvi@users.noreply.github.com>\r\nCo-authored-by:
Janki Salvi <jankigaurav.salvi@elastic.co>\r\nCo-authored-by: adcoelho
<antonio.coelho@elastic.co>","sha":"b30210929be0824f684f0b7d9d13bc936c1cbd22"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205650","number":205650,"mergeCommit":{"message":"[ResponseOps]
[Alerting] Handle invalid RRule params and prevent infinite looping
(#205650)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/205558\r\n\r\nUpdates the RRule
library to correctly handle some scenarios with\r\ninvalid parameters
that would either cause it to return strange\r\nrecurrence data or to
infinitely loop. Specifically:\r\n\r\n- On `RRule` object creation,
removes and ignores any `bymonth`,\r\n`bymonthday`, `byweekday`, or
`byyearday` value that's out of bounds,\r\ne.g. less than 0 or greater
than the number of possible months, days,\r\nweekdays, etc.\r\n-
Successfully ignores cases of `BYMONTH=2, BYMONTHDAY=30`
(February\r\n30th), an input that's complicated to invalidate but still
won't ever\r\noccur\r\n\r\nAllowing these values to go unhandled led to
unpredictable behavior. The\r\nRRule library uses Moment.js to compare
dates, but Moment.js months,\r\ndays, and other values generally start
at `0` while RRule values start\r\nat `1`. That led to several
circumstances where we passed Moment.js a\r\nvalue of `-1`, which
Moment.js interpreted as moving to the\r\n***previous*** year, month, or
other period of time.\r\n\r\nAt worst, this could cause an infinite loop
because the RRule library\r\nwas constantly iterating through the wrong
year, never reaching the date\r\nit was supposed to end on.\r\n\r\nIn
addition to making the RRule library more able to handle these
cases,\r\nthis PR also gives it a hard 100,000 iteration limit to
prevent any\r\npossible infinite loops we've missed.\r\n\r\nLastly, the
Snooze Schedule APIs also come with additional validation
to\r\nhopefully prevent out of bounds dates from ever being
set.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Janki Salvi
<117571355+js-jankisalvi@users.noreply.github.com>\r\nCo-authored-by:
Janki Salvi <jankigaurav.salvi@elastic.co>\r\nCo-authored-by: adcoelho
<antonio.coelho@elastic.co>","sha":"b30210929be0824f684f0b7d9d13bc936c1cbd22"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/205803","number":205803,"state":"MERGED","mergeCommit":{"sha":"a02fcb232faed2f385ce9b97fbdb323ccbf8ca45","message":"[8.x]
[ResponseOps] [Alerting] Handle invalid RRule params and prevent
infinite looping (#205650) (#205803)\n\n# Backport\n\nThis will backport
the following commits from `main` to `8.x`:\n- [[ResponseOps] [Alerting]
Handle invalid RRule params and prevent\ninfinite
looping\n(#205650)](https://github.com/elastic/kibana/pull/205650)\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\":\"Zacqary
Adam\nXeper\",\"email\":\"Zacqary@users.noreply.github.com\"},\"sourceCommit\":{\"committedDate\":\"2025-01-07T19:32:43Z\",\"message\":\"[ResponseOps]\n[Alerting]
Handle invalid RRule params and prevent infinite
looping\n(#205650)\\n\\n##
Summary\\r\\n\\r\\nCloses\nhttps://github.com/elastic/kibana/issues/205558\\r\\n\\r\\nUpdates
the RRule\nlibrary to correctly handle some scenarios with\\r\\ninvalid
parameters\nthat would either cause it to return strange\\r\\nrecurrence
data or to\ninfinitely loop. Specifically:\\r\\n\\r\\n- On `RRule`
object creation,\nremoves and ignores any `bymonth`,\\r\\n`bymonthday`,
`byweekday`, or\n`byyearday` value that's out of bounds,\\r\\ne.g. less
than 0 or greater\nthan the number of possible months,
days,\\r\\nweekdays, etc.\\r\\n-\nSuccessfully ignores cases of
`BYMONTH=2, BYMONTHDAY=30`\n(February\\r\\n30th), an input that's
complicated to invalidate but still\nwon't
ever\\r\\noccur\\r\\n\\r\\nAllowing these values to go unhandled led
to\nunpredictable behavior. The\\r\\nRRule library uses Moment.js to
compare\ndates, but Moment.js months,\\r\\ndays, and other values
generally start\nat `0` while RRule values start\\r\\nat `1`. That led
to several\ncircumstances where we passed Moment.js a\\r\\nvalue of
`-1`, which\nMoment.js interpreted as moving to the\\r\\n***previous***
year, month, or\nother period of time.\\r\\n\\r\\nAt worst, this could
cause an infinite loop\nbecause the RRule library\\r\\nwas constantly
iterating through the wrong\nyear, never reaching the date\\r\\nit was
supposed to end on.\\r\\n\\r\\nIn\naddition to making the RRule library
more able to handle these\ncases,\\r\\nthis PR also gives it a hard
100,000 iteration limit to\nprevent any\\r\\npossible infinite loops
we've missed.\\r\\n\\r\\nLastly, the\nSnooze Schedule APIs also come
with additional validation\nto\\r\\nhopefully prevent out of bounds
dates from ever being\nset.\\r\\n\\r\\n### Checklist\\r\\n\\r\\n- [x]
[Unit
or\nfunctional\\r\\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\\r\\nwere\nupdated
or added to match the most
common\nscenarios\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:
kibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\\r\\nCo-authored-by:\nJanki
Salvi\n<117571355+js-jankisalvi@users.noreply.github.com>\\r\\nCo-authored-by:\nJanki
Salvi <jankigaurav.salvi@elastic.co>\\r\\nCo-authored-by:
adcoelho\n<antonio.coelho@elastic.co>\",\"sha\":\"b30210929be0824f684f0b7d9d13bc936c1cbd22\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:fix\",\"Team:ResponseOps\",\"v9.0.0\",\"Feature:Alerting/RulesFramework\",\"backport:version\",\"v8.18.0\",\"v8.16.3\",\"v8.17.1\"],\"title\":\"[ResponseOps]\n[Alerting]
Handle invalid RRule params and prevent
infinite\nlooping\",\"number\":205650,\"url\":\"https://github.com/elastic/kibana/pull/205650\",\"mergeCommit\":{\"message\":\"[ResponseOps]\n[Alerting]
Handle invalid RRule params and prevent infinite
looping\n(#205650)\\n\\n##
Summary\\r\\n\\r\\nCloses\nhttps://github.com/elastic/kibana/issues/205558\\r\\n\\r\\nUpdates
the RRule\nlibrary to correctly handle some scenarios with\\r\\ninvalid
parameters\nthat would either cause it to return strange\\r\\nrecurrence
data or to\ninfinitely loop. Specifically:\\r\\n\\r\\n- On `RRule`
object creation,\nremoves and ignores any `bymonth`,\\r\\n`bymonthday`,
`byweekday`, or\n`byyearday` value that's out of bounds,\\r\\ne.g. less
than 0 or greater\nthan the number of possible months,
days,\\r\\nweekdays, etc.\\r\\n-\nSuccessfully ignores cases of
`BYMONTH=2, BYMONTHDAY=30`\n(February\\r\\n30th), an input that's
complicated to invalidate but still\nwon't
ever\\r\\noccur\\r\\n\\r\\nAllowing these values to go unhandled led
to\nunpredictable behavior. The\\r\\nRRule library uses Moment.js to
compare\ndates, but Moment.js months,\\r\\ndays, and other values
generally start\nat `0` while RRule values start\\r\\nat `1`. That led
to several\ncircumstances where we passed Moment.js a\\r\\nvalue of
`-1`, which\nMoment.js interpreted as moving to the\\r\\n***previous***
year, month, or\nother period of time.\\r\\n\\r\\nAt worst, this could
cause an infinite loop\nbecause the RRule library\\r\\nwas constantly
iterating through the wrong\nyear, never reaching the date\\r\\nit was
supposed to end on.\\r\\n\\r\\nIn\naddition to making the RRule library
more able to handle these\ncases,\\r\\nthis PR also gives it a hard
100,000 iteration limit to\nprevent any\\r\\npossible infinite loops
we've missed.\\r\\n\\r\\nLastly, the\nSnooze Schedule APIs also come
with additional validation\nto\\r\\nhopefully prevent out of bounds
dates from ever being\nset.\\r\\n\\r\\n### Checklist\\r\\n\\r\\n- [x]
[Unit
or\nfunctional\\r\\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\\r\\nwere\nupdated
or added to match the most
common\nscenarios\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:
kibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\\r\\nCo-authored-by:\nJanki
Salvi\n<117571355+js-jankisalvi@users.noreply.github.com>\\r\\nCo-authored-by:\nJanki
Salvi <jankigaurav.salvi@elastic.co>\\r\\nCo-authored-by:
adcoelho\n<antonio.coelho@elastic.co>\",\"sha\":\"b30210929be0824f684f0b7d9d13bc936c1cbd22\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"8.x\",\"8.16\",\"8.17\"],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/205650\",\"number\":205650,\"mergeCommit\":{\"message\":\"[ResponseOps]\n[Alerting]
Handle invalid RRule params and prevent infinite
looping\n(#205650)\\n\\n##
Summary\\r\\n\\r\\nCloses\nhttps://github.com/elastic/kibana/issues/205558\\r\\n\\r\\nUpdates
the RRule\nlibrary to correctly handle some scenarios with\\r\\ninvalid
parameters\nthat would either cause it to return strange\\r\\nrecurrence
data or to\ninfinitely loop. Specifically:\\r\\n\\r\\n- On `RRule`
object creation,\nremoves and ignores any `bymonth`,\\r\\n`bymonthday`,
`byweekday`, or\n`byyearday` value that's out of bounds,\\r\\ne.g. less
than 0 or greater\nthan the number of possible months,
days,\\r\\nweekdays, etc.\\r\\n-\nSuccessfully ignores cases of
`BYMONTH=2, BYMONTHDAY=30`\n(February\\r\\n30th), an input that's
complicated to invalidate but still\nwon't
ever\\r\\noccur\\r\\n\\r\\nAllowing these values to go unhandled led
to\nunpredictable behavior. The\\r\\nRRule library uses Moment.js to
compare\ndates, but Moment.js months,\\r\\ndays, and other values
generally start\nat `0` while RRule values start\\r\\nat `1`. That led
to several\ncircumstances where we passed Moment.js a\\r\\nvalue of
`-1`, which\nMoment.js interpreted as moving to the\\r\\n***previous***
year, month, or\nother period of time.\\r\\n\\r\\nAt worst, this could
cause an infinite loop\nbecause the RRule library\\r\\nwas constantly
iterating through the wrong\nyear, never reaching the date\\r\\nit was
supposed to end on.\\r\\n\\r\\nIn\naddition to making the RRule library
more able to handle these\ncases,\\r\\nthis PR also gives it a hard
100,000 iteration limit to\nprevent any\\r\\npossible infinite loops
we've missed.\\r\\n\\r\\nLastly, the\nSnooze Schedule APIs also come
with additional validation\nto\\r\\nhopefully prevent out of bounds
dates from ever being\nset.\\r\\n\\r\\n### Checklist\\r\\n\\r\\n- [x]
[Unit
or\nfunctional\\r\\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\\r\\nwere\nupdated
or added to match the most
common\nscenarios\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:
kibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\\r\\nCo-authored-by:\nJanki
Salvi\n<117571355+js-jankisalvi@users.noreply.github.com>\\r\\nCo-authored-by:\nJanki
Salvi <jankigaurav.salvi@elastic.co>\\r\\nCo-authored-by:
adcoelho\n<antonio.coelho@elastic.co>\",\"sha\":\"b30210929be0824f684f0b7d9d13bc936c1cbd22\"}},{\"branch\":\"8.x\",\"label\":\"v8.18.0\",\"branchLabelMappingKey\":\"^v8.18.0$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.16\",\"label\":\"v8.16.3\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.17\",\"label\":\"v8.17.1\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->\n\nCo-authored-by:
Zacqary Adam Xeper
<Zacqary@users.noreply.github.com>"}},{"branch":"8.16","label":"v8.16.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
2025-01-08 02:57:17 +00:00
Jon
97b5be4801
[8.17][ci] Use daily promoted EPR distribution (#205221) (#205655)
#205221
2025-01-07 16:28:05 -06:00
Kibana Machine
eed2018b42
[8.17] Update dependency @types/fnv-plus to ^1.3.2 (main) (#205442) (#205742)
# Backport

This will backport the following commits from `main` to `8.17`:
- [Update dependency @types/fnv-plus to ^1.3.2 (main)
(#205442)](https://github.com/elastic/kibana/pull/205442)

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

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

<!--BACKPORT
[{"author":{"name":"elastic-renovate-prod[bot]","email":"174716857+elastic-renovate-prod[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-07T13:51:59Z","message":"Update
dependency @types/fnv-plus to ^1.3.2 (main) (#205442)\n\nThis PR
contains the following updates:\r\n\r\n| Package | Type | Update |
Change
|\r\n|---|---|---|---|\r\n|\r\n[@types/fnv-plus](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fnv-plus)\r\n([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/fnv-plus))\r\n|
devDependencies | patch | [`^1.3.0`
->\r\n`^1.3.2`](https://renovatebot.com/diffs/npm/@types%2ffnv-plus/1.3.0/1.3.2)\r\n|\r\n\r\n---\r\n\r\n###
Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\r\nAutomerge - At any time (no schedule
defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR
becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕
**Ignore**: Close this PR and you won't be reminded about this
update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you
want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis
PR has been generated by
[Renovate\r\nBot](https://togithub.com/renovatebot/renovate).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->\r\n\r\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\r\nCo-authored-by:
Sergi Romeu
<sergi.romeu@elastic.co>","sha":"f57ce3096c2c89da785b4095af4a54871ef93dbb","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:all-open"],"title":"Update
dependency @types/fnv-plus to ^1.3.2
(main)","number":205442,"url":"https://github.com/elastic/kibana/pull/205442","mergeCommit":{"message":"Update
dependency @types/fnv-plus to ^1.3.2 (main) (#205442)\n\nThis PR
contains the following updates:\r\n\r\n| Package | Type | Update |
Change
|\r\n|---|---|---|---|\r\n|\r\n[@types/fnv-plus](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fnv-plus)\r\n([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/fnv-plus))\r\n|
devDependencies | patch | [`^1.3.0`
->\r\n`^1.3.2`](https://renovatebot.com/diffs/npm/@types%2ffnv-plus/1.3.0/1.3.2)\r\n|\r\n\r\n---\r\n\r\n###
Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\r\nAutomerge - At any time (no schedule
defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR
becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕
**Ignore**: Close this PR and you won't be reminded about this
update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you
want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis
PR has been generated by
[Renovate\r\nBot](https://togithub.com/renovatebot/renovate).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->\r\n\r\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\r\nCo-authored-by:
Sergi Romeu
<sergi.romeu@elastic.co>","sha":"f57ce3096c2c89da785b4095af4a54871ef93dbb"}},"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/205442","number":205442,"mergeCommit":{"message":"Update
dependency @types/fnv-plus to ^1.3.2 (main) (#205442)\n\nThis PR
contains the following updates:\r\n\r\n| Package | Type | Update |
Change
|\r\n|---|---|---|---|\r\n|\r\n[@types/fnv-plus](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fnv-plus)\r\n([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/fnv-plus))\r\n|
devDependencies | patch | [`^1.3.0`
->\r\n`^1.3.2`](https://renovatebot.com/diffs/npm/@types%2ffnv-plus/1.3.0/1.3.2)\r\n|\r\n\r\n---\r\n\r\n###
Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\r\nAutomerge - At any time (no schedule
defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR
becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕
**Ignore**: Close this PR and you won't be reminded about this
update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you
want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis
PR has been generated by
[Renovate\r\nBot](https://togithub.com/renovatebot/renovate).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->\r\n\r\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\r\nCo-authored-by:
Sergi Romeu
<sergi.romeu@elastic.co>","sha":"f57ce3096c2c89da785b4095af4a54871ef93dbb"}}]}]
BACKPORT-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2025-01-07 17:16:53 +00:00
Kibana Machine
5aa4a48eb1
[8.17] [Fleet] Fix getBulkAssets behavior with missing dashboard (#205619) (#205659)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Fleet] Fix getBulkAssets behavior with missing dashboard
(#205619)](https://github.com/elastic/kibana/pull/205619)

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

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

<!--BACKPORT [{"author":{"name":"Nicolas
Chaulet","email":"nicolas.chaulet@elastic.co"},"sourceCommit":{"committedDate":"2025-01-06T17:59:32Z","message":"[Fleet]
Fix getBulkAssets behavior with missing dashboard
(#205619)","sha":"d00a73c5e59425cdd07689e35ae5424097530fd4","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","backport:prev-minor","backport:prev-major","v8.18.0"],"title":"[Fleet]
Fix getBulkAssets behavior with missing
dashboard","number":205619,"url":"https://github.com/elastic/kibana/pull/205619","mergeCommit":{"message":"[Fleet]
Fix getBulkAssets behavior with missing dashboard
(#205619)","sha":"d00a73c5e59425cdd07689e35ae5424097530fd4"}},"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/205619","number":205619,"mergeCommit":{"message":"[Fleet]
Fix getBulkAssets behavior with missing dashboard
(#205619)","sha":"d00a73c5e59425cdd07689e35ae5424097530fd4"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/205640","number":205640,"state":"MERGED","mergeCommit":{"sha":"d4f033b7367eb340d9af567995d06d4957ddc058","message":"[8.x]
[Fleet] Fix getBulkAssets behavior with missing dashboard (#205619)
(#205640)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.x`:\n- [[Fleet] Fix getBulkAssets behavior with missing
dashboard\n(#205619)](https://github.com/elastic/kibana/pull/205619)\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\":\"Nicolas\nChaulet\",\"email\":\"nicolas.chaulet@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2025-01-06T17:59:32Z\",\"message\":\"[Fleet]\nFix
getBulkAssets behavior with missing
dashboard\n(#205619)\",\"sha\":\"d00a73c5e59425cdd07689e35ae5424097530fd4\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"Team:Fleet\",\"v9.0.0\",\"backport:prev-minor\"],\"title\":\"[Fleet]\nFix
getBulkAssets behavior with
missing\ndashboard\",\"number\":205619,\"url\":\"https://github.com/elastic/kibana/pull/205619\",\"mergeCommit\":{\"message\":\"[Fleet]\nFix
getBulkAssets behavior with missing
dashboard\n(#205619)\",\"sha\":\"d00a73c5e59425cdd07689e35ae5424097530fd4\"}},\"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/205619\",\"number\":205619,\"mergeCommit\":{\"message\":\"[Fleet]\nFix
getBulkAssets behavior with missing
dashboard\n(#205619)\",\"sha\":\"d00a73c5e59425cdd07689e35ae5424097530fd4\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Nicolas Chaulet <nicolas.chaulet@elastic.co>"}}]}] BACKPORT-->

Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2025-01-07 16:20:55 +00:00
Kibana Machine
58562ffcfb
[8.17] [Reporting/CSV/Docs] Specify maximum value for scroll.duration setting (#205765) (#205775)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Reporting/CSV/Docs] Specify maximum value for scroll.duration
setting (#205765)](https://github.com/elastic/kibana/pull/205765)

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

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

<!--BACKPORT [{"author":{"name":"Tim
Sullivan","email":"tsullivan@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-07T15:36:41Z","message":"[Reporting/CSV/Docs]
Specify maximum value for scroll.duration setting (#205765)\n\n##
Summary\r\n\r\nUpdates Reporting CSV export documentation to specify
there is a maximum\r\nvalue for `xpack.reporting.csv.scroll.size`, which
is
10000.","sha":"c3c6bfba08eab59c08095e86ae35b621deb06242","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","v8.13.0","v8.14.0","v8.15.0","v8.16.0","backport:version","v8.17.0","v8.18.0"],"title":"[Reporting/CSV/Docs]
Specify maximum value for scroll.duration
setting","number":205765,"url":"https://github.com/elastic/kibana/pull/205765","mergeCommit":{"message":"[Reporting/CSV/Docs]
Specify maximum value for scroll.duration setting (#205765)\n\n##
Summary\r\n\r\nUpdates Reporting CSV export documentation to specify
there is a maximum\r\nvalue for `xpack.reporting.csv.scroll.size`, which
is
10000.","sha":"c3c6bfba08eab59c08095e86ae35b621deb06242"}},"sourceBranch":"main","suggestedTargetBranches":["8.13","8.14","8.15","8.16","8.17","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205765","number":205765,"mergeCommit":{"message":"[Reporting/CSV/Docs]
Specify maximum value for scroll.duration setting (#205765)\n\n##
Summary\r\n\r\nUpdates Reporting CSV export documentation to specify
there is a maximum\r\nvalue for `xpack.reporting.csv.scroll.size`, which
is
10000.","sha":"c3c6bfba08eab59c08095e86ae35b621deb06242"}},{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.14","label":"v8.14.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.15","label":"v8.15.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>
2025-01-07 16:07:47 +00:00
Kibana Machine
688dd2946a
[8.17] Fix build_snapshot for Apple silicon laptops (#204951) (#205749)
# Backport

This will backport the following commits from `main` to `8.17`:
- [Fix build_snapshot for Apple silicon laptops
(#204951)](https://github.com/elastic/kibana/pull/204951)

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

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

<!--BACKPORT [{"author":{"name":"Patryk
Kopyciński","email":"contact@patrykkopycinski.com"},"sourceCommit":{"committedDate":"2025-01-07T14:09:46Z","message":"Fix
build_snapshot for Apple silicon laptops (#204951)\n\n##
Summary\r\n\r\n`build_snapshot` was using wrong Gradle task when
building ES from\r\nsource for Apple silicon
laptops\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"d86a966ceb71b00f3d44baf9cabacc92da9abab0","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-major"],"title":"Fix
build_snapshot for Apple silicon
laptops","number":204951,"url":"https://github.com/elastic/kibana/pull/204951","mergeCommit":{"message":"Fix
build_snapshot for Apple silicon laptops (#204951)\n\n##
Summary\r\n\r\n`build_snapshot` was using wrong Gradle task when
building ES from\r\nsource for Apple silicon
laptops\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"d86a966ceb71b00f3d44baf9cabacc92da9abab0"}},"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/204951","number":204951,"mergeCommit":{"message":"Fix
build_snapshot for Apple silicon laptops (#204951)\n\n##
Summary\r\n\r\n`build_snapshot` was using wrong Gradle task when
building ES from\r\nsource for Apple silicon
laptops\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"d86a966ceb71b00f3d44baf9cabacc92da9abab0"}}]}]
BACKPORT-->

Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
2025-01-07 16:04:38 +00:00
Kibana Machine
b9deab0ad5
[8.17] ci(ftr): notify owners in the slack message when failures (#205260) (#205716)
# Backport

This will backport the following commits from `main` to `8.17`:
- [ci(ftr): notify owners in the slack message when failures
(#205260)](https://github.com/elastic/kibana/pull/205260)

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

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

<!--BACKPORT [{"author":{"name":"Victor
Martinez","email":"victormartinezrubio@gmail.com"},"sourceCommit":{"committedDate":"2025-01-07T11:53:04Z","message":"ci(ftr):
notify owners in the slack message when failures
(#205260)","sha":"acc5e039baf1f36a46d6444ae79539c8ce05edc2","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:all-open"],"title":"ci(ftr):
notify owners in the slack message when
failures","number":205260,"url":"https://github.com/elastic/kibana/pull/205260","mergeCommit":{"message":"ci(ftr):
notify owners in the slack message when failures
(#205260)","sha":"acc5e039baf1f36a46d6444ae79539c8ce05edc2"}},"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/205260","number":205260,"mergeCommit":{"message":"ci(ftr):
notify owners in the slack message when failures
(#205260)","sha":"acc5e039baf1f36a46d6444ae79539c8ce05edc2"}}]}]
BACKPORT-->

Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
2025-01-07 13:42:43 +00:00
Kibana Machine
6f9ccb4eab
[8.17] [CI] Prevent console.log in pipeline.ts (#204724) (#205713)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[CI] Prevent console.log in pipeline.ts
(#204724)](https://github.com/elastic/kibana/pull/204724)

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

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

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2025-01-07T11:42:45Z","message":"[CI]
Prevent console.log in pipeline.ts (#204724)\n\n## Summary\n~Logging to
stdout from this file would result uploading the logged\nstring to
buildkite as a pipeline definition, causing
errors\n(https://buildkite.com/elastic/kibana-pull-request/builds/261721#0193d94b-f05c-41d6-9865-3d3c331a6cc4)~\n\nAdds
an inline eslint rule to warn about `console.log/stdout` usage, as\nthis
has happened before by oversight.\n\nOverlaps with:
https://github.com/elastic/kibana/pull/204672\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ae6d0463192501f4a81ffbe58a85e5c87d9aaca8","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:prev-major"],"title":"[CI]
Remove unwanted console.log from
pipeline.ts","number":204724,"url":"https://github.com/elastic/kibana/pull/204724","mergeCommit":{"message":"[CI]
Prevent console.log in pipeline.ts (#204724)\n\n## Summary\n~Logging to
stdout from this file would result uploading the logged\nstring to
buildkite as a pipeline definition, causing
errors\n(https://buildkite.com/elastic/kibana-pull-request/builds/261721#0193d94b-f05c-41d6-9865-3d3c331a6cc4)~\n\nAdds
an inline eslint rule to warn about `console.log/stdout` usage, as\nthis
has happened before by oversight.\n\nOverlaps with:
https://github.com/elastic/kibana/pull/204672\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ae6d0463192501f4a81ffbe58a85e5c87d9aaca8"}},"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/204724","number":204724,"mergeCommit":{"message":"[CI]
Prevent console.log in pipeline.ts (#204724)\n\n## Summary\n~Logging to
stdout from this file would result uploading the logged\nstring to
buildkite as a pipeline definition, causing
errors\n(https://buildkite.com/elastic/kibana-pull-request/builds/261721#0193d94b-f05c-41d6-9865-3d3c331a6cc4)~\n\nAdds
an inline eslint rule to warn about `console.log/stdout` usage, as\nthis
has happened before by oversight.\n\nOverlaps with:
https://github.com/elastic/kibana/pull/204672\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ae6d0463192501f4a81ffbe58a85e5c87d9aaca8"}}]}]
BACKPORT-->

Co-authored-by: Alex Szabo <alex.szabo@elastic.co>
2025-01-07 13:30:49 +00:00
Kibana Machine
b56ed4c12f
[8.17] [Obs ai assistant] - bug bulk import for knowledge base (#205075) (#205687)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Obs ai assistant] - bug bulk import for knowledge base
(#205075)](https://github.com/elastic/kibana/pull/205075)

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

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

<!--BACKPORT [{"author":{"name":"Arturo
Lidueña","email":"arturo.liduena@elastic.co"},"sourceCommit":{"committedDate":"2025-01-07T09:44:16Z","message":"[Obs
ai assistant] - bug bulk import for knowledge base (#205075)\n\nCloses
#196096 \r\n\r\n## Summary\r\n\r\nWrong successful message with error
notification pop up on adding a\r\nwrong format file under bulk import
for knowledge
base\r\n[#196096](https://github.com/elastic/kibana/issues/196096)\r\n\r\n---------\r\n\r\nCo-authored-by:
Søren Louv-Jansen <sorenlouv@gmail.com>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"2c97ed3bfec8a99de931d85f50b1e940835bde47","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","Team:Obs
AI
Assistant","v8.16.0","backport:version","v8.17.0","v8.18.0"],"title":"[Obs
ai assistant] - bug bulk import for knowledge
base","number":205075,"url":"https://github.com/elastic/kibana/pull/205075","mergeCommit":{"message":"[Obs
ai assistant] - bug bulk import for knowledge base (#205075)\n\nCloses
#196096 \r\n\r\n## Summary\r\n\r\nWrong successful message with error
notification pop up on adding a\r\nwrong format file under bulk import
for knowledge
base\r\n[#196096](https://github.com/elastic/kibana/issues/196096)\r\n\r\n---------\r\n\r\nCo-authored-by:
Søren Louv-Jansen <sorenlouv@gmail.com>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"2c97ed3bfec8a99de931d85f50b1e940835bde47"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.17","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205075","number":205075,"mergeCommit":{"message":"[Obs
ai assistant] - bug bulk import for knowledge base (#205075)\n\nCloses
#196096 \r\n\r\n## Summary\r\n\r\nWrong successful message with error
notification pop up on adding a\r\nwrong format file under bulk import
for knowledge
base\r\n[#196096](https://github.com/elastic/kibana/issues/196096)\r\n\r\n---------\r\n\r\nCo-authored-by:
Søren Louv-Jansen <sorenlouv@gmail.com>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"2c97ed3bfec8a99de931d85f50b1e940835bde47"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Arturo Lidueña <arturo.liduena@elastic.co>
2025-01-07 11:30:16 +00:00
Kibana Machine
cc27efb17f
[8.17] [Fleet] Trigger a rollover on error when updating enabled mappings (#205532) (#205636)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Fleet] Trigger a rollover on error when updating enabled mappings
(#205532)](https://github.com/elastic/kibana/pull/205532)

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

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

<!--BACKPORT [{"author":{"name":"Nicolas
Chaulet","email":"nicolas.chaulet@elastic.co"},"sourceCommit":{"committedDate":"2025-01-06T17:35:34Z","message":"[Fleet]
Trigger a rollover on error when updating enabled mappings
(#205532)","sha":"3d6711bb95ea9eff757097f808a917426abf187f","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","backport:prev-major"],"title":"[Fleet]
Trigger a rollover on error when updating enabled
mappings","number":205532,"url":"https://github.com/elastic/kibana/pull/205532","mergeCommit":{"message":"[Fleet]
Trigger a rollover on error when updating enabled mappings
(#205532)","sha":"3d6711bb95ea9eff757097f808a917426abf187f"}},"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/205532","number":205532,"mergeCommit":{"message":"[Fleet]
Trigger a rollover on error when updating enabled mappings
(#205532)","sha":"3d6711bb95ea9eff757097f808a917426abf187f"}}]}]
BACKPORT-->

Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2025-01-06 19:27:52 +00:00
Jon
63c9b4364d
[8.17] Upgrade cypress to 13.17.0 (#205437) (#205461)
#205437
2025-01-06 12:45:00 -06:00
Philippe Oberti
ac6608236c
[8.17] [Security Solution] - fixing infinite look on host flyout panel due to lack of memoization (#204999) (#205624)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Security Solution] - fixing infinite look on host flyout panel due
to lack of memoization
(#204999)](https://github.com/elastic/kibana/pull/204999)

<!--- 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-12-23T15:55:30Z","message":"[Security
Solution] - fixing infinite look on host flyout panel due to lack of
memoization (#204999)\n\n## Summary\r\n\r\nThis PR fixes
[an\r\nissue](https://github.com/elastic/security-team/issues/11424)
raised\r\nrecently where opening a preview panel for a host of user on
top of a\r\nflyout already showing a host or user was getting the UI
stuck into an\r\ninfinite loop.\r\n\r\nWhile we found a few ways to fix
the issue - primarily adding\r\nmemoization to the UI components within
the HostPanel and UserPanel, the\r\napproach in this PR fixes the issue
at a more root level.\r\n\r\nInfinite loop
behavior\r\n\r\n\r\nhttps://github.com/user-attachments/assets/92cb60ad-7801-43ec-a247-8943e091b6a8\r\n\r\nIssue
fixed\r\n\r\n\r\nhttps://github.com/user-attachments/assets/30b30b42-f32e-4c02-9407-9d0f671d7216\r\n\r\nThis
fix should also potentially bring some performance improvement to\r\nall
the components that are using the hook (we have a
few).","sha":"96264d29237f0b7cfc8c651393f12d248f0d84e0","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","v9.0.0","Team:Threat
Hunting:Investigations","backport:version","v8.18.0"],"number":204999,"url":"https://github.com/elastic/kibana/pull/204999","mergeCommit":{"message":"[Security
Solution] - fixing infinite look on host flyout panel due to lack of
memoization (#204999)\n\n## Summary\r\n\r\nThis PR fixes
[an\r\nissue](https://github.com/elastic/security-team/issues/11424)
raised\r\nrecently where opening a preview panel for a host of user on
top of a\r\nflyout already showing a host or user was getting the UI
stuck into an\r\ninfinite loop.\r\n\r\nWhile we found a few ways to fix
the issue - primarily adding\r\nmemoization to the UI components within
the HostPanel and UserPanel, the\r\napproach in this PR fixes the issue
at a more root level.\r\n\r\nInfinite loop
behavior\r\n\r\n\r\nhttps://github.com/user-attachments/assets/92cb60ad-7801-43ec-a247-8943e091b6a8\r\n\r\nIssue
fixed\r\n\r\n\r\nhttps://github.com/user-attachments/assets/30b30b42-f32e-4c02-9407-9d0f671d7216\r\n\r\nThis
fix should also potentially bring some performance improvement to\r\nall
the components that are using the hook (we have a
few).","sha":"96264d29237f0b7cfc8c651393f12d248f0d84e0"}},"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/204999","number":204999,"mergeCommit":{"message":"[Security
Solution] - fixing infinite look on host flyout panel due to lack of
memoization (#204999)\n\n## Summary\r\n\r\nThis PR fixes
[an\r\nissue](https://github.com/elastic/security-team/issues/11424)
raised\r\nrecently where opening a preview panel for a host of user on
top of a\r\nflyout already showing a host or user was getting the UI
stuck into an\r\ninfinite loop.\r\n\r\nWhile we found a few ways to fix
the issue - primarily adding\r\nmemoization to the UI components within
the HostPanel and UserPanel, the\r\napproach in this PR fixes the issue
at a more root level.\r\n\r\nInfinite loop
behavior\r\n\r\n\r\nhttps://github.com/user-attachments/assets/92cb60ad-7801-43ec-a247-8943e091b6a8\r\n\r\nIssue
fixed\r\n\r\n\r\nhttps://github.com/user-attachments/assets/30b30b42-f32e-4c02-9407-9d0f671d7216\r\n\r\nThis
fix should also potentially bring some performance improvement to\r\nall
the components that are using the hook (we have a
few).","sha":"96264d29237f0b7cfc8c651393f12d248f0d84e0"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/205104","number":205104,"state":"MERGED","mergeCommit":{"sha":"3d88e86b0787aa3faaa8c2bffd04b31d53d0008f","message":"[8.x]
[Security Solution] - fixing infinite look on host flyout panel due to
lack of memoization (#204999) (#205104)\n\n# Backport\n\nThis will
backport the following commits from `main` to `8.x`:\n- [[Security
Solution] - fixing infinite look on host flyout panel due\nto lack of
memoization\n(#204999)](https://github.com/elastic/kibana/pull/204999)\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\":\"Philippe\nOberti\",\"email\":\"philippe.oberti@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-12-23T15:55:30Z\",\"message\":\"[Security\nSolution]
- fixing infinite look on host flyout panel due to lack of\nmemoization
(#204999)\\n\\n## Summary\\r\\n\\r\\nThis PR
fixes\n[an\\r\\nissue](https://github.com/elastic/security-team/issues/11424)\nraised\\r\\nrecently
where opening a preview panel for a host of user on\ntop of
a\\r\\nflyout already showing a host or user was getting the UI\nstuck
into an\\r\\ninfinite loop.\\r\\n\\r\\nWhile we found a few ways to
fix\nthe issue - primarily adding\\r\\nmemoization to the UI components
within\nthe HostPanel and UserPanel, the\\r\\napproach in this PR fixes
the issue\nat a more root level.\\r\\n\\r\\nInfinite
loop\nbehavior\\r\\n\\r\\n\\r\\n30b30b42-f32e-4c02-9407-9d0f671d7216\\r\\n\\r\\nThis\nfix
should also potentially bring some performance improvement
to\\r\\nall\nthe components that are using the hook (we have
a\nfew).\",\"sha\":\"96264d29237f0b7cfc8c651393f12d248f0d84e0\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"backport\",\"release_note:skip\",\"v9.0.0\",\"Team:Threat\nHunting:Investigations\",\"backport:version\",\"v8.18.0\"],\"title\":\"[Security\nSolution]
- fixing infinite look on host flyout panel due to lack
of\nmemoization\",\"number\":204999,\"url\":\"https://github.com/elastic/kibana/pull/204999\",\"mergeCommit\":{\"message\":\"[Security\nSolution]
- fixing infinite look on host flyout panel due to lack of\nmemoization
(#204999)\\n\\n## Summary\\r\\n\\r\\nThis PR
fixes\n[an\\r\\nissue](https://github.com/elastic/security-team/issues/11424)\nraised\\r\\nrecently
where opening a preview panel for a host of user on\ntop of
a\\r\\nflyout already showing a host or user was getting the UI\nstuck
into an\\r\\ninfinite loop.\\r\\n\\r\\nWhile we found a few ways to
fix\nthe issue - primarily adding\\r\\nmemoization to the UI components
within\nthe HostPanel and UserPanel, the\\r\\napproach in this PR fixes
the issue\nat a more root level.\\r\\n\\r\\nInfinite
loop\nbehavior\\r\\n\\r\\n\\r\\n30b30b42-f32e-4c02-9407-9d0f671d7216\\r\\n\\r\\nThis\nfix
should also potentially bring some performance improvement
to\\r\\nall\nthe components that are using the hook (we have
a\nfew).\",\"sha\":\"96264d29237f0b7cfc8c651393f12d248f0d84e0\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"8.x\"],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/204999\",\"number\":204999,\"mergeCommit\":{\"message\":\"[Security\nSolution]
- fixing infinite look on host flyout panel due to lack of\nmemoization
(#204999)\\n\\n## Summary\\r\\n\\r\\nThis PR
fixes\n[an\\r\\nissue](https://github.com/elastic/security-team/issues/11424)\nraised\\r\\nrecently
where opening a preview panel for a host of user on\ntop of
a\\r\\nflyout already showing a host or user was getting the UI\nstuck
into an\\r\\ninfinite loop.\\r\\n\\r\\nWhile we found a few ways to
fix\nthe issue - primarily adding\\r\\nmemoization to the UI components
within\nthe HostPanel and UserPanel, the\\r\\napproach in this PR fixes
the issue\nat a more root level.\\r\\n\\r\\nInfinite
loop\nbehavior\\r\\n\\r\\n\\r\\n30b30b42-f32e-4c02-9407-9d0f671d7216\\r\\n\\r\\nThis\nfix
should also potentially bring some performance improvement
to\\r\\nall\nthe components that are using the hook (we have
a\nfew).\",\"sha\":\"96264d29237f0b7cfc8c651393f12d248f0d84e0\"}},{\"branch\":\"8.x\",\"label\":\"v8.18.0\",\"branchLabelMappingKey\":\"^v8.18.0$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->\n\nCo-authored-by:
Philippe Oberti <philippe.oberti@elastic.co>"}}]}] BACKPORT-->
2025-01-06 17:51:47 +00:00
Nikita Indik
041871a0ff
[8.17] [Security Solution] Fix incorrect changes highlighting in diff view (#205138) (#205611)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Security Solution] Fix incorrect changes highlighting in diff view
(#205138)](https://github.com/elastic/kibana/pull/205138)

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

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

<!--BACKPORT [{"author":{"name":"Nikita
Indik","email":"nikita.indik@elastic.co"},"sourceCommit":{"committedDate":"2024-12-30T12:38:42Z","message":"[Security
Solution] Fix incorrect changes highlighting in diff view
(#205138)\n\n**Resolves:
https://github.com/elastic/kibana/issues/202016**\n\n## Summary\n\nThis
PR resolves an issue where the diff view incorrectly marked
certain\ncharacters as changed (using bold font) in some cases.\n\n##
Root Cause\nThe issue arises from a bug in the `diff` library (v5). The
library is\nused to compute two-way diffs between strings (old field
value and new\nfield value), producing an array of change objects that
is then used for\nrendering.\n\nConditions for the bug:\n- `diff` v5
library is in use (fixed in v6 and above) and\n`DiffMethod.WORDS` is
passed as a parameter to it.\n- The old field value contains a line with
an addition separated by a\nspace (see example below).\n- The next line
contains some changes (additions, deletions, or\nupdates).\n\n\nFor
example, for these input strings:\n```\nfoo
bar\nspring\n```\n```\nfoo\nsprint\n```\n\n| You would expect to see
this diff | But you actually see this |\n|----------|----------|\n| <img
width=\"119\"
alt=\"expected\"\nsrc=\"https://github.com/user-attachments/assets/c41b3dec-e578-4a12-8eb8-91fbb60d7247\"\n/>
| <img width=\"118\"
alt=\"actual\"\nsrc=\"https://github.com/user-attachments/assets/f2a33fee-5de2-4291-876a-e7575ea07079\"\n/>
|\n\n**A more real-life example**\n<img width=\"1661\"
alt=\"more_real_life\"\nsrc=\"https://github.com/user-attachments/assets/91ebfe93-81ad-45c8-8f9b-e173c2cf940b\"\n/>\n\n\n##
Solution\nSwitching to `DiffMethod.WORDS_WITH_SPACE` avoids this issue.
\nScreenshot showing the difference between `DiffMethod.WORDS`
and\n`DiffMethod.WORDS_WITH_SPACE`:\n<img width=\"675\"
alt=\"words_vs_words_with_space\"\nsrc=\"https://github.com/user-attachments/assets/3c91e1d2-63fc-4fcd-a762-a905878bfc3a\"\n/>\n\n##
Other changes\n- Removed `DiffMethod.TRIMMED_LINES` since it's
now\n[deprecated](https://github.com/kpdecker/jsdiff/pull/486) in the
`diff`\nlibrary and we are not using it anyways.\n- Stopped using the
\"zip\" option since I believe it produces a less\nreadable diff,
especially for cases when there's a different number of\nlines in the
original value vs updated
value.\n\n<details>\n<summary><strong>Screenshots: with and without
\"zip\" (click to\nexpand)</strong></summary>\n<strong>With the \"zip\"
option (how it was before)</strong>\n<img width=\"1918\"
alt=\"zip\"\nsrc=\"https://github.com/user-attachments/assets/272ed849-47d6-4fef-8acc-ab1b22c9f42e\"\n/>\n\n<strong>No
\"zip\" (this branch)</strong>\n<img width=\"1919\"
alt=\"no_zip\"\nsrc=\"https://github.com/user-attachments/assets/417303bf-9570-4ee1-98c5-8a78f59c7956\"\n/>\n</details>\n\n##
Testing\n\nI thoroughly tested with `DiffMethod.WORDS_WITH_SPACE` across
various\ninputs and scenarios, including:\n- Single-line and multi-line
strings.\n- Numbers, arrays, and objects.\n- Additions, deletions, and
updates at different positions (start,\nmiddle, and end) within and
across lines.\n\nI also validated diffs against real prebuilt rules by
installing an\nolder Fleet package version and observed no
issues.\n\nYou can test by trying different input strings and settings
in\nStorybook.\n**Run Storybook**: `yarn storybook
security_solution`.\n\n\nhttps://github.com/user-attachments/assets/0440b73c-a4d7-40cf-9cee-e632146d292e\n\nYou
can notice that `ComparisonSide` stories are broken, but
that's\nunrelated to these changes and needs to be handled
separately.\n\n## Compatibility with future upgrades\n\nThere's an open
[PR](https://github.com/elastic/kibana/pull/202622) that\nwill upgrade
the `diff` library from v5 to v7. I verified the behavior\nof
`DiffMethod.WORDS_WITH_SPACE` on v7 and found no differences
compared\nto v5, so it should be safe to upgrade to v7 without any
changes on our\nend.\n\nWork started on
23-Dec-2024.","sha":"140c2e0ecf9f8a0277699052f9ba472066a0e96d","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Detections
and Resp","Team: SecuritySolution","Feature:Rule
Management","Team:Detection Rule Management","Feature:Prebuilt Detection
Rules","backport:version","v8.18.0"],"number":205138,"url":"https://github.com/elastic/kibana/pull/205138","mergeCommit":{"message":"[Security
Solution] Fix incorrect changes highlighting in diff view
(#205138)\n\n**Resolves:
https://github.com/elastic/kibana/issues/202016**\n\n## Summary\n\nThis
PR resolves an issue where the diff view incorrectly marked
certain\ncharacters as changed (using bold font) in some cases.\n\n##
Root Cause\nThe issue arises from a bug in the `diff` library (v5). The
library is\nused to compute two-way diffs between strings (old field
value and new\nfield value), producing an array of change objects that
is then used for\nrendering.\n\nConditions for the bug:\n- `diff` v5
library is in use (fixed in v6 and above) and\n`DiffMethod.WORDS` is
passed as a parameter to it.\n- The old field value contains a line with
an addition separated by a\nspace (see example below).\n- The next line
contains some changes (additions, deletions, or\nupdates).\n\n\nFor
example, for these input strings:\n```\nfoo
bar\nspring\n```\n```\nfoo\nsprint\n```\n\n| You would expect to see
this diff | But you actually see this |\n|----------|----------|\n| <img
width=\"119\"
alt=\"expected\"\nsrc=\"https://github.com/user-attachments/assets/c41b3dec-e578-4a12-8eb8-91fbb60d7247\"\n/>
| <img width=\"118\"
alt=\"actual\"\nsrc=\"https://github.com/user-attachments/assets/f2a33fee-5de2-4291-876a-e7575ea07079\"\n/>
|\n\n**A more real-life example**\n<img width=\"1661\"
alt=\"more_real_life\"\nsrc=\"https://github.com/user-attachments/assets/91ebfe93-81ad-45c8-8f9b-e173c2cf940b\"\n/>\n\n\n##
Solution\nSwitching to `DiffMethod.WORDS_WITH_SPACE` avoids this issue.
\nScreenshot showing the difference between `DiffMethod.WORDS`
and\n`DiffMethod.WORDS_WITH_SPACE`:\n<img width=\"675\"
alt=\"words_vs_words_with_space\"\nsrc=\"https://github.com/user-attachments/assets/3c91e1d2-63fc-4fcd-a762-a905878bfc3a\"\n/>\n\n##
Other changes\n- Removed `DiffMethod.TRIMMED_LINES` since it's
now\n[deprecated](https://github.com/kpdecker/jsdiff/pull/486) in the
`diff`\nlibrary and we are not using it anyways.\n- Stopped using the
\"zip\" option since I believe it produces a less\nreadable diff,
especially for cases when there's a different number of\nlines in the
original value vs updated
value.\n\n<details>\n<summary><strong>Screenshots: with and without
\"zip\" (click to\nexpand)</strong></summary>\n<strong>With the \"zip\"
option (how it was before)</strong>\n<img width=\"1918\"
alt=\"zip\"\nsrc=\"https://github.com/user-attachments/assets/272ed849-47d6-4fef-8acc-ab1b22c9f42e\"\n/>\n\n<strong>No
\"zip\" (this branch)</strong>\n<img width=\"1919\"
alt=\"no_zip\"\nsrc=\"https://github.com/user-attachments/assets/417303bf-9570-4ee1-98c5-8a78f59c7956\"\n/>\n</details>\n\n##
Testing\n\nI thoroughly tested with `DiffMethod.WORDS_WITH_SPACE` across
various\ninputs and scenarios, including:\n- Single-line and multi-line
strings.\n- Numbers, arrays, and objects.\n- Additions, deletions, and
updates at different positions (start,\nmiddle, and end) within and
across lines.\n\nI also validated diffs against real prebuilt rules by
installing an\nolder Fleet package version and observed no
issues.\n\nYou can test by trying different input strings and settings
in\nStorybook.\n**Run Storybook**: `yarn storybook
security_solution`.\n\n\nhttps://github.com/user-attachments/assets/0440b73c-a4d7-40cf-9cee-e632146d292e\n\nYou
can notice that `ComparisonSide` stories are broken, but
that's\nunrelated to these changes and needs to be handled
separately.\n\n## Compatibility with future upgrades\n\nThere's an open
[PR](https://github.com/elastic/kibana/pull/202622) that\nwill upgrade
the `diff` library from v5 to v7. I verified the behavior\nof
`DiffMethod.WORDS_WITH_SPACE` on v7 and found no differences
compared\nto v5, so it should be safe to upgrade to v7 without any
changes on our\nend.\n\nWork started on
23-Dec-2024.","sha":"140c2e0ecf9f8a0277699052f9ba472066a0e96d"}},"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/205138","number":205138,"mergeCommit":{"message":"[Security
Solution] Fix incorrect changes highlighting in diff view
(#205138)\n\n**Resolves:
https://github.com/elastic/kibana/issues/202016**\n\n## Summary\n\nThis
PR resolves an issue where the diff view incorrectly marked
certain\ncharacters as changed (using bold font) in some cases.\n\n##
Root Cause\nThe issue arises from a bug in the `diff` library (v5). The
library is\nused to compute two-way diffs between strings (old field
value and new\nfield value), producing an array of change objects that
is then used for\nrendering.\n\nConditions for the bug:\n- `diff` v5
library is in use (fixed in v6 and above) and\n`DiffMethod.WORDS` is
passed as a parameter to it.\n- The old field value contains a line with
an addition separated by a\nspace (see example below).\n- The next line
contains some changes (additions, deletions, or\nupdates).\n\n\nFor
example, for these input strings:\n```\nfoo
bar\nspring\n```\n```\nfoo\nsprint\n```\n\n| You would expect to see
this diff | But you actually see this |\n|----------|----------|\n| <img
width=\"119\"
alt=\"expected\"\nsrc=\"https://github.com/user-attachments/assets/c41b3dec-e578-4a12-8eb8-91fbb60d7247\"\n/>
| <img width=\"118\"
alt=\"actual\"\nsrc=\"https://github.com/user-attachments/assets/f2a33fee-5de2-4291-876a-e7575ea07079\"\n/>
|\n\n**A more real-life example**\n<img width=\"1661\"
alt=\"more_real_life\"\nsrc=\"https://github.com/user-attachments/assets/91ebfe93-81ad-45c8-8f9b-e173c2cf940b\"\n/>\n\n\n##
Solution\nSwitching to `DiffMethod.WORDS_WITH_SPACE` avoids this issue.
\nScreenshot showing the difference between `DiffMethod.WORDS`
and\n`DiffMethod.WORDS_WITH_SPACE`:\n<img width=\"675\"
alt=\"words_vs_words_with_space\"\nsrc=\"https://github.com/user-attachments/assets/3c91e1d2-63fc-4fcd-a762-a905878bfc3a\"\n/>\n\n##
Other changes\n- Removed `DiffMethod.TRIMMED_LINES` since it's
now\n[deprecated](https://github.com/kpdecker/jsdiff/pull/486) in the
`diff`\nlibrary and we are not using it anyways.\n- Stopped using the
\"zip\" option since I believe it produces a less\nreadable diff,
especially for cases when there's a different number of\nlines in the
original value vs updated
value.\n\n<details>\n<summary><strong>Screenshots: with and without
\"zip\" (click to\nexpand)</strong></summary>\n<strong>With the \"zip\"
option (how it was before)</strong>\n<img width=\"1918\"
alt=\"zip\"\nsrc=\"https://github.com/user-attachments/assets/272ed849-47d6-4fef-8acc-ab1b22c9f42e\"\n/>\n\n<strong>No
\"zip\" (this branch)</strong>\n<img width=\"1919\"
alt=\"no_zip\"\nsrc=\"https://github.com/user-attachments/assets/417303bf-9570-4ee1-98c5-8a78f59c7956\"\n/>\n</details>\n\n##
Testing\n\nI thoroughly tested with `DiffMethod.WORDS_WITH_SPACE` across
various\ninputs and scenarios, including:\n- Single-line and multi-line
strings.\n- Numbers, arrays, and objects.\n- Additions, deletions, and
updates at different positions (start,\nmiddle, and end) within and
across lines.\n\nI also validated diffs against real prebuilt rules by
installing an\nolder Fleet package version and observed no
issues.\n\nYou can test by trying different input strings and settings
in\nStorybook.\n**Run Storybook**: `yarn storybook
security_solution`.\n\n\nhttps://github.com/user-attachments/assets/0440b73c-a4d7-40cf-9cee-e632146d292e\n\nYou
can notice that `ComparisonSide` stories are broken, but
that's\nunrelated to these changes and needs to be handled
separately.\n\n## Compatibility with future upgrades\n\nThere's an open
[PR](https://github.com/elastic/kibana/pull/202622) that\nwill upgrade
the `diff` library from v5 to v7. I verified the behavior\nof
`DiffMethod.WORDS_WITH_SPACE` on v7 and found no differences
compared\nto v5, so it should be safe to upgrade to v7 without any
changes on our\nend.\n\nWork started on
23-Dec-2024.","sha":"140c2e0ecf9f8a0277699052f9ba472066a0e96d"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/205253","number":205253,"state":"MERGED","mergeCommit":{"sha":"2c736a7fcb9e8e8f209f1734562992b39fa2ebe7","message":"[8.x]
[Security Solution] Fix incorrect changes highlighting in diff view
(#205138) (#205253)\n\n# Backport\n\nThis will backport the following
commits from `main` to `8.x`:\n- [[Security Solution] Fix incorrect
changes highlighting in diff
view\n(#205138)](https://github.com/elastic/kibana/pull/205138)\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\":\"Nikita\nIndik\",\"email\":\"nikita.indik@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-12-30T12:38:42Z\",\"message\":\"[Security\nSolution]
Fix incorrect changes highlighting in diff
view\n(#205138)\\n\\n**Resolves:\nhttps://github.com/elastic/kibana/issues/202016**\\n\\n##
Summary\\n\\nThis\nPR resolves an issue where the diff view incorrectly
marked\ncertain\\ncharacters as changed (using bold font) in some
cases.\\n\\n##\nRoot Cause\\nThe issue arises from a bug in the `diff`
library (v5). The\nlibrary is\\nused to compute two-way diffs between
strings (old field\nvalue and new\\nfield value), producing an array of
change objects that\nis then used for\\nrendering.\\n\\nConditions for
the bug:\\n- `diff` v5\nlibrary is in use (fixed in v6 and above)
and\\n`DiffMethod.WORDS` is\npassed as a parameter to it.\\n- The old
field value contains a line with\nan addition separated by a\\nspace
(see example below).\\n- The next line\ncontains some changes
(additions, deletions, or\\nupdates).\\n\\n\\nFor\nexample, for these
input
strings:\\n```\\nfoo\nbar\\nspring\\n```\\n```\\nfoo\\nsprint\\n```\\n\\n|
You would expect to see\nthis diff | But you actually see this
|\\n|----------|----------|\\n|
<img\nwidth=\\\"119\\\"\nalt=\\\"expected\\\"\\nsrc=\\\"https://github.com/user-attachments/assets/c41b3dec-e578-4a12-8eb8-91fbb60d7247\\\"\\n/>\n|
<img
width=\\\"118\\\"\nalt=\\\"actual\\\"\\nsrc=\\\"https://github.com/user-attachments/assets/f2a33fee-5de2-4291-876a-e7575ea07079\\\"\\n/>\n|\\n\\n**A
more real-life example**\\n<img
width=\\\"1661\\\"\nalt=\\\"more_real_life\\\"\\nsrc=\\\"https://github.com/user-attachments/assets/91ebfe93-81ad-45c8-8f9b-e173c2cf940b\\\"\\n/>\\n\\n\\n##\nSolution\\nSwitching
to `DiffMethod.WORDS_WITH_SPACE` avoids this issue.\n\\nScreenshot
showing the difference between
`DiffMethod.WORDS`\nand\\n`DiffMethod.WORDS_WITH_SPACE`:\\n<img
width=\\\"675\\\"\nalt=\\\"words_vs_words_with_space\\\"\\nsrc=\\\"https://github.com/user-attachments/assets/3c91e1d2-63fc-4fcd-a762-a905878bfc3a\\\"\\n/>\\n\\n##\nOther
changes\\n- Removed `DiffMethod.TRIMMED_LINES` since
it's\nnow\\n[deprecated](https://github.com/kpdecker/jsdiff/pull/486) in
the\n`diff`\\nlibrary and we are not using it anyways.\\n- Stopped using
the\n\\\"zip\\\" option since I believe it produces a less\\nreadable
diff,\nespecially for cases when there's a different number of\\nlines
in the\noriginal value vs
updated\nvalue.\\n\\n<details>\\n<summary><strong>Screenshots: with and
without\n\\\"zip\\\" (click
to\\nexpand)</strong></summary>\\n<strong>With the \\\"zip\\\"\noption
(how it was before)</strong>\\n<img
width=\\\"1918\\\"\nalt=\\\"zip\\\"\\nsrc=\\\"https://github.com/user-attachments/assets/272ed849-47d6-4fef-8acc-ab1b22c9f42e\\\"\\n/>\\n\\n<strong>No\n\\\"zip\\\"
(this branch)</strong>\\n<img
width=\\\"1919\\\"\nalt=\\\"no_zip\\\"\\nsrc=\\\"https://github.com/user-attachments/assets/417303bf-9570-4ee1-98c5-8a78f59c7956\\\"\\n/>\\n</details>\\n\\n##\nTesting\\n\\nI
thoroughly tested with `DiffMethod.WORDS_WITH_SPACE`
across\nvarious\\ninputs and scenarios, including:\\n- Single-line and
multi-line\nstrings.\\n- Numbers, arrays, and objects.\\n- Additions,
deletions, and\nupdates at different positions (start,\\nmiddle, and
end) within and\nacross lines.\\n\\nI also validated diffs against real
prebuilt rules by\ninstalling an\\nolder Fleet package version and
observed no\nissues.\\n\\nYou can test by trying different input strings
and settings\nin\\nStorybook.\\n**Run Storybook**: `yarn
storybook\nsecurity_solution`.\\n\\n\\nhttps://github.com/user-attachments/assets/0440b73c-a4d7-40cf-9cee-e632146d292e\\n\\nYou\ncan
notice that `ComparisonSide` stories are broken, but\nthat's\\nunrelated
to these changes and needs to be handled\nseparately.\\n\\n##
Compatibility with future upgrades\\n\\nThere's an
open\n[PR](https://github.com/elastic/kibana/pull/202622) that\\nwill
upgrade\nthe `diff` library from v5 to v7. I verified the
behavior\\nof\n`DiffMethod.WORDS_WITH_SPACE` on v7 and found no
differences\ncompared\\nto v5, so it should be safe to upgrade to v7
without any\nchanges on our\\nend.\\n\\nWork started
on\n23-Dec-2024.\",\"sha\":\"140c2e0ecf9f8a0277699052f9ba472066a0e96d\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.18.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"v9.0.0\",\"Team:Detections\nand
Resp\",\"Team:
SecuritySolution\",\"Feature:Rule\nManagement\",\"Team:Detection Rule
Management\",\"Feature:Prebuilt
Detection\nRules\",\"backport:version\",\"v8.18.0\"],\"title\":\"[Security
Solution] Fix\nincorrect changes highlighting in
diff\nview\",\"number\":205138,\"url\":\"https://github.com/elastic/kibana/pull/205138\",\"mergeCommit\":{\"message\":\"[Security\nSolution]
Fix incorrect changes highlighting in diff
view\n(#205138)\\n\\n**Resolves:\nhttps://github.com/elastic/kibana/issues/202016**\\n\\n##
Summary\\n\\nThis\nPR resolves an issue where the diff view incorrectly
marked\ncertain\\ncharacters as changed (using bold font) in some
cases.\\n\\n##\nRoot Cause\\nThe issue arises from a bug in the `diff`
library (v5). The\nlibrary is\\nused to compute two-way diffs between
strings (old field\nvalue and new\\nfield value), producing an array of
change objects that\nis then used for\\nrendering.\\n\\nConditions for
the bug:\\n- `diff` v5\nlibrary is in use (fixed in v6 and above)
and\\n`DiffMethod.WORDS` is\npassed as a parameter to it.\\n- The old
field value contains a line with\nan addition separated by a\\nspace
(see example below).\\n- The next line\ncontains some changes
(additions, deletions, or\\nupdates).\\n\\n\\nFor\nexample, for these
input
strings:\\n```\\nfoo\nbar\\nspring\\n```\\n```\\nfoo\\nsprint\\n```\\n\\n|
You would expect to see\nthis diff | But you actually see this
|\\n|----------|----------|\\n|
<img\nwidth=\\\"119\\\"\nalt=\\\"expected\\\"\\nsrc=\\\"https://github.com/user-attachments/assets/c41b3dec-e578-4a12-8eb8-91fbb60d7247\\\"\\n/>\n|
<img
width=\\\"118\\\"\nalt=\\\"actual\\\"\\nsrc=\\\"https://github.com/user-attachments/assets/f2a33fee-5de2-4291-876a-e7575ea07079\\\"\\n/>\n|\\n\\n**A
more real-life example**\\n<img
width=\\\"1661\\\"\nalt=\\\"more_real_life\\\"\\nsrc=\\\"https://github.com/user-attachments/assets/91ebfe93-81ad-45c8-8f9b-e173c2cf940b\\\"\\n/>\\n\\n\\n##\nSolution\\nSwitching
to `DiffMethod.WORDS_WITH_SPACE` avoids this issue.\n\\nScreenshot
showing the difference between
`DiffMethod.WORDS`\nand\\n`DiffMethod.WORDS_WITH_SPACE`:\\n<img
width=\\\"675\\\"\nalt=\\\"words_vs_words_with_space\\\"\\nsrc=\\\"https://github.com/user-attachments/assets/3c91e1d2-63fc-4fcd-a762-a905878bfc3a\\\"\\n/>\\n\\n##\nOther
changes\\n- Removed `DiffMethod.TRIMMED_LINES` since
it's\nnow\\n[deprecated](https://github.com/kpdecker/jsdiff/pull/486) in
the\n`diff`\\nlibrary and we are not using it anyways.\\n- Stopped using
the\n\\\"zip\\\" option since I believe it produces a less\\nreadable
diff,\nespecially for cases when there's a different number of\\nlines
in the\noriginal value vs
updated\nvalue.\\n\\n<details>\\n<summary><strong>Screenshots: with and
without\n\\\"zip\\\" (click
to\\nexpand)</strong></summary>\\n<strong>With the \\\"zip\\\"\noption
(how it was before)</strong>\\n<img
width=\\\"1918\\\"\nalt=\\\"zip\\\"\\nsrc=\\\"https://github.com/user-attachments/assets/272ed849-47d6-4fef-8acc-ab1b22c9f42e\\\"\\n/>\\n\\n<strong>No\n\\\"zip\\\"
(this branch)</strong>\\n<img
width=\\\"1919\\\"\nalt=\\\"no_zip\\\"\\nsrc=\\\"https://github.com/user-attachments/assets/417303bf-9570-4ee1-98c5-8a78f59c7956\\\"\\n/>\\n</details>\\n\\n##\nTesting\\n\\nI
thoroughly tested with `DiffMethod.WORDS_WITH_SPACE`
across\nvarious\\ninputs and scenarios, including:\\n- Single-line and
multi-line\nstrings.\\n- Numbers, arrays, and objects.\\n- Additions,
deletions, and\nupdates at different positions (start,\\nmiddle, and
end) within and\nacross lines.\\n\\nI also validated diffs against real
prebuilt rules by\ninstalling an\\nolder Fleet package version and
observed no\nissues.\\n\\nYou can test by trying different input strings
and settings\nin\\nStorybook.\\n**Run Storybook**: `yarn
storybook\nsecurity_solution`.\\n\\n\\nhttps://github.com/user-attachments/assets/0440b73c-a4d7-40cf-9cee-e632146d292e\\n\\nYou\ncan
notice that `ComparisonSide` stories are broken, but\nthat's\\nunrelated
to these changes and needs to be handled\nseparately.\\n\\n##
Compatibility with future upgrades\\n\\nThere's an
open\n[PR](https://github.com/elastic/kibana/pull/202622) that\\nwill
upgrade\nthe `diff` library from v5 to v7. I verified the
behavior\\nof\n`DiffMethod.WORDS_WITH_SPACE` on v7 and found no
differences\ncompared\\nto v5, so it should be safe to upgrade to v7
without any\nchanges on our\\nend.\\n\\nWork started
on\n23-Dec-2024.\",\"sha\":\"140c2e0ecf9f8a0277699052f9ba472066a0e96d\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"8.x\"],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/205138\",\"number\":205138,\"mergeCommit\":{\"message\":\"[Security\nSolution]
Fix incorrect changes highlighting in diff
view\n(#205138)\\n\\n**Resolves:\nhttps://github.com/elastic/kibana/issues/202016**\\n\\n##
Summary\\n\\nThis\nPR resolves an issue where the diff view incorrectly
marked\ncertain\\ncharacters as changed (using bold font) in some
cases.\\n\\n##\nRoot Cause\\nThe issue arises from a bug in the `diff`
library (v5). The\nlibrary is\\nused to compute two-way diffs between
strings (old field\nvalue and new\\nfield value), producing an array of
change objects that\nis then used for\\nrendering.\\n\\nConditions for
the bug:\\n- `diff` v5\nlibrary is in use (fixed in v6 and above)
and\\n`DiffMethod.WORDS` is\npassed as a parameter to it.\\n- The old
field value contains a line with\nan addition separated by a\\nspace
(see example below).\\n- The next line\ncontains some changes
(additions, deletions, or\\nupdates).\\n\\n\\nFor\nexample, for these
input
strings:\\n```\\nfoo\nbar\\nspring\\n```\\n```\\nfoo\\nsprint\\n```\\n\\n|
You would expect to see\nthis diff | But you actually see this
|\\n|----------|----------|\\n|
<img\nwidth=\\\"119\\\"\nalt=\\\"expected\\\"\\nsrc=\\\"https://github.com/user-attachments/assets/c41b3dec-e578-4a12-8eb8-91fbb60d7247\\\"\\n/>\n|
<img
width=\\\"118\\\"\nalt=\\\"actual\\\"\\nsrc=\\\"https://github.com/user-attachments/assets/f2a33fee-5de2-4291-876a-e7575ea07079\\\"\\n/>\n|\\n\\n**A
more real-life example**\\n<img
width=\\\"1661\\\"\nalt=\\\"more_real_life\\\"\\nsrc=\\\"https://github.com/user-attachments/assets/91ebfe93-81ad-45c8-8f9b-e173c2cf940b\\\"\\n/>\\n\\n\\n##\nSolution\\nSwitching
to `DiffMethod.WORDS_WITH_SPACE` avoids this issue.\n\\nScreenshot
showing the difference between
`DiffMethod.WORDS`\nand\\n`DiffMethod.WORDS_WITH_SPACE`:\\n<img
width=\\\"675\\\"\nalt=\\\"words_vs_words_with_space\\\"\\nsrc=\\\"https://github.com/user-attachments/assets/3c91e1d2-63fc-4fcd-a762-a905878bfc3a\\\"\\n/>\\n\\n##\nOther
changes\\n- Removed `DiffMethod.TRIMMED_LINES` since
it's\nnow\\n[deprecated](https://github.com/kpdecker/jsdiff/pull/486) in
the\n`diff`\\nlibrary and we are not using it anyways.\\n- Stopped using
the\n\\\"zip\\\" option since I believe it produces a less\\nreadable
diff,\nespecially for cases when there's a different number of\\nlines
in the\noriginal value vs
updated\nvalue.\\n\\n<details>\\n<summary><strong>Screenshots: with and
without\n\\\"zip\\\" (click
to\\nexpand)</strong></summary>\\n<strong>With the \\\"zip\\\"\noption
(how it was before)</strong>\\n<img
width=\\\"1918\\\"\nalt=\\\"zip\\\"\\nsrc=\\\"https://github.com/user-attachments/assets/272ed849-47d6-4fef-8acc-ab1b22c9f42e\\\"\\n/>\\n\\n<strong>No\n\\\"zip\\\"
(this branch)</strong>\\n<img
width=\\\"1919\\\"\nalt=\\\"no_zip\\\"\\nsrc=\\\"https://github.com/user-attachments/assets/417303bf-9570-4ee1-98c5-8a78f59c7956\\\"\\n/>\\n</details>\\n\\n##\nTesting\\n\\nI
thoroughly tested with `DiffMethod.WORDS_WITH_SPACE`
across\nvarious\\ninputs and scenarios, including:\\n- Single-line and
multi-line\nstrings.\\n- Numbers, arrays, and objects.\\n- Additions,
deletions, and\nupdates at different positions (start,\\nmiddle, and
end) within and\nacross lines.\\n\\nI also validated diffs against real
prebuilt rules by\ninstalling an\\nolder Fleet package version and
observed no\nissues.\\n\\nYou can test by trying different input strings
and settings\nin\\nStorybook.\\n**Run Storybook**: `yarn
storybook\nsecurity_solution`.\\n\\n\\nhttps://github.com/user-attachments/assets/0440b73c-a4d7-40cf-9cee-e632146d292e\\n\\nYou\ncan
notice that `ComparisonSide` stories are broken, but\nthat's\\nunrelated
to these changes and needs to be handled\nseparately.\\n\\n##
Compatibility with future upgrades\\n\\nThere's an
open\n[PR](https://github.com/elastic/kibana/pull/202622) that\\nwill
upgrade\nthe `diff` library from v5 to v7. I verified the
behavior\\nof\n`DiffMethod.WORDS_WITH_SPACE` on v7 and found no
differences\ncompared\\nto v5, so it should be safe to upgrade to v7
without any\nchanges on our\\nend.\\n\\nWork started
on\n23-Dec-2024.\",\"sha\":\"140c2e0ecf9f8a0277699052f9ba472066a0e96d\"}},{\"branch\":\"8.x\",\"label\":\"v8.18.0\",\"branchLabelMappingKey\":\"^v8.18.0$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->\n\nCo-authored-by:
Nikita Indik <nikita.indik@elastic.co>"}}]}] BACKPORT-->
2025-01-06 10:29:43 -07:00
Kurt
e6bd75c00c
[8.17] Upgrading APM Node (#205440) (#205574)
# Backport

This will backport the following commits from `main` to `8.17`:
- [Upgrading APM Node
(#205440)](https://github.com/elastic/kibana/pull/205440)

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

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

<!--BACKPORT
[{"author":{"name":"Kurt","email":"kc13greiner@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-03T20:39:25Z","message":"Upgrading
APM Node (#205440)\n\n## Summary\r\n\r\nUpgrade `elastic-apm-node` from
4.9.0 to
4.10.0\r\n\r\n\r\n[CHANGELOG](https://github.com/elastic/apm-agent-nodejs/blob/main/CHANGELOG.asciidoc)","sha":"283bcf5a155ae14c4217a02d6850da43eb8eea15","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Security","release_note:skip","v9.0.0","backport:all-open"],"number":205440,"url":"https://github.com/elastic/kibana/pull/205440","mergeCommit":{"message":"Upgrading
APM Node (#205440)\n\n## Summary\r\n\r\nUpgrade `elastic-apm-node` from
4.9.0 to
4.10.0\r\n\r\n\r\n[CHANGELOG](https://github.com/elastic/apm-agent-nodejs/blob/main/CHANGELOG.asciidoc)","sha":"283bcf5a155ae14c4217a02d6850da43eb8eea15"}},"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/205440","number":205440,"mergeCommit":{"message":"Upgrading
APM Node (#205440)\n\n## Summary\r\n\r\nUpgrade `elastic-apm-node` from
4.9.0 to
4.10.0\r\n\r\n\r\n[CHANGELOG](https://github.com/elastic/apm-agent-nodejs/blob/main/CHANGELOG.asciidoc)","sha":"283bcf5a155ae14c4217a02d6850da43eb8eea15"}},{"url":"https://github.com/elastic/kibana/pull/205541","number":205541,"branch":"8.x","state":"OPEN"}]}]
BACKPORT-->
2025-01-06 11:43:16 +01:00
Lisa Cawley
49cc3d9de6
[8.17] [DOCS] Add case subfeature privileges (#204295) (#204448)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[DOCS] Add case subfeature privileges
(#204295)](https://github.com/elastic/kibana/pull/204295)

<!--- 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-12-16T15:53:28Z","message":"[DOCS]
Add case subfeature privileges
(#204295)","sha":"cf620f023d8538e31b17228917bc94268687da8f","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","v9.0.0","docs","Feature:Cases","backport:8.17"],"number":204295,"url":"https://github.com/elastic/kibana/pull/204295","mergeCommit":{"message":"[DOCS]
Add case subfeature privileges
(#204295)","sha":"cf620f023d8538e31b17228917bc94268687da8f"}},"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/204295","number":204295,"mergeCommit":{"message":"[DOCS]
Add case subfeature privileges
(#204295)","sha":"cf620f023d8538e31b17228917bc94268687da8f"}}]}]
BACKPORT-->
2025-01-03 12:21:43 -05:00
Kibana Machine
846f433f4e
[8.17] [Infra][Hosts] Reset SearchBar refresh state to fully disable auto-refresh (#205416) (#205505)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Infra][Hosts] Reset SearchBar refresh state to fully disable
auto-refresh (#205416)](https://github.com/elastic/kibana/pull/205416)

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

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

<!--BACKPORT [{"author":{"name":"Gonçalo Rica Pais da
Silva","email":"goncalo.rica@elastic.co"},"sourceCommit":{"committedDate":"2025-01-03T15:04:17Z","message":"[Infra][Hosts]
Reset SearchBar refresh state to fully disable auto-refresh
(#205416)\n\n## Summary\r\n\r\nA bug with the search bar configuration
allows for a page that does not\r\nhave auto-refresh enabled to inherit
the auto-refresh state from another\r\npage that had previously enabled
it. This PR fixes that by fully\r\nresetting the state for the page's
search bar to ensure auto-refresh is\r\nnot active for Hosts page (as it
should be).\r\n\r\nCloses #205414 \r\n\r\n## How to test\r\n\r\n- Go to
Alerts page\r\n- Click on the Date Quick Selector, enable the
auto-refresh feature.\r\nConfirm the refresh icon is on the datepicker
now.\r\n- Navigate to Hosts page\r\n- The auto-refresh icon on the Hosts
page search bar datepicker should\r\nno longer be visible, and opening
the date quick selector should not\r\nshow any auto-refresh
feature/toggle.","sha":"d25dcc11ebdd18324111fc7dc403014b08fbf786","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-major","Team:obs-ux-infra_services","v8.16.3","v8.17.1"],"title":"[Infra][Hosts]
Reset SearchBar refresh state to fully disable
auto-refresh","number":205416,"url":"https://github.com/elastic/kibana/pull/205416","mergeCommit":{"message":"[Infra][Hosts]
Reset SearchBar refresh state to fully disable auto-refresh
(#205416)\n\n## Summary\r\n\r\nA bug with the search bar configuration
allows for a page that does not\r\nhave auto-refresh enabled to inherit
the auto-refresh state from another\r\npage that had previously enabled
it. This PR fixes that by fully\r\nresetting the state for the page's
search bar to ensure auto-refresh is\r\nnot active for Hosts page (as it
should be).\r\n\r\nCloses #205414 \r\n\r\n## How to test\r\n\r\n- Go to
Alerts page\r\n- Click on the Date Quick Selector, enable the
auto-refresh feature.\r\nConfirm the refresh icon is on the datepicker
now.\r\n- Navigate to Hosts page\r\n- The auto-refresh icon on the Hosts
page search bar datepicker should\r\nno longer be visible, and opening
the date quick selector should not\r\nshow any auto-refresh
feature/toggle.","sha":"d25dcc11ebdd18324111fc7dc403014b08fbf786"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205416","number":205416,"mergeCommit":{"message":"[Infra][Hosts]
Reset SearchBar refresh state to fully disable auto-refresh
(#205416)\n\n## Summary\r\n\r\nA bug with the search bar configuration
allows for a page that does not\r\nhave auto-refresh enabled to inherit
the auto-refresh state from another\r\npage that had previously enabled
it. This PR fixes that by fully\r\nresetting the state for the page's
search bar to ensure auto-refresh is\r\nnot active for Hosts page (as it
should be).\r\n\r\nCloses #205414 \r\n\r\n## How to test\r\n\r\n- Go to
Alerts page\r\n- Click on the Date Quick Selector, enable the
auto-refresh feature.\r\nConfirm the refresh icon is on the datepicker
now.\r\n- Navigate to Hosts page\r\n- The auto-refresh icon on the Hosts
page search bar datepicker should\r\nno longer be visible, and opening
the date quick selector should not\r\nshow any auto-refresh
feature/toggle.","sha":"d25dcc11ebdd18324111fc7dc403014b08fbf786"}},{"branch":"8.16","label":"v8.16.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Gonçalo Rica Pais da Silva <goncalo.rica@elastic.co>
2025-01-03 10:50:14 -06:00
Ying Mao
45d8ba824f
[8.17] [Response Ops] Fix Task Manager Schedule Flaky Test (#201732) (#205489)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Response Ops] Fix Task Manager Schedule Flaky Test
(#201732)](https://github.com/elastic/kibana/pull/201732)

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

### 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-12-06T03:49:06Z","message":"[Response
Ops] Fix Task Manager Schedule Flaky Test (#201732)\n\n##
Summary\r\n\r\nIssue:
https://github.com/elastic/kibana/issues/198664\r\n\r\nFixes task
manager schedule flaky test according to guidance posted\r\nhere:
https://github.com/elastic/kibana/issues/161882\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\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"cdd1ba9b00b7fb752106ac9b181d84e0c6d94e53","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","Team:ResponseOps","v9.0.0","v8.18.0","v8.16.3","v8.17.1"],"number":201732,"url":"https://github.com/elastic/kibana/pull/201732","mergeCommit":{"message":"[Response
Ops] Fix Task Manager Schedule Flaky Test (#201732)\n\n##
Summary\r\n\r\nIssue:
https://github.com/elastic/kibana/issues/198664\r\n\r\nFixes task
manager schedule flaky test according to guidance posted\r\nhere:
https://github.com/elastic/kibana/issues/161882\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\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"cdd1ba9b00b7fb752106ac9b181d84e0c6d94e53"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201732","number":201732,"mergeCommit":{"message":"[Response
Ops] Fix Task Manager Schedule Flaky Test (#201732)\n\n##
Summary\r\n\r\nIssue:
https://github.com/elastic/kibana/issues/198664\r\n\r\nFixes task
manager schedule flaky test according to guidance posted\r\nhere:
https://github.com/elastic/kibana/issues/161882\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\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"cdd1ba9b00b7fb752106ac9b181d84e0c6d94e53"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Jiawei Wu <74562234+JiaweiWu@users.noreply.github.com>
2025-01-03 17:01:44 +01:00
Kibana Machine
476fe86fd2
[8.17] [api docs] Stabilize build (#205432) (#205459)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[api docs] Stabilize build
(#205432)](https://github.com/elastic/kibana/pull/205432)

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

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2025-01-03T01:14:14Z","message":"[api
docs] Stabilize build (#205432)\n\nThe API docs build times have become
unstable over the last few months,\r\nranging from 45 to 80 minutes
before timing
out:\r\nhttps://buildkite.com/elastic/kibana-api-docs-daily/builds?state=failed.\r\n\r\nWhen
the API docs build times out in the on-merge pipeline, or
takes\r\nlonger than a pull request build, pull requests based on it
will also\r\nfail due to missing baseline metrics. Testing
at\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/263821
and\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/263838\r\nindicates
consistency and time improvements with more memory.\r\n\r\nThis updates
the machine type from n2-standard-4 to n2-highmem-4 and\r\nallocates
24gb to the node
process.","sha":"68f510eed9dcc3c4488e03315e643e868b10bd08","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:prev-major"],"title":"[api
docs] Stabilize
build","number":205432,"url":"https://github.com/elastic/kibana/pull/205432","mergeCommit":{"message":"[api
docs] Stabilize build (#205432)\n\nThe API docs build times have become
unstable over the last few months,\r\nranging from 45 to 80 minutes
before timing
out:\r\nhttps://buildkite.com/elastic/kibana-api-docs-daily/builds?state=failed.\r\n\r\nWhen
the API docs build times out in the on-merge pipeline, or
takes\r\nlonger than a pull request build, pull requests based on it
will also\r\nfail due to missing baseline metrics. Testing
at\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/263821
and\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/263838\r\nindicates
consistency and time improvements with more memory.\r\n\r\nThis updates
the machine type from n2-standard-4 to n2-highmem-4 and\r\nallocates
24gb to the node
process.","sha":"68f510eed9dcc3c4488e03315e643e868b10bd08"}},"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/205432","number":205432,"mergeCommit":{"message":"[api
docs] Stabilize build (#205432)\n\nThe API docs build times have become
unstable over the last few months,\r\nranging from 45 to 80 minutes
before timing
out:\r\nhttps://buildkite.com/elastic/kibana-api-docs-daily/builds?state=failed.\r\n\r\nWhen
the API docs build times out in the on-merge pipeline, or
takes\r\nlonger than a pull request build, pull requests based on it
will also\r\nfail due to missing baseline metrics. Testing
at\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/263821
and\r\nhttps://buildkite.com/elastic/kibana-pull-request/builds/263838\r\nindicates
consistency and time improvements with more memory.\r\n\r\nThis updates
the machine type from n2-standard-4 to n2-highmem-4 and\r\nallocates
24gb to the node
process.","sha":"68f510eed9dcc3c4488e03315e643e868b10bd08"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
2025-01-02 21:02:34 -06:00
Kibana Machine
eba5c40e16
[8.17] [Fleet] Fix show all agent tags when agent list is filtered (#205163) (#205389)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Fleet] Fix show all agent tags when agent list is filtered
(#205163)](https://github.com/elastic/kibana/pull/205163)

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

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

<!--BACKPORT [{"author":{"name":"Jusheng
Huang","email":"117657272+viajes7@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-02T13:43:59Z","message":"[Fleet]
Fix show all agent tags when agent list is filtered (#205163)\n\n##
Summary\r\n\r\nCloses #164674 \r\n\r\nRemove `kuery` in request
parameters to get all agents
tags.\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/229ac48b-e33e-4c2d-8062-04ce6dc86c2a)","sha":"a92122425e2b73cdde2e1481bf1f29e2059b0ec7","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","💝community","Team:Fleet","v9.0.0","backport:prev-major"],"title":"[Fleet]
Fix show all agent tags when agent list is
filtered","number":205163,"url":"https://github.com/elastic/kibana/pull/205163","mergeCommit":{"message":"[Fleet]
Fix show all agent tags when agent list is filtered (#205163)\n\n##
Summary\r\n\r\nCloses #164674 \r\n\r\nRemove `kuery` in request
parameters to get all agents
tags.\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/229ac48b-e33e-4c2d-8062-04ce6dc86c2a)","sha":"a92122425e2b73cdde2e1481bf1f29e2059b0ec7"}},"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/205163","number":205163,"mergeCommit":{"message":"[Fleet]
Fix show all agent tags when agent list is filtered (#205163)\n\n##
Summary\r\n\r\nCloses #164674 \r\n\r\nRemove `kuery` in request
parameters to get all agents
tags.\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/229ac48b-e33e-4c2d-8062-04ce6dc86c2a)","sha":"a92122425e2b73cdde2e1481bf1f29e2059b0ec7"}}]}]
BACKPORT-->

Co-authored-by: Jusheng Huang <117657272+viajes7@users.noreply.github.com>
2025-01-02 09:36:14 -06:00
Bharat Pasupula
63f690edbe
[8.17] [Automatic Import] Reuse regex pattern to validate names (#205029) (#205373)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Automatic Import] Reuse regex pattern to validate names
(#205029)](https://github.com/elastic/kibana/pull/205029)

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

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

<!--BACKPORT [{"author":{"name":"Bharat
Pasupula","email":"123897612+bhapas@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-27T17:39:10Z","message":"[Automatic
Import] Reuse regex pattern to validate names (#205029)\n\n##
Summary\r\n\r\nThis PR reuses the regex pattern to validate the names in
UI and backend\r\ncreated in
https://github.com/elastic/kibana/pull/204943\r\n\r\n---------\r\n\r\nCo-authored-by:
Ilya Nikokoshev
<ilya.nikokoshev@elastic.co>","sha":"b4417c695722eadc14a6304171ca2d9ec90064bb","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","v9.0.0","backport:prev-major","Team:Security-Scalability","Feature:AutomaticImport"],"number":205029,"url":"https://github.com/elastic/kibana/pull/205029","mergeCommit":{"message":"[Automatic
Import] Reuse regex pattern to validate names (#205029)\n\n##
Summary\r\n\r\nThis PR reuses the regex pattern to validate the names in
UI and backend\r\ncreated in
https://github.com/elastic/kibana/pull/204943\r\n\r\n---------\r\n\r\nCo-authored-by:
Ilya Nikokoshev
<ilya.nikokoshev@elastic.co>","sha":"b4417c695722eadc14a6304171ca2d9ec90064bb"}},"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/205029","number":205029,"mergeCommit":{"message":"[Automatic
Import] Reuse regex pattern to validate names (#205029)\n\n##
Summary\r\n\r\nThis PR reuses the regex pattern to validate the names in
UI and backend\r\ncreated in
https://github.com/elastic/kibana/pull/204943\r\n\r\n---------\r\n\r\nCo-authored-by:
Ilya Nikokoshev
<ilya.nikokoshev@elastic.co>","sha":"b4417c695722eadc14a6304171ca2d9ec90064bb"}},{"url":"https://github.com/elastic/kibana/pull/205369","number":205369,"branch":"8.16","state":"OPEN"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-02 06:54:48 -06:00
Aleh Zasypkin
6b47e8d41e
[8.17] Update actions/checkout action to v4.2.2 (main) (#195305) (#205318)
# Backport

This will backport the following commits from `main` to `8.17`:
- [Update actions/checkout action to v4.2.2 (main)
(#195305)](https://github.com/elastic/kibana/pull/195305)

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

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

<!--BACKPORT
[{"author":{"name":"elastic-renovate-prod[bot]","email":"174716857+elastic-renovate-prod[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-31T13:47:39Z","message":"Update
actions/checkout action to v4.2.2 (main) (#195305)\n\nThis PR contains
the following updates:\n\n| Package | Type | Update | Change
|\n|---|---|---|---|\n|
[actions/checkout](https://togithub.com/actions/checkout) | action
|\nminor | `v4` -> `v4.2.2` |\n|
[actions/checkout](https://togithub.com/actions/checkout) | action
|\npatch | `v4.2.0` -> `v4.2.2` |\n\n---\n\n### Release
Notes\n\n<details>\n<summary>actions/checkout
(actions/checkout)</summary>\n\n###\n[`v4.2.2`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v422)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.2.1...v4.2.2)\n\n-
`url-helper.ts` now leverages well-known environment variables
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1941](https://togithub.com/actions/checkout/pull/1941)\n-
Expand unit test coverage for `isGhes`
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1946](https://togithub.com/actions/checkout/pull/1946)\n\n###\n[`v4.2.1`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v421)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.2.0...v4.2.1)\n\n-
Check out other refs/\\* by commit if provided, fall back to ref
by\n[@&#8203;orhantoy](https://togithub.com/orhantoy)
in\n[https://github.com/actions/checkout/pull/1924](https://togithub.com/actions/checkout/pull/1924)\n\n###\n[`v4.2.0`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v420)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.7...v4.2.0)\n\n-
Add Ref and Commit outputs
by\n[@&#8203;lucacome](https://togithub.com/lucacome)
in\n[https://github.com/actions/checkout/pull/1180](https://togithub.com/actions/checkout/pull/1180)\n-
Dependency updates
by\n[@&#8203;dependabot-](https://togithub.com/dependabot-)\n[https://github.com/actions/checkout/pull/1777](https://togithub.com/actions/checkout/pull/1777),\n[https://github.com/actions/checkout/pull/1872](https://togithub.com/actions/checkout/pull/1872)\n\n###\n[`v4.1.7`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v417)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.6...v4.1.7)\n\n-
Bump the minor-npm-dependencies group across 1 directory with 4\nupdates
by [@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1739](https://togithub.com/actions/checkout/pull/1739)\n-
Bump actions/checkout from 3 to 4
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1697](https://togithub.com/actions/checkout/pull/1697)\n-
Check out other refs/\\* by commit
by\n[@&#8203;orhantoy](https://togithub.com/orhantoy)
in\n[https://github.com/actions/checkout/pull/1774](https://togithub.com/actions/checkout/pull/1774)\n-
Pin actions/checkout's own workflows to a known, good, stable
version.\nby [@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1776](https://togithub.com/actions/checkout/pull/1776)\n\n###\n[`v4.1.6`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v416)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.5...v4.1.6)\n\n-
Check platform to set archive extension appropriately
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1732](https://togithub.com/actions/checkout/pull/1732)\n\n###\n[`v4.1.5`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v415)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.4...v4.1.5)\n\n-
Update NPM dependencies
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1703](https://togithub.com/actions/checkout/pull/1703)\n-
Bump github/codeql-action from 2 to 3
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1694](https://togithub.com/actions/checkout/pull/1694)\n-
Bump actions/setup-node from 1 to 4
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1696](https://togithub.com/actions/checkout/pull/1696)\n-
Bump actions/upload-artifact from 2 to 4
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1695](https://togithub.com/actions/checkout/pull/1695)\n-
README: Suggest `user.email` to
be\n`41898282+github-actions[bot]@&#8203;users.noreply.github.com`
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1707](https://togithub.com/actions/checkout/pull/1707)\n\n###\n[`v4.1.4`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v414)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.3...v4.1.4)\n\n-
Disable `extensions.worktreeConfig` when disabling `sparse-checkout`\nby
[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1692](https://togithub.com/actions/checkout/pull/1692)\n-
Add dependabot config
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1688](https://togithub.com/actions/checkout/pull/1688)\n-
Bump the minor-actions-dependencies group with 2 updates
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1693](https://togithub.com/actions/checkout/pull/1693)\n-
Bump word-wrap from 1.2.3 to 1.2.5
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1643](https://togithub.com/actions/checkout/pull/1643)\n\n###\n[`v4.1.3`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v413)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.2...v4.1.3)\n\n-
Check git version before attempting to disable `sparse-checkout`
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1656](https://togithub.com/actions/checkout/pull/1656)\n-
Add SSH user parameter
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1685](https://togithub.com/actions/checkout/pull/1685)\n-
Update `actions/checkout` version in `update-main-version.yml`
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1650](https://togithub.com/actions/checkout/pull/1650)\n\n###\n[`v4.1.2`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v412)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.1...v4.1.2)\n\n-
Fix: Disable sparse checkout whenever `sparse-checkout` option is
not\npresent [@&#8203;dscho](https://togithub.com/dscho)
in\n[https://github.com/actions/checkout/pull/1598](https://togithub.com/actions/checkout/pull/1598)\n\n###\n[`v4.1.1`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v411)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.0...v4.1.1)\n\n-
Correct link to GitHub Docs
by\n[@&#8203;peterbe](https://togithub.com/peterbe)
in\n[https://github.com/actions/checkout/pull/1511](https://togithub.com/actions/checkout/pull/1511)\n-
Link to release page from what's new section
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1514](https://togithub.com/actions/checkout/pull/1514)\n\n###\n[`v4.1.0`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v410)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4...v4.1.0)\n\n-
[Add support for partial
checkout\nfilters](https://togithub.com/actions/checkout/pull/1396)\n\n</details>\n\n---\n\n###
Configuration\n\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\nAutomerge - At any time (no schedule defined).\n\n🚦
**Automerge**: Disabled by config. Please merge this manually once
you\nare satisfied.\n\n♻ **Rebasing**: Whenever PR becomes conflicted,
or you tick the\nrebase/retry checkbox.\n\n🔕 **Ignore**: Close this PR
and you won't be reminded about these\nupdates again.\n\n---\n\n- [ ]
<!-- rebase-check -->If you want to rebase/retry this PR, check\nthis
box\n\n---\n\nThis PR has been generated by
[Renovate\nBot](https://togithub.com/renovatebot/renovate).\n\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>","sha":"7865d0951cffcfa85d20119327bb1bb7a5ee0060","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","💝community","v9.0.0","backport:all-open"],"number":195305,"url":"https://github.com/elastic/kibana/pull/195305","mergeCommit":{"message":"Update
actions/checkout action to v4.2.2 (main) (#195305)\n\nThis PR contains
the following updates:\n\n| Package | Type | Update | Change
|\n|---|---|---|---|\n|
[actions/checkout](https://togithub.com/actions/checkout) | action
|\nminor | `v4` -> `v4.2.2` |\n|
[actions/checkout](https://togithub.com/actions/checkout) | action
|\npatch | `v4.2.0` -> `v4.2.2` |\n\n---\n\n### Release
Notes\n\n<details>\n<summary>actions/checkout
(actions/checkout)</summary>\n\n###\n[`v4.2.2`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v422)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.2.1...v4.2.2)\n\n-
`url-helper.ts` now leverages well-known environment variables
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1941](https://togithub.com/actions/checkout/pull/1941)\n-
Expand unit test coverage for `isGhes`
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1946](https://togithub.com/actions/checkout/pull/1946)\n\n###\n[`v4.2.1`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v421)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.2.0...v4.2.1)\n\n-
Check out other refs/\\* by commit if provided, fall back to ref
by\n[@&#8203;orhantoy](https://togithub.com/orhantoy)
in\n[https://github.com/actions/checkout/pull/1924](https://togithub.com/actions/checkout/pull/1924)\n\n###\n[`v4.2.0`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v420)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.7...v4.2.0)\n\n-
Add Ref and Commit outputs
by\n[@&#8203;lucacome](https://togithub.com/lucacome)
in\n[https://github.com/actions/checkout/pull/1180](https://togithub.com/actions/checkout/pull/1180)\n-
Dependency updates
by\n[@&#8203;dependabot-](https://togithub.com/dependabot-)\n[https://github.com/actions/checkout/pull/1777](https://togithub.com/actions/checkout/pull/1777),\n[https://github.com/actions/checkout/pull/1872](https://togithub.com/actions/checkout/pull/1872)\n\n###\n[`v4.1.7`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v417)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.6...v4.1.7)\n\n-
Bump the minor-npm-dependencies group across 1 directory with 4\nupdates
by [@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1739](https://togithub.com/actions/checkout/pull/1739)\n-
Bump actions/checkout from 3 to 4
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1697](https://togithub.com/actions/checkout/pull/1697)\n-
Check out other refs/\\* by commit
by\n[@&#8203;orhantoy](https://togithub.com/orhantoy)
in\n[https://github.com/actions/checkout/pull/1774](https://togithub.com/actions/checkout/pull/1774)\n-
Pin actions/checkout's own workflows to a known, good, stable
version.\nby [@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1776](https://togithub.com/actions/checkout/pull/1776)\n\n###\n[`v4.1.6`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v416)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.5...v4.1.6)\n\n-
Check platform to set archive extension appropriately
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1732](https://togithub.com/actions/checkout/pull/1732)\n\n###\n[`v4.1.5`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v415)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.4...v4.1.5)\n\n-
Update NPM dependencies
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1703](https://togithub.com/actions/checkout/pull/1703)\n-
Bump github/codeql-action from 2 to 3
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1694](https://togithub.com/actions/checkout/pull/1694)\n-
Bump actions/setup-node from 1 to 4
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1696](https://togithub.com/actions/checkout/pull/1696)\n-
Bump actions/upload-artifact from 2 to 4
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1695](https://togithub.com/actions/checkout/pull/1695)\n-
README: Suggest `user.email` to
be\n`41898282+github-actions[bot]@&#8203;users.noreply.github.com`
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1707](https://togithub.com/actions/checkout/pull/1707)\n\n###\n[`v4.1.4`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v414)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.3...v4.1.4)\n\n-
Disable `extensions.worktreeConfig` when disabling `sparse-checkout`\nby
[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1692](https://togithub.com/actions/checkout/pull/1692)\n-
Add dependabot config
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1688](https://togithub.com/actions/checkout/pull/1688)\n-
Bump the minor-actions-dependencies group with 2 updates
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1693](https://togithub.com/actions/checkout/pull/1693)\n-
Bump word-wrap from 1.2.3 to 1.2.5
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1643](https://togithub.com/actions/checkout/pull/1643)\n\n###\n[`v4.1.3`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v413)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.2...v4.1.3)\n\n-
Check git version before attempting to disable `sparse-checkout`
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1656](https://togithub.com/actions/checkout/pull/1656)\n-
Add SSH user parameter
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1685](https://togithub.com/actions/checkout/pull/1685)\n-
Update `actions/checkout` version in `update-main-version.yml`
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1650](https://togithub.com/actions/checkout/pull/1650)\n\n###\n[`v4.1.2`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v412)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.1...v4.1.2)\n\n-
Fix: Disable sparse checkout whenever `sparse-checkout` option is
not\npresent [@&#8203;dscho](https://togithub.com/dscho)
in\n[https://github.com/actions/checkout/pull/1598](https://togithub.com/actions/checkout/pull/1598)\n\n###\n[`v4.1.1`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v411)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.0...v4.1.1)\n\n-
Correct link to GitHub Docs
by\n[@&#8203;peterbe](https://togithub.com/peterbe)
in\n[https://github.com/actions/checkout/pull/1511](https://togithub.com/actions/checkout/pull/1511)\n-
Link to release page from what's new section
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1514](https://togithub.com/actions/checkout/pull/1514)\n\n###\n[`v4.1.0`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v410)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4...v4.1.0)\n\n-
[Add support for partial
checkout\nfilters](https://togithub.com/actions/checkout/pull/1396)\n\n</details>\n\n---\n\n###
Configuration\n\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\nAutomerge - At any time (no schedule defined).\n\n🚦
**Automerge**: Disabled by config. Please merge this manually once
you\nare satisfied.\n\n♻ **Rebasing**: Whenever PR becomes conflicted,
or you tick the\nrebase/retry checkbox.\n\n🔕 **Ignore**: Close this PR
and you won't be reminded about these\nupdates again.\n\n---\n\n- [ ]
<!-- rebase-check -->If you want to rebase/retry this PR, check\nthis
box\n\n---\n\nThis PR has been generated by
[Renovate\nBot](https://togithub.com/renovatebot/renovate).\n\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>","sha":"7865d0951cffcfa85d20119327bb1bb7a5ee0060"}},"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/195305","number":195305,"mergeCommit":{"message":"Update
actions/checkout action to v4.2.2 (main) (#195305)\n\nThis PR contains
the following updates:\n\n| Package | Type | Update | Change
|\n|---|---|---|---|\n|
[actions/checkout](https://togithub.com/actions/checkout) | action
|\nminor | `v4` -> `v4.2.2` |\n|
[actions/checkout](https://togithub.com/actions/checkout) | action
|\npatch | `v4.2.0` -> `v4.2.2` |\n\n---\n\n### Release
Notes\n\n<details>\n<summary>actions/checkout
(actions/checkout)</summary>\n\n###\n[`v4.2.2`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v422)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.2.1...v4.2.2)\n\n-
`url-helper.ts` now leverages well-known environment variables
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1941](https://togithub.com/actions/checkout/pull/1941)\n-
Expand unit test coverage for `isGhes`
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1946](https://togithub.com/actions/checkout/pull/1946)\n\n###\n[`v4.2.1`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v421)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.2.0...v4.2.1)\n\n-
Check out other refs/\\* by commit if provided, fall back to ref
by\n[@&#8203;orhantoy](https://togithub.com/orhantoy)
in\n[https://github.com/actions/checkout/pull/1924](https://togithub.com/actions/checkout/pull/1924)\n\n###\n[`v4.2.0`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v420)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.7...v4.2.0)\n\n-
Add Ref and Commit outputs
by\n[@&#8203;lucacome](https://togithub.com/lucacome)
in\n[https://github.com/actions/checkout/pull/1180](https://togithub.com/actions/checkout/pull/1180)\n-
Dependency updates
by\n[@&#8203;dependabot-](https://togithub.com/dependabot-)\n[https://github.com/actions/checkout/pull/1777](https://togithub.com/actions/checkout/pull/1777),\n[https://github.com/actions/checkout/pull/1872](https://togithub.com/actions/checkout/pull/1872)\n\n###\n[`v4.1.7`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v417)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.6...v4.1.7)\n\n-
Bump the minor-npm-dependencies group across 1 directory with 4\nupdates
by [@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1739](https://togithub.com/actions/checkout/pull/1739)\n-
Bump actions/checkout from 3 to 4
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1697](https://togithub.com/actions/checkout/pull/1697)\n-
Check out other refs/\\* by commit
by\n[@&#8203;orhantoy](https://togithub.com/orhantoy)
in\n[https://github.com/actions/checkout/pull/1774](https://togithub.com/actions/checkout/pull/1774)\n-
Pin actions/checkout's own workflows to a known, good, stable
version.\nby [@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1776](https://togithub.com/actions/checkout/pull/1776)\n\n###\n[`v4.1.6`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v416)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.5...v4.1.6)\n\n-
Check platform to set archive extension appropriately
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1732](https://togithub.com/actions/checkout/pull/1732)\n\n###\n[`v4.1.5`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v415)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.4...v4.1.5)\n\n-
Update NPM dependencies
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1703](https://togithub.com/actions/checkout/pull/1703)\n-
Bump github/codeql-action from 2 to 3
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1694](https://togithub.com/actions/checkout/pull/1694)\n-
Bump actions/setup-node from 1 to 4
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1696](https://togithub.com/actions/checkout/pull/1696)\n-
Bump actions/upload-artifact from 2 to 4
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1695](https://togithub.com/actions/checkout/pull/1695)\n-
README: Suggest `user.email` to
be\n`41898282+github-actions[bot]@&#8203;users.noreply.github.com`
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1707](https://togithub.com/actions/checkout/pull/1707)\n\n###\n[`v4.1.4`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v414)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.3...v4.1.4)\n\n-
Disable `extensions.worktreeConfig` when disabling `sparse-checkout`\nby
[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1692](https://togithub.com/actions/checkout/pull/1692)\n-
Add dependabot config
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1688](https://togithub.com/actions/checkout/pull/1688)\n-
Bump the minor-actions-dependencies group with 2 updates
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1693](https://togithub.com/actions/checkout/pull/1693)\n-
Bump word-wrap from 1.2.3 to 1.2.5
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1643](https://togithub.com/actions/checkout/pull/1643)\n\n###\n[`v4.1.3`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v413)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.2...v4.1.3)\n\n-
Check git version before attempting to disable `sparse-checkout`
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1656](https://togithub.com/actions/checkout/pull/1656)\n-
Add SSH user parameter
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1685](https://togithub.com/actions/checkout/pull/1685)\n-
Update `actions/checkout` version in `update-main-version.yml`
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1650](https://togithub.com/actions/checkout/pull/1650)\n\n###\n[`v4.1.2`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v412)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.1...v4.1.2)\n\n-
Fix: Disable sparse checkout whenever `sparse-checkout` option is
not\npresent [@&#8203;dscho](https://togithub.com/dscho)
in\n[https://github.com/actions/checkout/pull/1598](https://togithub.com/actions/checkout/pull/1598)\n\n###\n[`v4.1.1`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v411)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.0...v4.1.1)\n\n-
Correct link to GitHub Docs
by\n[@&#8203;peterbe](https://togithub.com/peterbe)
in\n[https://github.com/actions/checkout/pull/1511](https://togithub.com/actions/checkout/pull/1511)\n-
Link to release page from what's new section
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1514](https://togithub.com/actions/checkout/pull/1514)\n\n###\n[`v4.1.0`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v410)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4...v4.1.0)\n\n-
[Add support for partial
checkout\nfilters](https://togithub.com/actions/checkout/pull/1396)\n\n</details>\n\n---\n\n###
Configuration\n\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\nAutomerge - At any time (no schedule defined).\n\n🚦
**Automerge**: Disabled by config. Please merge this manually once
you\nare satisfied.\n\n♻ **Rebasing**: Whenever PR becomes conflicted,
or you tick the\nrebase/retry checkbox.\n\n🔕 **Ignore**: Close this PR
and you won't be reminded about these\nupdates again.\n\n---\n\n- [ ]
<!-- rebase-check -->If you want to rebase/retry this PR, check\nthis
box\n\n---\n\nThis PR has been generated by
[Renovate\nBot](https://togithub.com/renovatebot/renovate).\n\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>","sha":"7865d0951cffcfa85d20119327bb1bb7a5ee0060"}}]}]
BACKPORT-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2024-12-31 11:47:48 -05:00
akashsingh
a486ab84a0
Max allowed file size while Uploading image via Kibana dashboard Image … (#205140)
Co-authored-by: Liam Thompson <leemthompo@gmail.com>
2024-12-31 14:43:29 +01:00
Kibana Machine
d01c1949f0
[8.17] Update docker.elastic.co/wolfi/chainguard-base:latest Docker digest to eef54b3 (main) (#205280) (#205291)
# Backport

This will backport the following commits from `main` to `8.17`:
- [Update docker.elastic.co/wolfi/chainguard-base:latest Docker digest
to eef54b3 (main)
(#205280)](https://github.com/elastic/kibana/pull/205280)

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

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

<!--BACKPORT
[{"author":{"name":"elastic-renovate-prod[bot]","email":"174716857+elastic-renovate-prod[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-30T19:06:53Z","message":"Update
docker.elastic.co/wolfi/chainguard-base:latest Docker digest to eef54b3
(main) (#205280)\n\nThis PR contains the following updates:\r\n\r\n|
Package | Update | Change |\r\n|---|---|---|\r\n|
docker.elastic.co/wolfi/chainguard-base | digest | `3a6e913`
->\r\n`eef54b3` |\r\n\r\n---\r\n\r\n### Configuration\r\n\r\n📅
**Schedule**: Branch creation - At any time (no schedule
defined),\r\nAutomerge - At any time (no schedule defined).\r\n\r\n🚦
**Automerge**: Disabled by config. Please merge this manually once
you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR becomes
conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕
**Ignore**: Close this PR and you won't be reminded about this
update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you
want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis
PR has been generated by
[Renovate\r\nBot](https://togithub.com/renovatebot/renovate).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->\r\n\r\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>","sha":"0da3d178df4d45b6c28675dcedfe2144f1e3bfe7","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:prev-major"],"title":"Update
docker.elastic.co/wolfi/chainguard-base:latest Docker digest to eef54b3
(main)","number":205280,"url":"https://github.com/elastic/kibana/pull/205280","mergeCommit":{"message":"Update
docker.elastic.co/wolfi/chainguard-base:latest Docker digest to eef54b3
(main) (#205280)\n\nThis PR contains the following updates:\r\n\r\n|
Package | Update | Change |\r\n|---|---|---|\r\n|
docker.elastic.co/wolfi/chainguard-base | digest | `3a6e913`
->\r\n`eef54b3` |\r\n\r\n---\r\n\r\n### Configuration\r\n\r\n📅
**Schedule**: Branch creation - At any time (no schedule
defined),\r\nAutomerge - At any time (no schedule defined).\r\n\r\n🚦
**Automerge**: Disabled by config. Please merge this manually once
you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR becomes
conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕
**Ignore**: Close this PR and you won't be reminded about this
update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you
want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis
PR has been generated by
[Renovate\r\nBot](https://togithub.com/renovatebot/renovate).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->\r\n\r\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>","sha":"0da3d178df4d45b6c28675dcedfe2144f1e3bfe7"}},"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/205280","number":205280,"mergeCommit":{"message":"Update
docker.elastic.co/wolfi/chainguard-base:latest Docker digest to eef54b3
(main) (#205280)\n\nThis PR contains the following updates:\r\n\r\n|
Package | Update | Change |\r\n|---|---|---|\r\n|
docker.elastic.co/wolfi/chainguard-base | digest | `3a6e913`
->\r\n`eef54b3` |\r\n\r\n---\r\n\r\n### Configuration\r\n\r\n📅
**Schedule**: Branch creation - At any time (no schedule
defined),\r\nAutomerge - At any time (no schedule defined).\r\n\r\n🚦
**Automerge**: Disabled by config. Please merge this manually once
you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR becomes
conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕
**Ignore**: Close this PR and you won't be reminded about this
update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you
want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis
PR has been generated by
[Renovate\r\nBot](https://togithub.com/renovatebot/renovate).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->\r\n\r\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>","sha":"0da3d178df4d45b6c28675dcedfe2144f1e3bfe7"}}]}]
BACKPORT-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2024-12-30 14:51:25 -06:00
Kibana Machine
249e5ba71b
[8.17] [APM] Fix stack trace syntax highlight (#205187) (#205272)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[APM] Fix stack trace syntax highlight
(#205187)](https://github.com/elastic/kibana/pull/205187)

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

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

<!--BACKPORT [{"author":{"name":"Carlos
Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-30T15:48:38Z","message":"[APM]
Fix stack trace syntax highlight (#205187)\n\nfixes:
[#204957](https://github.com/elastic/kibana/issues/204957)\r\n\r\n##
Summary\r\n\r\nThis PR fixes the stack trace syntax
highlight\r\n\r\n<img width=\"1452\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/ee076fc6-c901-4e8f-a760-8c85a5470a26\"\r\n/>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a78f61691f6de231b76083a52bdcb3db602df1a0","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-major","Team:obs-ux-infra_services"],"title":"[APM]
Fix stack trace syntax
highlight","number":205187,"url":"https://github.com/elastic/kibana/pull/205187","mergeCommit":{"message":"[APM]
Fix stack trace syntax highlight (#205187)\n\nfixes:
[#204957](https://github.com/elastic/kibana/issues/204957)\r\n\r\n##
Summary\r\n\r\nThis PR fixes the stack trace syntax
highlight\r\n\r\n<img width=\"1452\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/ee076fc6-c901-4e8f-a760-8c85a5470a26\"\r\n/>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a78f61691f6de231b76083a52bdcb3db602df1a0"}},"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/205187","number":205187,"mergeCommit":{"message":"[APM]
Fix stack trace syntax highlight (#205187)\n\nfixes:
[#204957](https://github.com/elastic/kibana/issues/204957)\r\n\r\n##
Summary\r\n\r\nThis PR fixes the stack trace syntax
highlight\r\n\r\n<img width=\"1452\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/ee076fc6-c901-4e8f-a760-8c85a5470a26\"\r\n/>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a78f61691f6de231b76083a52bdcb3db602df1a0"}}]}]
BACKPORT-->

Co-authored-by: Carlos Crespo <crespocarlos@users.noreply.github.com>
2024-12-30 11:41:57 -06:00
Jon
ca5ebf2520
[8.17] [ci] Update VM cache for each ES snapshot (#205119) (#205181)
#205119
2024-12-30 11:19:17 -06:00
Kibana Machine
49aa4f9474
[8.17] [APM Fix missing error.culprit (#205242) (#205254)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[APM Fix missing error.culprit
(#205242)](https://github.com/elastic/kibana/pull/205242)

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

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

<!--BACKPORT [{"author":{"name":"Carlos
Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-30T12:50:48Z","message":"[APM
Fix missing error.culprit (#205242)\n\nfixes
[#205240](https://github.com/elastic/kibana/issues/205240)\r\n\r\n##
Summary\r\n\r\nFixes the issue where `error.culprit` is always
missing.\r\n\r\n<img width=\"800\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/9dad6797-dd40-4206-b508-daf8d69d653d\"\r\n/>\r\n\r\n<img
width=\"800\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/6a0ac25a-bc4b-4a26-b126-86eecbe7e769\"\r\n/>\r\n\r\n\r\n\r\n###
How to test \r\n\r\n- Run `simple_trace` synthtrace scenario\r\n- Run
the request below\r\n<details>\r\n<summary>POST
logs-apm.error-default/_doc</summary>\r\n\r\n```\r\nPOST
logs-apm.error-default/_doc\r\n{\r\n\r\n \"container\": {\r\n \"id\":
\"80cc20ecab1b57865d7aca0f66ab75a0c6ec2c51f7c53da04a8540215369c359\"\r\n
},\r\n \"kubernetes\": {\r\n \"node\": {\r\n \"name\":
\"ip-192-168-55-136.ec2.internal\"\r\n },\r\n \"pod\": {\r\n \"uid\":
\"9bbfe3dc-dace-4638-b8f5-aa6ccf435cbe\",\r\n \"name\":
\"otel-demo-green-3-cartservice-5d5ccc86dd-gcxtr\"\r\n },\r\n
\"namespace\": \"otel-demo-green-3\"\r\n },\r\n \"parent\": {\r\n
\"id\": \"f39639f56a540e0e\"\r\n },\r\n \"agent\": {\r\n \"name\":
\"opentelemetry/dotnet\",\r\n \"version\": \"1.6.0\"\r\n },\r\n
\"source\": {\r\n \"port\": 35136,\r\n \"ip\":
\"::ffff:192.168.50.132\"\r\n },\r\n \"error\": {\r\n \"exception\":
[\r\n {\r\n \"handled\": true,\r\n \"message\": \"Exception (plain,
.NET) without culprit\",\r\n \"type\": \"Grpc.Core.RpcException\"\r\n
}\r\n ],\r\n \"culprit\": \"culprit msg\", // remove to test the N/A
scenario\r\n \"id\": \"60674e9b23c8b06d83889e63ffe82c1c\", //change the
id on every run\r\n \"stack_trace\": \"Grpc.Core.RpcException:
Status(StatusCode=\\\"FailedPrecondition\\\", Detail=\\\"Can't access
cart storage. System.ApplicationException: Wasn't able to connect to
redis\\n at cartservice.cartstore.RedisCartStore.EnsureRedisConnected()
in /usr/src/app/src/cartstore/RedisCartStore.cs:line 79\\n at
cartservice.cartstore.RedisCartStore.EmptyCartAsync(String userId) in
/usr/src/app/src/cartstore/RedisCartStore.cs:line 157\\\")\\n at
cartservice.cartstore.RedisCartStore.EmptyCartAsync(String userId) in
/usr/src/app/src/cartstore/RedisCartStore.cs:line 166\\n at
cartservice.services.CartService.EmptyCart(EmptyCartRequest request,
ServerCallContext context) in
/usr/src/app/src/services/CartService.cs:line 65\",\r\n
\"grouping_key\": \"6082c58afd7fa6838ebc27eef6e04829\"\r\n },\r\n
\"message\": \"Exception (plain, .NET)\",\r\n \"url\": {\r\n \"path\":
\"/oteldemo.CartService/EmptyCart\",\r\n \"original\":
\"http://otel-demo-green-3-cartservice:8080/oteldemo.CartService/EmptyCart\",\r\n
\"scheme\": \"http\",\r\n \"port\": 8080,\r\n \"domain\":
\"otel-demo-green-3-cartservice\",\r\n \"full\":
\"http://otel-demo-green-3-cartservice:8080/oteldemo.CartService/EmptyCart\"\r\n
},\r\n \"labels\": {\r\n \"k8s_pod_ip\": \"192.168.62.174\",\r\n
\"k8s_pod_start_time\": \"2024-12-17T02:55:54Z\",\r\n
\"service_namespace\": \"opentelemetry-demo\",\r\n
\"k8s_deployment_name\": \"otel-demo-green-3-cartservice\"\r\n },\r\n
\"observer\": {\r\n \"hostname\": \"450fbf7ab701\",\r\n \"type\":
\"apm-server\",\r\n \"version\": \"8.13.2\"\r\n },\r\n \"trace\": {\r\n
\"id\": \"699f6d1039fc873191a1c983790db3a2\"\r\n },\r\n \"@timestamp\":
\"2024-12-30T10:30:00.000Z\",\r\n \"data_stream\": {\r\n \"namespace\":
\"default\",\r\n \"type\": \"logs\",\r\n \"dataset\": \"apm.error\"\r\n
},\r\n \"service\": {\r\n \"node\": {\r\n \"name\":
\"80cc20ecab1b57865d7aca0f66ab75a0c6ec2c51f7c53da04a8540215369c359\"\r\n
},\r\n \"framework\": {\r\n \"name\": \"Microsoft.AspNetCore\"\r\n
},\r\n \"name\": \"synth-node-0\",\r\n \"language\": {\r\n \"name\":
\"dotnet\"\r\n }\r\n },\r\n \"host\": {\r\n \"hostname\":
\"ip-192-168-55-136.ec2.internal\",\r\n \"name\":
\"ip-192-168-55-136.ec2.internal\"\r\n },\r\n \"client\": {\r\n
\"port\": 35136,\r\n \"ip\": \"::ffff:192.168.50.132\"\r\n },\r\n
\"http\": {\r\n \"request\": {\r\n \"method\": \"POST\"\r\n },\r\n
\"response\": {\r\n \"status_code\": 200\r\n },\r\n \"version\":
\"2\"\r\n },\r\n \"event\": {\r\n \"agent_id_status\": \"missing\",\r\n
\"ingested\": \"2024-12-18T18:04:22Z\"\r\n },\r\n \"transaction\": {\r\n
\"id\": \"f39639f56a540e0e\",\r\n \"type\": \"request\",\r\n
\"sampled\": true\r\n },\r\n \"user_agent\": {\r\n \"original\":
\"grpc-go/1.59.0\",\r\n \"name\": \"Other\",\r\n \"device\": {\r\n
\"name\": \"Other\"\r\n }\r\n },\r\n \"span\": {\r\n \"id\":
\"f39639f56a540e0e\"\r\n },\r\n \"timestamp\": {\r\n \"us\":
1704892605838000\r\n }\r\n
}\r\n```\r\n</details>","sha":"12608c3659a2aaea702c1d341bd0fab30f968056","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-major","Team:obs-ux-infra_services"],"title":"[APM
Fix missing
error.culprit","number":205242,"url":"https://github.com/elastic/kibana/pull/205242","mergeCommit":{"message":"[APM
Fix missing error.culprit (#205242)\n\nfixes
[#205240](https://github.com/elastic/kibana/issues/205240)\r\n\r\n##
Summary\r\n\r\nFixes the issue where `error.culprit` is always
missing.\r\n\r\n<img width=\"800\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/9dad6797-dd40-4206-b508-daf8d69d653d\"\r\n/>\r\n\r\n<img
width=\"800\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/6a0ac25a-bc4b-4a26-b126-86eecbe7e769\"\r\n/>\r\n\r\n\r\n\r\n###
How to test \r\n\r\n- Run `simple_trace` synthtrace scenario\r\n- Run
the request below\r\n<details>\r\n<summary>POST
logs-apm.error-default/_doc</summary>\r\n\r\n```\r\nPOST
logs-apm.error-default/_doc\r\n{\r\n\r\n \"container\": {\r\n \"id\":
\"80cc20ecab1b57865d7aca0f66ab75a0c6ec2c51f7c53da04a8540215369c359\"\r\n
},\r\n \"kubernetes\": {\r\n \"node\": {\r\n \"name\":
\"ip-192-168-55-136.ec2.internal\"\r\n },\r\n \"pod\": {\r\n \"uid\":
\"9bbfe3dc-dace-4638-b8f5-aa6ccf435cbe\",\r\n \"name\":
\"otel-demo-green-3-cartservice-5d5ccc86dd-gcxtr\"\r\n },\r\n
\"namespace\": \"otel-demo-green-3\"\r\n },\r\n \"parent\": {\r\n
\"id\": \"f39639f56a540e0e\"\r\n },\r\n \"agent\": {\r\n \"name\":
\"opentelemetry/dotnet\",\r\n \"version\": \"1.6.0\"\r\n },\r\n
\"source\": {\r\n \"port\": 35136,\r\n \"ip\":
\"::ffff:192.168.50.132\"\r\n },\r\n \"error\": {\r\n \"exception\":
[\r\n {\r\n \"handled\": true,\r\n \"message\": \"Exception (plain,
.NET) without culprit\",\r\n \"type\": \"Grpc.Core.RpcException\"\r\n
}\r\n ],\r\n \"culprit\": \"culprit msg\", // remove to test the N/A
scenario\r\n \"id\": \"60674e9b23c8b06d83889e63ffe82c1c\", //change the
id on every run\r\n \"stack_trace\": \"Grpc.Core.RpcException:
Status(StatusCode=\\\"FailedPrecondition\\\", Detail=\\\"Can't access
cart storage. System.ApplicationException: Wasn't able to connect to
redis\\n at cartservice.cartstore.RedisCartStore.EnsureRedisConnected()
in /usr/src/app/src/cartstore/RedisCartStore.cs:line 79\\n at
cartservice.cartstore.RedisCartStore.EmptyCartAsync(String userId) in
/usr/src/app/src/cartstore/RedisCartStore.cs:line 157\\\")\\n at
cartservice.cartstore.RedisCartStore.EmptyCartAsync(String userId) in
/usr/src/app/src/cartstore/RedisCartStore.cs:line 166\\n at
cartservice.services.CartService.EmptyCart(EmptyCartRequest request,
ServerCallContext context) in
/usr/src/app/src/services/CartService.cs:line 65\",\r\n
\"grouping_key\": \"6082c58afd7fa6838ebc27eef6e04829\"\r\n },\r\n
\"message\": \"Exception (plain, .NET)\",\r\n \"url\": {\r\n \"path\":
\"/oteldemo.CartService/EmptyCart\",\r\n \"original\":
\"http://otel-demo-green-3-cartservice:8080/oteldemo.CartService/EmptyCart\",\r\n
\"scheme\": \"http\",\r\n \"port\": 8080,\r\n \"domain\":
\"otel-demo-green-3-cartservice\",\r\n \"full\":
\"http://otel-demo-green-3-cartservice:8080/oteldemo.CartService/EmptyCart\"\r\n
},\r\n \"labels\": {\r\n \"k8s_pod_ip\": \"192.168.62.174\",\r\n
\"k8s_pod_start_time\": \"2024-12-17T02:55:54Z\",\r\n
\"service_namespace\": \"opentelemetry-demo\",\r\n
\"k8s_deployment_name\": \"otel-demo-green-3-cartservice\"\r\n },\r\n
\"observer\": {\r\n \"hostname\": \"450fbf7ab701\",\r\n \"type\":
\"apm-server\",\r\n \"version\": \"8.13.2\"\r\n },\r\n \"trace\": {\r\n
\"id\": \"699f6d1039fc873191a1c983790db3a2\"\r\n },\r\n \"@timestamp\":
\"2024-12-30T10:30:00.000Z\",\r\n \"data_stream\": {\r\n \"namespace\":
\"default\",\r\n \"type\": \"logs\",\r\n \"dataset\": \"apm.error\"\r\n
},\r\n \"service\": {\r\n \"node\": {\r\n \"name\":
\"80cc20ecab1b57865d7aca0f66ab75a0c6ec2c51f7c53da04a8540215369c359\"\r\n
},\r\n \"framework\": {\r\n \"name\": \"Microsoft.AspNetCore\"\r\n
},\r\n \"name\": \"synth-node-0\",\r\n \"language\": {\r\n \"name\":
\"dotnet\"\r\n }\r\n },\r\n \"host\": {\r\n \"hostname\":
\"ip-192-168-55-136.ec2.internal\",\r\n \"name\":
\"ip-192-168-55-136.ec2.internal\"\r\n },\r\n \"client\": {\r\n
\"port\": 35136,\r\n \"ip\": \"::ffff:192.168.50.132\"\r\n },\r\n
\"http\": {\r\n \"request\": {\r\n \"method\": \"POST\"\r\n },\r\n
\"response\": {\r\n \"status_code\": 200\r\n },\r\n \"version\":
\"2\"\r\n },\r\n \"event\": {\r\n \"agent_id_status\": \"missing\",\r\n
\"ingested\": \"2024-12-18T18:04:22Z\"\r\n },\r\n \"transaction\": {\r\n
\"id\": \"f39639f56a540e0e\",\r\n \"type\": \"request\",\r\n
\"sampled\": true\r\n },\r\n \"user_agent\": {\r\n \"original\":
\"grpc-go/1.59.0\",\r\n \"name\": \"Other\",\r\n \"device\": {\r\n
\"name\": \"Other\"\r\n }\r\n },\r\n \"span\": {\r\n \"id\":
\"f39639f56a540e0e\"\r\n },\r\n \"timestamp\": {\r\n \"us\":
1704892605838000\r\n }\r\n
}\r\n```\r\n</details>","sha":"12608c3659a2aaea702c1d341bd0fab30f968056"}},"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/205242","number":205242,"mergeCommit":{"message":"[APM
Fix missing error.culprit (#205242)\n\nfixes
[#205240](https://github.com/elastic/kibana/issues/205240)\r\n\r\n##
Summary\r\n\r\nFixes the issue where `error.culprit` is always
missing.\r\n\r\n<img width=\"800\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/9dad6797-dd40-4206-b508-daf8d69d653d\"\r\n/>\r\n\r\n<img
width=\"800\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/6a0ac25a-bc4b-4a26-b126-86eecbe7e769\"\r\n/>\r\n\r\n\r\n\r\n###
How to test \r\n\r\n- Run `simple_trace` synthtrace scenario\r\n- Run
the request below\r\n<details>\r\n<summary>POST
logs-apm.error-default/_doc</summary>\r\n\r\n```\r\nPOST
logs-apm.error-default/_doc\r\n{\r\n\r\n \"container\": {\r\n \"id\":
\"80cc20ecab1b57865d7aca0f66ab75a0c6ec2c51f7c53da04a8540215369c359\"\r\n
},\r\n \"kubernetes\": {\r\n \"node\": {\r\n \"name\":
\"ip-192-168-55-136.ec2.internal\"\r\n },\r\n \"pod\": {\r\n \"uid\":
\"9bbfe3dc-dace-4638-b8f5-aa6ccf435cbe\",\r\n \"name\":
\"otel-demo-green-3-cartservice-5d5ccc86dd-gcxtr\"\r\n },\r\n
\"namespace\": \"otel-demo-green-3\"\r\n },\r\n \"parent\": {\r\n
\"id\": \"f39639f56a540e0e\"\r\n },\r\n \"agent\": {\r\n \"name\":
\"opentelemetry/dotnet\",\r\n \"version\": \"1.6.0\"\r\n },\r\n
\"source\": {\r\n \"port\": 35136,\r\n \"ip\":
\"::ffff:192.168.50.132\"\r\n },\r\n \"error\": {\r\n \"exception\":
[\r\n {\r\n \"handled\": true,\r\n \"message\": \"Exception (plain,
.NET) without culprit\",\r\n \"type\": \"Grpc.Core.RpcException\"\r\n
}\r\n ],\r\n \"culprit\": \"culprit msg\", // remove to test the N/A
scenario\r\n \"id\": \"60674e9b23c8b06d83889e63ffe82c1c\", //change the
id on every run\r\n \"stack_trace\": \"Grpc.Core.RpcException:
Status(StatusCode=\\\"FailedPrecondition\\\", Detail=\\\"Can't access
cart storage. System.ApplicationException: Wasn't able to connect to
redis\\n at cartservice.cartstore.RedisCartStore.EnsureRedisConnected()
in /usr/src/app/src/cartstore/RedisCartStore.cs:line 79\\n at
cartservice.cartstore.RedisCartStore.EmptyCartAsync(String userId) in
/usr/src/app/src/cartstore/RedisCartStore.cs:line 157\\\")\\n at
cartservice.cartstore.RedisCartStore.EmptyCartAsync(String userId) in
/usr/src/app/src/cartstore/RedisCartStore.cs:line 166\\n at
cartservice.services.CartService.EmptyCart(EmptyCartRequest request,
ServerCallContext context) in
/usr/src/app/src/services/CartService.cs:line 65\",\r\n
\"grouping_key\": \"6082c58afd7fa6838ebc27eef6e04829\"\r\n },\r\n
\"message\": \"Exception (plain, .NET)\",\r\n \"url\": {\r\n \"path\":
\"/oteldemo.CartService/EmptyCart\",\r\n \"original\":
\"http://otel-demo-green-3-cartservice:8080/oteldemo.CartService/EmptyCart\",\r\n
\"scheme\": \"http\",\r\n \"port\": 8080,\r\n \"domain\":
\"otel-demo-green-3-cartservice\",\r\n \"full\":
\"http://otel-demo-green-3-cartservice:8080/oteldemo.CartService/EmptyCart\"\r\n
},\r\n \"labels\": {\r\n \"k8s_pod_ip\": \"192.168.62.174\",\r\n
\"k8s_pod_start_time\": \"2024-12-17T02:55:54Z\",\r\n
\"service_namespace\": \"opentelemetry-demo\",\r\n
\"k8s_deployment_name\": \"otel-demo-green-3-cartservice\"\r\n },\r\n
\"observer\": {\r\n \"hostname\": \"450fbf7ab701\",\r\n \"type\":
\"apm-server\",\r\n \"version\": \"8.13.2\"\r\n },\r\n \"trace\": {\r\n
\"id\": \"699f6d1039fc873191a1c983790db3a2\"\r\n },\r\n \"@timestamp\":
\"2024-12-30T10:30:00.000Z\",\r\n \"data_stream\": {\r\n \"namespace\":
\"default\",\r\n \"type\": \"logs\",\r\n \"dataset\": \"apm.error\"\r\n
},\r\n \"service\": {\r\n \"node\": {\r\n \"name\":
\"80cc20ecab1b57865d7aca0f66ab75a0c6ec2c51f7c53da04a8540215369c359\"\r\n
},\r\n \"framework\": {\r\n \"name\": \"Microsoft.AspNetCore\"\r\n
},\r\n \"name\": \"synth-node-0\",\r\n \"language\": {\r\n \"name\":
\"dotnet\"\r\n }\r\n },\r\n \"host\": {\r\n \"hostname\":
\"ip-192-168-55-136.ec2.internal\",\r\n \"name\":
\"ip-192-168-55-136.ec2.internal\"\r\n },\r\n \"client\": {\r\n
\"port\": 35136,\r\n \"ip\": \"::ffff:192.168.50.132\"\r\n },\r\n
\"http\": {\r\n \"request\": {\r\n \"method\": \"POST\"\r\n },\r\n
\"response\": {\r\n \"status_code\": 200\r\n },\r\n \"version\":
\"2\"\r\n },\r\n \"event\": {\r\n \"agent_id_status\": \"missing\",\r\n
\"ingested\": \"2024-12-18T18:04:22Z\"\r\n },\r\n \"transaction\": {\r\n
\"id\": \"f39639f56a540e0e\",\r\n \"type\": \"request\",\r\n
\"sampled\": true\r\n },\r\n \"user_agent\": {\r\n \"original\":
\"grpc-go/1.59.0\",\r\n \"name\": \"Other\",\r\n \"device\": {\r\n
\"name\": \"Other\"\r\n }\r\n },\r\n \"span\": {\r\n \"id\":
\"f39639f56a540e0e\"\r\n },\r\n \"timestamp\": {\r\n \"us\":
1704892605838000\r\n }\r\n
}\r\n```\r\n</details>","sha":"12608c3659a2aaea702c1d341bd0fab30f968056"}}]}]
BACKPORT-->

Co-authored-by: Carlos Crespo <crespocarlos@users.noreply.github.com>
2024-12-30 08:33:55 -06:00
Kibana Machine
78f7db80c1
[8.17] [Monitoring] Make monitoring collection API public again (#205190) (#205199)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Monitoring] Make monitoring collection API public again
(#205190)](https://github.com/elastic/kibana/pull/205190)

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

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

<!--BACKPORT [{"author":{"name":"Valentin
Crettaz","email":"valentin.crettaz@elastic.co"},"sourceCommit":{"committedDate":"2024-12-27T12:16:01Z","message":"[Monitoring]
Make monitoring collection API public again (#205190)\n\nRelated to
https://github.com/elastic/kibana/pull/186882\r\n\r\n##
Summary\r\n\r\nhttps://github.com/elastic/kibana/issues/186781 required
all teams to\r\nmake sure that all Kibana APIs in their respective
plugins were using\r\nthe appropriate access `internal` or
`public`.\r\n\r\nPR https://github.com/elastic/kibana/pull/186882
flagged the\r\n`/api/monitoring_collection/{type}` API endpoint as
`internal`. The\r\neffect of that change was the [appearance of
deprecation\r\nlogging](https://github.com/elastic/kibana/pull/186882#issuecomment-2431021055)\r\nin
Kibana logs, because that endpoint is called from the
[`kibana`\r\nMetricbeat\r\nmodule](https://github.com/elastic/beats/blob/main/metricbeat/module/kibana/kibana.go#L42C1-L46C1)\r\nin
order to monitor Kibana.\r\n\r\nFor this reason, we need to change the
access mode of that API endpoint\r\nback to
`public`.","sha":"52cab456fd5e54268f5d42dd1677f755a2e42b4d","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","Team:Monitoring","release_note:skip","v9.0.0","backport:prev-major","v8.18.0","v8.16.3","backport:8.17"],"title":"[Monitoring]
Make monitoring collection API public
again","number":205190,"url":"https://github.com/elastic/kibana/pull/205190","mergeCommit":{"message":"[Monitoring]
Make monitoring collection API public again (#205190)\n\nRelated to
https://github.com/elastic/kibana/pull/186882\r\n\r\n##
Summary\r\n\r\nhttps://github.com/elastic/kibana/issues/186781 required
all teams to\r\nmake sure that all Kibana APIs in their respective
plugins were using\r\nthe appropriate access `internal` or
`public`.\r\n\r\nPR https://github.com/elastic/kibana/pull/186882
flagged the\r\n`/api/monitoring_collection/{type}` API endpoint as
`internal`. The\r\neffect of that change was the [appearance of
deprecation\r\nlogging](https://github.com/elastic/kibana/pull/186882#issuecomment-2431021055)\r\nin
Kibana logs, because that endpoint is called from the
[`kibana`\r\nMetricbeat\r\nmodule](https://github.com/elastic/beats/blob/main/metricbeat/module/kibana/kibana.go#L42C1-L46C1)\r\nin
order to monitor Kibana.\r\n\r\nFor this reason, we need to change the
access mode of that API endpoint\r\nback to
`public`.","sha":"52cab456fd5e54268f5d42dd1677f755a2e42b4d"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205190","number":205190,"mergeCommit":{"message":"[Monitoring]
Make monitoring collection API public again (#205190)\n\nRelated to
https://github.com/elastic/kibana/pull/186882\r\n\r\n##
Summary\r\n\r\nhttps://github.com/elastic/kibana/issues/186781 required
all teams to\r\nmake sure that all Kibana APIs in their respective
plugins were using\r\nthe appropriate access `internal` or
`public`.\r\n\r\nPR https://github.com/elastic/kibana/pull/186882
flagged the\r\n`/api/monitoring_collection/{type}` API endpoint as
`internal`. The\r\neffect of that change was the [appearance of
deprecation\r\nlogging](https://github.com/elastic/kibana/pull/186882#issuecomment-2431021055)\r\nin
Kibana logs, because that endpoint is called from the
[`kibana`\r\nMetricbeat\r\nmodule](https://github.com/elastic/beats/blob/main/metricbeat/module/kibana/kibana.go#L42C1-L46C1)\r\nin
order to monitor Kibana.\r\n\r\nFor this reason, we need to change the
access mode of that API endpoint\r\nback to
`public`.","sha":"52cab456fd5e54268f5d42dd1677f755a2e42b4d"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Valentin Crettaz <valentin.crettaz@elastic.co>
2024-12-27 08:02:09 -06:00
Kibana Machine
9864cfcf70
[8.17] [Search][a11y] Add validation to extraction rules form (#202980) (#205192)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Search][a11y] Add validation to extraction rules form
(#202980)](https://github.com/elastic/kibana/pull/202980)

<!--- 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-12-27T11:22:19Z","message":"[Search][a11y]
Add validation to extraction rules form (#202980)\n\n## Closes:
https://github.com/elastic/kibana/issues/199154\r\n\r\nThis adds more
validations to the Crawler extraction rules form.\r\n\r\nThe original
issue of the error being at the top of the page is not\r\neasily
fixable, as it's a catch-all server error display. Ideally,
we\r\nshouldn't have server errors occurring at all, so it makes sense
to me\r\nto just add a front-end validation to the inputs in this
field.\r\n\r\nThese validations cover the following previously-missed
scenarios:\r\n\r\n1. When a user has not added any rules\r\n2. When rule
is for a specific URL and the URL pattern field is empty,\r\nor doesn't
begin with `/`\r\n3. When the value for \"Source\" is empty (covers both
HTML element and\r\nURL selectors)\r\n4. When \"Content\" is \"A fixed
value\" and the value field is
empty","sha":"9865da3844674e560e9f87c07ce65ad025afb12f","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Search","backport:prev-major"],"title":"[Search][a11y]
Add validation to extraction rules
form","number":202980,"url":"https://github.com/elastic/kibana/pull/202980","mergeCommit":{"message":"[Search][a11y]
Add validation to extraction rules form (#202980)\n\n## Closes:
https://github.com/elastic/kibana/issues/199154\r\n\r\nThis adds more
validations to the Crawler extraction rules form.\r\n\r\nThe original
issue of the error being at the top of the page is not\r\neasily
fixable, as it's a catch-all server error display. Ideally,
we\r\nshouldn't have server errors occurring at all, so it makes sense
to me\r\nto just add a front-end validation to the inputs in this
field.\r\n\r\nThese validations cover the following previously-missed
scenarios:\r\n\r\n1. When a user has not added any rules\r\n2. When rule
is for a specific URL and the URL pattern field is empty,\r\nor doesn't
begin with `/`\r\n3. When the value for \"Source\" is empty (covers both
HTML element and\r\nURL selectors)\r\n4. When \"Content\" is \"A fixed
value\" and the value field is
empty","sha":"9865da3844674e560e9f87c07ce65ad025afb12f"}},"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/202980","number":202980,"mergeCommit":{"message":"[Search][a11y]
Add validation to extraction rules form (#202980)\n\n## Closes:
https://github.com/elastic/kibana/issues/199154\r\n\r\nThis adds more
validations to the Crawler extraction rules form.\r\n\r\nThe original
issue of the error being at the top of the page is not\r\neasily
fixable, as it's a catch-all server error display. Ideally,
we\r\nshouldn't have server errors occurring at all, so it makes sense
to me\r\nto just add a front-end validation to the inputs in this
field.\r\n\r\nThese validations cover the following previously-missed
scenarios:\r\n\r\n1. When a user has not added any rules\r\n2. When rule
is for a specific URL and the URL pattern field is empty,\r\nor doesn't
begin with `/`\r\n3. When the value for \"Source\" is empty (covers both
HTML element and\r\nURL selectors)\r\n4. When \"Content\" is \"A fixed
value\" and the value field is
empty","sha":"9865da3844674e560e9f87c07ce65ad025afb12f"}}]}] BACKPORT-->

Co-authored-by: Navarone Feekery <13634519+navarone-feekery@users.noreply.github.com>
2024-12-27 07:09:33 -06:00
Jon
324eb8fd34
[8.17] Update docker.elastic.co/wolfi/chainguard-base:latest Docker digest to 3a6e913 (main) (#205067) (#205117)
#205067

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2024-12-26 11:29:39 -06:00
Jon
33cbc3d8cf
[8.17] Fix ES build (#205165)
https://buildkite.com/elastic/kibana-elasticsearch-snapshot-build/builds/5024

Updates the image namespace, it was changed in
https://github.com/elastic/elasticsearch/pull/119068/files#diff-39ead019dc289b9b901bfa7df8efc01b1f040df71c88919b5fc7a6286b0d6597L369
2024-12-26 11:28:53 -06:00
Georgii Gorbachev
e2848c4ae2
[8.17] [Security Solution] Unskip tests for the prebuilt rules bootstrap endpoint (#205106) (#205134)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Security Solution] Unskip tests for the prebuilt rules bootstrap
endpoint (#205106)](https://github.com/elastic/kibana/pull/205106)

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

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

<!--BACKPORT [{"author":{"name":"Georgii
Gorbachev","email":"georgii.gorbachev@elastic.co"},"sourceCommit":{"committedDate":"2024-12-24T09:58:37Z","message":"[Security
Solution] Unskip tests for the prebuilt rules bootstrap endpoint
(#205106)\n\n**Fixes:
https://github.com/elastic/kibana/issues/197108**\r\n**Fixes:
https://github.com/elastic/kibana/issues/202037**\r\n**Fixes:
https://github.com/elastic/kibana/issues/203632**\r\n\r\n##
Summary\r\n\r\nBuilds on top of
https://github.com/elastic/kibana/pull/203799 and:\r\n\r\n- simplifies
the package deletion code (1
[API\r\ncall](https://www.elastic.co/docs/api/doc/kibana/operation/operation-delete-fleet-epm-packages-pkgname-pkgversion)\r\ninstead
of 2, per package)\r\n- adds retry logic\r\n- refactors the testing
utils a bit\r\n\r\nFlaky test
runs:\r\n\r\n-\r\n[ESS](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7632)\r\n-
190
runs\r\n-\r\n[Serverless](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7633)\r\n-
100 runs\r\n\r\n## Details\r\n\r\nHere's how the test logs look
like:\r\n\r\n```\r\n info Starting tests\r\n\r\n └-: Rules Management -
Prebuilt Rules - Prebuilt Rules Management\r\n └-> \"before all\" hook:
beforeTestSuite.trigger in \"Rules Management - Prebuilt Rules -
Prebuilt Rules Management\"\r\n └-: @ess @serverless
@skipInServerlessMKI Bootstrap Prebuilt Rules\r\n └-> \"before all\"
hook: beforeTestSuite.trigger for \"should install fleet packages
required for detection engine to function\"\r\n └-> should install fleet
packages required for detection engine to function\r\n └-> \"before
each\" hook: global before each for \"should install fleet packages
required for detection engine to function\"\r\n └-> \"before each\" hook
for \"should install fleet packages required for detection engine to
function\"\r\n │ debg Deleting security_detection_engine package\r\n │
debg Deleted security_detection_engine package (was not installed) {\r\n
│ statusCode: 400,\r\n │ error: 'Bad Request',\r\n │ message:
'security_detection_engine is not installed'\r\n │ }\r\n │ debg Deleting
endpoint package\r\n │ debg Deleted endpoint package (was not installed)
{\r\n │ statusCode: 400,\r\n │ error: 'Bad Request',\r\n │ message:
'endpoint is not installed'\r\n │ }\r\n └- ✓ pass (21.6s)\r\n └-> should
skip installing fleet packages if they are already installed\r\n └->
\"before each\" hook: global before each for \"should skip installing
fleet packages if they are already installed\"\r\n └-> \"before each\"
hook for \"should skip installing fleet packages if they are already
installed\"\r\n │ debg Deleting security_detection_engine package\r\n │
debg Deleted security_detection_engine package (was installed)\r\n │
debg Deleting endpoint package\r\n │ debg Deleted endpoint package (was
installed)\r\n └- ✓ pass (22.4s)\r\n └-> \"after all\" hook:
afterTestSuite.trigger for \"should skip installing fleet packages if
they are already installed\"\r\n └-> \"after all\" hook:
afterTestSuite.trigger in \"Rules Management - Prebuilt Rules - Prebuilt
Rules Management\"\r\n\r\n2 passing (1.0m)\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","sha":"71144eded7f56705e54c768c3741e5fcf1b62f9a","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","v9.0.0","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","backport:version","v8.18.0","v8.16.3","v8.17.1"],"number":205106,"url":"https://github.com/elastic/kibana/pull/205106","mergeCommit":{"message":"[Security
Solution] Unskip tests for the prebuilt rules bootstrap endpoint
(#205106)\n\n**Fixes:
https://github.com/elastic/kibana/issues/197108**\r\n**Fixes:
https://github.com/elastic/kibana/issues/202037**\r\n**Fixes:
https://github.com/elastic/kibana/issues/203632**\r\n\r\n##
Summary\r\n\r\nBuilds on top of
https://github.com/elastic/kibana/pull/203799 and:\r\n\r\n- simplifies
the package deletion code (1
[API\r\ncall](https://www.elastic.co/docs/api/doc/kibana/operation/operation-delete-fleet-epm-packages-pkgname-pkgversion)\r\ninstead
of 2, per package)\r\n- adds retry logic\r\n- refactors the testing
utils a bit\r\n\r\nFlaky test
runs:\r\n\r\n-\r\n[ESS](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7632)\r\n-
190
runs\r\n-\r\n[Serverless](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7633)\r\n-
100 runs\r\n\r\n## Details\r\n\r\nHere's how the test logs look
like:\r\n\r\n```\r\n info Starting tests\r\n\r\n └-: Rules Management -
Prebuilt Rules - Prebuilt Rules Management\r\n └-> \"before all\" hook:
beforeTestSuite.trigger in \"Rules Management - Prebuilt Rules -
Prebuilt Rules Management\"\r\n └-: @ess @serverless
@skipInServerlessMKI Bootstrap Prebuilt Rules\r\n └-> \"before all\"
hook: beforeTestSuite.trigger for \"should install fleet packages
required for detection engine to function\"\r\n └-> should install fleet
packages required for detection engine to function\r\n └-> \"before
each\" hook: global before each for \"should install fleet packages
required for detection engine to function\"\r\n └-> \"before each\" hook
for \"should install fleet packages required for detection engine to
function\"\r\n │ debg Deleting security_detection_engine package\r\n │
debg Deleted security_detection_engine package (was not installed) {\r\n
│ statusCode: 400,\r\n │ error: 'Bad Request',\r\n │ message:
'security_detection_engine is not installed'\r\n │ }\r\n │ debg Deleting
endpoint package\r\n │ debg Deleted endpoint package (was not installed)
{\r\n │ statusCode: 400,\r\n │ error: 'Bad Request',\r\n │ message:
'endpoint is not installed'\r\n │ }\r\n └- ✓ pass (21.6s)\r\n └-> should
skip installing fleet packages if they are already installed\r\n └->
\"before each\" hook: global before each for \"should skip installing
fleet packages if they are already installed\"\r\n └-> \"before each\"
hook for \"should skip installing fleet packages if they are already
installed\"\r\n │ debg Deleting security_detection_engine package\r\n │
debg Deleted security_detection_engine package (was installed)\r\n │
debg Deleting endpoint package\r\n │ debg Deleted endpoint package (was
installed)\r\n └- ✓ pass (22.4s)\r\n └-> \"after all\" hook:
afterTestSuite.trigger for \"should skip installing fleet packages if
they are already installed\"\r\n └-> \"after all\" hook:
afterTestSuite.trigger in \"Rules Management - Prebuilt Rules - Prebuilt
Rules Management\"\r\n\r\n2 passing (1.0m)\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","sha":"71144eded7f56705e54c768c3741e5fcf1b62f9a"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205106","number":205106,"mergeCommit":{"message":"[Security
Solution] Unskip tests for the prebuilt rules bootstrap endpoint
(#205106)\n\n**Fixes:
https://github.com/elastic/kibana/issues/197108**\r\n**Fixes:
https://github.com/elastic/kibana/issues/202037**\r\n**Fixes:
https://github.com/elastic/kibana/issues/203632**\r\n\r\n##
Summary\r\n\r\nBuilds on top of
https://github.com/elastic/kibana/pull/203799 and:\r\n\r\n- simplifies
the package deletion code (1
[API\r\ncall](https://www.elastic.co/docs/api/doc/kibana/operation/operation-delete-fleet-epm-packages-pkgname-pkgversion)\r\ninstead
of 2, per package)\r\n- adds retry logic\r\n- refactors the testing
utils a bit\r\n\r\nFlaky test
runs:\r\n\r\n-\r\n[ESS](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7632)\r\n-
190
runs\r\n-\r\n[Serverless](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7633)\r\n-
100 runs\r\n\r\n## Details\r\n\r\nHere's how the test logs look
like:\r\n\r\n```\r\n info Starting tests\r\n\r\n └-: Rules Management -
Prebuilt Rules - Prebuilt Rules Management\r\n └-> \"before all\" hook:
beforeTestSuite.trigger in \"Rules Management - Prebuilt Rules -
Prebuilt Rules Management\"\r\n └-: @ess @serverless
@skipInServerlessMKI Bootstrap Prebuilt Rules\r\n └-> \"before all\"
hook: beforeTestSuite.trigger for \"should install fleet packages
required for detection engine to function\"\r\n └-> should install fleet
packages required for detection engine to function\r\n └-> \"before
each\" hook: global before each for \"should install fleet packages
required for detection engine to function\"\r\n └-> \"before each\" hook
for \"should install fleet packages required for detection engine to
function\"\r\n │ debg Deleting security_detection_engine package\r\n │
debg Deleted security_detection_engine package (was not installed) {\r\n
│ statusCode: 400,\r\n │ error: 'Bad Request',\r\n │ message:
'security_detection_engine is not installed'\r\n │ }\r\n │ debg Deleting
endpoint package\r\n │ debg Deleted endpoint package (was not installed)
{\r\n │ statusCode: 400,\r\n │ error: 'Bad Request',\r\n │ message:
'endpoint is not installed'\r\n │ }\r\n └- ✓ pass (21.6s)\r\n └-> should
skip installing fleet packages if they are already installed\r\n └->
\"before each\" hook: global before each for \"should skip installing
fleet packages if they are already installed\"\r\n └-> \"before each\"
hook for \"should skip installing fleet packages if they are already
installed\"\r\n │ debg Deleting security_detection_engine package\r\n │
debg Deleted security_detection_engine package (was installed)\r\n │
debg Deleting endpoint package\r\n │ debg Deleted endpoint package (was
installed)\r\n └- ✓ pass (22.4s)\r\n └-> \"after all\" hook:
afterTestSuite.trigger for \"should skip installing fleet packages if
they are already installed\"\r\n └-> \"after all\" hook:
afterTestSuite.trigger in \"Rules Management - Prebuilt Rules - Prebuilt
Rules Management\"\r\n\r\n2 passing (1.0m)\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","sha":"71144eded7f56705e54c768c3741e5fcf1b62f9a"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-12-24 17:48:15 +01:00
wajihaparvez
f7b47d8a16
[Docs] Backport hover actions updates to 8.17 (#205118)
## Summary

Cherry-picking [hover actions
updates](https://github.com/elastic/kibana/pull/204844) to 8.17 because
of merge conflicts.
2024-12-23 14:58:33 -05:00
Kibana Machine
3c86e60933
[8.17] [Security Solution] Fix prebuilt rules bootstrap endpoint (#205060) (#205100)
# Backport

This will backport the following commits from `main` to `8.17`:
- [[Security Solution] Fix prebuilt rules bootstrap endpoint
(#205060)](https://github.com/elastic/kibana/pull/205060)

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

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

<!--BACKPORT [{"author":{"name":"Georgii
Gorbachev","email":"georgii.gorbachev@elastic.co"},"sourceCommit":{"committedDate":"2024-12-23T15:27:46Z","message":"[Security
Solution] Fix prebuilt rules bootstrap endpoint (#205060)\n\n**Fixes:
https://github.com/elastic/kibana/issues/203471**\r\n\r\n##
Summary\r\n\r\nThe `xpack.securitySolution.prebuiltRulesPackageVersion`
config setting\r\nnow only affects the version of the prebuilt rules
package. The\r\nbootstrap endpoint always installs the latest version of
the
`endpoint`\r\npackage.\r\n\r\n```yaml\r\nxpack.securitySolution.prebuiltRulesPackageVersion:
8.16.2-beta.1\r\n```\r\n\r\n<img width=\"2557\"
alt=\"Screenshot_2024-12-20_at_20_58_53\"\r\nsrc=\"https://github.com/user-attachments/assets/a2a1eaad-e842-47d3-9b94-692aabfb97cc\"\r\n/>\r\n\r\n\r\n###
Checklist\r\n\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","sha":"de1064e10363203fbf58ff9c479d40c0cb5b2c23","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","impact:low","v9.0.0","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","backport:version","v8.18.0","v8.16.3","v8.17.1"],"title":"[Security
Solution] Fix prebuilt rules bootstrap
endpoint","number":205060,"url":"https://github.com/elastic/kibana/pull/205060","mergeCommit":{"message":"[Security
Solution] Fix prebuilt rules bootstrap endpoint (#205060)\n\n**Fixes:
https://github.com/elastic/kibana/issues/203471**\r\n\r\n##
Summary\r\n\r\nThe `xpack.securitySolution.prebuiltRulesPackageVersion`
config setting\r\nnow only affects the version of the prebuilt rules
package. The\r\nbootstrap endpoint always installs the latest version of
the
`endpoint`\r\npackage.\r\n\r\n```yaml\r\nxpack.securitySolution.prebuiltRulesPackageVersion:
8.16.2-beta.1\r\n```\r\n\r\n<img width=\"2557\"
alt=\"Screenshot_2024-12-20_at_20_58_53\"\r\nsrc=\"https://github.com/user-attachments/assets/a2a1eaad-e842-47d3-9b94-692aabfb97cc\"\r\n/>\r\n\r\n\r\n###
Checklist\r\n\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","sha":"de1064e10363203fbf58ff9c479d40c0cb5b2c23"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205060","number":205060,"mergeCommit":{"message":"[Security
Solution] Fix prebuilt rules bootstrap endpoint (#205060)\n\n**Fixes:
https://github.com/elastic/kibana/issues/203471**\r\n\r\n##
Summary\r\n\r\nThe `xpack.securitySolution.prebuiltRulesPackageVersion`
config setting\r\nnow only affects the version of the prebuilt rules
package. The\r\nbootstrap endpoint always installs the latest version of
the
`endpoint`\r\npackage.\r\n\r\n```yaml\r\nxpack.securitySolution.prebuiltRulesPackageVersion:
8.16.2-beta.1\r\n```\r\n\r\n<img width=\"2557\"
alt=\"Screenshot_2024-12-20_at_20_58_53\"\r\nsrc=\"https://github.com/user-attachments/assets/a2a1eaad-e842-47d3-9b94-692aabfb97cc\"\r\n/>\r\n\r\n\r\n###
Checklist\r\n\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","sha":"de1064e10363203fbf58ff9c479d40c0cb5b2c23"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Georgii Gorbachev <georgii.gorbachev@elastic.co>
2024-12-23 11:21:13 -06:00