Commit graph

19333 commits

Author SHA1 Message Date
Kibana Machine
699080d9ac
[7.17] [a11y][ml] Add visually hidden label for screenreader for select checkboxes in anomaly detection job selection flyout (#224025) (#224119)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[a11y][ml] Add visually hidden label for screenreader for select
checkboxes in anomaly detection job selection flyout
(#224025)](https://github.com/elastic/kibana/pull/224025)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Paulina
Shakirova","email":"paulina.shakirova@elastic.co"},"sourceCommit":{"committedDate":"2025-06-16T18:05:18Z","message":"[a11y][ml]
Add visually hidden label for screenreader for select checkboxes in
anomaly detection job selection flyout (#224025)\n\n## Summary\n\nThis
PR resolves [[ML] Anomaly Detection: Job selector flyout checkboxes\nin
the first column missing title
from\nannouncement](https://github.com/elastic/kibana/issues/216802).\n\n####
This is a follow up from\nhttps://github.com/elastic/kibana/pull/221865
pr. (Closed because of\nmerge
issues.)\n\n\nhttps://github.com/user-attachments/assets/a6796576-cc46-4769-ab3d-c8f5dc37409e\n\nFixes
https://github.com/elastic/kibana/issues/216802","sha":"3f5e970d3bbaa9d73412b67937a5e1c82f94de06","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","backport:all-open","a11y","v9.1.0"],"title":"[a11y][ml]
Add visually hidden label for screenreader for select checkboxes in
anomaly detection job selection
flyout","number":224025,"url":"https://github.com/elastic/kibana/pull/224025","mergeCommit":{"message":"[a11y][ml]
Add visually hidden label for screenreader for select checkboxes in
anomaly detection job selection flyout (#224025)\n\n## Summary\n\nThis
PR resolves [[ML] Anomaly Detection: Job selector flyout checkboxes\nin
the first column missing title
from\nannouncement](https://github.com/elastic/kibana/issues/216802).\n\n####
This is a follow up from\nhttps://github.com/elastic/kibana/pull/221865
pr. (Closed because of\nmerge
issues.)\n\n\nhttps://github.com/user-attachments/assets/a6796576-cc46-4769-ab3d-c8f5dc37409e\n\nFixes
https://github.com/elastic/kibana/issues/216802","sha":"3f5e970d3bbaa9d73412b67937a5e1c82f94de06"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/224025","number":224025,"mergeCommit":{"message":"[a11y][ml]
Add visually hidden label for screenreader for select checkboxes in
anomaly detection job selection flyout (#224025)\n\n## Summary\n\nThis
PR resolves [[ML] Anomaly Detection: Job selector flyout checkboxes\nin
the first column missing title
from\nannouncement](https://github.com/elastic/kibana/issues/216802).\n\n####
This is a follow up from\nhttps://github.com/elastic/kibana/pull/221865
pr. (Closed because of\nmerge
issues.)\n\n\nhttps://github.com/user-attachments/assets/a6796576-cc46-4769-ab3d-c8f5dc37409e\n\nFixes
https://github.com/elastic/kibana/issues/216802","sha":"3f5e970d3bbaa9d73412b67937a5e1c82f94de06"}}]}]
BACKPORT-->

Co-authored-by: Paulina Shakirova <paulina.shakirova@elastic.co>
2025-06-16 23:23:07 +02:00
Tim Sullivan
664f3dc887
[7.17] [SharedUX/Locators] Add limits around legacy locator (#222273) (#222720)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[SharedUX/Locators] Add limits around legacy locator
(#222273)](https://github.com/elastic/kibana/pull/222273)

<!--- Backport version: 10.0.0 -->

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

<!--BACKPORT [{"author":{"name":"Tim
Sullivan","email":"tsullivan@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-06-04T19:55:47Z","message":"[SharedUX/Locators]
Add limits around legacy locator (#222273)\n\n## Summary\n\nWe've
decided that we want to enforce sanity checks around the
\"legacy\"\nlocator and phase out its usage. This PR ensures the legacy
locator can\nnot be used from the Reporting plugin.\n\n###
Checklist\n\n- [x] [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\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b96e7c37b83dc3f3ec08860d10413127baf13196","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.1.0","v8.19.0","v7.17.29","v9.0.3","v8.18.3","v8.17.8"],"title":"[SharedUX/Locators]
Add limits around legacy
locator","number":222273,"url":"https://github.com/elastic/kibana/pull/222273","mergeCommit":{"message":"[SharedUX/Locators]
Add limits around legacy locator (#222273)\n\n## Summary\n\nWe've
decided that we want to enforce sanity checks around the
\"legacy\"\nlocator and phase out its usage. This PR ensures the legacy
locator can\nnot be used from the Reporting plugin.\n\n###
Checklist\n\n- [x] [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\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b96e7c37b83dc3f3ec08860d10413127baf13196"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","7.17","9.0","8.18","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/222273","number":222273,"mergeCommit":{"message":"[SharedUX/Locators]
Add limits around legacy locator (#222273)\n\n## Summary\n\nWe've
decided that we want to enforce sanity checks around the
\"legacy\"\nlocator and phase out its usage. This PR ensures the legacy
locator can\nnot be used from the Reporting plugin.\n\n###
Checklist\n\n- [x] [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\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b96e7c37b83dc3f3ec08860d10413127baf13196"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"7.17","label":"v7.17.29","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.8","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: “jeramysoucy” <jeramy.soucy@elastic.co>
2025-06-07 02:37:45 +02:00
Nick Partridge
8154280153
[7.17] Fix flaky drag and drop tests (#221713)
## Summary

Fixes issue with drag and drop page object. This was fixed in #215439
with `sleep` timers to slow down the ftr.

Fix #216123
2025-05-28 06:38:59 -07:00
Aleh Zasypkin
7222bef9a4
[7.17] chore(deps): bump formidable from to 2.1.2 to 2.1.3 (#219385) (#219422)
# Backport

This will backport the following commits from `main` to `7.17`:
- [chore(deps): bump `formidable` from to 3.5.2 to 3.5.4
(#219385)](https://github.com/elastic/kibana/pull/219385)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Aleh
Zasypkin","email":"aleh.zasypkin@elastic.co"},"sourceCommit":{"committedDate":"2025-04-28T14:41:26Z","message":"chore(deps):
bump `formidable` from to 3.5.2 to 3.5.4 (#219385)\n\n## Summary\n\nBump
`formidable` from to 3.5.2 to
3.5.4.","sha":"ce94d8acc8ae167cd70aa4c6ee5fd00bd9055e6c","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","release_note:skip","dependencies","backport:all-open","v9.1.0"],"title":"chore(deps):
bump `formidable` from to 3.5.2 to
3.5.4","number":219385,"url":"https://github.com/elastic/kibana/pull/219385","mergeCommit":{"message":"chore(deps):
bump `formidable` from to 3.5.2 to 3.5.4 (#219385)\n\n## Summary\n\nBump
`formidable` from to 3.5.2 to
3.5.4.","sha":"ce94d8acc8ae167cd70aa4c6ee5fd00bd9055e6c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/219385","number":219385,"mergeCommit":{"message":"chore(deps):
bump `formidable` from to 3.5.2 to 3.5.4 (#219385)\n\n## Summary\n\nBump
`formidable` from to 3.5.2 to
3.5.4.","sha":"ce94d8acc8ae167cd70aa4c6ee5fd00bd9055e6c"}},{"url":"https://github.com/elastic/kibana/pull/219413","number":219413,"branch":"9.0","state":"OPEN"}]}]
BACKPORT-->
2025-04-29 21:57:10 +02:00
Kibana Machine
4278b70db7
[7.17] [Custom threshold rule] Allow group for ip type fields !! (#216062) (#218332)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[Custom threshold rule] Allow group for ip type fields !!
(#216062)](https://github.com/elastic/kibana/pull/216062)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"shahzad31comp@gmail.com"},"sourceCommit":{"committedDate":"2025-04-15T18:15:02Z","message":"[Custom
threshold rule] Allow group for ip type fields !! (#216062)\n\nAllow
group by for ip fields !!\n\n---------\n\nCo-authored-by: Faisal Kanout
<faisal.kanout@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"83f3d614ccb66bca3aa626a6db39c0f41eb1a9f1","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","backport:all-open","Team:obs-ux-management","v9.1.0"],"title":"[Custom
threshold rule] Allow group for ip type fields
!!","number":216062,"url":"https://github.com/elastic/kibana/pull/216062","mergeCommit":{"message":"[Custom
threshold rule] Allow group for ip type fields !! (#216062)\n\nAllow
group by for ip fields !!\n\n---------\n\nCo-authored-by: Faisal Kanout
<faisal.kanout@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"83f3d614ccb66bca3aa626a6db39c0f41eb1a9f1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/216062","number":216062,"mergeCommit":{"message":"[Custom
threshold rule] Allow group for ip type fields !! (#216062)\n\nAllow
group by for ip fields !!\n\n---------\n\nCo-authored-by: Faisal Kanout
<faisal.kanout@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"83f3d614ccb66bca3aa626a6db39c0f41eb1a9f1"}}]}]
BACKPORT-->

Co-authored-by: Shahzad <shahzad31comp@gmail.com>
2025-04-17 10:34:39 +02:00
Jeramy Soucy
7493ca9340
[7.17] Fixes bulk re-encryption for encrypted objects located in all spaces (#217625) (#218182)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Fixes bulk re-encryption for encrypted objects located in all spaces
(#217625)](https://github.com/elastic/kibana/pull/217625)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Jeramy
Soucy","email":"jeramy.soucy@elastic.co"},"sourceCommit":{"committedDate":"2025-04-14T19:20:38Z","message":"Fixes
bulk re-encryption for encrypted objects located in all spaces
(#217625)\n\nCloses #215534\n\n## Summary\n\nThe Encrypted Saved Objects
Key Rotation service makes use of the Saved\nObjects Bulk Update API to
re-encrypt objects. Bulk update supports an\noptional 'namespace'
parameter, per-object, defining the space to access\na specific object.
This allows objects outside of the current space to\nbe affected in the
update operation. The Key Rotation service leverages\nthis optional
parameter for each object to ensure that the re-encryption\noperation is
not limited to the current space.\n\nHowever, should a multi-namespace
encrypted object reside in all spaces,\nthe only value in the object's
namespaces property is the\n`ALL_NAMESPACES_STRING` constant '*'. As
this is not a valid single\nnamespace, the Bulk Update operation will
skip updating the object.\n\nPR resolves the issue by only providing a
object namespace for objects\nthat do not reside in all spaces. Objects
that reside in all spaces can\nbe accessed from the current space
without the need for an override.\n\nThis PR also updates unit tests to
account for this case.\n\n### Testing\n- [x] Set the encrypted saved
objects encryption key to a known value\n(either in kibana.yml or
kibana.dev.yml). For example:\n```\nxpack.encryptedSavedObjects:\n
encryptionKey: \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\" \n```\n- [x] Start
ES & Kibana\n- [x] You will need to set up a Fleet agent policy and
create a\nsynthetics location and monitor. The UI will guide you through
this when\nyou navigate to Observability -> Synthetics\n- [x] Create a
synthetics parameter, Observability -> Synthetics ->\nSettings, Global
Parameters tab. Use anything for a value, but be sure\nto check the
`Share across spaces` option.\n- [x] Update the kibana config to change
the encryption key, and use the\nold key as a decryption-only
key\n```\nxpack.encryptedSavedObjects:\n encryptionKey:
\"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\" \n keyRotation:\n
decryptionOnlyKeys: [\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"] \n```\n- [x]
Wait for Kibana to restart\n- [x] Call the key rotation HTTP API as a
privileged user (I just used\nthe `elastic` superuser
account)\n\n`[you_kibana_endpoint]/api/encrypted_saved_objects/_rotate_key?type=synthetics-param`\n-
[x] Verify that 1 out of 1 objects were processed with 0 failures.\n-
[x] Repeat these steps from Main and note that 0 of 1
objects\nsucceeded, and there is 1 failure\n\n### Release Note\nFixes an
issue where the Saved Objects Rotate Encryption Key API would\nnot
affect sharable encrypted object types that exist in all
spaces.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"1176625dcaf8ec8ca4e4aa0b1324279ab0f2def3","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Security","backport:all-open","v9.1.0"],"title":"Fixes
bulk re-encryption for encrypted objects located in all
spaces","number":217625,"url":"https://github.com/elastic/kibana/pull/217625","mergeCommit":{"message":"Fixes
bulk re-encryption for encrypted objects located in all spaces
(#217625)\n\nCloses #215534\n\n## Summary\n\nThe Encrypted Saved Objects
Key Rotation service makes use of the Saved\nObjects Bulk Update API to
re-encrypt objects. Bulk update supports an\noptional 'namespace'
parameter, per-object, defining the space to access\na specific object.
This allows objects outside of the current space to\nbe affected in the
update operation. The Key Rotation service leverages\nthis optional
parameter for each object to ensure that the re-encryption\noperation is
not limited to the current space.\n\nHowever, should a multi-namespace
encrypted object reside in all spaces,\nthe only value in the object's
namespaces property is the\n`ALL_NAMESPACES_STRING` constant '*'. As
this is not a valid single\nnamespace, the Bulk Update operation will
skip updating the object.\n\nPR resolves the issue by only providing a
object namespace for objects\nthat do not reside in all spaces. Objects
that reside in all spaces can\nbe accessed from the current space
without the need for an override.\n\nThis PR also updates unit tests to
account for this case.\n\n### Testing\n- [x] Set the encrypted saved
objects encryption key to a known value\n(either in kibana.yml or
kibana.dev.yml). For example:\n```\nxpack.encryptedSavedObjects:\n
encryptionKey: \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\" \n```\n- [x] Start
ES & Kibana\n- [x] You will need to set up a Fleet agent policy and
create a\nsynthetics location and monitor. The UI will guide you through
this when\nyou navigate to Observability -> Synthetics\n- [x] Create a
synthetics parameter, Observability -> Synthetics ->\nSettings, Global
Parameters tab. Use anything for a value, but be sure\nto check the
`Share across spaces` option.\n- [x] Update the kibana config to change
the encryption key, and use the\nold key as a decryption-only
key\n```\nxpack.encryptedSavedObjects:\n encryptionKey:
\"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\" \n keyRotation:\n
decryptionOnlyKeys: [\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"] \n```\n- [x]
Wait for Kibana to restart\n- [x] Call the key rotation HTTP API as a
privileged user (I just used\nthe `elastic` superuser
account)\n\n`[you_kibana_endpoint]/api/encrypted_saved_objects/_rotate_key?type=synthetics-param`\n-
[x] Verify that 1 out of 1 objects were processed with 0 failures.\n-
[x] Repeat these steps from Main and note that 0 of 1
objects\nsucceeded, and there is 1 failure\n\n### Release Note\nFixes an
issue where the Saved Objects Rotate Encryption Key API would\nnot
affect sharable encrypted object types that exist in all
spaces.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"1176625dcaf8ec8ca4e4aa0b1324279ab0f2def3"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/217625","number":217625,"mergeCommit":{"message":"Fixes
bulk re-encryption for encrypted objects located in all spaces
(#217625)\n\nCloses #215534\n\n## Summary\n\nThe Encrypted Saved Objects
Key Rotation service makes use of the Saved\nObjects Bulk Update API to
re-encrypt objects. Bulk update supports an\noptional 'namespace'
parameter, per-object, defining the space to access\na specific object.
This allows objects outside of the current space to\nbe affected in the
update operation. The Key Rotation service leverages\nthis optional
parameter for each object to ensure that the re-encryption\noperation is
not limited to the current space.\n\nHowever, should a multi-namespace
encrypted object reside in all spaces,\nthe only value in the object's
namespaces property is the\n`ALL_NAMESPACES_STRING` constant '*'. As
this is not a valid single\nnamespace, the Bulk Update operation will
skip updating the object.\n\nPR resolves the issue by only providing a
object namespace for objects\nthat do not reside in all spaces. Objects
that reside in all spaces can\nbe accessed from the current space
without the need for an override.\n\nThis PR also updates unit tests to
account for this case.\n\n### Testing\n- [x] Set the encrypted saved
objects encryption key to a known value\n(either in kibana.yml or
kibana.dev.yml). For example:\n```\nxpack.encryptedSavedObjects:\n
encryptionKey: \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\" \n```\n- [x] Start
ES & Kibana\n- [x] You will need to set up a Fleet agent policy and
create a\nsynthetics location and monitor. The UI will guide you through
this when\nyou navigate to Observability -> Synthetics\n- [x] Create a
synthetics parameter, Observability -> Synthetics ->\nSettings, Global
Parameters tab. Use anything for a value, but be sure\nto check the
`Share across spaces` option.\n- [x] Update the kibana config to change
the encryption key, and use the\nold key as a decryption-only
key\n```\nxpack.encryptedSavedObjects:\n encryptionKey:
\"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\" \n keyRotation:\n
decryptionOnlyKeys: [\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"] \n```\n- [x]
Wait for Kibana to restart\n- [x] Call the key rotation HTTP API as a
privileged user (I just used\nthe `elastic` superuser
account)\n\n`[you_kibana_endpoint]/api/encrypted_saved_objects/_rotate_key?type=synthetics-param`\n-
[x] Verify that 1 out of 1 objects were processed with 0 failures.\n-
[x] Repeat these steps from Main and note that 0 of 1
objects\nsucceeded, and there is 1 failure\n\n### Release Note\nFixes an
issue where the Saved Objects Rotate Encryption Key API would\nnot
affect sharable encrypted object types that exist in all
spaces.\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"1176625dcaf8ec8ca4e4aa0b1324279ab0f2def3"}}]}]
BACKPORT-->
2025-04-15 22:02:50 +02:00
Alejandro Fernández Haro
33930c1dc1
[7.17] Update dependency lru-cache to ^11.1.0 (main) (#216517) (#216829)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Update dependency lru-cache to ^11.1.0 (main)
(#216517)](https://github.com/elastic/kibana/pull/216517)

We also need to cherry-pick some changes from
https://github.com/elastic/kibana/pull/206225

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT
[{"author":{"name":"elastic-renovate-prod[bot]","email":"174716857+elastic-renovate-prod[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-03-31T21:58:09Z","message":"Update
dependency lru-cache to ^11.1.0 (main) (#216517)\n\nThis PR contains the
following updates:\n\n| Package | Type | Update | Change
|\n|---|---|---|---|\n|
[lru-cache](https://redirect.github.com/isaacs/node-lru-cache)
|\ndependencies | minor | [`^11.0.2`
->\n`^11.1.0`](https://renovatebot.com/diffs/npm/lru-cache/11.0.2/11.1.0)
|\n\n---\n\n### Release
Notes\n\n<details>\n<summary>isaacs/node-lru-cache
(lru-cache)</summary>\n\n###\n[`v11.1.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v11.0.2...v11.1.0)\n\n[Compare\nSource](https://redirect.github.com/isaacs/node-lru-cache/compare/v11.0.2...v11.1.0)\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 this update\nagain.\n\n---\n\n- [ ] If
you want to rebase/retry this PR, check\nthis box\n\n---\n\nThis PR has
been generated by
[Renovate\nBot](https://redirect.github.com/renovatebot/renovate).\n\n\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>","sha":"1846807c25e4e5030b04cca42eef85e40602c0a6","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:all-open","v8.18.0","v9.1.0","v8.19.0","v8.17.5","v8.16.7"],"title":"Update
dependency lru-cache to ^11.1.0
(main)","number":216517,"url":"https://github.com/elastic/kibana/pull/216517","mergeCommit":{"message":"Update
dependency lru-cache to ^11.1.0 (main) (#216517)\n\nThis PR contains the
following updates:\n\n| Package | Type | Update | Change
|\n|---|---|---|---|\n|
[lru-cache](https://redirect.github.com/isaacs/node-lru-cache)
|\ndependencies | minor | [`^11.0.2`
->\n`^11.1.0`](https://renovatebot.com/diffs/npm/lru-cache/11.0.2/11.1.0)
|\n\n---\n\n### Release
Notes\n\n<details>\n<summary>isaacs/node-lru-cache
(lru-cache)</summary>\n\n###\n[`v11.1.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v11.0.2...v11.1.0)\n\n[Compare\nSource](https://redirect.github.com/isaacs/node-lru-cache/compare/v11.0.2...v11.1.0)\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 this update\nagain.\n\n---\n\n- [ ] If
you want to rebase/retry this PR, check\nthis box\n\n---\n\nThis PR has
been generated by
[Renovate\nBot](https://redirect.github.com/renovatebot/renovate).\n\n\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>","sha":"1846807c25e4e5030b04cca42eef85e40602c0a6"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/216557","number":216557,"state":"MERGED","mergeCommit":{"sha":"688168bdb6fee380ceea27e256580b3d0de0053c","message":"[9.0]
Update dependency lru-cache to ^11.1.0 (main) (#216517) (#216557)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`9.0`:\n- [Update dependency lru-cache to ^11.1.0
(main)\n(#216517)](https://github.com/elastic/kibana/pull/216517)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>"}},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/216554","number":216554,"state":"MERGED","mergeCommit":{"sha":"f62aed6dafc7894d315c6c718432fb9c02fb14e8","message":"[8.18]
Update dependency lru-cache to ^11.1.0 (main) (#216517) (#216554)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.18`:\n- [Update dependency lru-cache to ^11.1.0
(main)\n(#216517)](https://github.com/elastic/kibana/pull/216517)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/216517","number":216517,"mergeCommit":{"message":"Update
dependency lru-cache to ^11.1.0 (main) (#216517)\n\nThis PR contains the
following updates:\n\n| Package | Type | Update | Change
|\n|---|---|---|---|\n|
[lru-cache](https://redirect.github.com/isaacs/node-lru-cache)
|\ndependencies | minor | [`^11.0.2`
->\n`^11.1.0`](https://renovatebot.com/diffs/npm/lru-cache/11.0.2/11.1.0)
|\n\n---\n\n### Release
Notes\n\n<details>\n<summary>isaacs/node-lru-cache
(lru-cache)</summary>\n\n###\n[`v11.1.0`](https://redirect.github.com/isaacs/node-lru-cache/compare/v11.0.2...v11.1.0)\n\n[Compare\nSource](https://redirect.github.com/isaacs/node-lru-cache/compare/v11.0.2...v11.1.0)\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 this update\nagain.\n\n---\n\n- [ ] If
you want to rebase/retry this PR, check\nthis box\n\n---\n\nThis PR has
been generated by
[Renovate\nBot](https://redirect.github.com/renovatebot/renovate).\n\n\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>","sha":"1846807c25e4e5030b04cca42eef85e40602c0a6"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/216556","number":216556,"state":"MERGED","mergeCommit":{"sha":"5e0a879c735144f97c470e80497353f3136f2dac","message":"[8.x]
Update dependency lru-cache to ^11.1.0 (main) (#216517) (#216556)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.x`:\n- [Update dependency lru-cache to ^11.1.0
(main)\n(#216517)](https://github.com/elastic/kibana/pull/216517)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>"}},{"branch":"8.17","label":"v8.17.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/216552","number":216552,"state":"MERGED","mergeCommit":{"sha":"3b2023a544073612a5724fd419c52e7161ded660","message":"[8.17]
Update dependency lru-cache to ^11.1.0 (main) (#216517) (#216552)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.17`:\n- [Update dependency lru-cache to ^11.1.0
(main)\n(#216517)](https://github.com/elastic/kibana/pull/216517)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>"}},{"branch":"8.16","label":"v8.16.7","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/216551","number":216551,"state":"MERGED","mergeCommit":{"sha":"d6666dde0a084aa153a980095c0825bcfccf587d","message":"[8.16]
Update dependency lru-cache to ^11.1.0 (main) (#216517) (#216551)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.16`:\n- [Update dependency lru-cache to ^11.1.0
(main)\n(#216517)](https://github.com/elastic/kibana/pull/216517)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>"}}]}]
BACKPORT-->

---------

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2025-04-05 00:35:25 +01:00
Marco Vettorello
376ee6a19f
[Lens] Fix failing test on save to library (#216637)
The failure was caused by the test waiting for an element that was
already waited for: the save button in the saveToLibrary modal.
Probably due to timing issues of selenium the second wait in some cases
was working, making this less consistent.
I've removed the external wait as is already done in the saveToLibrary
function

Fix https://github.com/elastic/kibana/issues/205230
2025-04-02 14:57:08 +02:00
Alex Szabo
9968dd3f07
[7.17] Disable allowAbsoluteUrls for axios (#215138) (#216103)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Disable `allowAbsoluteUrls` for axios
(#215138)](https://github.com/elastic/kibana/pull/215138)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2025-03-25T08:52:36Z","message":"Disable
`allowAbsoluteUrls` for axios (#215138)\n\n## Summary\nAfter
https://github.com/elastic/kibana/pull/214843, `axios` client\nusages
need to set a flag to prevent the vulnerable behavior.\n\nTo reviewers:
if you think it's a mistake, and you created a client to\nrequest for
absolute URLs, consider unsetting the `baseURL` to\ncommunicate
intent.","sha":"e40b17aa22ec1a2fbc56ae8651e12f658099ec14","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","Team:QA","Team:Security","release_note:skip","v9.0.0","backport:all-open","Team:obs-ux-logs","Team:obs-ux-infra_services","v8.18.0","v9.1.0","v8.19.0","v8.17.5","v8.16.7"],"title":"Disable
`allowAbsoluteUrls` for
axios","number":215138,"url":"https://github.com/elastic/kibana/pull/215138","mergeCommit":{"message":"Disable
`allowAbsoluteUrls` for axios (#215138)\n\n## Summary\nAfter
https://github.com/elastic/kibana/pull/214843, `axios` client\nusages
need to set a flag to prevent the vulnerable behavior.\n\nTo reviewers:
if you think it's a mistake, and you created a client to\nrequest for
absolute URLs, consider unsetting the `baseURL` to\ncommunicate
intent.","sha":"e40b17aa22ec1a2fbc56ae8651e12f658099ec14"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/215830","number":215830,"state":"MERGED","mergeCommit":{"sha":"d6b244241a1b668c5ecbd0441f81c995bc51f0f0","message":"[9.0]
Disable `allowAbsoluteUrls` for axios (#215138) (#215830)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`9.0`:\n- [Disable `allowAbsoluteUrls` for
axios\n(#215138)](https://github.com/elastic/kibana/pull/215138)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Alex Szabo
<alex.szabo@elastic.co>"}},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/215828","number":215828,"state":"MERGED","mergeCommit":{"sha":"691dde541a49fe9e936180c6152fc6501fd11412","message":"[8.18]
Disable `allowAbsoluteUrls` for axios (#215138) (#215828)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.18`:\n- [Disable `allowAbsoluteUrls` for
axios\n(#215138)](https://github.com/elastic/kibana/pull/215138)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\n---------\n\nCo-authored-by:
Alex Szabo
<alex.szabo@elastic.co>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/215138","number":215138,"mergeCommit":{"message":"Disable
`allowAbsoluteUrls` for axios (#215138)\n\n## Summary\nAfter
https://github.com/elastic/kibana/pull/214843, `axios` client\nusages
need to set a flag to prevent the vulnerable behavior.\n\nTo reviewers:
if you think it's a mistake, and you created a client to\nrequest for
absolute URLs, consider unsetting the `baseURL` to\ncommunicate
intent.","sha":"e40b17aa22ec1a2fbc56ae8651e12f658099ec14"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/215829","number":215829,"state":"MERGED","mergeCommit":{"sha":"5a40684e0ae3f52b2d2c578f21a033bcf684486a","message":"[8.x]
Disable `allowAbsoluteUrls` for axios (#215138) (#215829)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.x`:\n- [Disable `allowAbsoluteUrls` for
axios\n(#215138)](https://github.com/elastic/kibana/pull/215138)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\n---------\n\nCo-authored-by:
Alex Szabo
<alex.szabo@elastic.co>"}},{"branch":"8.17","label":"v8.17.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/215827","number":215827,"state":"MERGED","mergeCommit":{"sha":"2e9347ab43dec483fd44689c3bf8cd8fe32ece2b","message":"[8.17]
Disable `allowAbsoluteUrls` for axios (#215138) (#215827)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.17`:\n- [Disable `allowAbsoluteUrls` for
axios\n(#215138)](https://github.com/elastic/kibana/pull/215138)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\n---------\n\nCo-authored-by:
Alex Szabo
<alex.szabo@elastic.co>"}},{"branch":"8.16","label":"v8.16.7","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/215826","number":215826,"state":"MERGED","mergeCommit":{"sha":"a8b89ce376d4e68dd1a2268bb04d09db3b4b53a0","message":"[8.16]
Disable `allowAbsoluteUrls` for axios (#215138) (#215826)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.16`:\n- [Disable `allowAbsoluteUrls` for
axios\n(#215138)](https://github.com/elastic/kibana/pull/215138)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\n---------\n\nCo-authored-by:
Alex Szabo <alex.szabo@elastic.co>"}}]}] BACKPORT-->
2025-03-27 07:04:37 -04:00
Kibana Machine
ff151b693d
[7.17] Update enterprise test license, unskip tests (#215448) (#215848)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Update enterprise test license, unskip tests
(#215448)](https://github.com/elastic/kibana/pull/215448)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-03-25T10:41:40Z","message":"Update
enterprise test license, unskip tests (#215448)\n\n##
Summary\n\nAddresses
https://github.com/elastic/kibana/issues/53575","sha":"2556b13d347cfe796c39760808700a0a9e0d52d7","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","backport:all-open","v9.1.0"],"title":"Update
enterprise test license, unskip
tests","number":215448,"url":"https://github.com/elastic/kibana/pull/215448","mergeCommit":{"message":"Update
enterprise test license, unskip tests (#215448)\n\n##
Summary\n\nAddresses
https://github.com/elastic/kibana/issues/53575","sha":"2556b13d347cfe796c39760808700a0a9e0d52d7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/215448","number":215448,"mergeCommit":{"message":"Update
enterprise test license, unskip tests (#215448)\n\n##
Summary\n\nAddresses
https://github.com/elastic/kibana/issues/53575","sha":"2556b13d347cfe796c39760808700a0a9e0d52d7"}}]}]
BACKPORT-->

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
2025-03-25 15:49:42 +02:00
Kibana Machine
ff2dbe269a skip failing test suite (#213308) 2025-03-11 01:57:43 +11:00
Kibana Machine
2ead8815ad skip failing test suite (#213311) 2025-03-11 01:56:02 +11:00
Kibana Machine
c40b3cad47 skip failing test suite (#95591) 2025-03-11 01:52:40 +11:00
Tiago Costa
34e03b9c39
chore(NA): bump version to 7.17.29 (#212451)
Usually bump from 7.17.28 to 7.17.29
2025-02-27 17:44:56 +00:00
Patrick Mueller
f1f6fcd818
[7.17] update puppeteer to 24.1.1 (#208477) (#209931)
# Backport

This will backport the following commits from `main` to `7.17`:
- [update puppeteer to 24.1.1
(#208477)](https://github.com/elastic/kibana/pull/208477)

<!--- Backport version: 9.6.4 -->

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

<!--BACKPORT [{"author":{"name":"Patrick
Mueller","email":"patrick.mueller@elastic.co"},"sourceCommit":{"committedDate":"2025-02-05T19:46:51Z","message":"update
puppeteer to 24.1.1 (#208477)\n\n## Summary\r\n\r\nUpdates puppeteer to
24.1.1\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b311acfec43009e5879e42f5025c3f56fa0edde6","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","v9.0.0","Team:SharedUX","backport:all-open","ci:cloud-deploy","ci:cloud-redeploy","ci:project-deploy-elasticsearch","ci:project-persist-deployment","ci:project-redeploy","backport:version","v8.18.0","v8.15.6","v7.17.28","v8.16.4","v8.17.2","v9.1.0"],"title":"update
puppeteer to
24.1.1","number":208477,"url":"https://github.com/elastic/kibana/pull/208477","mergeCommit":{"message":"update
puppeteer to 24.1.1 (#208477)\n\n## Summary\r\n\r\nUpdates puppeteer to
24.1.1\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b311acfec43009e5879e42f5025c3f56fa0edde6"}},"sourceBranch":"main","suggestedTargetBranches":["8.15","7.17","8.16","8.17"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/209898","number":209898,"state":"OPEN"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/209896","number":209896,"state":"OPEN"},{"branch":"8.15","label":"v8.15.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"7.17","label":"v7.17.28","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/208477","number":208477,"mergeCommit":{"message":"update
puppeteer to 24.1.1 (#208477)\n\n## Summary\r\n\r\nUpdates puppeteer to
24.1.1\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b311acfec43009e5879e42f5025c3f56fa0edde6"}},{"url":"https://github.com/elastic/kibana/pull/209897","number":209897,"branch":"8.x","state":"OPEN"}]}]
BACKPORT-->
2025-02-07 10:31:18 -05:00
Walter Rafelsberger
7081e606ed
[7.17] Update @elastic/ml-ui dependencies (main) (#204210) (#207826)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Update @elastic/ml-ui dependencies (main)
(#204210)](https://github.com/elastic/kibana/pull/204210)

---------

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-22 17:25:43 +00:00
Gonçalo Rica Pais da Silva
a5828008dc
[7.17] [APM][ML] Update cytoscape with new index.d.ts def, fix typing issues (#206651) (#207230)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[APM][ML] Update cytoscape with new index.d.ts def, fix typing issues
(#206651)](https://github.com/elastic/kibana/pull/206651)

<!--- 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-20T13:36:22Z","message":"[APM][ML]
Update cytoscape with new index.d.ts def, fix typing issues
(#206651)\n\n## Summary\r\n\r\n`cytoscape` released yet another semver
breaking change, affecting\r\ntyping once more in a couple of places.
They now have their own\r\n`index.d.ts` file for Typescript support, but
this causes some issues as\r\nthey don't always have the same type name
as the `@types` version. Had\r\nto fix in a couple of places, both in
APM and in ML codebases.\r\n\r\nSupersedes #206498\r\n\r\n## How to
test\r\n\r\n* This PR passes the CI with no typing issues, or failed
tests\r\n* Going to APM or ML pages with cytoscape being loaded shows
no\r\nregressions.","sha":"a0bdc1968456f0db02a18becefdc19bdcc5469f5","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":"[APM][ML]
Update cytoscape with new index.d.ts def, fix typing
issues","number":206651,"url":"https://github.com/elastic/kibana/pull/206651","mergeCommit":{"message":"[APM][ML]
Update cytoscape with new index.d.ts def, fix typing issues
(#206651)\n\n## Summary\r\n\r\n`cytoscape` released yet another semver
breaking change, affecting\r\ntyping once more in a couple of places.
They now have their own\r\n`index.d.ts` file for Typescript support, but
this causes some issues as\r\nthey don't always have the same type name
as the `@types` version. Had\r\nto fix in a couple of places, both in
APM and in ML codebases.\r\n\r\nSupersedes #206498\r\n\r\n## How to
test\r\n\r\n* This PR passes the CI with no typing issues, or failed
tests\r\n* Going to APM or ML pages with cytoscape being loaded shows
no\r\nregressions.","sha":"a0bdc1968456f0db02a18becefdc19bdcc5469f5"}},"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/206651","number":206651,"mergeCommit":{"message":"[APM][ML]
Update cytoscape with new index.d.ts def, fix typing issues
(#206651)\n\n## Summary\r\n\r\n`cytoscape` released yet another semver
breaking change, affecting\r\ntyping once more in a couple of places.
They now have their own\r\n`index.d.ts` file for Typescript support, but
this causes some issues as\r\nthey don't always have the same type name
as the `@types` version. Had\r\nto fix in a couple of places, both in
APM and in ML codebases.\r\n\r\nSupersedes #206498\r\n\r\n## How to
test\r\n\r\n* This PR passes the CI with no typing issues, or failed
tests\r\n* Going to APM or ML pages with cytoscape being loaded shows
no\r\nregressions.","sha":"a0bdc1968456f0db02a18becefdc19bdcc5469f5"}}]}]
BACKPORT-->
2025-01-20 19:32:22 +00:00
Jon
848679109b
[7.17] [webdriver/chrome] Use headless=new (#206855)
headless=old is no longer available as of Chrome 132
2025-01-16 03:24:47 +00:00
Tiago Costa
a18f71bf77
chore(NA): bump version to 7.17.28 (#206653)
Usually bump from 7.17.27 to 7.17.28
2025-01-15 00:28:05 +00:00
Gonçalo Rica Pais da Silva
828e49db66
[7.17] [ML][APM] Fix Cytoscape listener typing, Update Cytoscape versions (#205726) (#205867)
# Backport

This will backport the following commits from `main` to `7.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 14:01:24 +00:00
Jorge Sanz
2038d49dae
[7.17][Maps] Update @elastic/ems-client to 7.17.5 (#205098)
## Summary

Updates to the latest version of `@elastic/ems-client@7.17.5` with
dependency upgrades and no new features. The only code change is a type
for the `fetchFunction(url: RequestInfo)`.
2024-12-26 08:25:08 -05:00
Tiago Costa
e10060a559
chore(NA): bump version to 7.17.27 (#202808)
Usually bump from 7.17.26 to 7.17.27
2024-12-04 17:58:46 +00:00
Jatin Kathuria
38f1f6d5c3
[Security Solution] Adapt special character escape according to kuery grammer (#198288)
## Summary

As mentioned in
https://github.com/elastic/kibana/security/code-scanning/349, this PR
resolves the escaping issue.

Additionally, it also adds more candiadates for escaping as mentioned in
`kuery` grammar as shown below .


d6b4fe9e6e/packages/kbn-es-query/grammar/grammar.peggy (L295-L298)

## Solution

This PR replicates https://github.com/elastic/kibana/pull/128289 in
`7.17` where `escape_kquery` was moved from `data` plugin to `es-query`
package. This should have been backported to `7.17` but was not.
2024-12-03 03:27:31 -06:00
Jean-Louis Leysens
a341042f75
[7.17] [UA] Update wizard copy to callout "x.last" (#201633) (#202159)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[UA] Update wizard copy to callout "x.last"
(#201633)](https://github.com/elastic/kibana/pull/201633)

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

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

<!--BACKPORT [{"author":{"name":"Jean-Louis
Leysens","email":"jeanlouis.leysens@elastic.co"},"sourceCommit":{"committedDate":"2024-11-27T14:42:01Z","message":"[UA]
Update wizard copy to callout \"x.last\" (#201633)\n\n##
Summary\r\n\r\nWe want to make sure users for the upgrade assistant are
aware that the\r\nonly way to safely perform a major version upgrade is
to upgrade to the\r\nlatest minor of the major they are
on.\r\n\r\n\r\n### Current\r\n<img width=\"1258\" alt=\"Screenshot
2024-11-25 at 16 44
37\"\r\nsrc=\"https://github.com/user-attachments/assets/ad114e44-82f4-4afd-98b4-0fe307c8175b\">\r\n\r\n###
Next\r\n\r\n<img width=\"1265\" alt=\"Screenshot 2024-11-27 at 13 52
30\"\r\nsrc=\"https://github.com/user-attachments/assets/b02b54a0-cb9e-439e-9218-f1ebe813c1fa\">\r\n\r\n\r\nRelated
https://github.com/elastic/kibana/issues/201377\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- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] 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- [ ] 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-
[ ]
...","sha":"e3c532b54a1e79c92e4df0c7006fccec61f40bf1","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","Team:Kibana
Management","release_note:skip","Feature:Upgrade
Assistant","v9.0.0","backport:version","v8.17.0","v7.17.26","v8.18.0","v8.15.5","v8.16.2"],"number":201633,"url":"https://github.com/elastic/kibana/pull/201633","mergeCommit":{"message":"[UA]
Update wizard copy to callout \"x.last\" (#201633)\n\n##
Summary\r\n\r\nWe want to make sure users for the upgrade assistant are
aware that the\r\nonly way to safely perform a major version upgrade is
to upgrade to the\r\nlatest minor of the major they are
on.\r\n\r\n\r\n### Current\r\n<img width=\"1258\" alt=\"Screenshot
2024-11-25 at 16 44
37\"\r\nsrc=\"https://github.com/user-attachments/assets/ad114e44-82f4-4afd-98b4-0fe307c8175b\">\r\n\r\n###
Next\r\n\r\n<img width=\"1265\" alt=\"Screenshot 2024-11-27 at 13 52
30\"\r\nsrc=\"https://github.com/user-attachments/assets/b02b54a0-cb9e-439e-9218-f1ebe813c1fa\">\r\n\r\n\r\nRelated
https://github.com/elastic/kibana/issues/201377\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- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] 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- [ ] 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-
[ ]
...","sha":"e3c532b54a1e79c92e4df0c7006fccec61f40bf1"}},"sourceBranch":"main","suggestedTargetBranches":["7.17","8.15"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201633","number":201633,"mergeCommit":{"message":"[UA]
Update wizard copy to callout \"x.last\" (#201633)\n\n##
Summary\r\n\r\nWe want to make sure users for the upgrade assistant are
aware that the\r\nonly way to safely perform a major version upgrade is
to upgrade to the\r\nlatest minor of the major they are
on.\r\n\r\n\r\n### Current\r\n<img width=\"1258\" alt=\"Screenshot
2024-11-25 at 16 44
37\"\r\nsrc=\"https://github.com/user-attachments/assets/ad114e44-82f4-4afd-98b4-0fe307c8175b\">\r\n\r\n###
Next\r\n\r\n<img width=\"1265\" alt=\"Screenshot 2024-11-27 at 13 52
30\"\r\nsrc=\"https://github.com/user-attachments/assets/b02b54a0-cb9e-439e-9218-f1ebe813c1fa\">\r\n\r\n\r\nRelated
https://github.com/elastic/kibana/issues/201377\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- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] 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- [ ] 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-
[ ]
...","sha":"e3c532b54a1e79c92e4df0c7006fccec61f40bf1"}},{"branch":"8.17","label":"v8.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/202111","number":202111,"state":"OPEN"},{"branch":"7.17","label":"v7.17.26","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/202109","number":202109,"state":"OPEN"},{"branch":"8.15","label":"v8.15.5","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/202112","number":202112,"state":"OPEN"}]}]
BACKPORT-->

## Screenshot

<img width="1270" alt="Screenshot 2024-11-28 at 12 41 48"
src="https://github.com/user-attachments/assets/cdbd4571-169a-4605-9278-8589cf1449e2">
2024-11-28 09:04:47 -06:00
Kibana Machine
83ca0265b5
[7.17] added &#x27;\&#x27; escapes (#199185) (#199213)
# Backport

This will backport the following commits from `main` to `7.17`:
- [added &#x27;\&#x27; escapes
(#199185)](https://github.com/elastic/kibana/pull/199185)

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

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

<!--BACKPORT [{"author":{"name":"Bryce
Buchanan","email":"75274611+bryce-b@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-11-06T19:02:41Z","message":"added
'\\' escapes (#199185)\n\n## Summary\r\n\r\nThis PR adds backslash
escaping to previous code scan
fixes.","sha":"fb7114222b5bde5846fdda85a2ae0e94797600e2","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","ci:project-deploy-observability","Team:obs-ux-infra_services","backport:version","v8.15.4","v7.17.26"],"title":"added
'\\'
escapes","number":199185,"url":"https://github.com/elastic/kibana/pull/199185","mergeCommit":{"message":"added
'\\' escapes (#199185)\n\n## Summary\r\n\r\nThis PR adds backslash
escaping to previous code scan
fixes.","sha":"fb7114222b5bde5846fdda85a2ae0e94797600e2"}},"sourceBranch":"main","suggestedTargetBranches":["8.15","7.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199185","number":199185,"mergeCommit":{"message":"added
'\\' escapes (#199185)\n\n## Summary\r\n\r\nThis PR adds backslash
escaping to previous code scan
fixes.","sha":"fb7114222b5bde5846fdda85a2ae0e94797600e2"}},{"branch":"8.15","label":"v8.15.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"7.17","label":"v7.17.26","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Bryce Buchanan <75274611+bryce-b@users.noreply.github.com>
2024-11-06 16:07:28 -06:00
Bryce Buchanan
7e68e2c7f4
[7.17] encoding fixes (#198857)
## Summary

Fixes encoding errors where only the first `replace` match was getting
replaced.
2024-11-05 07:18:09 -08:00
Nathan L Smith
f459eba59d
[7.17] Fix code scanning alert no. 456: Incomplete string escaping or encoding (#193909) (#198243)
# Backport

This will backport the following commits from `main` to `7.17`:
- Fix code scanning alert no. 456: Incomplete string escaping or
encoding (#193909) (7458ff11)

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

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

<!--BACKPORT [{"author":{"name":"Nathan L
Smith","email":"nathan.smith@elastic.co"},"sourceCommit":{"committedDate":"2024-09-25T21:30:52Z","message":"Fix
code scanning alert no. 456: Incomplete string escaping or encoding
(#193909)\n\nFixes\r\n[https://github.com/elastic/kibana/security/code-scanning/456](https://github.com/elastic/kibana/security/code-scanning/456)\r\n\r\nTo
fix the problem, we need to ensure that backslashes are also
escaped\r\nin the `value` string. This can be done by first replacing
backslashes\r\nwith double backslashes and then replacing double quotes
with escaped\r\ndouble quotes. This ensures that all occurrences of
backslashes and\r\ndouble quotes are properly escaped.\r\n\r\n- Modify
the `value.replace` call to first escape backslashes and then\r\nescape
double quotes.\r\n- The changes will be made in the
`createFilterFromOptions` function,\r\nspecifically on line
128.\r\n\r\n\r\n_Suggested fixes powered by Copilot Autofix. Review
carefully before\r\nmerging._\r\n\r\nCo-authored-by: Copilot Autofix
powered by AI
<62310815+github-advanced-security[bot]@users.noreply.github.com>","sha":"7458ff11174fe184afe4ec93c858f89063296abe"},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[]}]
BACKPORT-->
2024-10-31 08:52:44 +01:00
Tiago Costa
51b66431bf
chore(NA): bump version to 7.17.26 (#197324)
Usually bump from 7.17.25 to 7.17.26
2024-10-23 01:56:28 +01:00
Marta Bondyra
44410737f8
[Lens] escape backslash characters in the formula input (#196176)
Ensures that backslashes are properly escaped in addition to single
quotes in formula
2024-10-18 14:11:05 +02:00
Kibana Machine
d822c6ecc8
[7.17] [Graph] Escape backslash characters in the graph encode functions (#196239) (#196681)
# Backport

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

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

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

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

Co-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>
2024-10-18 05:45:08 -05:00
Ash
427e952113
[7.17][SecuritySolution][Endpoint]Remove redundant escape chars from regex (#196486)
> [!Note]
> For 7.17

## Summary
Cleans up redundant escape characters from regex within
security_solution plugin (endpoint management)
2024-10-16 13:01:21 +02:00
Nick Peihl
f7b8f9b9e7
[Canvas] Fix unescaped backslashes (#196321)
Fixes unescaped backslashes in Canvas autocomplete
2024-10-15 15:05:08 -04:00
Jen Huang
de35da590e
[7.17] [UII] Adjust test based on ES version tested against (#195508) (#195665)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[UII] Adjust test based on ES version tested against
(#195508)](https://github.com/elastic/kibana/pull/195508)

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

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

<!--BACKPORT [{"author":{"name":"Jen
Huang","email":"its.jenetic@gmail.com"},"sourceCommit":{"committedDate":"2024-10-09T07:05:56Z","message":"[UII]
Adjust test based on ES version tested against (#195508)\n\n##
Summary\r\n\r\nFollow up to #194764. This test was also failing on 7.17
branch when\r\nthey 8.x ES compatibility tests were run, so this PR
adjusts the test\r\nbased on the ES version it runs against. This will
be backported to 8.x\r\nand
7.17.","sha":"ab2d7aa5682bb18514a9fbdb2a539914d36b2c7b","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v9.0.0","backport:all-open","v8.16.0"],"number":195508,"url":"https://github.com/elastic/kibana/pull/195508","mergeCommit":{"message":"[UII]
Adjust test based on ES version tested against (#195508)\n\n##
Summary\r\n\r\nFollow up to #194764. This test was also failing on 7.17
branch when\r\nthey 8.x ES compatibility tests were run, so this PR
adjusts the test\r\nbased on the ES version it runs against. This will
be backported to 8.x\r\nand
7.17.","sha":"ab2d7aa5682bb18514a9fbdb2a539914d36b2c7b"}},"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/195508","number":195508,"mergeCommit":{"message":"[UII]
Adjust test based on ES version tested against (#195508)\n\n##
Summary\r\n\r\nFollow up to #194764. This test was also failing on 7.17
branch when\r\nthey 8.x ES compatibility tests were run, so this PR
adjusts the test\r\nbased on the ES version it runs against. This will
be backported to 8.x\r\nand
7.17.","sha":"ab2d7aa5682bb18514a9fbdb2a539914d36b2c7b"}},{"branch":"8.x","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/195535","number":195535,"state":"MERGED","mergeCommit":{"sha":"327ce6a52181b2d6a7228a97f776a60a8909afd5","message":"[8.x]
[UII] Adjust test based on ES version tested against (#195508)
(#195535)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.x`:\n- [[UII] Adjust test based on ES version tested
against\n(#195508)](https://github.com/elastic/kibana/pull/195508)\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\":\"Jen\nHuang\",\"email\":\"its.jenetic@gmail.com\"},\"sourceCommit\":{\"committedDate\":\"2024-10-09T07:05:56Z\",\"message\":\"[UII]\nAdjust
test based on ES version tested against
(#195508)\\n\\n##\nSummary\\r\\n\\r\\nFollow up to #194764. This test
was also failing on 7.17\nbranch when\\r\\nthey 8.x ES compatibility
tests were run, so this PR\nadjusts the test\\r\\nbased on the ES
version it runs against. This will\nbe backported to
8.x\\r\\nand\n7.17.\",\"sha\":\"ab2d7aa5682bb18514a9fbdb2a539914d36b2c7b\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.16.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"Team:Fleet\",\"v9.0.0\",\"backport:all-open\"],\"title\":\"[UII]\nAdjust
test based on ES version
tested\nagainst\",\"number\":195508,\"url\":\"https://github.com/elastic/kibana/pull/195508\",\"mergeCommit\":{\"message\":\"[UII]\nAdjust
test based on ES version tested against
(#195508)\\n\\n##\nSummary\\r\\n\\r\\nFollow up to #194764. This test
was also failing on 7.17\nbranch when\\r\\nthey 8.x ES compatibility
tests were run, so this PR\nadjusts the test\\r\\nbased on the ES
version it runs against. This will\nbe backported to
8.x\\r\\nand\n7.17.\",\"sha\":\"ab2d7aa5682bb18514a9fbdb2a539914d36b2c7b\"}},\"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/195508\",\"number\":195508,\"mergeCommit\":{\"message\":\"[UII]\nAdjust
test based on ES version tested against
(#195508)\\n\\n##\nSummary\\r\\n\\r\\nFollow up to #194764. This test
was also failing on 7.17\nbranch when\\r\\nthey 8.x ES compatibility
tests were run, so this PR\nadjusts the test\\r\\nbased on the ES
version it runs against. This will\nbe backported to
8.x\\r\\nand\n7.17.\",\"sha\":\"ab2d7aa5682bb18514a9fbdb2a539914d36b2c7b\"}}]}]
BACKPORT-->\n\nCo-authored-by: Jen Huang <its.jenetic@gmail.com>"}}]}]
BACKPORT-->
2024-10-10 00:11:42 +02:00
Kibana Machine
79fed6fa85
[7.17] Skip test due to unavailable resource (#195330) (#195340)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Skip test due to unavailable resource
(#195330)](https://github.com/elastic/kibana/pull/195330)

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

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

<!--BACKPORT [{"author":{"name":"Tim
Sullivan","email":"tsullivan@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-08T00:38:56Z","message":"Skip
test due to unavailable resource
(#195330)","sha":"c215f583680a11e6c73614ee802a2b8af2ee7351","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","v7.17.25"],"title":"Skip
test due to unavailable
resource","number":195330,"url":"https://github.com/elastic/kibana/pull/195330","mergeCommit":{"message":"Skip
test due to unavailable resource
(#195330)","sha":"c215f583680a11e6c73614ee802a2b8af2ee7351"}},"sourceBranch":"main","suggestedTargetBranches":["7.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195330","number":195330,"mergeCommit":{"message":"Skip
test due to unavailable resource
(#195330)","sha":"c215f583680a11e6c73614ee802a2b8af2ee7351"}},{"branch":"7.17","label":"v7.17.25","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"url":"https://github.com/elastic/kibana/pull/195335","number":195335,"branch":"8.15","state":"MERGED","mergeCommit":{"sha":"dbebd6a7012d6cc2cd20f94dc0954f57bf85dff6","message":"[8.15]
Skip test due to unavailable resource (#195330) (#195335)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.15`:\n- [Skip test due to unavailable
resource\n(#195330)](https://github.com/elastic/kibana/pull/195330)\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\":\"Tim\nSullivan\",\"email\":\"tsullivan@users.noreply.github.com\"},\"sourceCommit\":{\"committedDate\":\"2024-10-08T00:38:56Z\",\"message\":\"Skip\ntest
due to unavailable
resource\n(#195330)\",\"sha\":\"c215f583680a11e6c73614ee802a2b8af2ee7351\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.16.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"v9.0.0\",\"v8.16.0\",\"backport:version\",\"v8.15.3\"],\"title\":\"Skip\ntest
due to
unavailable\nresource\",\"number\":195330,\"url\":\"https://github.com/elastic/kibana/pull/195330\",\"mergeCommit\":{\"message\":\"Skip\ntest
due to unavailable
resource\n(#195330)\",\"sha\":\"c215f583680a11e6c73614ee802a2b8af2ee7351\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"8.x\",\"8.15\"],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/195330\",\"number\":195330,\"mergeCommit\":{\"message\":\"Skip\ntest
due to unavailable
resource\n(#195330)\",\"sha\":\"c215f583680a11e6c73614ee802a2b8af2ee7351\"}},{\"branch\":\"8.x\",\"label\":\"v8.16.0\",\"branchLabelMappingKey\":\"^v8.16.0$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.15\",\"label\":\"v8.15.3\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->\n\nCo-authored-by:
Tim Sullivan
<tsullivan@users.noreply.github.com>"}},{"url":"https://github.com/elastic/kibana/pull/195336","number":195336,"branch":"8.x","state":"MERGED","mergeCommit":{"sha":"72b6f8619571ab4b1641b5cf73cd8a5e46892987","message":"[8.x]
Skip test due to unavailable resource (#195330) (#195336)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.x`:\n- [Skip test due to unavailable
resource\n(#195330)](https://github.com/elastic/kibana/pull/195330)\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\":\"Tim\nSullivan\",\"email\":\"tsullivan@users.noreply.github.com\"},\"sourceCommit\":{\"committedDate\":\"2024-10-08T00:38:56Z\",\"message\":\"Skip\ntest
due to unavailable
resource\n(#195330)\",\"sha\":\"c215f583680a11e6c73614ee802a2b8af2ee7351\",\"branchLabelMapping\":{\"^v9.0.0$\":\"main\",\"^v8.16.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"v9.0.0\",\"v8.16.0\",\"backport:version\",\"v8.15.3\"],\"title\":\"Skip\ntest
due to
unavailable\nresource\",\"number\":195330,\"url\":\"https://github.com/elastic/kibana/pull/195330\",\"mergeCommit\":{\"message\":\"Skip\ntest
due to unavailable
resource\n(#195330)\",\"sha\":\"c215f583680a11e6c73614ee802a2b8af2ee7351\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"8.x\",\"8.15\"],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/195330\",\"number\":195330,\"mergeCommit\":{\"message\":\"Skip\ntest
due to unavailable
resource\n(#195330)\",\"sha\":\"c215f583680a11e6c73614ee802a2b8af2ee7351\"}},{\"branch\":\"8.x\",\"label\":\"v8.16.0\",\"branchLabelMappingKey\":\"^v8.16.0$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.15\",\"label\":\"v8.15.3\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->\n\nCo-authored-by:
Tim Sullivan <tsullivan@users.noreply.github.com>"}}]}] BACKPORT-->

Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>
2024-10-08 07:28:30 +02:00
Kibana Machine
ee2e834b13
[7.17] [Security Solution] Improve regexes processing KQL (#194215) (#194939)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[Security Solution] Improve regexes processing KQL
(#194215)](https://github.com/elastic/kibana/pull/194215)

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

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

<!--BACKPORT [{"author":{"name":"Marshall
Main","email":"55718608+marshallmain@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-04T12:22:10Z","message":"[Security
Solution] Improve regexes processing KQL (#194215)\n\n##
Summary\r\n\r\nSee linked
ticket","sha":"6d8f85e8f5e93b40696200946a4e2f696ce967fe","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:all-open"],"title":"[Security
Solution] Improve regexes processing
KQL","number":194215,"url":"https://github.com/elastic/kibana/pull/194215","mergeCommit":{"message":"[Security
Solution] Improve regexes processing KQL (#194215)\n\n##
Summary\r\n\r\nSee linked
ticket","sha":"6d8f85e8f5e93b40696200946a4e2f696ce967fe"}},"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/194215","number":194215,"mergeCommit":{"message":"[Security
Solution] Improve regexes processing KQL (#194215)\n\n##
Summary\r\n\r\nSee linked
ticket","sha":"6d8f85e8f5e93b40696200946a4e2f696ce967fe"}}]}]
BACKPORT-->

Co-authored-by: Marshall Main <55718608+marshallmain@users.noreply.github.com>
2024-10-04 10:27:47 -05:00
Ignacio Rivas
1af47fb10b
[Watcher] Fix code scanning alert (#194914) 2024-10-04 06:30:57 -05:00
James Gowdy
e25fe5b5af
[ML] [7.17] Fixing string escaping (#194530)
Fixes incomplete string escaping issue in ML's saved object service.
2024-10-02 08:46:49 +01:00
James Gowdy
4ab101aaf7
[ML] [7.17] Potential prototype pollution vulnerability (#194538)
Fixes potential prototype pollution vulnerability in `setNestedProperty`
function.
2024-10-02 08:46:34 +01:00
Walter Rafelsberger
36547fa547
[7.17] [ML] Data Frame Analytics: Fix field name escaping for Vega based scatterplot matrix. (#193386) (#193841)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[ML] Data Frame Analytics: Fix field name escaping for Vega based
scatterplot matrix.
(#193386)](https://github.com/elastic/kibana/pull/193386)

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

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

<!--BACKPORT [{"author":{"name":"Walter
Rafelsberger","email":"walter.rafelsberger@elastic.co"},"sourceCommit":{"committedDate":"2024-09-24T08:41:46Z","message":"[ML]
Data Frame Analytics: Fix field name escaping for Vega based scatterplot
matrix. (#193386)\n\n## Summary\r\n\r\nField names with `\\n` would fail
to render the DFA scatterplot matrix:\r\n\r\n<img width=\"804\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/26e356b8-236d-4255-b556-2ebc2e5db4fc\">\r\n\r\nThis
fixes the escaping and adds unit tests.\r\n\r\nThe fix isn't 100% ideal
because there are cases when we may end up with\r\nan additional
backslash being rendered for labels of the scatterplot.\r\nHowever, all
other variations I tried caused rendering problems of the\r\ncharts and
rendering would fail completely.\r\n\r\nFor example, just escaping `\\n`
without the general backslash escaping\r\ncauses the following Vega
error: `Duplicate scale or projection
name:\r\n\"child__row_my_numbercolumn_my_number_x\"`\r\n\r\nOn the other
hand escaping just the backslash without the additional\r\n`\\n`
escaping causes an \"expression parse error\" in in Vega and
the\r\nchart wouldn't render.\r\n\r\nNote this PR just focuses on
escaping for the Vega spec for the\r\nscatterplot matrix. There are
still other places in the UI (data grid\r\nheaders, fields
selector).\r\n\r\n<img width=\"792\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/35532741-7a13-4707-b8da-c72dcc8c935b\">\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] This was
checked for breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"194d6307dc41b6a4a295abc3e412de148e05386e","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug",":ml","release_note:skip","Feature:Data
Frame
Analytics","v9.0.0","backport:all-open","v8.16.0","v8.15.2","v7.17.25"],"number":193386,"url":"https://github.com/elastic/kibana/pull/193386","mergeCommit":{"message":"[ML]
Data Frame Analytics: Fix field name escaping for Vega based scatterplot
matrix. (#193386)\n\n## Summary\r\n\r\nField names with `\\n` would fail
to render the DFA scatterplot matrix:\r\n\r\n<img width=\"804\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/26e356b8-236d-4255-b556-2ebc2e5db4fc\">\r\n\r\nThis
fixes the escaping and adds unit tests.\r\n\r\nThe fix isn't 100% ideal
because there are cases when we may end up with\r\nan additional
backslash being rendered for labels of the scatterplot.\r\nHowever, all
other variations I tried caused rendering problems of the\r\ncharts and
rendering would fail completely.\r\n\r\nFor example, just escaping `\\n`
without the general backslash escaping\r\ncauses the following Vega
error: `Duplicate scale or projection
name:\r\n\"child__row_my_numbercolumn_my_number_x\"`\r\n\r\nOn the other
hand escaping just the backslash without the additional\r\n`\\n`
escaping causes an \"expression parse error\" in in Vega and
the\r\nchart wouldn't render.\r\n\r\nNote this PR just focuses on
escaping for the Vega spec for the\r\nscatterplot matrix. There are
still other places in the UI (data grid\r\nheaders, fields
selector).\r\n\r\n<img width=\"792\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/35532741-7a13-4707-b8da-c72dcc8c935b\">\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] This was
checked for breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"194d6307dc41b6a4a295abc3e412de148e05386e"}},"sourceBranch":"main","suggestedTargetBranches":["7.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193386","number":193386,"mergeCommit":{"message":"[ML]
Data Frame Analytics: Fix field name escaping for Vega based scatterplot
matrix. (#193386)\n\n## Summary\r\n\r\nField names with `\\n` would fail
to render the DFA scatterplot matrix:\r\n\r\n<img width=\"804\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/26e356b8-236d-4255-b556-2ebc2e5db4fc\">\r\n\r\nThis
fixes the escaping and adds unit tests.\r\n\r\nThe fix isn't 100% ideal
because there are cases when we may end up with\r\nan additional
backslash being rendered for labels of the scatterplot.\r\nHowever, all
other variations I tried caused rendering problems of the\r\ncharts and
rendering would fail completely.\r\n\r\nFor example, just escaping `\\n`
without the general backslash escaping\r\ncauses the following Vega
error: `Duplicate scale or projection
name:\r\n\"child__row_my_numbercolumn_my_number_x\"`\r\n\r\nOn the other
hand escaping just the backslash without the additional\r\n`\\n`
escaping causes an \"expression parse error\" in in Vega and
the\r\nchart wouldn't render.\r\n\r\nNote this PR just focuses on
escaping for the Vega spec for the\r\nscatterplot matrix. There are
still other places in the UI (data grid\r\nheaders, fields
selector).\r\n\r\n<img width=\"792\"
alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/35532741-7a13-4707-b8da-c72dcc8c935b\">\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] This was
checked for breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"194d6307dc41b6a4a295abc3e412de148e05386e"}},{"branch":"8.x","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/193832","number":193832,"state":"OPEN"},{"branch":"8.15","label":"v8.15.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/193830","number":193830,"state":"OPEN"},{"branch":"7.17","label":"v7.17.25","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-09-24 08:29:05 -05:00
Eyo O. Eyo
ed788cde40
[7.17] [Reporting] update puppeteer to version 23.3.1 (#192345) (#193396)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[Reporting] update puppeteer to version 23.3.1
(#192345)](https://github.com/elastic/kibana/pull/192345)

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

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

<!--BACKPORT [{"author":{"name":"Eyo O.
Eyo","email":"7893459+eokoneyo@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-09-18T20:26:44Z","message":"[Reporting]
update puppeteer to version 23.3.1 (#192345)\n\n## Summary\r\n\r\nUpdate
for puppeteer, the following changeset updates puppeteer to\r\nversion
`23.3.1`.\r\n\r\nThe chromium version required for this version of
puppeteer is\r\n`128.0.6613.137` from revision `1331488`, as such the
chromium binary\r\nincluded for windows and darwin platforms either
match or were the\r\nclosest revision to the expectation. The linux
headless binary was built\r\nfrom commit
`fe621c5aa2d6b987e964fb1b5066833da5fb613d` of the
same\r\nrevision.\r\n\r\n_**N.B.**_ Puppeteer 23.0.0 is earmarked as
containing breaking
changes\r\nsee\r\n[here](abda5dcc99/packages/puppeteer-core/CHANGELOG.md (2300-2024-08-07)),\r\nthis
PR considers the outlined changes and makes relevant adjustments
so\r\nreporting continues working as is.\r\n\r\n<!--\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n-->\r\n\r\n\r\n###
How to verify linux headless build\r\n- clone the following
repo\r\nhttps://github.com/tsullivan/kibana-dev-docker\r\n- pull this
particular PR\r\n- follow the steps outlined in the repo, replacing any
occurrence of\r\n`kibana-<version>-SNAPSHOT-linux-aarch64.tar.gz` from
the repo above's\r\nstep with the output of running build on this
changeset.\r\n- before running step 4, modify the `kibana.yml` file from
the\r\n`kibana-dev-docker` repo and include the following so we might be
able\r\nto verify the version of chromium running;\r\n ```yaml\r\n
logging.loggers:\r\n - name: plugins.reporting\r\n level: debug\r\n
```\r\n- complete the steps outlined in the README, you'll have a linux
distro\r\nof kibana running on port `5601`\r\n- Attempt creating exports
of PDF and PNG reports, in dashboard, canvas,\r\nand visualizations, on
report creation attempt we would see a log output\r\nthat prints out the
chromium version exactly matching this;\r\n\r\n<img width=\"1326\"
alt=\"Screenshot 2024-09-18 at 14 50
19\"\r\nsrc=\"https://github.com/user-attachments/assets/7206781a-e8f9-469c-ad65-fd13749766b2\">\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":"91ca8ab95c01f88ea2d79779f3670c88bf269da0","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:SharedUX","backport:prev-major","v8.16.0","backport:version","v8.15.2"],"number":192345,"url":"https://github.com/elastic/kibana/pull/192345","mergeCommit":{"message":"[Reporting]
update puppeteer to version 23.3.1 (#192345)\n\n## Summary\r\n\r\nUpdate
for puppeteer, the following changeset updates puppeteer to\r\nversion
`23.3.1`.\r\n\r\nThe chromium version required for this version of
puppeteer is\r\n`128.0.6613.137` from revision `1331488`, as such the
chromium binary\r\nincluded for windows and darwin platforms either
match or were the\r\nclosest revision to the expectation. The linux
headless binary was built\r\nfrom commit
`fe621c5aa2d6b987e964fb1b5066833da5fb613d` of the
same\r\nrevision.\r\n\r\n_**N.B.**_ Puppeteer 23.0.0 is earmarked as
containing breaking
changes\r\nsee\r\n[here](abda5dcc99/packages/puppeteer-core/CHANGELOG.md (2300-2024-08-07)),\r\nthis
PR considers the outlined changes and makes relevant adjustments
so\r\nreporting continues working as is.\r\n\r\n<!--\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n-->\r\n\r\n\r\n###
How to verify linux headless build\r\n- clone the following
repo\r\nhttps://github.com/tsullivan/kibana-dev-docker\r\n- pull this
particular PR\r\n- follow the steps outlined in the repo, replacing any
occurrence of\r\n`kibana-<version>-SNAPSHOT-linux-aarch64.tar.gz` from
the repo above's\r\nstep with the output of running build on this
changeset.\r\n- before running step 4, modify the `kibana.yml` file from
the\r\n`kibana-dev-docker` repo and include the following so we might be
able\r\nto verify the version of chromium running;\r\n ```yaml\r\n
logging.loggers:\r\n - name: plugins.reporting\r\n level: debug\r\n
```\r\n- complete the steps outlined in the README, you'll have a linux
distro\r\nof kibana running on port `5601`\r\n- Attempt creating exports
of PDF and PNG reports, in dashboard, canvas,\r\nand visualizations, on
report creation attempt we would see a log output\r\nthat prints out the
chromium version exactly matching this;\r\n\r\n<img width=\"1326\"
alt=\"Screenshot 2024-09-18 at 14 50
19\"\r\nsrc=\"https://github.com/user-attachments/assets/7206781a-e8f9-469c-ad65-fd13749766b2\">\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":"91ca8ab95c01f88ea2d79779f3670c88bf269da0"}},"sourceBranch":"main","suggestedTargetBranches":["8.15"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/192345","number":192345,"mergeCommit":{"message":"[Reporting]
update puppeteer to version 23.3.1 (#192345)\n\n## Summary\r\n\r\nUpdate
for puppeteer, the following changeset updates puppeteer to\r\nversion
`23.3.1`.\r\n\r\nThe chromium version required for this version of
puppeteer is\r\n`128.0.6613.137` from revision `1331488`, as such the
chromium binary\r\nincluded for windows and darwin platforms either
match or were the\r\nclosest revision to the expectation. The linux
headless binary was built\r\nfrom commit
`fe621c5aa2d6b987e964fb1b5066833da5fb613d` of the
same\r\nrevision.\r\n\r\n_**N.B.**_ Puppeteer 23.0.0 is earmarked as
containing breaking
changes\r\nsee\r\n[here](abda5dcc99/packages/puppeteer-core/CHANGELOG.md (2300-2024-08-07)),\r\nthis
PR considers the outlined changes and makes relevant adjustments
so\r\nreporting continues working as is.\r\n\r\n<!--\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is
usable by keyboard only (learn more\r\nabout [keyboard
accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI
touched in this PR does not create any new axe failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n-->\r\n\r\n\r\n###
How to verify linux headless build\r\n- clone the following
repo\r\nhttps://github.com/tsullivan/kibana-dev-docker\r\n- pull this
particular PR\r\n- follow the steps outlined in the repo, replacing any
occurrence of\r\n`kibana-<version>-SNAPSHOT-linux-aarch64.tar.gz` from
the repo above's\r\nstep with the output of running build on this
changeset.\r\n- before running step 4, modify the `kibana.yml` file from
the\r\n`kibana-dev-docker` repo and include the following so we might be
able\r\nto verify the version of chromium running;\r\n ```yaml\r\n
logging.loggers:\r\n - name: plugins.reporting\r\n level: debug\r\n
```\r\n- complete the steps outlined in the README, you'll have a linux
distro\r\nof kibana running on port `5601`\r\n- Attempt creating exports
of PDF and PNG reports, in dashboard, canvas,\r\nand visualizations, on
report creation attempt we would see a log output\r\nthat prints out the
chromium version exactly matching this;\r\n\r\n<img width=\"1326\"
alt=\"Screenshot 2024-09-18 at 14 50
19\"\r\nsrc=\"https://github.com/user-attachments/assets/7206781a-e8f9-469c-ad65-fd13749766b2\">\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":"91ca8ab95c01f88ea2d79779f3670c88bf269da0"}},{"branch":"8.x","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/193357","number":193357,"state":"OPEN"},{"branch":"8.15","label":"v8.15.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-09-20 16:36:25 -07:00
Dominique Clarke
295102eba6
[Uptime] ml test - increase wait (#193310)
## Summary

Resolves https://github.com/elastic/kibana/issues/179166
2024-09-19 13:44:42 -04:00
Jon
f1777b12dd
[7.17] Update version to 7.17.25 (#192478) 2024-09-10 20:53:53 -05:00
Abdul Wahab Zahid
2a12f7db6a
[7.17] [Logs UI] Make version dependent test only run for intended version. (#188901) (#191925)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[Logs UI] Make version dependent test only run for intended version.
(#188901)](https://github.com/elastic/kibana/pull/188901)

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

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

<!--BACKPORT [{"author":{"name":"Abdul Wahab
Zahid","email":"awahab07@yahoo.com"},"sourceCommit":{"committedDate":"2024-09-02T12:24:27Z","message":"[Logs
UI] Make version dependent test only run for intended version.
(#188901)\n\nFixes #163845\r\n\r\n## Summary\r\n\r\nA test in 7.17 is
skipped because an ES API in the later versions has\r\nchanged. The PR
branches the test to handle both cases, before and after\r\nthe API
change. The PR should be backported to 7.17 once merged in
main.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"ccbef9f9a5aec5a3abb5c7d4a3574c896bc55f8b","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:obs-ux-logs","v8.16.0","v7.17.24","backport:version"],"number":188901,"url":"https://github.com/elastic/kibana/pull/188901","mergeCommit":{"message":"[Logs
UI] Make version dependent test only run for intended version.
(#188901)\n\nFixes #163845\r\n\r\n## Summary\r\n\r\nA test in 7.17 is
skipped because an ES API in the later versions has\r\nchanged. The PR
branches the test to handle both cases, before and after\r\nthe API
change. The PR should be backported to 7.17 once merged in
main.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"ccbef9f9a5aec5a3abb5c7d4a3574c896bc55f8b"}},"sourceBranch":"main","suggestedTargetBranches":["7.17"],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/188901","number":188901,"mergeCommit":{"message":"[Logs
UI] Make version dependent test only run for intended version.
(#188901)\n\nFixes #163845\r\n\r\n## Summary\r\n\r\nA test in 7.17 is
skipped because an ES API in the later versions has\r\nchanged. The PR
branches the test to handle both cases, before and after\r\nthe API
change. The PR should be backported to 7.17 once merged in
main.\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"ccbef9f9a5aec5a3abb5c7d4a3574c896bc55f8b"}},{"branch":"7.17","label":"v7.17.24","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-09-04 13:25:31 +02:00
James Gowdy
8e38ea3592
[7.17] [ML] Improving empty object creation (#191518) (#191836)
Manual backport of https://github.com/elastic/kibana/pull/191518

Also includes changes to server side and common code to use
`Object.hasOwn` rather than `hasOwnProperty`

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-09-03 09:37:26 +01:00
Jen Huang
db012260a0
[7.17] [UII] Use signed version of old endpoint package for setup test (#191311) (#191517)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[UII] Use signed version of old endpoint package for setup test
(#191311)](https://github.com/elastic/kibana/pull/191311)

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

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

<!--BACKPORT [{"author":{"name":"Jen
Huang","email":"its.jenetic@gmail.com"},"sourceCommit":{"committedDate":"2024-08-26T23:25:14Z","message":"[UII]
Use signed version of old endpoint package for setup test
(#191311)\n\n## Summary\r\n\r\nAs the title says
:)","sha":"c361abd78c863c2e21a0cfd12adceaf4804cd3c9","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","backport:all-open","v8.16.0","v8.15.1"],"number":191311,"url":"https://github.com/elastic/kibana/pull/191311","mergeCommit":{"message":"[UII]
Use signed version of old endpoint package for setup test
(#191311)\n\n## Summary\r\n\r\nAs the title says
:)","sha":"c361abd78c863c2e21a0cfd12adceaf4804cd3c9"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/191311","number":191311,"mergeCommit":{"message":"[UII]
Use signed version of old endpoint package for setup test
(#191311)\n\n## Summary\r\n\r\nAs the title says
:)","sha":"c361abd78c863c2e21a0cfd12adceaf4804cd3c9"}},{"branch":"8.15","label":"v8.15.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/191327","number":191327,"state":"MERGED","mergeCommit":{"sha":"c3524ddeb070c8dbb67425d57ef49e6b6643e643","message":"[8.15]
[UII] Use signed version of old endpoint package for setup test
(#191311) (#191327)\n\n# Backport\n\nThis will backport the following
commits from `main` to `8.15`:\n- [[UII] Use signed version of old
endpoint package for setup
test\n(#191311)](https://github.com/elastic/kibana/pull/191311)\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\":\"Jen\nHuang\",\"email\":\"its.jenetic@gmail.com\"},\"sourceCommit\":{\"committedDate\":\"2024-08-26T23:25:14Z\",\"message\":\"[UII]\nUse
signed version of old endpoint package for setup test\n(#191311)\\n\\n##
Summary\\r\\n\\r\\nAs the title
says\n:)\",\"sha\":\"c361abd78c863c2e21a0cfd12adceaf4804cd3c9\",\"branchLabelMapping\":{\"^v8.16.0$\":\"main\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:skip\",\"Team:Fleet\",\"backport:all-open\",\"v8.16.0\"],\"title\":\"[UII]\nUse
signed version of old endpoint package for
setup\ntest\",\"number\":191311,\"url\":\"https://github.com/elastic/kibana/pull/191311\",\"mergeCommit\":{\"message\":\"[UII]\nUse
signed version of old endpoint package for setup test\n(#191311)\\n\\n##
Summary\\r\\n\\r\\nAs the title
says\n:)\",\"sha\":\"c361abd78c863c2e21a0cfd12adceaf4804cd3c9\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v8.16.0\",\"branchLabelMappingKey\":\"^v8.16.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/191311\",\"number\":191311,\"mergeCommit\":{\"message\":\"[UII]\nUse
signed version of old endpoint package for setup test\n(#191311)\\n\\n##
Summary\\r\\n\\r\\nAs the title
says\n:)\",\"sha\":\"c361abd78c863c2e21a0cfd12adceaf4804cd3c9\"}}]}]
BACKPORT-->\n\nCo-authored-by: Jen Huang <its.jenetic@gmail.com>"}}]}]
BACKPORT-->
2024-08-27 16:00:22 -04:00
Eyo O. Eyo
07cfc46eda
[Screenshotting/7.17] Server package for stateless code (#190950)
Corresponds with https://github.com/elastic/kibana/pull/188390, branched
from https://github.com/elastic/kibana/pull/189326

<!--
### Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)


### Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to
identify risks that should be tested prior to the change/feature
release.

When forming the risk matrix, consider some of the following examples
and how they may potentially impact the change:

| Risk | Probability | Severity | Mitigation/Notes |

|---------------------------|-------------|----------|-------------------------|
| Multiple Spaces&mdash;unexpected behavior in non-default Kibana Space.
| Low | High | Integration tests will verify that all features are still
supported in non-default Kibana Space and when user switches between
spaces. |
| Multiple nodes&mdash;Elasticsearch polling might have race conditions
when multiple Kibana nodes are polling for the same tasks. | High | Low
| Tasks are idempotent, so executing them multiple times will not result
in logical error, but will degrade performance. To test for this case we
add plenty of unit tests around this logic and document manual testing
procedure. |
| Code should gracefully handle cases when feature X or plugin Y are
disabled. | Medium | High | Unit tests will verify that any feature flag
or plugin combination still results in our service operational. |
| [See more potential risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) |


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

-->

---------

Co-authored-by: Timothy Sullivan <tsullivan@elastic.co>
Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-08-22 06:28:45 -05:00
Kurt
901f9c85e0
[7.17] Changing load/dump in source files (#190641) (#190992)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Changing load/dump in source files
(#190641)](https://github.com/elastic/kibana/pull/190641)

<!--- 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":"2024-08-21T11:29:36Z","message":"Changing
load/dump in source files (#190641)\n\n## Summary\r\n\r\nUpdates usage
of `js-yaml` `load` and `dump` to `safeLoad` and\r\n`safeDump`, in
preparation for a major version update of dependency,\r\nwhere the
default behavior will be that of the safe function
variants.\r\n\r\n\r\n## Note to reviewers\r\n`safeDump` will throw if it
encounters invalid types (e.g. `undefined`),\r\nwhereas the `dump`
function will still write the file including the\r\ninvalid types. This
may have an affect within your use cases - if\r\nthrowing is not
acceptable or is unhandled. To avoid this the\r\n`skipInvalid` option
can be used
(see\r\nhttps://github.com/nodeca/js-yaml#dump-object---options-) - this
will\r\nwrite the file, stripping out any invalid types from the
input.\r\n\r\nPlease consider this when reviewing the changes to your
code. If the\r\n`skipInvalid` option is needed, please add it, or let us
know to make\r\nthe change.\r\n\r\n---------\r\n\r\nCo-authored-by: Sid
<siddharthmantri1@gmail.com>\r\nCo-authored-by: “jeramysoucy”
<jeramy.soucy@elastic.co>\r\nCo-authored-by: Elena Shostak
<elena.shostak@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Maxim Palenov
<maxim.palenov@elastic.co>","sha":"bcc46b60e99ddb3c86f64f794296405064334335","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","backport:all-open","ci:project-deploy-observability","Team:obs-ux-infra_services","risk","v8.16.0","v8.15.1"],"number":190641,"url":"https://github.com/elastic/kibana/pull/190641","mergeCommit":{"message":"Changing
load/dump in source files (#190641)\n\n## Summary\r\n\r\nUpdates usage
of `js-yaml` `load` and `dump` to `safeLoad` and\r\n`safeDump`, in
preparation for a major version update of dependency,\r\nwhere the
default behavior will be that of the safe function
variants.\r\n\r\n\r\n## Note to reviewers\r\n`safeDump` will throw if it
encounters invalid types (e.g. `undefined`),\r\nwhereas the `dump`
function will still write the file including the\r\ninvalid types. This
may have an affect within your use cases - if\r\nthrowing is not
acceptable or is unhandled. To avoid this the\r\n`skipInvalid` option
can be used
(see\r\nhttps://github.com/nodeca/js-yaml#dump-object---options-) - this
will\r\nwrite the file, stripping out any invalid types from the
input.\r\n\r\nPlease consider this when reviewing the changes to your
code. If the\r\n`skipInvalid` option is needed, please add it, or let us
know to make\r\nthe change.\r\n\r\n---------\r\n\r\nCo-authored-by: Sid
<siddharthmantri1@gmail.com>\r\nCo-authored-by: “jeramysoucy”
<jeramy.soucy@elastic.co>\r\nCo-authored-by: Elena Shostak
<elena.shostak@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Maxim Palenov
<maxim.palenov@elastic.co>","sha":"bcc46b60e99ddb3c86f64f794296405064334335"}},"sourceBranch":"main","suggestedTargetBranches":["8.15"],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/190641","number":190641,"mergeCommit":{"message":"Changing
load/dump in source files (#190641)\n\n## Summary\r\n\r\nUpdates usage
of `js-yaml` `load` and `dump` to `safeLoad` and\r\n`safeDump`, in
preparation for a major version update of dependency,\r\nwhere the
default behavior will be that of the safe function
variants.\r\n\r\n\r\n## Note to reviewers\r\n`safeDump` will throw if it
encounters invalid types (e.g. `undefined`),\r\nwhereas the `dump`
function will still write the file including the\r\ninvalid types. This
may have an affect within your use cases - if\r\nthrowing is not
acceptable or is unhandled. To avoid this the\r\n`skipInvalid` option
can be used
(see\r\nhttps://github.com/nodeca/js-yaml#dump-object---options-) - this
will\r\nwrite the file, stripping out any invalid types from the
input.\r\n\r\nPlease consider this when reviewing the changes to your
code. If the\r\n`skipInvalid` option is needed, please add it, or let us
know to make\r\nthe change.\r\n\r\n---------\r\n\r\nCo-authored-by: Sid
<siddharthmantri1@gmail.com>\r\nCo-authored-by: “jeramysoucy”
<jeramy.soucy@elastic.co>\r\nCo-authored-by: Elena Shostak
<elena.shostak@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Maxim Palenov
<maxim.palenov@elastic.co>","sha":"bcc46b60e99ddb3c86f64f794296405064334335"}},{"branch":"8.15","label":"v8.15.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2024-08-22 09:26:54 +02:00
Dominique Clarke
55b5b140e1
[Synthetics] remove full screenshots (#189911)
## Summary

We have not used full screenshot image data since early alpha versions
of Synthetics (pre 7.14.0), and there is no reason to _not_ use
screenshot blocks instead as they make far more efficient storage
performance.

### Release note
Removes support for Heartbeat browser monitor screenshots for lower
versions of Heartbeat. Please upgrade to Heartbeat 7.17.24 to continue
using Heartbeat browser monitor screenshots.

### Testing 
Screenshots are just for browser monitors, and browser monitors are in
Beta in 7.17.x and will never be moved to GA. I don't believe this
ticket needs additional testing beyond passing integration tests.
2024-08-08 20:51:25 -04:00
Eyo O. Eyo
330f6a05e6
[Reporting] update puppeteer to 22.13.1 (7.17.x) (#189614)
## Summary

Manual backport of https://github.com/elastic/kibana/pull/189485 update
for puppeteer, the following changeset updates puppeteer to version
`22.13.1`.

The chromium version required for this version of puppeteer is
`126.0.6478.182` from revision `1300313`, as such the chromium binary
included for windows and darwin platforms either match or were the
closest revision to the expectation. The linux headless binary was built
from commit `5b5d8292ddf182f8b2096fa665b473b6317906d5` of the same
revision.

<!-- ### Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)


### Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to
identify risks that should be tested prior to the change/feature
release.

When forming the risk matrix, consider some of the following examples
and how they may potentially impact the change:

| Risk | Probability | Severity | Mitigation/Notes |

|---------------------------|-------------|----------|-------------------------|
| Multiple Spaces&mdash;unexpected behavior in non-default Kibana Space.
| Low | High | Integration tests will verify that all features are still
supported in non-default Kibana Space and when user switches between
spaces. |
| Multiple nodes&mdash;Elasticsearch polling might have race conditions
when multiple Kibana nodes are polling for the same tasks. | High | Low
| Tasks are idempotent, so executing them multiple times will not result
in logical error, but will degrade performance. To test for this case we
add plenty of unit tests around this logic and document manual testing
procedure. |
| Code should gracefully handle cases when feature X or plugin Y are
disabled. | Medium | High | Unit tests will verify that any feature flag
or plugin combination still results in our service operational. |
| [See more potential risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) |


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
-->
2024-08-05 12:39:27 -05:00
Tiago Costa
d58ae7eabe
chore(NA): bump version to 7.17.24 (#189547)
Usually bump from 7.17.23 to 7.17.24
2024-08-01 18:46:41 +01:00