Commit graph

9014 commits

Author SHA1 Message Date
Tiago Costa
886ac2cd22
skip flaky suite (#167188) 2023-12-07 18:44:18 +00:00
Kibana Machine
385f33e9d4
[8.11] [Dashboard] Fix flaky sync_colors.tsx test (#172633) (#172692)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Dashboard] Fix flaky `sync_colors.tsx` test
(#172633)](https://github.com/elastic/kibana/pull/172633)

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

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

<!--BACKPORT [{"author":{"name":"Hannah
Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-06T14:55:13Z","message":"[Dashboard]
Fix flaky `sync_colors.tsx` test (#172633)\n\n## Summary\r\n\r\nIt is
possible for the `noDataPopover` to take more than the
`100ms`\r\ntimeout from `ensureHiddenNoDataPopover` (pictured below) to
appear - in\r\nthese cases, any tests that make use of the Lens page
object's\r\n`goToTimeRange` method will fail due to clicking the wrong
element (the\r\ntour step rather than the time
picker).\r\n\r\n\r\n![image](35de1215-6f9f-4a72-a0ab-e1a60f5bb80a)\r\n\r\n\r\nWhile
my initial thought was to simply increase the timeout for
the\r\n`noDataPopover` check, this isn't ideal - **a lot** of tests use
the\r\n`goToTimeRange` method and, by doing this, we would be slowing
down\r\n**every single one of them** even when the test wouldn't have
failed to\r\nbegin with! Instead, I've chosen to surround the important
parts of the\r\ncode in `goToTimeRange` with a `retry` - that way, if
the\r\n`noDataPopover` never shows up or it shows up comfortably within
the\r\n`100ms` timeout, the impact to the speed of a given test will
be\r\n**minimal**; however, if the no data popover shows up **outside**
of\r\nthis timeout, the retry will save the test from outright
failure.\r\n\r\n### [Flaky
Test\r\nRunner](1ac033d7-6cc1-4789-9a2b-6c7b8c34f67c)\r\n\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"d9e2d06512196ff6800a8441fc4605c258f206dd","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","loe:small","release_note:skip","impact:critical","backport:prev-minor","v8.12.0","v8.13.0"],"number":172633,"url":"https://github.com/elastic/kibana/pull/172633","mergeCommit":{"message":"[Dashboard]
Fix flaky `sync_colors.tsx` test (#172633)\n\n## Summary\r\n\r\nIt is
possible for the `noDataPopover` to take more than the
`100ms`\r\ntimeout from `ensureHiddenNoDataPopover` (pictured below) to
appear - in\r\nthese cases, any tests that make use of the Lens page
object's\r\n`goToTimeRange` method will fail due to clicking the wrong
element (the\r\ntour step rather than the time
picker).\r\n\r\n\r\n![image](35de1215-6f9f-4a72-a0ab-e1a60f5bb80a)\r\n\r\n\r\nWhile
my initial thought was to simply increase the timeout for
the\r\n`noDataPopover` check, this isn't ideal - **a lot** of tests use
the\r\n`goToTimeRange` method and, by doing this, we would be slowing
down\r\n**every single one of them** even when the test wouldn't have
failed to\r\nbegin with! Instead, I've chosen to surround the important
parts of the\r\ncode in `goToTimeRange` with a `retry` - that way, if
the\r\n`noDataPopover` never shows up or it shows up comfortably within
the\r\n`100ms` timeout, the impact to the speed of a given test will
be\r\n**minimal**; however, if the no data popover shows up **outside**
of\r\nthis timeout, the retry will save the test from outright
failure.\r\n\r\n### [Flaky
Test\r\nRunner](1ac033d7-6cc1-4789-9a2b-6c7b8c34f67c)\r\n\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"d9e2d06512196ff6800a8441fc4605c258f206dd"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/172633","number":172633,"mergeCommit":{"message":"[Dashboard]
Fix flaky `sync_colors.tsx` test (#172633)\n\n## Summary\r\n\r\nIt is
possible for the `noDataPopover` to take more than the
`100ms`\r\ntimeout from `ensureHiddenNoDataPopover` (pictured below) to
appear - in\r\nthese cases, any tests that make use of the Lens page
object's\r\n`goToTimeRange` method will fail due to clicking the wrong
element (the\r\ntour step rather than the time
picker).\r\n\r\n\r\n![image](35de1215-6f9f-4a72-a0ab-e1a60f5bb80a)\r\n\r\n\r\nWhile
my initial thought was to simply increase the timeout for
the\r\n`noDataPopover` check, this isn't ideal - **a lot** of tests use
the\r\n`goToTimeRange` method and, by doing this, we would be slowing
down\r\n**every single one of them** even when the test wouldn't have
failed to\r\nbegin with! Instead, I've chosen to surround the important
parts of the\r\ncode in `goToTimeRange` with a `retry` - that way, if
the\r\n`noDataPopover` never shows up or it shows up comfortably within
the\r\n`100ms` timeout, the impact to the speed of a given test will
be\r\n**minimal**; however, if the no data popover shows up **outside**
of\r\nthis timeout, the retry will save the test from outright
failure.\r\n\r\n### [Flaky
Test\r\nRunner](1ac033d7-6cc1-4789-9a2b-6c7b8c34f67c)\r\n\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"d9e2d06512196ff6800a8441fc4605c258f206dd"}},{"branch":"8.13","label":"v8.13.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
2023-12-06 09:05:10 -07:00
Kibana Machine
8e55919fe7
[8.11] [Obs UX] Fix infra home_page test (#172572) (#172688)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Obs UX] Fix infra home_page test
(#172572)](https://github.com/elastic/kibana/pull/172572)

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

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

<!--BACKPORT [{"author":{"name":"Carlos
Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-12-06T14:41:30Z","message":"[Obs
UX] Fix infra home_page test (#172572)\n\nfixes
https://github.com/elastic/kibana/issues/172373\r\n\r\n##
Summary\r\n\r\nIncreases the timeout to verify whether the tooltip is
still visible on\r\nthe
page\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4177","sha":"a31ec33bf90211e040c5d959fec283e8c38222cf","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.12.0","Team:obs-ux-infra_services","v8.13.0"],"number":172572,"url":"https://github.com/elastic/kibana/pull/172572","mergeCommit":{"message":"[Obs
UX] Fix infra home_page test (#172572)\n\nfixes
https://github.com/elastic/kibana/issues/172373\r\n\r\n##
Summary\r\n\r\nIncreases the timeout to verify whether the tooltip is
still visible on\r\nthe
page\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4177","sha":"a31ec33bf90211e040c5d959fec283e8c38222cf"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/172572","number":172572,"mergeCommit":{"message":"[Obs
UX] Fix infra home_page test (#172572)\n\nfixes
https://github.com/elastic/kibana/issues/172373\r\n\r\n##
Summary\r\n\r\nIncreases the timeout to verify whether the tooltip is
still visible on\r\nthe
page\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4177","sha":"a31ec33bf90211e040c5d959fec283e8c38222cf"}},{"branch":"8.13","label":"v8.13.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Carlos Crespo <crespocarlos@users.noreply.github.com>
2023-12-06 08:44:02 -07:00
Kibana Machine
92746356b6
[8.11] [Connectors][ServiceNow ITOM] Edit required labels and automate screenshots (#172229) (#172516)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Connectors][ServiceNow ITOM] Edit required labels and automate
screenshots (#172229)](https://github.com/elastic/kibana/pull/172229)

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

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

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-12-04T19:50:07Z","message":"[Connectors][ServiceNow
ITOM] Edit required labels and automate screenshots
(#172229)","sha":"e69063e08256b315175af9f749de762197537ca3","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","docs","Feature:Actions/ConnectorTypes","backport:prev-minor","v8.12.0","v8.12.1"],"number":172229,"url":"https://github.com/elastic/kibana/pull/172229","mergeCommit":{"message":"[Connectors][ServiceNow
ITOM] Edit required labels and automate screenshots
(#172229)","sha":"e69063e08256b315175af9f749de762197537ca3"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/172229","number":172229,"mergeCommit":{"message":"[Connectors][ServiceNow
ITOM] Edit required labels and automate screenshots
(#172229)","sha":"e69063e08256b315175af9f749de762197537ca3"}},{"branch":"8.12","label":"v8.12.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-12-04 14:02:58 -07:00
Kibana Machine
02784994f2
[8.11] [performance] Move scalability and load APM to e2e-perf cluster (#172494) (#172508)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[performance] Move scalability and load APM to e2e-perf cluster
(#172494)](https://github.com/elastic/kibana/pull/172494)

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

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2023-12-04T17:56:36Z","message":"[performance]
Move scalability and load APM to e2e-perf cluster (#172494)\n\nIn
preparation for a cluster migration. These metrics will remain on
the\r\ne2e cluster
post-migration.","sha":"6e7b44641f87ad28c9c3f3c3ee45524c39f3a899","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:QA","release_note:skip","backport:all-open","v8.12.0"],"number":172494,"url":"https://github.com/elastic/kibana/pull/172494","mergeCommit":{"message":"[performance]
Move scalability and load APM to e2e-perf cluster (#172494)\n\nIn
preparation for a cluster migration. These metrics will remain on
the\r\ne2e cluster
post-migration.","sha":"6e7b44641f87ad28c9c3f3c3ee45524c39f3a899"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/172494","number":172494,"mergeCommit":{"message":"[performance]
Move scalability and load APM to e2e-perf cluster (#172494)\n\nIn
preparation for a cluster migration. These metrics will remain on
the\r\ne2e cluster
post-migration.","sha":"6e7b44641f87ad28c9c3f3c3ee45524c39f3a899"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
2023-12-04 12:04:48 -07:00
Juan Pablo Djeredjian
f1cf92c106
[8.11] [Security Solution] Fixes flaky Cypres test rules_table_selection·cy·ts by disabling auto refresh (#171414) (#171715)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Security Solution] Fixes flaky Cypres test
`rules_table_selection·cy·ts` by disabling auto refresh
(#171414)](https://github.com/elastic/kibana/pull/171414)

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

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

<!--BACKPORT [{"author":{"name":"Juan Pablo
Djeredjian","email":"jpdjeredjian@gmail.com"},"sourceCommit":{"committedDate":"2023-11-17T09:27:06Z","message":"[Security
Solution] Fixes flaky Cypres test `rules_table_selection·cy·ts` by
disabling auto refresh (#171414)\n\nFixes:
https://github.com/elastic/kibana/issues/164279\r\n\r\n##
Summary\r\n\r\n- Fixes flake reported in
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rules_table/rules_table_selection·cy·ts`.\r\n-
`selectNumberOfRules` helper is known to fail when the focus on a
checkbox is lost due to reordering of the rules table due to an
autorefresh taking place.\r\n- This PRs disables autorefresh to prevent
that.\r\n\r\n## Flaky test runner\r\n\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4015\r\n\r\n##
For maintainers\r\n\r\n- [ ] 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)","sha":"d727eae163c1e2502ab707e47f4e4820c3b4c751","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","failed-test","release_note:skip","backport:skip","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","v8.12.0"],"number":171414,"url":"https://github.com/elastic/kibana/pull/171414","mergeCommit":{"message":"[Security
Solution] Fixes flaky Cypres test `rules_table_selection·cy·ts` by
disabling auto refresh (#171414)\n\nFixes:
https://github.com/elastic/kibana/issues/164279\r\n\r\n##
Summary\r\n\r\n- Fixes flake reported in
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rules_table/rules_table_selection·cy·ts`.\r\n-
`selectNumberOfRules` helper is known to fail when the focus on a
checkbox is lost due to reordering of the rules table due to an
autorefresh taking place.\r\n- This PRs disables autorefresh to prevent
that.\r\n\r\n## Flaky test runner\r\n\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4015\r\n\r\n##
For maintainers\r\n\r\n- [ ] 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)","sha":"d727eae163c1e2502ab707e47f4e4820c3b4c751"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/171414","number":171414,"mergeCommit":{"message":"[Security
Solution] Fixes flaky Cypres test `rules_table_selection·cy·ts` by
disabling auto refresh (#171414)\n\nFixes:
https://github.com/elastic/kibana/issues/164279\r\n\r\n##
Summary\r\n\r\n- Fixes flake reported in
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rules_table/rules_table_selection·cy·ts`.\r\n-
`selectNumberOfRules` helper is known to fail when the focus on a
checkbox is lost due to reordering of the rules table due to an
autorefresh taking place.\r\n- This PRs disables autorefresh to prevent
that.\r\n\r\n## Flaky test runner\r\n\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4015\r\n\r\n##
For maintainers\r\n\r\n- [ ] 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)","sha":"d727eae163c1e2502ab707e47f4e4820c3b4c751"}}]}]
BACKPORT-->

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-11-23 09:04:21 -07:00
Kibana Machine
ab8d894a38
[8.11] [Serverless][Security Solution][Endpoint] Remove use of hooks to check access to.lists-* for endpoint exceptions access (#171412) (#171794)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Serverless][Security Solution][Endpoint] Remove use of hooks to
check access to`.lists-*` for endpoint exceptions access
(#171412)](https://github.com/elastic/kibana/pull/171412)

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

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

<!--BACKPORT
[{"author":{"name":"Ash","email":"1849116+ashokaditya@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-11-22T19:10:50Z","message":"[Serverless][Security
Solution][Endpoint] Remove use of hooks to check access to`.lists-*` for
endpoint exceptions access (#171412)\n\n## Summary\r\n\r\nInstead of
using `useListsConfig` this PR uses `useListPrivileges` to\r\nverify
access to `.lists-*` index pattern.\r\n\r\nfollow up of
elastic/kibana/pull/165613\r\nrelated elastic/kibana/pull/170671 (closed
in favour of this)\r\nfixes elastic/kibana/issues/169268\r\n\r\n###
Checklist\r\n\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8c3322ed44ccfbc4e91e0e9ef31f77b79c549cb8","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","OLM
Sprint","v8.11.0","v8.12.0","v8.11.1"],"number":171412,"url":"https://github.com/elastic/kibana/pull/171412","mergeCommit":{"message":"[Serverless][Security
Solution][Endpoint] Remove use of hooks to check access to`.lists-*` for
endpoint exceptions access (#171412)\n\n## Summary\r\n\r\nInstead of
using `useListsConfig` this PR uses `useListPrivileges` to\r\nverify
access to `.lists-*` index pattern.\r\n\r\nfollow up of
elastic/kibana/pull/165613\r\nrelated elastic/kibana/pull/170671 (closed
in favour of this)\r\nfixes elastic/kibana/issues/169268\r\n\r\n###
Checklist\r\n\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8c3322ed44ccfbc4e91e0e9ef31f77b79c549cb8"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/171412","number":171412,"mergeCommit":{"message":"[Serverless][Security
Solution][Endpoint] Remove use of hooks to check access to`.lists-*` for
endpoint exceptions access (#171412)\n\n## Summary\r\n\r\nInstead of
using `useListsConfig` this PR uses `useListPrivileges` to\r\nverify
access to `.lists-*` index pattern.\r\n\r\nfollow up of
elastic/kibana/pull/165613\r\nrelated elastic/kibana/pull/170671 (closed
in favour of this)\r\nfixes elastic/kibana/issues/169268\r\n\r\n###
Checklist\r\n\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8c3322ed44ccfbc4e91e0e9ef31f77b79c549cb8"}}]}]
BACKPORT-->

Co-authored-by: Ash <1849116+ashokaditya@users.noreply.github.com>
2023-11-23 08:34:19 -07:00
Julia Bardi
eec5208619
[8.11][Fleet] only add time_series_metric if tsdb enabled (#171712) (#171828)
Backport https://github.com/elastic/kibana/pull/171712 to 8.11
2023-11-23 16:32:48 +01:00
Kibana Machine
c0735c61ee
[8.11] [QA] Change default time interval in upgrade tests for stack integration (#171705) (#171817)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[QA] Change default time interval in upgrade tests for stack
integration (#171705)](https://github.com/elastic/kibana/pull/171705)

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

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

<!--BACKPORT [{"author":{"name":"Marius
Dragomir","email":"marius-dr@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-11-23T06:51:17Z","message":"[QA]
Change default time interval in upgrade tests for stack integration
(#171705)\n\n## Summary\r\n\r\nSimilar to
https://github.com/elastic/kibana/pull/170483, it just fixes\r\nthe
interval in one other
place.","sha":"358cff48f1e632041f9d31318e4cdee2b5fe99f9","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","Team:QA","release_note:skip","test-stack-integration","v8.12.0","v8.11.2"],"number":171705,"url":"https://github.com/elastic/kibana/pull/171705","mergeCommit":{"message":"[QA]
Change default time interval in upgrade tests for stack integration
(#171705)\n\n## Summary\r\n\r\nSimilar to
https://github.com/elastic/kibana/pull/170483, it just fixes\r\nthe
interval in one other
place.","sha":"358cff48f1e632041f9d31318e4cdee2b5fe99f9"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/171705","number":171705,"mergeCommit":{"message":"[QA]
Change default time interval in upgrade tests for stack integration
(#171705)\n\n## Summary\r\n\r\nSimilar to
https://github.com/elastic/kibana/pull/170483, it just fixes\r\nthe
interval in one other
place.","sha":"358cff48f1e632041f9d31318e4cdee2b5fe99f9"}},{"branch":"8.11","label":"v8.11.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Marius Dragomir <marius-dr@users.noreply.github.com>
2023-11-23 00:53:54 -07:00
Kibana Machine
416cc7f8c0
[8.11] Adding user profiles tests for regular and serverless (#171554) (#171758)
# Backport

This will backport the following commits from `main` to `8.11`:
- [Adding user profiles tests for regular and serverless
(#171554)](https://github.com/elastic/kibana/pull/171554)

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

### 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":"2023-11-22T15:43:03Z","message":"Adding
user profiles tests for regular and serverless (#171554)\n\n##
Summary\r\n\r\nAdding functional tests for User Profiles and Dark
Mode\r\n\r\n\r\n## Flaky Test Runner for new
tests\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4034\r\n🟢","sha":"66019dfe057734f4f45035e7df101822e1bcdcc5","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.12.0"],"number":171554,"url":"https://github.com/elastic/kibana/pull/171554","mergeCommit":{"message":"Adding
user profiles tests for regular and serverless (#171554)\n\n##
Summary\r\n\r\nAdding functional tests for User Profiles and Dark
Mode\r\n\r\n\r\n## Flaky Test Runner for new
tests\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4034\r\n🟢","sha":"66019dfe057734f4f45035e7df101822e1bcdcc5"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/171554","number":171554,"mergeCommit":{"message":"Adding
user profiles tests for regular and serverless (#171554)\n\n##
Summary\r\n\r\nAdding functional tests for User Profiles and Dark
Mode\r\n\r\n\r\n## Flaky Test Runner for new
tests\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/4034\r\n🟢","sha":"66019dfe057734f4f45035e7df101822e1bcdcc5"}}]}]
BACKPORT-->

Co-authored-by: Kurt <kc13greiner@users.noreply.github.com>
2023-11-22 12:33:52 -05:00
Kibana Machine
dbf07605ac
[8.11] Always throw error objects - never strings (#171498) (#171547)
# Backport

This will backport the following commits from `main` to `8.11`:
- [Always throw error objects - never strings
(#171498)](https://github.com/elastic/kibana/pull/171498)

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

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2023-11-20T14:23:16Z","message":"Always
throw error objects - never strings
(#171498)","sha":"4f9094caf3cc4781137b7cfccbe2e1858f4f39c0","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","v8.12.0"],"number":171498,"url":"https://github.com/elastic/kibana/pull/171498","mergeCommit":{"message":"Always
throw error objects - never strings
(#171498)","sha":"4f9094caf3cc4781137b7cfccbe2e1858f4f39c0"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/171498","number":171498,"mergeCommit":{"message":"Always
throw error objects - never strings
(#171498)","sha":"4f9094caf3cc4781137b7cfccbe2e1858f4f39c0"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2023-11-20 08:59:59 -07:00
Dzmitry Lemechko
a094ddd412
[8.11] [ftr] split alerting api-integration group2 (#171105) (#171468)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[ftr] split alerting api-integration group2
(#171105)](https://github.com/elastic/kibana/pull/171105)

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

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

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2023-11-16T22:59:35Z","message":"[ftr]
split alerting api-integration group2 (#171105)\n\n##
Summary\r\n\r\nSplitting some of the long running Alerting FTR
configs:\r\n\r\n| Config Path | Runtime |\r\n| ------------- |
-------------
|\r\n|\r\nx-pack/test/alerting_api_integration/security_and_spaces/group2/config.ts\r\n|
36m 55s
|\r\n|\r\nx-pack/test/alerting_api_integration/security_and_spaces/group2/config_non_dedicated_task_runner.ts\r\n|
36m 58s |\r\n\r\n<img width=\"1576\"
alt=\"image\"\r\nsrc=\"c73374c6-d769-4536-a277-5a2a38b83fa4\">\r\n\r\nAfter
split:\r\n\r\n| Config Path | Runtime |\r\n| ------------- |
-------------
|\r\n|\r\nx-pack/test/alerting_api_integration/security_and_spaces/group2/config.ts\r\n|
22m 59s
|\r\n|\r\nx-pack/test/alerting_api_integration/security_and_spaces/group2/config_non_dedicated_task_runner.ts\r\n|
23m 15s
|\r\n|\r\nx-pack/test/alerting_api_integration/security_and_spaces/group4/config.ts\r\n|
22m 26s
|\r\n|\r\nx-pack/test/alerting_api_integration/security_and_spaces/group4/config_non_dedicated_task_runner.ts\r\n|
21m 36s
|","sha":"44fa330086eee20e462296845650ea111d8b76fc","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","FTR","v8.12.0","v8.11.1","v8.10.5"],"number":171105,"url":"https://github.com/elastic/kibana/pull/171105","mergeCommit":{"message":"[ftr]
split alerting api-integration group2 (#171105)\n\n##
Summary\r\n\r\nSplitting some of the long running Alerting FTR
configs:\r\n\r\n| Config Path | Runtime |\r\n| ------------- |
-------------
|\r\n|\r\nx-pack/test/alerting_api_integration/security_and_spaces/group2/config.ts\r\n|
36m 55s
|\r\n|\r\nx-pack/test/alerting_api_integration/security_and_spaces/group2/config_non_dedicated_task_runner.ts\r\n|
36m 58s |\r\n\r\n<img width=\"1576\"
alt=\"image\"\r\nsrc=\"c73374c6-d769-4536-a277-5a2a38b83fa4\">\r\n\r\nAfter
split:\r\n\r\n| Config Path | Runtime |\r\n| ------------- |
-------------
|\r\n|\r\nx-pack/test/alerting_api_integration/security_and_spaces/group2/config.ts\r\n|
22m 59s
|\r\n|\r\nx-pack/test/alerting_api_integration/security_and_spaces/group2/config_non_dedicated_task_runner.ts\r\n|
23m 15s
|\r\n|\r\nx-pack/test/alerting_api_integration/security_and_spaces/group4/config.ts\r\n|
22m 26s
|\r\n|\r\nx-pack/test/alerting_api_integration/security_and_spaces/group4/config_non_dedicated_task_runner.ts\r\n|
21m 36s
|","sha":"44fa330086eee20e462296845650ea111d8b76fc"}},"sourceBranch":"main","suggestedTargetBranches":["8.11","8.10"],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/171105","number":171105,"mergeCommit":{"message":"[ftr]
split alerting api-integration group2 (#171105)\n\n##
Summary\r\n\r\nSplitting some of the long running Alerting FTR
configs:\r\n\r\n| Config Path | Runtime |\r\n| ------------- |
-------------
|\r\n|\r\nx-pack/test/alerting_api_integration/security_and_spaces/group2/config.ts\r\n|
36m 55s
|\r\n|\r\nx-pack/test/alerting_api_integration/security_and_spaces/group2/config_non_dedicated_task_runner.ts\r\n|
36m 58s |\r\n\r\n<img width=\"1576\"
alt=\"image\"\r\nsrc=\"c73374c6-d769-4536-a277-5a2a38b83fa4\">\r\n\r\nAfter
split:\r\n\r\n| Config Path | Runtime |\r\n| ------------- |
-------------
|\r\n|\r\nx-pack/test/alerting_api_integration/security_and_spaces/group2/config.ts\r\n|
22m 59s
|\r\n|\r\nx-pack/test/alerting_api_integration/security_and_spaces/group2/config_non_dedicated_task_runner.ts\r\n|
23m 15s
|\r\n|\r\nx-pack/test/alerting_api_integration/security_and_spaces/group4/config.ts\r\n|
22m 26s
|\r\n|\r\nx-pack/test/alerting_api_integration/security_and_spaces/group4/config_non_dedicated_task_runner.ts\r\n|
21m 36s
|","sha":"44fa330086eee20e462296845650ea111d8b76fc"}},{"branch":"8.11","label":"v8.11.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.10","label":"v8.10.5","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-11-18 09:59:25 -06:00
Jiawei Wu
46e0cda150
[8.11] [RAM][Bug] Fix bug preventing filters from being added to conditional actions (#171048) (#171362)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[RAM][Bug] Fix bug preventing filters from being added to conditional
actions (#171048)](https://github.com/elastic/kibana/pull/171048)

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

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

<!--BACKPORT [{"author":{"name":"Jiawei
Wu","email":"74562234+JiaweiWu@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-11-15T19:38:50Z","message":"[RAM][Bug]
Fix bug preventing filters from being added to conditional actions
(#171048)\n\n## Summary\r\nResolves:
https://github.com/elastic/kibana/issues/171036\r\n\r\nFixes a bug where
the schema name for the conditional action filter\r\n`$state` was
incorrectly name. This prevented the user from adding\r\nfilters to
conditional actions as the schema validation would reject
the\r\nrequest.\r\n\r\n### To verify the fix:\r\n\r\n1. Create a
rule\r\n2. Add a conditional action\r\n3. Assert that filters can be
added to the rule\r\n4. Rule is saved\r\n5. Repeat 1 - 4 but this time,
update the rule. \r\n\r\n### Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"fbb232815b85961ac09b6abbe369eb7b3760752d","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","Feature:Alerting/RulesManagement","v8.12.0","v8.11.1","v8.10.5"],"number":171048,"url":"https://github.com/elastic/kibana/pull/171048","mergeCommit":{"message":"[RAM][Bug]
Fix bug preventing filters from being added to conditional actions
(#171048)\n\n## Summary\r\nResolves:
https://github.com/elastic/kibana/issues/171036\r\n\r\nFixes a bug where
the schema name for the conditional action filter\r\n`$state` was
incorrectly name. This prevented the user from adding\r\nfilters to
conditional actions as the schema validation would reject
the\r\nrequest.\r\n\r\n### To verify the fix:\r\n\r\n1. Create a
rule\r\n2. Add a conditional action\r\n3. Assert that filters can be
added to the rule\r\n4. Rule is saved\r\n5. Repeat 1 - 4 but this time,
update the rule. \r\n\r\n### Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"fbb232815b85961ac09b6abbe369eb7b3760752d"}},"sourceBranch":"main","suggestedTargetBranches":["8.11","8.10"],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/171048","number":171048,"mergeCommit":{"message":"[RAM][Bug]
Fix bug preventing filters from being added to conditional actions
(#171048)\n\n## Summary\r\nResolves:
https://github.com/elastic/kibana/issues/171036\r\n\r\nFixes a bug where
the schema name for the conditional action filter\r\n`$state` was
incorrectly name. This prevented the user from adding\r\nfilters to
conditional actions as the schema validation would reject
the\r\nrequest.\r\n\r\n### To verify the fix:\r\n\r\n1. Create a
rule\r\n2. Add a conditional action\r\n3. Assert that filters can be
added to the rule\r\n4. Rule is saved\r\n5. Repeat 1 - 4 but this time,
update the rule. \r\n\r\n### Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"fbb232815b85961ac09b6abbe369eb7b3760752d"}},{"branch":"8.11","label":"v8.11.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.10","label":"v8.10.5","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2023-11-16 08:34:39 -05:00
Tomasz Ciecierski
b8d00024a1
[8.11] [EDR Workflows] Verify flaky osquery tests (#169749) (#170930) 2023-11-14 09:12:17 +01:00
Pablo Machado
a1b0773aaf
[8.11] [Security Solutions] Update risk score tables to filter by timerange (#168826) (#170928)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Security Solutions] Update risk score tables to filter by timerange
(#168826)](https://github.com/elastic/kibana/pull/168826)

Now that the 8.11.0 release is closed
https://github.com/elastic/dev/issues/2367 we can merge #168826 to
8.11.1



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

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

<!--BACKPORT [{"author":{"name":"Pablo
Machado","email":"machadoum@gmail.com"},"sourceCommit":{"committedDate":"2023-10-19T10:30:28Z","message":"[Security
Solutions] Update risk score tables to filter by timerange
(#168826)\n\nissue:
https://github.com/elastic/kibana/issues/162451\r\n\r\n##
Summary\r\n\r\n* Update Entity analytics dashboard to filter by
timerange and to\r\ndisplay timestamp field\r\n* Update Users risk score
tab to filter by timerange and to display\r\ntimestamp field\r\n* Update
Hosts risk score tab to filter by timerange and to display\r\ntimestamp
field\r\n* Delete tooltip that used to warn users that risk tables din't
filter\r\nby timerange\r\n\r\n\r\n<img width=\"1501\" alt=\"Screenshot
2023-10-13 at 11 54
19\"\r\nsrc=\"a99e6ec7-0cbd-44a9-b1b1-b2dc9f4ad7cf\">\r\n<img
width=\"1506\" alt=\"Screenshot 2023-10-13 at 11 54
38\"\r\nsrc=\"78f59c54-9210-4d09-8e22-bdab1b2103c5\">\r\n<img
width=\"1497\" alt=\"Screenshot 2023-10-13 at 11 54
53\"\r\nsrc=\"35c19ee4-3cbc-42f5-96c1-1c63dc47300b\">\r\n\r\n\r\n\r\n###
How to test\r\n* Create alerts and enable the risk engine\r\n* Check if
the Entity analytics dashboard filters by timerange\r\n* Check if the
Users risk score tab filters by timerange\r\n* Check if the Hosts risk
score tab filters by timerange\r\n* Check if the risk score on top of
the user details page does NOT\r\nfilter by timerange\r\n* Check if the
risk score inside flyouts (Alerts, users and hosts) does\r\nNOT filter
by timerange\r\n* Check if the info tooltips about the timerange filter
were removed\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] Any text added
follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"e12cfc157ec255a2d3655168c0ec0a08182ac444","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","backport:skip","Team:Threat
Hunting","Team: SecuritySolution","Theme:
entity_analytics","Feature:Entity
Analytics","v8.12.0","v8.11.1"],"number":168826,"url":"https://github.com/elastic/kibana/pull/168826","mergeCommit":{"message":"[Security
Solutions] Update risk score tables to filter by timerange
(#168826)\n\nissue:
https://github.com/elastic/kibana/issues/162451\r\n\r\n##
Summary\r\n\r\n* Update Entity analytics dashboard to filter by
timerange and to\r\ndisplay timestamp field\r\n* Update Users risk score
tab to filter by timerange and to display\r\ntimestamp field\r\n* Update
Hosts risk score tab to filter by timerange and to display\r\ntimestamp
field\r\n* Delete tooltip that used to warn users that risk tables din't
filter\r\nby timerange\r\n\r\n\r\n<img width=\"1501\" alt=\"Screenshot
2023-10-13 at 11 54
19\"\r\nsrc=\"a99e6ec7-0cbd-44a9-b1b1-b2dc9f4ad7cf\">\r\n<img
width=\"1506\" alt=\"Screenshot 2023-10-13 at 11 54
38\"\r\nsrc=\"78f59c54-9210-4d09-8e22-bdab1b2103c5\">\r\n<img
width=\"1497\" alt=\"Screenshot 2023-10-13 at 11 54
53\"\r\nsrc=\"35c19ee4-3cbc-42f5-96c1-1c63dc47300b\">\r\n\r\n\r\n\r\n###
How to test\r\n* Create alerts and enable the risk engine\r\n* Check if
the Entity analytics dashboard filters by timerange\r\n* Check if the
Users risk score tab filters by timerange\r\n* Check if the Hosts risk
score tab filters by timerange\r\n* Check if the risk score on top of
the user details page does NOT\r\nfilter by timerange\r\n* Check if the
risk score inside flyouts (Alerts, users and hosts) does\r\nNOT filter
by timerange\r\n* Check if the info tooltips about the timerange filter
were removed\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] Any text added
follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"e12cfc157ec255a2d3655168c0ec0a08182ac444"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/168826","number":168826,"mergeCommit":{"message":"[Security
Solutions] Update risk score tables to filter by timerange
(#168826)\n\nissue:
https://github.com/elastic/kibana/issues/162451\r\n\r\n##
Summary\r\n\r\n* Update Entity analytics dashboard to filter by
timerange and to\r\ndisplay timestamp field\r\n* Update Users risk score
tab to filter by timerange and to display\r\ntimestamp field\r\n* Update
Hosts risk score tab to filter by timerange and to display\r\ntimestamp
field\r\n* Delete tooltip that used to warn users that risk tables din't
filter\r\nby timerange\r\n\r\n\r\n<img width=\"1501\" alt=\"Screenshot
2023-10-13 at 11 54
19\"\r\nsrc=\"a99e6ec7-0cbd-44a9-b1b1-b2dc9f4ad7cf\">\r\n<img
width=\"1506\" alt=\"Screenshot 2023-10-13 at 11 54
38\"\r\nsrc=\"78f59c54-9210-4d09-8e22-bdab1b2103c5\">\r\n<img
width=\"1497\" alt=\"Screenshot 2023-10-13 at 11 54
53\"\r\nsrc=\"35c19ee4-3cbc-42f5-96c1-1c63dc47300b\">\r\n\r\n\r\n\r\n###
How to test\r\n* Create alerts and enable the risk engine\r\n* Check if
the Entity analytics dashboard filters by timerange\r\n* Check if the
Users risk score tab filters by timerange\r\n* Check if the Hosts risk
score tab filters by timerange\r\n* Check if the risk score on top of
the user details page does NOT\r\nfilter by timerange\r\n* Check if the
risk score inside flyouts (Alerts, users and hosts) does\r\nNOT filter
by timerange\r\n* Check if the info tooltips about the timerange filter
were removed\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] Any text added
follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"e12cfc157ec255a2d3655168c0ec0a08182ac444"}},{"branch":"8.11","label":"v8.11.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/169502","number":169502,"state":"MERGED","mergeCommit":{"sha":"0fea774ea1c4fcf4424c44c1e4aa8d312ff2252a","message":"[8.11]
[Security Solutions] Update risk score tables to filter by timerange
(#168826) (#169502)\n\n# Backport\r\n\r\nThis will backport the
following commits from `main` to `8.11`:\r\n- [[Security Solutions]
Update risk score tables to filter by
timerange\r\n(#168826)](https://github.com/elastic/kibana/pull/168826)\r\n\r\n<!---
Backport version: 8.9.8 -->\r\n\r\n### Questions ?\r\nPlease refer to
the [Backport
tool\r\ndocumentation](https://github.com/sqren/backport)\r\n\r\n<!--BACKPORT
[{\"author\":{\"name\":\"Pablo\r\nMachado\",\"email\":\"machadoum@gmail.com\"},\"sourceCommit\":{\"committedDate\":\"2023-10-19T10:30:28Z\",\"message\":\"[Security\r\nSolutions]
Update risk score tables to filter by
timerange\r\n(#168826)\\n\\nissue:\r\nhttps://github.com/elastic/kibana/issues/162451\\r\\n\\r\\n##\r\nSummary\\r\\n\\r\\n*
Update Entity analytics dashboard to filter by\r\ntimerange and
to\\r\\ndisplay timestamp field\\r\\n* Update Users risk score\r\ntab to
filter by timerange and to display\\r\\ntimestamp field\\r\\n*
Update\r\nHosts risk score tab to filter by timerange and to
display\\r\\ntimestamp\r\nfield\\r\\n* Delete tooltip that used to warn
users that risk tables din't\r\nfilter\\r\\nby
timerange\\r\\n\\r\\n\\r\\n<img width=\\\"1501\\\"
alt=\\\"Screenshot\r\n2023-10-13 at 11
54\r\n19\\\"\\r\\nsrc=\\\"a99e6ec7-0cbd-44a9-b1b1-b2dc9f4ad7cf\\\">\\r\\n<img\r\nwidth=\\\"1506\\\"
alt=\\\"Screenshot 2023-10-13 at 11
54\r\n38\\\"\\r\\nsrc=\\\"78f59c54-9210-4d09-8e22-bdab1b2103c5\\\">\\r\\n<img\r\nwidth=\\\"1497\\\"
alt=\\\"Screenshot 2023-10-13 at 11
54\r\n53\\\"\\r\\nsrc=\\\"35c19ee4-3cbc-42f5-96c1-1c63dc47300b\\\">\\r\\n\\r\\n\\r\\n\\r\\n###\r\nHow
to test\\r\\n* Create alerts and enable the risk engine\\r\\n* Check
if\r\nthe Entity analytics dashboard filters by timerange\\r\\n* Check
if the\r\nUsers risk score tab filters by timerange\\r\\n* Check if the
Hosts risk\r\nscore tab filters by timerange\\r\\n* Check if the risk
score on top of\r\nthe user details page does NOT\\r\\nfilter by
timerange\\r\\n* Check if the\r\nrisk score inside flyouts (Alerts,
users and hosts) does\\r\\nNOT filter\r\nby timerange\\r\\n* Check if
the info tooltips about the timerange filter\r\nwere
removed\\r\\n\\r\\n\\r\\n\\r\\n### Checklist\\r\\n\\r\\n- [x] Any text
added\r\nfollows
[EUI's\r\nwriting\\r\\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),\r\nuses\\r\\nsentence
case text and
includes\r\n[i18n\\r\\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\\r\\n-\r\n[x]
[Unit
or\r\nfunctional\\r\\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\\r\\nwere\r\nupdated
or added to match the most
common\r\nscenarios\",\"sha\":\"e12cfc157ec255a2d3655168c0ec0a08182ac444\",\"branchLabelMapping\":{\"^v8.12.0$\":\"main\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:enhancement\",\"backport:skip\",\"Team:Threat\r\nHunting\",\"Team:
SecuritySolution\",\"Theme:\r\nentity_analytics\",\"Feature:Entity\r\nAnalytics\",\"v8.12.0\"],\"number\":168826,\"url\":\"https://github.com/elastic/kibana/pull/168826\",\"mergeCommit\":{\"message\":\"[Security\r\nSolutions]
Update risk score tables to filter by
timerange\r\n(#168826)\\n\\nissue:\r\nhttps://github.com/elastic/kibana/issues/162451\\r\\n\\r\\n##\r\nSummary\\r\\n\\r\\n*
Update Entity analytics dashboard to filter by\r\ntimerange and
to\\r\\ndisplay timestamp field\\r\\n* Update Users risk score\r\ntab to
filter by timerange and to display\\r\\ntimestamp field\\r\\n*
Update\r\nHosts risk score tab to filter by timerange and to
display\\r\\ntimestamp\r\nfield\\r\\n* Delete tooltip that used to warn
users that risk tables din't\r\nfilter\\r\\nby
timerange\\r\\n\\r\\n\\r\\n<img width=\\\"1501\\\"
alt=\\\"Screenshot\r\n2023-10-13 at 11
54\r\n19\\\"\\r\\nsrc=\\\"a99e6ec7-0cbd-44a9-b1b1-b2dc9f4ad7cf\\\">\\r\\n<img\r\nwidth=\\\"1506\\\"
alt=\\\"Screenshot 2023-10-13 at 11
54\r\n38\\\"\\r\\nsrc=\\\"78f59c54-9210-4d09-8e22-bdab1b2103c5\\\">\\r\\n<img\r\nwidth=\\\"1497\\\"
alt=\\\"Screenshot 2023-10-13 at 11
54\r\n53\\\"\\r\\nsrc=\\\"35c19ee4-3cbc-42f5-96c1-1c63dc47300b\\\">\\r\\n\\r\\n\\r\\n\\r\\n###\r\nHow
to test\\r\\n* Create alerts and enable the risk engine\\r\\n* Check
if\r\nthe Entity analytics dashboard filters by timerange\\r\\n* Check
if the\r\nUsers risk score tab filters by timerange\\r\\n* Check if the
Hosts risk\r\nscore tab filters by timerange\\r\\n* Check if the risk
score on top of\r\nthe user details page does NOT\\r\\nfilter by
timerange\\r\\n* Check if the\r\nrisk score inside flyouts (Alerts,
users and hosts) does\\r\\nNOT filter\r\nby timerange\\r\\n* Check if
the info tooltips about the timerange filter\r\nwere
removed\\r\\n\\r\\n\\r\\n\\r\\n### Checklist\\r\\n\\r\\n- [x] Any text
added\r\nfollows
[EUI's\r\nwriting\\r\\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),\r\nuses\\r\\nsentence
case text and
includes\r\n[i18n\\r\\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\\r\\n-\r\n[x]
[Unit
or\r\nfunctional\\r\\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\\r\\nwere\r\nupdated
or added to match the most
common\r\nscenarios\",\"sha\":\"e12cfc157ec255a2d3655168c0ec0a08182ac444\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v8.12.0\",\"labelRegex\":\"^v8.12.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/168826\",\"number\":168826,\"mergeCommit\":{\"message\":\"[Security\r\nSolutions]
Update risk score tables to filter by
timerange\r\n(#168826)\\n\\nissue:\r\nhttps://github.com/elastic/kibana/issues/162451\\r\\n\\r\\n##\r\nSummary\\r\\n\\r\\n*
Update Entity analytics dashboard to filter by\r\ntimerange and
to\\r\\ndisplay timestamp field\\r\\n* Update Users risk score\r\ntab to
filter by timerange and to display\\r\\ntimestamp field\\r\\n*
Update\r\nHosts risk score tab to filter by timerange and to
display\\r\\ntimestamp\r\nfield\\r\\n* Delete tooltip that used to warn
users that risk tables din't\r\nfilter\\r\\nby
timerange\\r\\n\\r\\n\\r\\n<img width=\\\"1501\\\"
alt=\\\"Screenshot\r\n2023-10-13 at 11
54\r\n19\\\"\\r\\nsrc=\\\"a99e6ec7-0cbd-44a9-b1b1-b2dc9f4ad7cf\\\">\\r\\n<img\r\nwidth=\\\"1506\\\"
alt=\\\"Screenshot 2023-10-13 at 11
54\r\n38\\\"\\r\\nsrc=\\\"78f59c54-9210-4d09-8e22-bdab1b2103c5\\\">\\r\\n<img\r\nwidth=\\\"1497\\\"
alt=\\\"Screenshot 2023-10-13 at 11
54\r\n53\\\"\\r\\nsrc=\\\"35c19ee4-3cbc-42f5-96c1-1c63dc47300b\\\">\\r\\n\\r\\n\\r\\n\\r\\n###\r\nHow
to test\\r\\n* Create alerts and enable the risk engine\\r\\n* Check
if\r\nthe Entity analytics dashboard filters by timerange\\r\\n* Check
if the\r\nUsers risk score tab filters by timerange\\r\\n* Check if the
Hosts risk\r\nscore tab filters by timerange\\r\\n* Check if the risk
score on top of\r\nthe user details page does NOT\\r\\nfilter by
timerange\\r\\n* Check if the\r\nrisk score inside flyouts (Alerts,
users and hosts) does\\r\\nNOT filter\r\nby timerange\\r\\n* Check if
the info tooltips about the timerange filter\r\nwere
removed\\r\\n\\r\\n\\r\\n\\r\\n### Checklist\\r\\n\\r\\n- [x] Any text
added\r\nfollows
[EUI's\r\nwriting\\r\\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),\r\nuses\\r\\nsentence
case text and
includes\r\n[i18n\\r\\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\\r\\n-\r\n[x]
[Unit
or\r\nfunctional\\r\\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\\r\\nwere\r\nupdated
or added to match the most
common\r\nscenarios\",\"sha\":\"e12cfc157ec255a2d3655168c0ec0a08182ac444\"}}]}]\r\nBACKPORT-->"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-11-09 09:14:42 -07:00
Carlos Crespo
f7ad440541
[8.11] [ObsUX] Fix hosts_view flaky test (#169823) (#170956)
fixes https://github.com/elastic/kibana/issues/166344

# Backport

This will backport the following commits from `main` to `8.11`:
- [[ObsUX] Fix hosts_view flaky test
(#169823)](https://github.com/elastic/kibana/pull/169823)

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

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

<!--BACKPORT [{"author":{"name":"Carlos
Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-10-27T10:29:23Z","message":"[ObsUX]
Fix hosts_view flaky test (#169823)\n\nfixes:
https://github.com/elastic/kibana/issues/166344\r\n\r\n##
Summary\r\n\r\nFunctional test
fix\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3739","sha":"22660304c69e9c1a27e2e700eafa22fd6fa29eeb","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","v8.12.0","Team:obs-ux-infra_services"],"number":169823,"url":"https://github.com/elastic/kibana/pull/169823","mergeCommit":{"message":"[ObsUX]
Fix hosts_view flaky test (#169823)\n\nfixes:
https://github.com/elastic/kibana/issues/166344\r\n\r\n##
Summary\r\n\r\nFunctional test
fix\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3739","sha":"22660304c69e9c1a27e2e700eafa22fd6fa29eeb"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/169823","number":169823,"mergeCommit":{"message":"[ObsUX]
Fix hosts_view flaky test (#169823)\n\nfixes:
https://github.com/elastic/kibana/issues/166344\r\n\r\n##
Summary\r\n\r\nFunctional test
fix\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3739","sha":"22660304c69e9c1a27e2e700eafa22fd6fa29eeb"}}]}]
BACKPORT-->
2023-11-09 08:58:15 -07:00
Kibana Machine
f083d2da2e
[8.11] [Fleet] Modify bulk unenroll to include inactive agents (#170249) (#170825)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Fleet] Modify bulk unenroll to include inactive agents
(#170249)](https://github.com/elastic/kibana/pull/170249)

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

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

<!--BACKPORT [{"author":{"name":"Cristina
Amico","email":"criamico@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-11-08T08:29:23Z","message":"[Fleet]
Modify bulk unenroll to include inactive agents (#170249)\n\nFixes
https://github.com/elastic/kibana/issues/169977\r\n## Summary\r\n[Fleet]
Modify bulk unenroll to include inactive agents when
passing\r\n`\"includeInactive\": true`.\r\n\r\n- This flag only works
when the agents are selected by query.\r\n- Updated the hook in the UI
to include the new flag.\r\n\r\n\r\n### Testing\r\n\r\n#### API\r\n-
Enroll some agents and make them inactive\r\n- From dev tools, run the
bulk_unenroll api with option\r\n`includeInactive`:\r\n```\r\nPOST
kbn:/api/fleet/agents/bulk_unenroll\r\n{\r\n \"agents\":
\"last_checkin<=2023-11-06\",\r\n \"revoke\": true,\r\n
\"includeInactive\": true\r\n}\r\n```\r\nThis should remove all the
agents selected in the kuery, also the\r\ninactive ones.\r\n\r\n####
UI\r\n- Enroll some agents and make them inactive\r\n- Select all agents
on all pages, from the bulk actions click on\r\n\"unenroll agents\"\r\n-
It should remove all the agents, inactive ones too.\r\n\r\n\r\n###
Checklist\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\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b2e3284d0f64fa73d807eaf33c951fa21416674a","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","backport:prev-minor","v8.12.0"],"number":170249,"url":"https://github.com/elastic/kibana/pull/170249","mergeCommit":{"message":"[Fleet]
Modify bulk unenroll to include inactive agents (#170249)\n\nFixes
https://github.com/elastic/kibana/issues/169977\r\n## Summary\r\n[Fleet]
Modify bulk unenroll to include inactive agents when
passing\r\n`\"includeInactive\": true`.\r\n\r\n- This flag only works
when the agents are selected by query.\r\n- Updated the hook in the UI
to include the new flag.\r\n\r\n\r\n### Testing\r\n\r\n#### API\r\n-
Enroll some agents and make them inactive\r\n- From dev tools, run the
bulk_unenroll api with option\r\n`includeInactive`:\r\n```\r\nPOST
kbn:/api/fleet/agents/bulk_unenroll\r\n{\r\n \"agents\":
\"last_checkin<=2023-11-06\",\r\n \"revoke\": true,\r\n
\"includeInactive\": true\r\n}\r\n```\r\nThis should remove all the
agents selected in the kuery, also the\r\ninactive ones.\r\n\r\n####
UI\r\n- Enroll some agents and make them inactive\r\n- Select all agents
on all pages, from the bulk actions click on\r\n\"unenroll agents\"\r\n-
It should remove all the agents, inactive ones too.\r\n\r\n\r\n###
Checklist\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\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b2e3284d0f64fa73d807eaf33c951fa21416674a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170249","number":170249,"mergeCommit":{"message":"[Fleet]
Modify bulk unenroll to include inactive agents (#170249)\n\nFixes
https://github.com/elastic/kibana/issues/169977\r\n## Summary\r\n[Fleet]
Modify bulk unenroll to include inactive agents when
passing\r\n`\"includeInactive\": true`.\r\n\r\n- This flag only works
when the agents are selected by query.\r\n- Updated the hook in the UI
to include the new flag.\r\n\r\n\r\n### Testing\r\n\r\n#### API\r\n-
Enroll some agents and make them inactive\r\n- From dev tools, run the
bulk_unenroll api with option\r\n`includeInactive`:\r\n```\r\nPOST
kbn:/api/fleet/agents/bulk_unenroll\r\n{\r\n \"agents\":
\"last_checkin<=2023-11-06\",\r\n \"revoke\": true,\r\n
\"includeInactive\": true\r\n}\r\n```\r\nThis should remove all the
agents selected in the kuery, also the\r\ninactive ones.\r\n\r\n####
UI\r\n- Enroll some agents and make them inactive\r\n- Select all agents
on all pages, from the bulk actions click on\r\n\"unenroll agents\"\r\n-
It should remove all the agents, inactive ones too.\r\n\r\n\r\n###
Checklist\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\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b2e3284d0f64fa73d807eaf33c951fa21416674a"}}]}]
BACKPORT-->

Co-authored-by: Cristina Amico <criamico@users.noreply.github.com>
2023-11-08 05:42:11 -07:00
Kibana Machine
809bffa694 skip failing test suite (#170690) 2023-11-07 23:11:48 -05:00
Kibana Machine
b372e86e91
[8.11] [Controls] Fix flaky a11y test (#169559) (#170771)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Controls] Fix flaky `a11y` test
(#169559)](https://github.com/elastic/kibana/pull/169559)

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

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

<!--BACKPORT [{"author":{"name":"Hannah
Mudge","email":"Heenawter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-10-24T15:48:16Z","message":"[Controls]
Fix flaky `a11y` test (#169559)\n\nCloses
https://github.com/elastic/kibana/issues/169542\r\n\r\n##
Summary\r\n\r\nFor some reason, the search session popover was being
opened, which\r\nblocked the controls button from being
clickable:\r\n\r\n\r\n![image](6882e67e-6f17-4820-8e71-14e84c3d04c2)\r\n\r\nI'm
unsure why this popover is open to begin with; this should
**only**\r\nhappen when the `searchSessionIndicator` button is clicked,
but this\r\nbutton is **not** interacted with in **any** of the
accessibility tests\r\n(that I could find). This makes me suspicious
that this is actually a\r\n**misclick** - i.e. the element that was
meant to be clicked gets moved\r\n(possibly the Dashboard \"edit\"
button?), which causes the\r\n`searchSessionIndicator` button to be
clicked instead.\r\n\r\nGoing off this theory, I've switched the
controls `a11y` tests to use\r\nthe Dashboard page's methods (which have
more safeguards in place) to\r\nnavigate to the desired dashboard rather
than clicking elements solely\r\nbased off of the `data-test-subj` like
we were previously.\r\n\r\n### [Flaky
Test\r\nRunner](74fb0d27-9cb2-4650-ba91-97865a3bd962)\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"ad932ec5d5c71c33f11cdf29dd5faa10123e1ca9","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Presentation","loe:small","release_note:skip","impact:critical","backport:prev-minor","v8.11.0","v8.12.0"],"number":169559,"url":"https://github.com/elastic/kibana/pull/169559","mergeCommit":{"message":"[Controls]
Fix flaky `a11y` test (#169559)\n\nCloses
https://github.com/elastic/kibana/issues/169542\r\n\r\n##
Summary\r\n\r\nFor some reason, the search session popover was being
opened, which\r\nblocked the controls button from being
clickable:\r\n\r\n\r\n![image](6882e67e-6f17-4820-8e71-14e84c3d04c2)\r\n\r\nI'm
unsure why this popover is open to begin with; this should
**only**\r\nhappen when the `searchSessionIndicator` button is clicked,
but this\r\nbutton is **not** interacted with in **any** of the
accessibility tests\r\n(that I could find). This makes me suspicious
that this is actually a\r\n**misclick** - i.e. the element that was
meant to be clicked gets moved\r\n(possibly the Dashboard \"edit\"
button?), which causes the\r\n`searchSessionIndicator` button to be
clicked instead.\r\n\r\nGoing off this theory, I've switched the
controls `a11y` tests to use\r\nthe Dashboard page's methods (which have
more safeguards in place) to\r\nnavigate to the desired dashboard rather
than clicking elements solely\r\nbased off of the `data-test-subj` like
we were previously.\r\n\r\n### [Flaky
Test\r\nRunner](74fb0d27-9cb2-4650-ba91-97865a3bd962)\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"ad932ec5d5c71c33f11cdf29dd5faa10123e1ca9"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/169559","number":169559,"mergeCommit":{"message":"[Controls]
Fix flaky `a11y` test (#169559)\n\nCloses
https://github.com/elastic/kibana/issues/169542\r\n\r\n##
Summary\r\n\r\nFor some reason, the search session popover was being
opened, which\r\nblocked the controls button from being
clickable:\r\n\r\n\r\n![image](6882e67e-6f17-4820-8e71-14e84c3d04c2)\r\n\r\nI'm
unsure why this popover is open to begin with; this should
**only**\r\nhappen when the `searchSessionIndicator` button is clicked,
but this\r\nbutton is **not** interacted with in **any** of the
accessibility tests\r\n(that I could find). This makes me suspicious
that this is actually a\r\n**misclick** - i.e. the element that was
meant to be clicked gets moved\r\n(possibly the Dashboard \"edit\"
button?), which causes the\r\n`searchSessionIndicator` button to be
clicked instead.\r\n\r\nGoing off this theory, I've switched the
controls `a11y` tests to use\r\nthe Dashboard page's methods (which have
more safeguards in place) to\r\nnavigate to the desired dashboard rather
than clicking elements solely\r\nbased off of the `data-test-subj` like
we were previously.\r\n\r\n### [Flaky
Test\r\nRunner](74fb0d27-9cb2-4650-ba91-97865a3bd962)\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n\r\n### For
maintainers\r\n\r\n- [ ] This was checked for breaking API changes and
was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"ad932ec5d5c71c33f11cdf29dd5faa10123e1ca9"}}]}]
BACKPORT-->

Co-authored-by: Hannah Mudge <Heenawter@users.noreply.github.com>
2023-11-07 10:35:41 -07:00
Juan Pablo Djeredjian
4ee1728803
[SecuritySolution] [8.11] Fix fleet_integration.ts API integration test flake (#170510)
Fixes: https://github.com/elastic/kibana/issues/167056

**See
[comment](https://github.com/elastic/kibana/issues/167056#issuecomment-1792287701)
in ticket.**
**This is only the fix for 8.11.**

## Summary

- Changes the installation of the `security_detection_engine` package
from the current Fleet bulk install packages endpoint to use the
endpoint that installs a single package, in order to get to a more
stable test
- Notice that the errors reported that Kibana machine are socket
hangups/timeouts and are solved on retry, so they do not block any
pipelines)

### 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)
2023-11-07 15:22:03 +01:00
Kibana Machine
5fb5adcb14 skip failing test suite (#170690) 2023-11-06 16:29:57 -05:00
Juan Pablo Djeredjian
0dec28c7ac
[8.11] [Security Solution] Unskip and enable for Serverless shared_exception_lists_management Cypress tests (#169182) (#170669)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Security Solution] Unskip and enable for Serverless
`shared_exception_lists_management` Cypress tests
(#169182)](https://github.com/elastic/kibana/pull/169182)

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

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

<!--BACKPORT [{"author":{"name":"Juan Pablo
Djeredjian","email":"jpdjeredjian@gmail.com"},"sourceCommit":{"committedDate":"2023-11-03T22:35:09Z","message":"[Security
Solution] Unskip and enable for Serverless
`shared_exception_lists_management` Cypress tests (#169182)\n\n##
Summary\r\n\r\nRunning flaky test runner
for:\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management`\r\n\r\n##
Changes\r\n\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/list_detail_page/list_details.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/manage_exceptions.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/manage_exceptions.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/shared_exception_list_page/filter_table.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/shared_exception_list_page/import_lists.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/shared_exception_list_page/manage_lists.cy.ts`\r\n**unskipped
and enabled in
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/shared_exception_list_page/read_only.cy.ts`\r\n**removed
from Serverless testing**\r\n\r\n\r\n## Related failing-test
issues\r\n1. https://github.com/elastic/kibana/issues/165874\r\n2.
https://github.com/elastic/kibana/issues/165838\r\n3.
https://github.com/elastic/kibana/issues/165795\r\n4.
https://github.com/elastic/kibana/issues/165743 - **Closed
as\r\nduplicate of _#165640**\r\n5.
https://github.com/elastic/kibana/issues/165690\r\n6.
https://github.com/elastic/kibana/issues/165640\r\n\r\n### Flaky test
runner
link\r\n\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3557#_\r\n(Only
ESS)
🟢\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3564#_\r\n(ESS
and
Serverless)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3613\r\n(Serverless
evaluated and
corrected)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3878\r\n[V3]\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3891\r\n[V4]","sha":"c0c7d1365f9e034128de8cbb03ac5733aefcd22f","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Detections
and Resp","Team:Detection
Engine","v8.11.0","v8.12.0"],"number":169182,"url":"https://github.com/elastic/kibana/pull/169182","mergeCommit":{"message":"[Security
Solution] Unskip and enable for Serverless
`shared_exception_lists_management` Cypress tests (#169182)\n\n##
Summary\r\n\r\nRunning flaky test runner
for:\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management`\r\n\r\n##
Changes\r\n\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/list_detail_page/list_details.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/manage_exceptions.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/manage_exceptions.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/shared_exception_list_page/filter_table.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/shared_exception_list_page/import_lists.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/shared_exception_list_page/manage_lists.cy.ts`\r\n**unskipped
and enabled in
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/shared_exception_list_page/read_only.cy.ts`\r\n**removed
from Serverless testing**\r\n\r\n\r\n## Related failing-test
issues\r\n1. https://github.com/elastic/kibana/issues/165874\r\n2.
https://github.com/elastic/kibana/issues/165838\r\n3.
https://github.com/elastic/kibana/issues/165795\r\n4.
https://github.com/elastic/kibana/issues/165743 - **Closed
as\r\nduplicate of _#165640**\r\n5.
https://github.com/elastic/kibana/issues/165690\r\n6.
https://github.com/elastic/kibana/issues/165640\r\n\r\n### Flaky test
runner
link\r\n\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3557#_\r\n(Only
ESS)
🟢\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3564#_\r\n(ESS
and
Serverless)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3613\r\n(Serverless
evaluated and
corrected)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3878\r\n[V3]\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3891\r\n[V4]","sha":"c0c7d1365f9e034128de8cbb03ac5733aefcd22f"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/169182","number":169182,"mergeCommit":{"message":"[Security
Solution] Unskip and enable for Serverless
`shared_exception_lists_management` Cypress tests (#169182)\n\n##
Summary\r\n\r\nRunning flaky test runner
for:\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management`\r\n\r\n##
Changes\r\n\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/list_detail_page/list_details.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/manage_exceptions.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/manage_exceptions.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/shared_exception_list_page/filter_table.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/shared_exception_list_page/import_lists.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/shared_exception_list_page/manage_lists.cy.ts`\r\n**unskipped
and enabled in
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/shared_exception_lists_management/shared_exception_list_page/read_only.cy.ts`\r\n**removed
from Serverless testing**\r\n\r\n\r\n## Related failing-test
issues\r\n1. https://github.com/elastic/kibana/issues/165874\r\n2.
https://github.com/elastic/kibana/issues/165838\r\n3.
https://github.com/elastic/kibana/issues/165795\r\n4.
https://github.com/elastic/kibana/issues/165743 - **Closed
as\r\nduplicate of _#165640**\r\n5.
https://github.com/elastic/kibana/issues/165690\r\n6.
https://github.com/elastic/kibana/issues/165640\r\n\r\n### Flaky test
runner
link\r\n\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3557#_\r\n(Only
ESS)
🟢\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3564#_\r\n(ESS
and
Serverless)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3613\r\n(Serverless
evaluated and
corrected)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3878\r\n[V3]\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3891\r\n[V4]","sha":"c0c7d1365f9e034128de8cbb03ac5733aefcd22f"}}]}]
BACKPORT-->
2023-11-06 11:35:12 -07:00
Lisa Cawley
1dfec34a94
[8.11] [DOCS] Slack api allowed channels (#169706) (#170572)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[DOCS] Slack api allowed channels
(#169706)](https://github.com/elastic/kibana/pull/169706)

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

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

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-11-03T18:37:56Z","message":"[DOCS]
Slack api allowed channels
(#169706)","sha":"8716f659227a60e468fa61a4dec4c38df4174039","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","docs","Feature:Actions/ConnectorTypes","backport:prev-minor","v8.11.0","v8.12.0"],"number":169706,"url":"https://github.com/elastic/kibana/pull/169706","mergeCommit":{"message":"[DOCS]
Slack api allowed channels
(#169706)","sha":"8716f659227a60e468fa61a4dec4c38df4174039"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/169706","number":169706,"mergeCommit":{"message":"[DOCS]
Slack api allowed channels
(#169706)","sha":"8716f659227a60e468fa61a4dec4c38df4174039"}}]}]
BACKPORT-->
2023-11-06 12:36:36 -05:00
Kibana Machine
2487b92ade
[8.11] [UnifiedSearch] Reduce length for filter badge id (#170439) (#170627)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[UnifiedSearch] Reduce length for filter badge id
(#170439)](https://github.com/elastic/kibana/pull/170439)

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

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

<!--BACKPORT [{"author":{"name":"Marco
Liberati","email":"dej611@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-11-06T10:59:55Z","message":"[UnifiedSearch]
Reduce length for filter badge id (#170439)\n\n## Summary\r\n\r\nThis PR
aims to reduce the possible long length of filter badge test
id.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"4053f711b1bd0308bbacb32dad4762b1791cdec5","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","Feature:Unified
search","backport:prev-minor","v8.12.0","v8.11.1"],"number":170439,"url":"https://github.com/elastic/kibana/pull/170439","mergeCommit":{"message":"[UnifiedSearch]
Reduce length for filter badge id (#170439)\n\n## Summary\r\n\r\nThis PR
aims to reduce the possible long length of filter badge test
id.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"4053f711b1bd0308bbacb32dad4762b1791cdec5"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170439","number":170439,"mergeCommit":{"message":"[UnifiedSearch]
Reduce length for filter badge id (#170439)\n\n## Summary\r\n\r\nThis PR
aims to reduce the possible long length of filter badge test
id.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"4053f711b1bd0308bbacb32dad4762b1791cdec5"}},{"branch":"8.11","label":"v8.11.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2023-11-06 05:33:30 -07:00
Kibana Machine
1a65a4a1e0
[8.11] [Cases] Fix flaky "add comment" tests. (#170400) (#170625)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Cases] Fix flaky "add comment" tests.
(#170400)](https://github.com/elastic/kibana/pull/170400)

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

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

<!--BACKPORT
[{"author":{"name":"Antonio","email":"antonio.coelho@elastic.co"},"sourceCommit":{"committedDate":"2023-11-06T10:45:16Z","message":"[Cases]
Fix flaky \"add comment\" tests. (#170400)\n\nFixes #168505\r\nFixes
#168506\r\nFixes #168507\r\nFixes #168508\r\nFixes #168509\r\n(I
hope)\r\n\r\n## Summary\r\n\r\nCovered most of the logic in e2e
tests.\r\n\r\nFlaky test
runner:\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3869\r\n\r\n##
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"96a4d5b63fd2fedc94905729edf06e5df7cac2aa","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","Feature:Cases","v8.11.0","v8.12.0"],"number":170400,"url":"https://github.com/elastic/kibana/pull/170400","mergeCommit":{"message":"[Cases]
Fix flaky \"add comment\" tests. (#170400)\n\nFixes #168505\r\nFixes
#168506\r\nFixes #168507\r\nFixes #168508\r\nFixes #168509\r\n(I
hope)\r\n\r\n## Summary\r\n\r\nCovered most of the logic in e2e
tests.\r\n\r\nFlaky test
runner:\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3869\r\n\r\n##
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"96a4d5b63fd2fedc94905729edf06e5df7cac2aa"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170400","number":170400,"mergeCommit":{"message":"[Cases]
Fix flaky \"add comment\" tests. (#170400)\n\nFixes #168505\r\nFixes
#168506\r\nFixes #168507\r\nFixes #168508\r\nFixes #168509\r\n(I
hope)\r\n\r\n## Summary\r\n\r\nCovered most of the logic in e2e
tests.\r\n\r\nFlaky test
runner:\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3869\r\n\r\n##
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"96a4d5b63fd2fedc94905729edf06e5df7cac2aa"}}]}]
BACKPORT-->

Co-authored-by: Antonio <antonio.coelho@elastic.co>
2023-11-06 05:27:50 -07:00
Kibana Machine
80840ede73
[8.11] [QA] Change default time interval in beats tests for stack integration (#170483) (#170486)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[QA] Change default time interval in beats tests for stack
integration (#170483)](https://github.com/elastic/kibana/pull/170483)

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

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

<!--BACKPORT [{"author":{"name":"Marius
Dragomir","email":"marius-dr@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-11-02T22:07:45Z","message":"[QA]
Change default time interval in beats tests for stack integration
(#170483)\n\n## Summary\r\n\r\nIt changes the default time interval for
filebeat/metricbeat/packetbeat\r\nintegration tests for the stack
functional upgrade tests. The data used\r\nfor creating the upgrade
snapshots is out of the \"Last 1 year\" interval\r\nused before. Now the
interval will be changed to Last 5 years (couldn't\r\nuse an absolute
date value due to the fact the same tests are used for\r\nregular smoke
where the data is
recent).","sha":"63ccc1ae6af66c67c48e99cad8ed9407dcae4387","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","Team:QA","release_note:skip","test-stack-integration","v8.12.0","v8.11.1"],"number":170483,"url":"https://github.com/elastic/kibana/pull/170483","mergeCommit":{"message":"[QA]
Change default time interval in beats tests for stack integration
(#170483)\n\n## Summary\r\n\r\nIt changes the default time interval for
filebeat/metricbeat/packetbeat\r\nintegration tests for the stack
functional upgrade tests. The data used\r\nfor creating the upgrade
snapshots is out of the \"Last 1 year\" interval\r\nused before. Now the
interval will be changed to Last 5 years (couldn't\r\nuse an absolute
date value due to the fact the same tests are used for\r\nregular smoke
where the data is
recent).","sha":"63ccc1ae6af66c67c48e99cad8ed9407dcae4387"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170483","number":170483,"mergeCommit":{"message":"[QA]
Change default time interval in beats tests for stack integration
(#170483)\n\n## Summary\r\n\r\nIt changes the default time interval for
filebeat/metricbeat/packetbeat\r\nintegration tests for the stack
functional upgrade tests. The data used\r\nfor creating the upgrade
snapshots is out of the \"Last 1 year\" interval\r\nused before. Now the
interval will be changed to Last 5 years (couldn't\r\nuse an absolute
date value due to the fact the same tests are used for\r\nregular smoke
where the data is
recent).","sha":"63ccc1ae6af66c67c48e99cad8ed9407dcae4387"}},{"branch":"8.11","label":"v8.11.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Marius Dragomir <marius-dr@users.noreply.github.com>
2023-11-02 16:14:11 -07:00
Kibana Machine
5b0b46da44
[8.11] [ResponseOps] Elasticsearch query rule with ES|QL threshold validation (#170463) (#170481)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[ResponseOps] Elasticsearch query rule with ES|QL threshold
validation (#170463)](https://github.com/elastic/kibana/pull/170463)

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

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

<!--BACKPORT [{"author":{"name":"Alexi
Doak","email":"109488926+doakalexi@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-11-02T20:00:13Z","message":"[ResponseOps]
Elasticsearch query rule with ES|QL threshold validation
(#170463)\n\nResolves
https://github.com/elastic/kibana/issues/170360\r\n\r\n##
Summary\r\n\r\nWe should be throwing an error if a user tries to create
an ESQL es\r\nquery rule where `thresholdCompartor != '>'` or `threshold
!= 0` or\r\n`timeField` is not defined.\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n### To
verify\r\n\r\n- Go to [dev
tools](http://localhost:5601/app/dev_tools#/console)\r\n- Run the
following and edit thresholdComparator, threshold, or\r\ntimeField and
verify that you see errors thrown.\r\n```\r\nPOST
kbn:/api/alerting/rule\r\n{\r\n \"params\": {\r\n \"searchType\":
\"esqlQuery\",\r\n \"esqlQuery\": {\r\n \"esql\": \"\"\"from
kibana_sample_data_logs\r\n| keep bytes, clientip, host, geo.dest\r\n|
where geo.dest != \"GB\"\r\n| stats sumbytes = sum(bytes) by clientip,
host\r\n| WHERE sumbytes > 5000\r\n| sort sumbytes desc\r\n| limit
10\"\"\"\r\n },\r\n \"timeWindowSize\": 1,\r\n \"timeWindowUnit\":
\"d\",\r\n \"thresholdComparator\": \"<\",\r\n \"threshold\": [\r\n
1000\r\n ],\r\n \"size\": 10,\r\n \"timeField\": \"date\"\r\n },\r\n
\"consumer\": \"stackAlerts\",\r\n \"rule_type_id\": \".es-query\",\r\n
\"schedule\": {\r\n \"interval\": \"5d\"\r\n },\r\n \"name\": \"test
rule\"\r\n}\r\n```","sha":"0e7798a4024b6f9f60700e60101868960172796d","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:ResponseOps","v8.11.0","v8.12.0"],"number":170463,"url":"https://github.com/elastic/kibana/pull/170463","mergeCommit":{"message":"[ResponseOps]
Elasticsearch query rule with ES|QL threshold validation
(#170463)\n\nResolves
https://github.com/elastic/kibana/issues/170360\r\n\r\n##
Summary\r\n\r\nWe should be throwing an error if a user tries to create
an ESQL es\r\nquery rule where `thresholdCompartor != '>'` or `threshold
!= 0` or\r\n`timeField` is not defined.\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n### To
verify\r\n\r\n- Go to [dev
tools](http://localhost:5601/app/dev_tools#/console)\r\n- Run the
following and edit thresholdComparator, threshold, or\r\ntimeField and
verify that you see errors thrown.\r\n```\r\nPOST
kbn:/api/alerting/rule\r\n{\r\n \"params\": {\r\n \"searchType\":
\"esqlQuery\",\r\n \"esqlQuery\": {\r\n \"esql\": \"\"\"from
kibana_sample_data_logs\r\n| keep bytes, clientip, host, geo.dest\r\n|
where geo.dest != \"GB\"\r\n| stats sumbytes = sum(bytes) by clientip,
host\r\n| WHERE sumbytes > 5000\r\n| sort sumbytes desc\r\n| limit
10\"\"\"\r\n },\r\n \"timeWindowSize\": 1,\r\n \"timeWindowUnit\":
\"d\",\r\n \"thresholdComparator\": \"<\",\r\n \"threshold\": [\r\n
1000\r\n ],\r\n \"size\": 10,\r\n \"timeField\": \"date\"\r\n },\r\n
\"consumer\": \"stackAlerts\",\r\n \"rule_type_id\": \".es-query\",\r\n
\"schedule\": {\r\n \"interval\": \"5d\"\r\n },\r\n \"name\": \"test
rule\"\r\n}\r\n```","sha":"0e7798a4024b6f9f60700e60101868960172796d"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170463","number":170463,"mergeCommit":{"message":"[ResponseOps]
Elasticsearch query rule with ES|QL threshold validation
(#170463)\n\nResolves
https://github.com/elastic/kibana/issues/170360\r\n\r\n##
Summary\r\n\r\nWe should be throwing an error if a user tries to create
an ESQL es\r\nquery rule where `thresholdCompartor != '>'` or `threshold
!= 0` or\r\n`timeField` is not defined.\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n\r\n### To
verify\r\n\r\n- Go to [dev
tools](http://localhost:5601/app/dev_tools#/console)\r\n- Run the
following and edit thresholdComparator, threshold, or\r\ntimeField and
verify that you see errors thrown.\r\n```\r\nPOST
kbn:/api/alerting/rule\r\n{\r\n \"params\": {\r\n \"searchType\":
\"esqlQuery\",\r\n \"esqlQuery\": {\r\n \"esql\": \"\"\"from
kibana_sample_data_logs\r\n| keep bytes, clientip, host, geo.dest\r\n|
where geo.dest != \"GB\"\r\n| stats sumbytes = sum(bytes) by clientip,
host\r\n| WHERE sumbytes > 5000\r\n| sort sumbytes desc\r\n| limit
10\"\"\"\r\n },\r\n \"timeWindowSize\": 1,\r\n \"timeWindowUnit\":
\"d\",\r\n \"thresholdComparator\": \"<\",\r\n \"threshold\": [\r\n
1000\r\n ],\r\n \"size\": 10,\r\n \"timeField\": \"date\"\r\n },\r\n
\"consumer\": \"stackAlerts\",\r\n \"rule_type_id\": \".es-query\",\r\n
\"schedule\": {\r\n \"interval\": \"5d\"\r\n },\r\n \"name\": \"test
rule\"\r\n}\r\n```","sha":"0e7798a4024b6f9f60700e60101868960172796d"}}]}]
BACKPORT-->

Co-authored-by: Alexi Doak <109488926+doakalexi@users.noreply.github.com>
2023-11-02 14:19:50 -07:00
Kibana Machine
b67ed0352c
[8.11] [Cases] Fix filtering e2e flaky tests (#170383) (#170471)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Cases] Fix filtering e2e flaky tests
(#170383)](https://github.com/elastic/kibana/pull/170383)

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

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

<!--BACKPORT [{"author":{"name":"Christos
Nasikas","email":"christos.nasikas@elastic.co"},"sourceCommit":{"committedDate":"2023-11-02T18:01:15Z","message":"[Cases]
Fix filtering e2e flaky tests
(#170383)","sha":"8ced30dcdba455936cb8bdfc3a4125228ee141da","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","Feature:Cases","v8.12.0","v8.11.1"],"number":170383,"url":"https://github.com/elastic/kibana/pull/170383","mergeCommit":{"message":"[Cases]
Fix filtering e2e flaky tests
(#170383)","sha":"8ced30dcdba455936cb8bdfc3a4125228ee141da"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170383","number":170383,"mergeCommit":{"message":"[Cases]
Fix filtering e2e flaky tests
(#170383)","sha":"8ced30dcdba455936cb8bdfc3a4125228ee141da"}},{"branch":"8.11","label":"v8.11.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co>
2023-11-02 12:05:31 -07:00
Kibana Machine
4189cacec5
[8.11] Unskipping test (#170353) (#170410)
# Backport

This will backport the following commits from `main` to `8.11`:
- [Unskipping test
(#170353)](https://github.com/elastic/kibana/pull/170353)

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

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

<!--BACKPORT [{"author":{"name":"Ying
Mao","email":"ying.mao@elastic.co"},"sourceCommit":{"committedDate":"2023-11-02T12:17:28Z","message":"Unskipping
test (#170353)\n\nResolves
https://github.com/elastic/kibana/issues/168750\r\n\r\n##
Summary\r\n\r\nThe test failed with `Error: connect ECONNREFUSED` and
just unskipping\r\nthe test passed the flaky test runner 500 times so I
think it was just a\r\ntransient network
issue.\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3856\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3859\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"aebd29785792c669af4b7f1d6da0660386bc0293","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","v8.11.0","v8.12.0"],"number":170353,"url":"https://github.com/elastic/kibana/pull/170353","mergeCommit":{"message":"Unskipping
test (#170353)\n\nResolves
https://github.com/elastic/kibana/issues/168750\r\n\r\n##
Summary\r\n\r\nThe test failed with `Error: connect ECONNREFUSED` and
just unskipping\r\nthe test passed the flaky test runner 500 times so I
think it was just a\r\ntransient network
issue.\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3856\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3859\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"aebd29785792c669af4b7f1d6da0660386bc0293"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170353","number":170353,"mergeCommit":{"message":"Unskipping
test (#170353)\n\nResolves
https://github.com/elastic/kibana/issues/168750\r\n\r\n##
Summary\r\n\r\nThe test failed with `Error: connect ECONNREFUSED` and
just unskipping\r\nthe test passed the flaky test runner 500 times so I
think it was just a\r\ntransient network
issue.\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3856\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3859\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"aebd29785792c669af4b7f1d6da0660386bc0293"}}]}]
BACKPORT-->

Co-authored-by: Ying Mao <ying.mao@elastic.co>
2023-11-02 06:29:44 -07:00
Kibana Machine
cbdb39191b skip failing test suite (#151854) 2023-11-01 19:28:11 -04:00
Kibana Machine
c5ffc4c971
[8.11] [RAM] Fix flaky test get_global_execution_kpi (#170328) (#170348)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[RAM] Fix flaky test get_global_execution_kpi
(#170328)](https://github.com/elastic/kibana/pull/170328)

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

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

<!--BACKPORT [{"author":{"name":"Xavier
Mouligneau","email":"xavier.mouligneau@elastic.co"},"sourceCommit":{"committedDate":"2023-11-01T19:09:20Z","message":"[RAM]
Fix flaky test get_global_execution_kpi (#170328)\n\n##
Summary\r\n\r\nFix ->
https://github.com/elastic/kibana/issues/153112\r\n\r\nI think it is
possible to only have two errors, one for each
rule.","sha":"ea80be5baf5c5e21ccf970487771448770d6fdfc","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","v8.11.0","v8.12.0"],"number":170328,"url":"https://github.com/elastic/kibana/pull/170328","mergeCommit":{"message":"[RAM]
Fix flaky test get_global_execution_kpi (#170328)\n\n##
Summary\r\n\r\nFix ->
https://github.com/elastic/kibana/issues/153112\r\n\r\nI think it is
possible to only have two errors, one for each
rule.","sha":"ea80be5baf5c5e21ccf970487771448770d6fdfc"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170328","number":170328,"mergeCommit":{"message":"[RAM]
Fix flaky test get_global_execution_kpi (#170328)\n\n##
Summary\r\n\r\nFix ->
https://github.com/elastic/kibana/issues/153112\r\n\r\nI think it is
possible to only have two errors, one for each
rule.","sha":"ea80be5baf5c5e21ccf970487771448770d6fdfc"}}]}] BACKPORT-->

Co-authored-by: Xavier Mouligneau <xavier.mouligneau@elastic.co>
2023-11-01 14:58:12 -07:00
Kibana Machine
24b4712a5e
[8.11] [SecuritySolution] Global search bar Edit Additional Filter not working (#168955) (#170215)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[SecuritySolution] Global search bar Edit Additional Filter not
working (#168955)](https://github.com/elastic/kibana/pull/168955)

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

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

<!--BACKPORT [{"author":{"name":"Angela
Chuang","email":"6295984+angorayc@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-10-31T10:28:44Z","message":"[SecuritySolution]
Global search bar Edit Additional Filter not working (#168955)\n\n##
Summary\r\n\r\nThe issue and steps to
reproduce:\r\nhttps://github.com/elastic/kibana/issues/164406\r\n\r\nRoot
cause:\r\ndc338c53-2f04-4f8b-a794-ff188606332a\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c054a2d32ac9e6f3cca5ef5cdd61ca2a42b5e95a","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Threat
Hunting","Team: SecuritySolution","Team:Threat
Hunting:Explore","v8.12.0","v8.11.1"],"number":168955,"url":"https://github.com/elastic/kibana/pull/168955","mergeCommit":{"message":"[SecuritySolution]
Global search bar Edit Additional Filter not working (#168955)\n\n##
Summary\r\n\r\nThe issue and steps to
reproduce:\r\nhttps://github.com/elastic/kibana/issues/164406\r\n\r\nRoot
cause:\r\ndc338c53-2f04-4f8b-a794-ff188606332a\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c054a2d32ac9e6f3cca5ef5cdd61ca2a42b5e95a"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/168955","number":168955,"mergeCommit":{"message":"[SecuritySolution]
Global search bar Edit Additional Filter not working (#168955)\n\n##
Summary\r\n\r\nThe issue and steps to
reproduce:\r\nhttps://github.com/elastic/kibana/issues/164406\r\n\r\nRoot
cause:\r\ndc338c53-2f04-4f8b-a794-ff188606332a\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"c054a2d32ac9e6f3cca5ef5cdd61ca2a42b5e95a"}},{"branch":"8.11","label":"v8.11.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Angela Chuang <6295984+angorayc@users.noreply.github.com>
2023-11-01 10:35:07 -07:00
Kibana Machine
bb04d1407d
[8.11] [Fleet] enable flaky tests (#170305) (#170311)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Fleet] enable flaky tests
(#170305)](https://github.com/elastic/kibana/pull/170305)

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

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

<!--BACKPORT [{"author":{"name":"Julia
Bardi","email":"90178898+juliaElastic@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-11-01T12:55:54Z","message":"[Fleet]
enable flaky tests (#170305)\n\nCloses
https://github.com/elastic/kibana/issues/167188\r\nCloses
https://github.com/elastic/kibana/issues/156941","sha":"10f7865e4559b43f49d3a73dfd469dee34631938","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v8.12.0","v8.11.1"],"number":170305,"url":"https://github.com/elastic/kibana/pull/170305","mergeCommit":{"message":"[Fleet]
enable flaky tests (#170305)\n\nCloses
https://github.com/elastic/kibana/issues/167188\r\nCloses
https://github.com/elastic/kibana/issues/156941","sha":"10f7865e4559b43f49d3a73dfd469dee34631938"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170305","number":170305,"mergeCommit":{"message":"[Fleet]
enable flaky tests (#170305)\n\nCloses
https://github.com/elastic/kibana/issues/167188\r\nCloses
https://github.com/elastic/kibana/issues/156941","sha":"10f7865e4559b43f49d3a73dfd469dee34631938"}},{"branch":"8.11","label":"v8.11.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>
2023-11-01 08:17:41 -07:00
Kibana Machine
416efdcd4d
[8.11] [SecuritySolution] Fix topN legend actions - filter in / out in timeline (#170127) (#170269)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[SecuritySolution] Fix topN legend actions - filter in / out in
timeline (#170127)](https://github.com/elastic/kibana/pull/170127)

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

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

<!--BACKPORT [{"author":{"name":"Angela
Chuang","email":"6295984+angorayc@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-10-31T17:30:08Z","message":"[SecuritySolution]
Fix topN legend actions - filter in / out in timeline (#170127)\n\n##
Summary\r\n\r\nff5cee55-6da5-4636-85f5-a697a302f8b5\r\n\r\n---------\r\n\r\nCo-authored-by:
Michael Olorunnisola
<michael.olorunnisola@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8103a445855f72dd1755a4fd4364e4573ec6a194","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Feature:ExpressionLanguage","Team:Threat
Hunting","Team: SecuritySolution","Team:Threat
Hunting:Explore","Feature:Lens
Charts","v8.11.0","v8.12.0","v8.11.1"],"number":170127,"url":"https://github.com/elastic/kibana/pull/170127","mergeCommit":{"message":"[SecuritySolution]
Fix topN legend actions - filter in / out in timeline (#170127)\n\n##
Summary\r\n\r\nff5cee55-6da5-4636-85f5-a697a302f8b5\r\n\r\n---------\r\n\r\nCo-authored-by:
Michael Olorunnisola
<michael.olorunnisola@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8103a445855f72dd1755a4fd4364e4573ec6a194"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170127","number":170127,"mergeCommit":{"message":"[SecuritySolution]
Fix topN legend actions - filter in / out in timeline (#170127)\n\n##
Summary\r\n\r\nff5cee55-6da5-4636-85f5-a697a302f8b5\r\n\r\n---------\r\n\r\nCo-authored-by:
Michael Olorunnisola
<michael.olorunnisola@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8103a445855f72dd1755a4fd4364e4573ec6a194"}}]}]
BACKPORT-->

Co-authored-by: Angela Chuang <6295984+angorayc@users.noreply.github.com>
Co-authored-by: Michael Olorunnisola <michael.olorunnisola@elastic.co>
2023-11-01 11:10:52 -04:00
Kibana Machine
f65031fd2f
[8.11] [security_page] improve force logout (#170227) (#170315)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[security_page] improve force logout
(#170227)](https://github.com/elastic/kibana/pull/170227)

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

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

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2023-11-01T13:45:32Z","message":"[security_page]
improve force logout (#170227)\n\n## Summary\r\n\r\nAddressing
`forceLogout`
flakiness\r\nhttps://buildkite.com/elastic/appex-qa-serverless-kibana-ftr-tests/builds/370\r\n\r\n```\r\nError:
timed out waiting for Waiting for logout to complete\r\n at onFailure
(retry_for_truthy.ts:39:13)\r\n at retryForSuccess
(retry_for_success.ts:59:13)\r\n at retryForTruthy
(retry_for_truthy.ts:27:3)\r\n at RetryService.waitFor
(retry.ts:59:5)\r\n at SecurityPageObject.forceLogout
(security_page.ts:319:7)\r\n at Object.forceLogout
(svl_common_page.ts:95:7)\r\n at Context. (view_case.ts:44:7)\r\n at
Object.apply (wrap_function.js:73:16)\r\n```\r\n\r\n<img width=\"1294\"
alt=\"image\"\r\nsrc=\"92ff13da-2c80-4eb7-8b3e-63779fb61075\">\r\n\r\n\r\nFlaky-test-runner:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3839\r\n200/200","sha":"f21e31acf26e18e76d32cfafb0cfae83f98bd7f5","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.12.0","v8.11.1"],"number":170227,"url":"https://github.com/elastic/kibana/pull/170227","mergeCommit":{"message":"[security_page]
improve force logout (#170227)\n\n## Summary\r\n\r\nAddressing
`forceLogout`
flakiness\r\nhttps://buildkite.com/elastic/appex-qa-serverless-kibana-ftr-tests/builds/370\r\n\r\n```\r\nError:
timed out waiting for Waiting for logout to complete\r\n at onFailure
(retry_for_truthy.ts:39:13)\r\n at retryForSuccess
(retry_for_success.ts:59:13)\r\n at retryForTruthy
(retry_for_truthy.ts:27:3)\r\n at RetryService.waitFor
(retry.ts:59:5)\r\n at SecurityPageObject.forceLogout
(security_page.ts:319:7)\r\n at Object.forceLogout
(svl_common_page.ts:95:7)\r\n at Context. (view_case.ts:44:7)\r\n at
Object.apply (wrap_function.js:73:16)\r\n```\r\n\r\n<img width=\"1294\"
alt=\"image\"\r\nsrc=\"92ff13da-2c80-4eb7-8b3e-63779fb61075\">\r\n\r\n\r\nFlaky-test-runner:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3839\r\n200/200","sha":"f21e31acf26e18e76d32cfafb0cfae83f98bd7f5"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170227","number":170227,"mergeCommit":{"message":"[security_page]
improve force logout (#170227)\n\n## Summary\r\n\r\nAddressing
`forceLogout`
flakiness\r\nhttps://buildkite.com/elastic/appex-qa-serverless-kibana-ftr-tests/builds/370\r\n\r\n```\r\nError:
timed out waiting for Waiting for logout to complete\r\n at onFailure
(retry_for_truthy.ts:39:13)\r\n at retryForSuccess
(retry_for_success.ts:59:13)\r\n at retryForTruthy
(retry_for_truthy.ts:27:3)\r\n at RetryService.waitFor
(retry.ts:59:5)\r\n at SecurityPageObject.forceLogout
(security_page.ts:319:7)\r\n at Object.forceLogout
(svl_common_page.ts:95:7)\r\n at Context. (view_case.ts:44:7)\r\n at
Object.apply (wrap_function.js:73:16)\r\n```\r\n\r\n<img width=\"1294\"
alt=\"image\"\r\nsrc=\"92ff13da-2c80-4eb7-8b3e-63779fb61075\">\r\n\r\n\r\nFlaky-test-runner:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3839\r\n200/200","sha":"f21e31acf26e18e76d32cfafb0cfae83f98bd7f5"}},{"branch":"8.11","label":"v8.11.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2023-11-01 11:10:08 -04:00
Kibana Machine
8a3c213704
[8.11] [Security Solution] Unskip tests for Detection Engine and Security Solution API Integration tests (#169262) (#170218)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Security Solution] Unskip tests for Detection Engine and Security
Solution API Integration tests
(#169262)](https://github.com/elastic/kibana/pull/169262)

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

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

<!--BACKPORT [{"author":{"name":"Juan Pablo
Djeredjian","email":"jpdjeredjian@gmail.com"},"sourceCommit":{"committedDate":"2023-10-31T10:36:41Z","message":"[Security
Solution] Unskip tests for Detection Engine and Security Solution API
Integration tests (#169262)\n\n## Summary\r\n\r\n###
Changes\r\n\r\n-\r\n`x-pack/test/detection_engine_api_integration/security_and_spaces/group4/telemetry/task_based/detection_rules.ts`\r\n**unskipped**\r\n-\r\n`x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/machine_learning.ts`\r\n**unskipped**\r\n\r\n###
Related flaky test issues\r\n\r\n**Tests already moved
to\r\n`x-pack/test/security_solution_api_integration`**\r\n\r\n1.
https://github.com/elastic/kibana/issues/169055\r\n2.
https://github.com/elastic/kibana/issues/168775\r\nThis issue is
reported for the legacy test, but is now moved
to\r\n`x-pack/test/security_solution_api_integration/test_suites/detections_response/default_license/exceptions/operators_data_types/ips_text_array/text_array.ts`\r\n3.
https://github.com/elastic/kibana/issues/163511\r\nThis issue is
reported for the legacy test, but is now moved
to\r\n`x-pack/test/security_solution_api_integration/test_suites/detections_response/default_license/exceptions/operators_data_types/keyword_text_long/keyword.ts`\r\n\r\n-
Flaky test runner for above
tests:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3631\r\n\r\n**Test
still in `x-pack/test/detection_engine_api_integration`**\r\n1.
https://github.com/elastic/kibana/issues/168415\r\n2.
https://github.com/elastic/kibana/issues/164318\r\n3.
https://github.com/elastic/kibana/issues/164313\r\n4.
https://github.com/elastic/kibana/issues/145776\r\n\r\n**Other**\r\n1.
https://github.com/elastic/kibana/issues/151636\r\n\r\n## Flaky test
runner link\r\n\r\nPart 1 -
`x-pack/test/detection_engine_api_integration` - tests not
yet\r\nmigrated\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3597\r\nPart
2 - `x-pack/test/security_solution_api_integration` - tests
already\r\nmoved\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3631","sha":"9eff64a39120e364a4f9a6b71d9501dbb1be0999","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Detections
and Resp","Team:Detection
Engine","v8.11.0","v8.12.0"],"number":169262,"url":"https://github.com/elastic/kibana/pull/169262","mergeCommit":{"message":"[Security
Solution] Unskip tests for Detection Engine and Security Solution API
Integration tests (#169262)\n\n## Summary\r\n\r\n###
Changes\r\n\r\n-\r\n`x-pack/test/detection_engine_api_integration/security_and_spaces/group4/telemetry/task_based/detection_rules.ts`\r\n**unskipped**\r\n-\r\n`x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/machine_learning.ts`\r\n**unskipped**\r\n\r\n###
Related flaky test issues\r\n\r\n**Tests already moved
to\r\n`x-pack/test/security_solution_api_integration`**\r\n\r\n1.
https://github.com/elastic/kibana/issues/169055\r\n2.
https://github.com/elastic/kibana/issues/168775\r\nThis issue is
reported for the legacy test, but is now moved
to\r\n`x-pack/test/security_solution_api_integration/test_suites/detections_response/default_license/exceptions/operators_data_types/ips_text_array/text_array.ts`\r\n3.
https://github.com/elastic/kibana/issues/163511\r\nThis issue is
reported for the legacy test, but is now moved
to\r\n`x-pack/test/security_solution_api_integration/test_suites/detections_response/default_license/exceptions/operators_data_types/keyword_text_long/keyword.ts`\r\n\r\n-
Flaky test runner for above
tests:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3631\r\n\r\n**Test
still in `x-pack/test/detection_engine_api_integration`**\r\n1.
https://github.com/elastic/kibana/issues/168415\r\n2.
https://github.com/elastic/kibana/issues/164318\r\n3.
https://github.com/elastic/kibana/issues/164313\r\n4.
https://github.com/elastic/kibana/issues/145776\r\n\r\n**Other**\r\n1.
https://github.com/elastic/kibana/issues/151636\r\n\r\n## Flaky test
runner link\r\n\r\nPart 1 -
`x-pack/test/detection_engine_api_integration` - tests not
yet\r\nmigrated\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3597\r\nPart
2 - `x-pack/test/security_solution_api_integration` - tests
already\r\nmoved\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3631","sha":"9eff64a39120e364a4f9a6b71d9501dbb1be0999"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/169262","number":169262,"mergeCommit":{"message":"[Security
Solution] Unskip tests for Detection Engine and Security Solution API
Integration tests (#169262)\n\n## Summary\r\n\r\n###
Changes\r\n\r\n-\r\n`x-pack/test/detection_engine_api_integration/security_and_spaces/group4/telemetry/task_based/detection_rules.ts`\r\n**unskipped**\r\n-\r\n`x-pack/test/detection_engine_api_integration/security_and_spaces/rule_execution_logic/machine_learning.ts`\r\n**unskipped**\r\n\r\n###
Related flaky test issues\r\n\r\n**Tests already moved
to\r\n`x-pack/test/security_solution_api_integration`**\r\n\r\n1.
https://github.com/elastic/kibana/issues/169055\r\n2.
https://github.com/elastic/kibana/issues/168775\r\nThis issue is
reported for the legacy test, but is now moved
to\r\n`x-pack/test/security_solution_api_integration/test_suites/detections_response/default_license/exceptions/operators_data_types/ips_text_array/text_array.ts`\r\n3.
https://github.com/elastic/kibana/issues/163511\r\nThis issue is
reported for the legacy test, but is now moved
to\r\n`x-pack/test/security_solution_api_integration/test_suites/detections_response/default_license/exceptions/operators_data_types/keyword_text_long/keyword.ts`\r\n\r\n-
Flaky test runner for above
tests:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3631\r\n\r\n**Test
still in `x-pack/test/detection_engine_api_integration`**\r\n1.
https://github.com/elastic/kibana/issues/168415\r\n2.
https://github.com/elastic/kibana/issues/164318\r\n3.
https://github.com/elastic/kibana/issues/164313\r\n4.
https://github.com/elastic/kibana/issues/145776\r\n\r\n**Other**\r\n1.
https://github.com/elastic/kibana/issues/151636\r\n\r\n## Flaky test
runner link\r\n\r\nPart 1 -
`x-pack/test/detection_engine_api_integration` - tests not
yet\r\nmigrated\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3597\r\nPart
2 - `x-pack/test/security_solution_api_integration` - tests
already\r\nmoved\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3631","sha":"9eff64a39120e364a4f9a6b71d9501dbb1be0999"}}]}]
BACKPORT-->

Co-authored-by: Juan Pablo Djeredjian <jpdjeredjian@gmail.com>
2023-10-31 15:21:50 +01:00
Kibana Machine
c0bd22725d
[8.11] Address saved_object_tagging flakiness (#170114) (#170190)
# Backport

This will backport the following commits from `main` to `8.11`:
- [Address saved_object_tagging flakiness
(#170114)](https://github.com/elastic/kibana/pull/170114)

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2023-10-30T21:21:27Z","message":"Address
saved_object_tagging flakiness (#170114)\n\n##
Summary\r\n\r\nFixes:\r\n*
https://github.com/elastic/kibana/issues/89958\r\n*
https://github.com/elastic/kibana/issues/150249\r\n*
https://github.com/elastic/kibana/issues/167812\r\n*
https://github.com/elastic/kibana/issues/167560\r\n\r\nUses same
strategy as
Stratoula's\r\n[PR](https://github.com/elastic/kibana/pull/167599). It
also adds a\r\n\"click\" step to make sure the form control has the
focus (as we do with\r\nthe other form controls on the same `fillForm`
method).\r\n\r\nThe tests above fail cause the logic fails to clean the
default tag\r\ncolour before entering a new one, resulting
in:\r\n\r\n![image](e753aa64-4132-4094-af01-c17d91223172)\r\n\r\nAlso
fixes:\r\n*
https://github.com/elastic/kibana/issues/163817\r\n\r\n[This\r\none](https://buildkite.com/elastic/kibana-on-merge/builds/36347#018b0068-ec42-47de-804d-b63a42b5b3e2)\r\nis
looks like a lost click on the Delete modal confirm button
(modal\r\nstill present after
30s):\r\n\r\n\r\n![image](b2025b45-5030-4b6a-95f9-58d77fd3d2ea)","sha":"036918d017c9d1ee20467f5ced9934f944d9ff00","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","test-failure-flaky","Team:SharedUX","backport:prev-minor","v8.12.0"],"number":170114,"url":"https://github.com/elastic/kibana/pull/170114","mergeCommit":{"message":"Address
saved_object_tagging flakiness (#170114)\n\n##
Summary\r\n\r\nFixes:\r\n*
https://github.com/elastic/kibana/issues/89958\r\n*
https://github.com/elastic/kibana/issues/150249\r\n*
https://github.com/elastic/kibana/issues/167812\r\n*
https://github.com/elastic/kibana/issues/167560\r\n\r\nUses same
strategy as
Stratoula's\r\n[PR](https://github.com/elastic/kibana/pull/167599). It
also adds a\r\n\"click\" step to make sure the form control has the
focus (as we do with\r\nthe other form controls on the same `fillForm`
method).\r\n\r\nThe tests above fail cause the logic fails to clean the
default tag\r\ncolour before entering a new one, resulting
in:\r\n\r\n![image](e753aa64-4132-4094-af01-c17d91223172)\r\n\r\nAlso
fixes:\r\n*
https://github.com/elastic/kibana/issues/163817\r\n\r\n[This\r\none](https://buildkite.com/elastic/kibana-on-merge/builds/36347#018b0068-ec42-47de-804d-b63a42b5b3e2)\r\nis
looks like a lost click on the Delete modal confirm button
(modal\r\nstill present after
30s):\r\n\r\n\r\n![image](b2025b45-5030-4b6a-95f9-58d77fd3d2ea)","sha":"036918d017c9d1ee20467f5ced9934f944d9ff00"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170114","number":170114,"mergeCommit":{"message":"Address
saved_object_tagging flakiness (#170114)\n\n##
Summary\r\n\r\nFixes:\r\n*
https://github.com/elastic/kibana/issues/89958\r\n*
https://github.com/elastic/kibana/issues/150249\r\n*
https://github.com/elastic/kibana/issues/167812\r\n*
https://github.com/elastic/kibana/issues/167560\r\n\r\nUses same
strategy as
Stratoula's\r\n[PR](https://github.com/elastic/kibana/pull/167599). It
also adds a\r\n\"click\" step to make sure the form control has the
focus (as we do with\r\nthe other form controls on the same `fillForm`
method).\r\n\r\nThe tests above fail cause the logic fails to clean the
default tag\r\ncolour before entering a new one, resulting
in:\r\n\r\n![image](e753aa64-4132-4094-af01-c17d91223172)\r\n\r\nAlso
fixes:\r\n*
https://github.com/elastic/kibana/issues/163817\r\n\r\n[This\r\none](https://buildkite.com/elastic/kibana-on-merge/builds/36347#018b0068-ec42-47de-804d-b63a42b5b3e2)\r\nis
looks like a lost click on the Delete modal confirm button
(modal\r\nstill present after
30s):\r\n\r\n\r\n![image](b2025b45-5030-4b6a-95f9-58d77fd3d2ea)","sha":"036918d017c9d1ee20467f5ced9934f944d9ff00"}}]}]
BACKPORT-->

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
2023-10-30 15:21:46 -07:00
Kibana Machine
3330ca0d62
[8.11] [Security Solution][Detection Engine] fixes ES|QL rule type case, when alerts get truncated (#170034) (#170050)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Security Solution][Detection Engine] fixes ES|QL rule type case,
when alerts get truncated
(#170034)](https://github.com/elastic/kibana/pull/170034)

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

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

<!--BACKPORT [{"author":{"name":"Vitalii
Dmyterko","email":"92328789+vitaliidm@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-10-27T15:47:15Z","message":"[Security
Solution][Detection Engine] fixes ES|QL rule type case, when alerts get
truncated (#170034)\n\n## Summary\r\n\r\nMissing `break` statement can
cause additional requests in ES|QL rule\r\nqueries, in the next
statement\r\n\r\n```ts\r\n if (bulkCreateResult.alertsWereTruncated)
{\r\n result.warningMessages.push(getMaxSignalsWarning());\r\n
}\r\n```\r\nwhere we check if alerts were truncated to display
warning.\r\n\r\nIf alerts were truncated, no need to do another paging
request, we can\r\nsafely break loop execution, since we reached max
number of possible\r\nalerts\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- [ ] 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)","sha":"46ca1f08b7965a88819c6bad7350301d347f4e44","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Detections
and Resp","Team: SecuritySolution","backport:prev-minor","Team:Detection
Engine","v8.11.0","v8.12.0"],"number":170034,"url":"https://github.com/elastic/kibana/pull/170034","mergeCommit":{"message":"[Security
Solution][Detection Engine] fixes ES|QL rule type case, when alerts get
truncated (#170034)\n\n## Summary\r\n\r\nMissing `break` statement can
cause additional requests in ES|QL rule\r\nqueries, in the next
statement\r\n\r\n```ts\r\n if (bulkCreateResult.alertsWereTruncated)
{\r\n result.warningMessages.push(getMaxSignalsWarning());\r\n
}\r\n```\r\nwhere we check if alerts were truncated to display
warning.\r\n\r\nIf alerts were truncated, no need to do another paging
request, we can\r\nsafely break loop execution, since we reached max
number of possible\r\nalerts\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- [ ] 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)","sha":"46ca1f08b7965a88819c6bad7350301d347f4e44"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170034","number":170034,"mergeCommit":{"message":"[Security
Solution][Detection Engine] fixes ES|QL rule type case, when alerts get
truncated (#170034)\n\n## Summary\r\n\r\nMissing `break` statement can
cause additional requests in ES|QL rule\r\nqueries, in the next
statement\r\n\r\n```ts\r\n if (bulkCreateResult.alertsWereTruncated)
{\r\n result.warningMessages.push(getMaxSignalsWarning());\r\n
}\r\n```\r\nwhere we check if alerts were truncated to display
warning.\r\n\r\nIf alerts were truncated, no need to do another paging
request, we can\r\nsafely break loop execution, since we reached max
number of possible\r\nalerts\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- [ ] 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)","sha":"46ca1f08b7965a88819c6bad7350301d347f4e44"}}]}]
BACKPORT-->

Co-authored-by: Vitalii Dmyterko <92328789+vitaliidm@users.noreply.github.com>
2023-10-30 10:30:27 -07:00
Kibana Machine
d99488b7fd
[8.11] [ML] Unskip flaky transform creation test with runtime field mappings (#168546) (#170149)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[ML] Unskip flaky transform creation test with runtime field mappings
(#168546)](https://github.com/elastic/kibana/pull/168546)

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

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

<!--BACKPORT [{"author":{"name":"Quynh Nguyen
(Quinn)","email":"43350163+qn895@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-10-30T15:50:58Z","message":"[ML]
Unskip flaky transform creation test with runtime field mappings
(#168546)\n\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"9fe0eb9aced2c44c7c46ef58dbc136eeb76b2a8b","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","v8.11.0","v8.12.0"],"number":168546,"url":"https://github.com/elastic/kibana/pull/168546","mergeCommit":{"message":"[ML]
Unskip flaky transform creation test with runtime field mappings
(#168546)\n\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"9fe0eb9aced2c44c7c46ef58dbc136eeb76b2a8b"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/168546","number":168546,"mergeCommit":{"message":"[ML]
Unskip flaky transform creation test with runtime field mappings
(#168546)\n\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"9fe0eb9aced2c44c7c46ef58dbc136eeb76b2a8b"}}]}]
BACKPORT-->

Co-authored-by: Quynh Nguyen (Quinn) <43350163+qn895@users.noreply.github.com>
2023-10-30 10:24:54 -07:00
Kibana Machine
c837019b67
[8.11] [DOCS] Rule visibility details for Elasticsearch query rules (#170072) (#170144)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[DOCS] Rule visibility details for Elasticsearch query rules
(#170072)](https://github.com/elastic/kibana/pull/170072)

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

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

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-10-30T15:40:58Z","message":"[DOCS]
Rule visibility details for Elasticsearch query rules
(#170072)","sha":"27db507202f7e2053e117ddb23ad7bae560fa387","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","docs","Feature:Alerting/RuleTypes","backport:prev-minor","v8.11.0","v8.12.0"],"number":170072,"url":"https://github.com/elastic/kibana/pull/170072","mergeCommit":{"message":"[DOCS]
Rule visibility details for Elasticsearch query rules
(#170072)","sha":"27db507202f7e2053e117ddb23ad7bae560fa387"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/170072","number":170072,"mergeCommit":{"message":"[DOCS]
Rule visibility details for Elasticsearch query rules
(#170072)","sha":"27db507202f7e2053e117ddb23ad7bae560fa387"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-10-30 10:22:33 -07:00
Dima Arnautov
a9f16eb6a5
[8.11] [ML] AIOps: Fix Change point embeddable reporting (#169962) (#170046)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[ML] AIOps: Fix Change point embeddable reporting
(#169962)](https://github.com/elastic/kibana/pull/169962)

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

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

<!--BACKPORT [{"author":{"name":"Dima
Arnautov","email":"dmitrii.arnautov@elastic.co"},"sourceCommit":{"committedDate":"2023-10-27T15:13:52Z","message":"[ML]
AIOps: Fix Change point embeddable reporting (#169962)\n\n##
Summary\r\n\r\nFixes #169733\r\n\r\n#### Reporting fix\r\n\r\nChange
point detection embeddable was incorrectly reporting
render\r\ncompletion. It was relying on the `onLoad` callback from the
Lens\r\nembeddable responsible for chart rendering, which only indicates
that\r\ndata fetching is complete, but not the actual rendering.
Current\r\nimplementation relies on the `renderComplete` event from each
child\r\nembeddable. Both PNG and PDF exports tested and work as
expected.\r\n\r\n\r\n![DASHBOARDDDD](fb718f31-5862-43ab-82e3-60ebb795b8eb)\r\n\r\n####
Additional fixes\r\n\r\n- Fixes the metric and split field controls
states when editing existing\r\nChange point embeddable from a
dashboard\r\n- Fixes `filter` query if partitions input is initialized
as an empty\r\narray.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"80d382a22f2adc39a63146d3ffb5cb7763090c2e","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Feature:Reporting",":ml","Team:ML","Feature:ML/AIOps","Feature:Embeddables","v8.11.0","v8.12.0"],"number":169962,"url":"https://github.com/elastic/kibana/pull/169962","mergeCommit":{"message":"[ML]
AIOps: Fix Change point embeddable reporting (#169962)\n\n##
Summary\r\n\r\nFixes #169733\r\n\r\n#### Reporting fix\r\n\r\nChange
point detection embeddable was incorrectly reporting
render\r\ncompletion. It was relying on the `onLoad` callback from the
Lens\r\nembeddable responsible for chart rendering, which only indicates
that\r\ndata fetching is complete, but not the actual rendering.
Current\r\nimplementation relies on the `renderComplete` event from each
child\r\nembeddable. Both PNG and PDF exports tested and work as
expected.\r\n\r\n\r\n![DASHBOARDDDD](fb718f31-5862-43ab-82e3-60ebb795b8eb)\r\n\r\n####
Additional fixes\r\n\r\n- Fixes the metric and split field controls
states when editing existing\r\nChange point embeddable from a
dashboard\r\n- Fixes `filter` query if partitions input is initialized
as an empty\r\narray.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"80d382a22f2adc39a63146d3ffb5cb7763090c2e"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/169962","number":169962,"mergeCommit":{"message":"[ML]
AIOps: Fix Change point embeddable reporting (#169962)\n\n##
Summary\r\n\r\nFixes #169733\r\n\r\n#### Reporting fix\r\n\r\nChange
point detection embeddable was incorrectly reporting
render\r\ncompletion. It was relying on the `onLoad` callback from the
Lens\r\nembeddable responsible for chart rendering, which only indicates
that\r\ndata fetching is complete, but not the actual rendering.
Current\r\nimplementation relies on the `renderComplete` event from each
child\r\nembeddable. Both PNG and PDF exports tested and work as
expected.\r\n\r\n\r\n![DASHBOARDDDD](fb718f31-5862-43ab-82e3-60ebb795b8eb)\r\n\r\n####
Additional fixes\r\n\r\n- Fixes the metric and split field controls
states when editing existing\r\nChange point embeddable from a
dashboard\r\n- Fixes `filter` query if partitions input is initialized
as an empty\r\narray.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"80d382a22f2adc39a63146d3ffb5cb7763090c2e"}}]}]
BACKPORT-->
2023-10-30 11:04:27 +01:00
Kibana Machine
daad91981c
[8.11] [esArchiver] restrict from modifying saved objects indexes (#169852) (#170065)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[esArchiver] restrict from modifying saved objects indexes
(#169852)](https://github.com/elastic/kibana/pull/169852)

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

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

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2023-10-27T18:27:10Z","message":"[esArchiver]
restrict from modifying saved objects indexes (#169852)\n\n##
Summary\r\n\r\nRelated to #161882\r\n\r\nThe goal is to prevent FTR
tests from new esArchives that overrides SO\r\nindexes.\r\n\r\nThis PR
adds the existing archives that re-create Saved Objects indexes\r\ninto
temporary exception list, located
in\r\n`packages/kbn-es-archiver/src/fixtures/override_saved_objects_index/exception_list.json`.\r\nWhenever
tests/archives are updated to not modify SO indexes, archive
is\r\nexpected to be removed from the list (progress can be tracked
in\r\n#169075, #168973, #168969, #168926 )\r\n\r\nLoad action has a
check if index is SO index and if the archive is in\r\nthe exception
list. This will throw error for the new archives, but\r\nstill work as
usual for the existing ones while teams updating
the\r\ntests.\r\n\r\nWhenever test is loading archive listed in the
exception list, the\r\nfollowing warning message is
logged:\r\n```\r\nwarn
x-pack/test/functional/es_archives/data/search_sessions overrides Saved
Objects index(es) and placed temporary in the exception list.\r\nPlease
fix the archive and remove it from
/Users/dmle/github/kibana/packages/kbn-es-archiver/src/fixtures/override_saved_objects_index/exception_list.json.\r\nFor
more details see:
https://github.com/elastic/kibana/issues/161882\r\n```\r\n\r\nIf the
test loads a newly added archive that modifies a Saved Object\r\nindex
(e.g. `.kibana`), esArchiver will throw the error:\r\n```\r\n Error:
esArchiver doesn't support modifying the existing Saved Objects index:
'.kibana_1',\r\n please update its definition in
mappings.json\r\n```","sha":"669881095881b599262d8ba19bdf68207c86bfa0","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","ES-ARCHIVER","v8.12.0","v8.11.1","v8.10.5"],"number":169852,"url":"https://github.com/elastic/kibana/pull/169852","mergeCommit":{"message":"[esArchiver]
restrict from modifying saved objects indexes (#169852)\n\n##
Summary\r\n\r\nRelated to #161882\r\n\r\nThe goal is to prevent FTR
tests from new esArchives that overrides SO\r\nindexes.\r\n\r\nThis PR
adds the existing archives that re-create Saved Objects indexes\r\ninto
temporary exception list, located
in\r\n`packages/kbn-es-archiver/src/fixtures/override_saved_objects_index/exception_list.json`.\r\nWhenever
tests/archives are updated to not modify SO indexes, archive
is\r\nexpected to be removed from the list (progress can be tracked
in\r\n#169075, #168973, #168969, #168926 )\r\n\r\nLoad action has a
check if index is SO index and if the archive is in\r\nthe exception
list. This will throw error for the new archives, but\r\nstill work as
usual for the existing ones while teams updating
the\r\ntests.\r\n\r\nWhenever test is loading archive listed in the
exception list, the\r\nfollowing warning message is
logged:\r\n```\r\nwarn
x-pack/test/functional/es_archives/data/search_sessions overrides Saved
Objects index(es) and placed temporary in the exception list.\r\nPlease
fix the archive and remove it from
/Users/dmle/github/kibana/packages/kbn-es-archiver/src/fixtures/override_saved_objects_index/exception_list.json.\r\nFor
more details see:
https://github.com/elastic/kibana/issues/161882\r\n```\r\n\r\nIf the
test loads a newly added archive that modifies a Saved Object\r\nindex
(e.g. `.kibana`), esArchiver will throw the error:\r\n```\r\n Error:
esArchiver doesn't support modifying the existing Saved Objects index:
'.kibana_1',\r\n please update its definition in
mappings.json\r\n```","sha":"669881095881b599262d8ba19bdf68207c86bfa0"}},"sourceBranch":"main","suggestedTargetBranches":["8.11","8.10"],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/169852","number":169852,"mergeCommit":{"message":"[esArchiver]
restrict from modifying saved objects indexes (#169852)\n\n##
Summary\r\n\r\nRelated to #161882\r\n\r\nThe goal is to prevent FTR
tests from new esArchives that overrides SO\r\nindexes.\r\n\r\nThis PR
adds the existing archives that re-create Saved Objects indexes\r\ninto
temporary exception list, located
in\r\n`packages/kbn-es-archiver/src/fixtures/override_saved_objects_index/exception_list.json`.\r\nWhenever
tests/archives are updated to not modify SO indexes, archive
is\r\nexpected to be removed from the list (progress can be tracked
in\r\n#169075, #168973, #168969, #168926 )\r\n\r\nLoad action has a
check if index is SO index and if the archive is in\r\nthe exception
list. This will throw error for the new archives, but\r\nstill work as
usual for the existing ones while teams updating
the\r\ntests.\r\n\r\nWhenever test is loading archive listed in the
exception list, the\r\nfollowing warning message is
logged:\r\n```\r\nwarn
x-pack/test/functional/es_archives/data/search_sessions overrides Saved
Objects index(es) and placed temporary in the exception list.\r\nPlease
fix the archive and remove it from
/Users/dmle/github/kibana/packages/kbn-es-archiver/src/fixtures/override_saved_objects_index/exception_list.json.\r\nFor
more details see:
https://github.com/elastic/kibana/issues/161882\r\n```\r\n\r\nIf the
test loads a newly added archive that modifies a Saved Object\r\nindex
(e.g. `.kibana`), esArchiver will throw the error:\r\n```\r\n Error:
esArchiver doesn't support modifying the existing Saved Objects index:
'.kibana_1',\r\n please update its definition in
mappings.json\r\n```","sha":"669881095881b599262d8ba19bdf68207c86bfa0"}},{"branch":"8.11","label":"v8.11.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.10","label":"v8.10.5","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2023-10-27 12:57:09 -07:00
Pablo Machado
3af9163e12
Revert "[8.11] [Security Solutions] Update risk score tables to filte… (#169751)
## Summary

It was backported too soon. Let's wait for
[8.11.0](https://github.com/elastic/dev/issues/2367) release and merge
it to 8.11.1
2023-10-27 03:14:19 -07:00
Yara Tercero
b3385d532d
[8.11] [Security Solution][DE] Migrate investigation_fields (#169061) (#169957)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Security Solution][DE] Migrate investigation_fields
(#169061)](https://github.com/elastic/kibana/pull/169061)

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

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

<!--BACKPORT [{"author":{"name":"Yara
Tercero","email":"yctercero@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-10-26T13:58:35Z","message":"[Security
Solution][DE] Migrate investigation_fields (#169061)\n\n##
Summary\r\n\r\n**TLDR:** SO will support both `string[]` and `{
field_names: string[]\r\n}`, but detection engine APIs will only support
the object format
in\r\n8.11+.","sha":"bb3673f2eb24013b11c736986928c3b73370f6bf","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:breaking","Team:
SecuritySolution","Breaking Change","Team:Detection
Engine","v8.11.0","v8.12.0","v8.11.1"],"number":169061,"url":"https://github.com/elastic/kibana/pull/169061","mergeCommit":{"message":"[Security
Solution][DE] Migrate investigation_fields (#169061)\n\n##
Summary\r\n\r\n**TLDR:** SO will support both `string[]` and `{
field_names: string[]\r\n}`, but detection engine APIs will only support
the object format
in\r\n8.11+.","sha":"bb3673f2eb24013b11c736986928c3b73370f6bf"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/169061","number":169061,"mergeCommit":{"message":"[Security
Solution][DE] Migrate investigation_fields (#169061)\n\n##
Summary\r\n\r\n**TLDR:** SO will support both `string[]` and `{
field_names: string[]\r\n}`, but detection engine APIs will only support
the object format
in\r\n8.11+.","sha":"bb3673f2eb24013b11c736986928c3b73370f6bf"}}]}]
BACKPORT-->

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-10-27 10:50:42 +02:00
Kibana Machine
a0c37dfc77
[8.11] [Security Solution] Enable Serverless for exceptions/entry and exceptions/rule_details_flow Cypress tests (#169211) (#169679)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Security Solution] Enable Serverless for `exceptions/entry` and
`exceptions/rule_details_flow` Cypress tests
(#169211)](https://github.com/elastic/kibana/pull/169211)

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

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

<!--BACKPORT [{"author":{"name":"Juan Pablo
Djeredjian","email":"jpdjeredjian@gmail.com"},"sourceCommit":{"committedDate":"2023-10-24T16:04:12Z","message":"[Security
Solution] Enable Serverless for `exceptions/entry` and
`exceptions/rule_details_flow` Cypress tests (#169211)\n\n##
Summary\r\n\r\nFlaky test runner for Cypress tests in:\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/entry`
\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/rule_details_flow`\r\n\r\n##
Changes\r\n\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/entry/use_value_list.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/entry/multiple_conditions.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/rule_details_flow/read_only_view.cy.ts`\r\n**removed
from Serverless testing**\r\n\r\n## Related failing-test
issues\r\n\r\n### `exceptions/entry`\r\n1.
https://github.com/elastic/kibana/issues/165734\r\n2.
https://github.com/elastic/kibana/issues/165652\r\n3.
https://github.com/elastic/kibana/issues/165651\r\n\r\n###
`exceptions/rule_details_flow`\r\n4.
https://github.com/elastic/kibana/issues/165773\r\n5.
https://github.com/elastic/kibana/issues/165742\r\n6.
https://github.com/elastic/kibana/issues/165736\r\n7.
https://github.com/elastic/kibana/issues/163923\r\n8.
https://github.com/elastic/kibana/issues/164007\r\n9.
https://github.com/elastic/kibana/issues/169382\r\n**Unreported flaky
test that was discovered when investigating these\r\nissues. Tagged as
`legit-flake` and assigned
to\r\n@elastic/security-detection-engine**\r\n10.
https://github.com/elastic/kibana/issues/169274\r\n**Flaky test reported
by the Kibana machine while this investigation was\r\ntaking
place.\r\nSince the flaky test runner for the related tests detected
flakiness for\r\nthe same test file (though not same test), I'm marking
this as\r\nlegit-flake for it to be investigated.**\r\n\r\n### Flaky
test runner
link\r\n\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3577\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3621\r\n[SERVERLESS
TAGS
ADJUSTED]","sha":"9a73009c2b2effab436cae61735cccc79af1a21d","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Detections
and Resp","Team:Detection
Engine","v8.11.0","v8.12.0"],"number":169211,"url":"https://github.com/elastic/kibana/pull/169211","mergeCommit":{"message":"[Security
Solution] Enable Serverless for `exceptions/entry` and
`exceptions/rule_details_flow` Cypress tests (#169211)\n\n##
Summary\r\n\r\nFlaky test runner for Cypress tests in:\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/entry`
\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/rule_details_flow`\r\n\r\n##
Changes\r\n\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/entry/use_value_list.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/entry/multiple_conditions.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/rule_details_flow/read_only_view.cy.ts`\r\n**removed
from Serverless testing**\r\n\r\n## Related failing-test
issues\r\n\r\n### `exceptions/entry`\r\n1.
https://github.com/elastic/kibana/issues/165734\r\n2.
https://github.com/elastic/kibana/issues/165652\r\n3.
https://github.com/elastic/kibana/issues/165651\r\n\r\n###
`exceptions/rule_details_flow`\r\n4.
https://github.com/elastic/kibana/issues/165773\r\n5.
https://github.com/elastic/kibana/issues/165742\r\n6.
https://github.com/elastic/kibana/issues/165736\r\n7.
https://github.com/elastic/kibana/issues/163923\r\n8.
https://github.com/elastic/kibana/issues/164007\r\n9.
https://github.com/elastic/kibana/issues/169382\r\n**Unreported flaky
test that was discovered when investigating these\r\nissues. Tagged as
`legit-flake` and assigned
to\r\n@elastic/security-detection-engine**\r\n10.
https://github.com/elastic/kibana/issues/169274\r\n**Flaky test reported
by the Kibana machine while this investigation was\r\ntaking
place.\r\nSince the flaky test runner for the related tests detected
flakiness for\r\nthe same test file (though not same test), I'm marking
this as\r\nlegit-flake for it to be investigated.**\r\n\r\n### Flaky
test runner
link\r\n\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3577\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3621\r\n[SERVERLESS
TAGS
ADJUSTED]","sha":"9a73009c2b2effab436cae61735cccc79af1a21d"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/169211","number":169211,"mergeCommit":{"message":"[Security
Solution] Enable Serverless for `exceptions/entry` and
`exceptions/rule_details_flow` Cypress tests (#169211)\n\n##
Summary\r\n\r\nFlaky test runner for Cypress tests in:\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/entry`
\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/rule_details_flow`\r\n\r\n##
Changes\r\n\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/entry/use_value_list.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/entry/multiple_conditions.cy.ts`\r\n**enabled
on
Serverless**\r\n-\r\n`x-pack/test/security_solution_cypress/cypress/e2e/exceptions/rule_details_flow/read_only_view.cy.ts`\r\n**removed
from Serverless testing**\r\n\r\n## Related failing-test
issues\r\n\r\n### `exceptions/entry`\r\n1.
https://github.com/elastic/kibana/issues/165734\r\n2.
https://github.com/elastic/kibana/issues/165652\r\n3.
https://github.com/elastic/kibana/issues/165651\r\n\r\n###
`exceptions/rule_details_flow`\r\n4.
https://github.com/elastic/kibana/issues/165773\r\n5.
https://github.com/elastic/kibana/issues/165742\r\n6.
https://github.com/elastic/kibana/issues/165736\r\n7.
https://github.com/elastic/kibana/issues/163923\r\n8.
https://github.com/elastic/kibana/issues/164007\r\n9.
https://github.com/elastic/kibana/issues/169382\r\n**Unreported flaky
test that was discovered when investigating these\r\nissues. Tagged as
`legit-flake` and assigned
to\r\n@elastic/security-detection-engine**\r\n10.
https://github.com/elastic/kibana/issues/169274\r\n**Flaky test reported
by the Kibana machine while this investigation was\r\ntaking
place.\r\nSince the flaky test runner for the related tests detected
flakiness for\r\nthe same test file (though not same test), I'm marking
this as\r\nlegit-flake for it to be investigated.**\r\n\r\n### Flaky
test runner
link\r\n\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3577\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3621\r\n[SERVERLESS
TAGS ADJUSTED]","sha":"9a73009c2b2effab436cae61735cccc79af1a21d"}}]}]
BACKPORT-->

Co-authored-by: Juan Pablo Djeredjian <jpdjeredjian@gmail.com>
2023-10-26 10:14:33 -07:00
Juan Pablo Djeredjian
9f1ce6956a
[8.11] [Security Solution] Unskip tests for detection_response Cypress tests and enable Serverless run (#169218) (#169681)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Security Solution] Unskip tests for `detection_response` Cypress
tests and enable Serverless run
(#169218)](https://github.com/elastic/kibana/pull/169218)

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

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

<!--BACKPORT [{"author":{"name":"Juan Pablo
Djeredjian","email":"jpdjeredjian@gmail.com"},"sourceCommit":{"committedDate":"2023-10-24T07:18:42Z","message":"[Security
Solution] Unskip tests for `detection_response` Cypress tests and enable
Serverless run (#169218)\n\n## Summary\r\n\r\nFlaky test runner for
Cypress tests in:\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_alerts`
\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/value_lists`
\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation`
\r\n\r\n## Changes\r\n\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/custom_query_rule_data_view.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/event_correlation_rule.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/machine_learning_rule.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/new_terms_rule.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/override.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rule_actions/deletion/rule_delete.cy.ts`
**added disableAutorefresh() to avoid flakiness**\r\n\r\n## Related
failing-test issues\r\n\r\n###
`detection_response/detection_alerts`\r\n1.
https://github.com/elastic/kibana/issues/169091\r\n**Marked as
`legit-flake` and assigned to @elastic/security-detection-engine**
\r\n3. https://github.com/elastic/kibana/issues/163885\r\n\r\n###
`detection_response/value_lists`\r\n4.
https://github.com/elastic/kibana/issues/165699\r\n\r\n###
`detection_response/rule_creation`\r\n5.
https://github.com/elastic/kibana/issues/163691\r\n\r\n## Flaky test
runner\r\n\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3583\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3615
[SERVERLESS ONLY]\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3656
[Serverless without indicator match and saved
queries]","sha":"939c87d95342c61f03c853cb3b34c9f412c303b0","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","Team:Detections
and Resp","Team:Detection Rule Management","Team:Detection
Engine","v8.12.0"],"number":169218,"url":"https://github.com/elastic/kibana/pull/169218","mergeCommit":{"message":"[Security
Solution] Unskip tests for `detection_response` Cypress tests and enable
Serverless run (#169218)\n\n## Summary\r\n\r\nFlaky test runner for
Cypress tests in:\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_alerts`
\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/value_lists`
\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation`
\r\n\r\n## Changes\r\n\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/custom_query_rule_data_view.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/event_correlation_rule.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/machine_learning_rule.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/new_terms_rule.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/override.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rule_actions/deletion/rule_delete.cy.ts`
**added disableAutorefresh() to avoid flakiness**\r\n\r\n## Related
failing-test issues\r\n\r\n###
`detection_response/detection_alerts`\r\n1.
https://github.com/elastic/kibana/issues/169091\r\n**Marked as
`legit-flake` and assigned to @elastic/security-detection-engine**
\r\n3. https://github.com/elastic/kibana/issues/163885\r\n\r\n###
`detection_response/value_lists`\r\n4.
https://github.com/elastic/kibana/issues/165699\r\n\r\n###
`detection_response/rule_creation`\r\n5.
https://github.com/elastic/kibana/issues/163691\r\n\r\n## Flaky test
runner\r\n\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3583\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3615
[SERVERLESS ONLY]\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3656
[Serverless without indicator match and saved
queries]","sha":"939c87d95342c61f03c853cb3b34c9f412c303b0"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/169218","number":169218,"mergeCommit":{"message":"[Security
Solution] Unskip tests for `detection_response` Cypress tests and enable
Serverless run (#169218)\n\n## Summary\r\n\r\nFlaky test runner for
Cypress tests in:\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/detection_alerts`
\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/value_lists`
\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation`
\r\n\r\n## Changes\r\n\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/custom_query_rule_data_view.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/event_correlation_rule.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/machine_learning_rule.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/new_terms_rule.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/override.cy.ts`
**tagged to run on Serverless**\r\n-
`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/rule_actions/deletion/rule_delete.cy.ts`
**added disableAutorefresh() to avoid flakiness**\r\n\r\n## Related
failing-test issues\r\n\r\n###
`detection_response/detection_alerts`\r\n1.
https://github.com/elastic/kibana/issues/169091\r\n**Marked as
`legit-flake` and assigned to @elastic/security-detection-engine**
\r\n3. https://github.com/elastic/kibana/issues/163885\r\n\r\n###
`detection_response/value_lists`\r\n4.
https://github.com/elastic/kibana/issues/165699\r\n\r\n###
`detection_response/rule_creation`\r\n5.
https://github.com/elastic/kibana/issues/163691\r\n\r\n## Flaky test
runner\r\n\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3583\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3615
[SERVERLESS ONLY]\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3656
[Serverless without indicator match and saved
queries]","sha":"939c87d95342c61f03c853cb3b34c9f412c303b0"}}]}]
BACKPORT-->

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-10-26 10:14:06 -07:00
Kibana Machine
86a86dda67
[8.11] [Security Solituon] Unskip search bar Serverless Cypress tests (#169347) (#169765)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Security Solituon] Unskip search bar Serverless Cypress tests
(#169347)](https://github.com/elastic/kibana/pull/169347)

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

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

<!--BACKPORT [{"author":{"name":"Maxim
Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2023-10-25T09:24:32Z","message":"[Security
Solituon] Unskip search bar Serverless Cypress tests
(#169347)\n\n**Addreses:**
https://github.com/elastic/kibana/issues/161540\r\n\r\n##
Summary\r\n\r\nThis PR unskips `search_bar.cy.ts` Serverless Cypress
tests.\r\n\r\n## Details\r\n\r\nBesides just unskipping
`search_bar.cy.ts` this PR also makes sure the test isn't flaky by
making `operator` required in `fillAddFilterForm()`. It turned out the
test works only if the Cypress window is in focus when an operator isn't
set. Such behavior can lead to test flakiness in CI. This way choosing
an operator via keyboard is a safer option.\r\n\r\n## Flaky test
runner\r\n\r\n`search_bar.cy.ts` [150
runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3614)","sha":"906987c2860b53b91d449bc164957857adddc06a","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","v8.11.0","v8.12.0"],"number":169347,"url":"https://github.com/elastic/kibana/pull/169347","mergeCommit":{"message":"[Security
Solituon] Unskip search bar Serverless Cypress tests
(#169347)\n\n**Addreses:**
https://github.com/elastic/kibana/issues/161540\r\n\r\n##
Summary\r\n\r\nThis PR unskips `search_bar.cy.ts` Serverless Cypress
tests.\r\n\r\n## Details\r\n\r\nBesides just unskipping
`search_bar.cy.ts` this PR also makes sure the test isn't flaky by
making `operator` required in `fillAddFilterForm()`. It turned out the
test works only if the Cypress window is in focus when an operator isn't
set. Such behavior can lead to test flakiness in CI. This way choosing
an operator via keyboard is a safer option.\r\n\r\n## Flaky test
runner\r\n\r\n`search_bar.cy.ts` [150
runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3614)","sha":"906987c2860b53b91d449bc164957857adddc06a"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/169347","number":169347,"mergeCommit":{"message":"[Security
Solituon] Unskip search bar Serverless Cypress tests
(#169347)\n\n**Addreses:**
https://github.com/elastic/kibana/issues/161540\r\n\r\n##
Summary\r\n\r\nThis PR unskips `search_bar.cy.ts` Serverless Cypress
tests.\r\n\r\n## Details\r\n\r\nBesides just unskipping
`search_bar.cy.ts` this PR also makes sure the test isn't flaky by
making `operator` required in `fillAddFilterForm()`. It turned out the
test works only if the Cypress window is in focus when an operator isn't
set. Such behavior can lead to test flakiness in CI. This way choosing
an operator via keyboard is a safer option.\r\n\r\n## Flaky test
runner\r\n\r\n`search_bar.cy.ts` [150
runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3614)","sha":"906987c2860b53b91d449bc164957857adddc06a"}}]}]
BACKPORT-->

Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
2023-10-26 09:18:01 -07:00
Kibana Machine
1638e2bd95
[8.11] [Saved Search] [Embeddable] Fix issue where Dashboard panel targeting deleted saved search can't be removed (#169896) (#169944)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Saved Search] [Embeddable] Fix issue where Dashboard panel targeting
deleted saved search can't be removed
(#169896)](https://github.com/elastic/kibana/pull/169896)

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

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

<!--BACKPORT [{"author":{"name":"Davis
McPhee","email":"davis.mcphee@elastic.co"},"sourceCommit":{"committedDate":"2023-10-26T14:05:19Z","message":"[Saved
Search] [Embeddable] Fix issue where Dashboard panel targeting deleted
saved search can't be removed (#169896)\n\n## Summary\r\n\r\nThis PR
fixes an issue where an undefined reference error makes it so\r\nthat
Dashboard panels targeting deleted saved searches cannot
be\r\nremoved.\r\n\r\nThe bug was likely introduced in 8.10 with
embeddable changes in\r\n#146849.\r\n\r\nFixes #169829.\r\n\r\n###
Checklist\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] 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###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"8c93e5c6ff31621c380aaa947e579b3cb196b613","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:DataDiscovery","backport:prev-minor","v8.12.0"],"number":169896,"url":"https://github.com/elastic/kibana/pull/169896","mergeCommit":{"message":"[Saved
Search] [Embeddable] Fix issue where Dashboard panel targeting deleted
saved search can't be removed (#169896)\n\n## Summary\r\n\r\nThis PR
fixes an issue where an undefined reference error makes it so\r\nthat
Dashboard panels targeting deleted saved searches cannot
be\r\nremoved.\r\n\r\nThe bug was likely introduced in 8.10 with
embeddable changes in\r\n#146849.\r\n\r\nFixes #169829.\r\n\r\n###
Checklist\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] 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###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"8c93e5c6ff31621c380aaa947e579b3cb196b613"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/169896","number":169896,"mergeCommit":{"message":"[Saved
Search] [Embeddable] Fix issue where Dashboard panel targeting deleted
saved search can't be removed (#169896)\n\n## Summary\r\n\r\nThis PR
fixes an issue where an undefined reference error makes it so\r\nthat
Dashboard panels targeting deleted saved searches cannot
be\r\nremoved.\r\n\r\nThe bug was likely introduced in 8.10 with
embeddable changes in\r\n#146849.\r\n\r\nFixes #169829.\r\n\r\n###
Checklist\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] 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###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"8c93e5c6ff31621c380aaa947e579b3cb196b613"}}]}]
BACKPORT-->

Co-authored-by: Davis McPhee <davis.mcphee@elastic.co>
2023-10-26 09:10:24 -07:00
Kibana Machine
205f2e2d84
[8.11] [Obs UX] Flaky test retry fix (#169918) (#169938)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Obs UX] Flaky test retry fix
(#169918)](https://github.com/elastic/kibana/pull/169918)

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

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

<!--BACKPORT
[{"author":{"name":"jennypavlova","email":"dzheni.pavlova@elastic.co"},"sourceCommit":{"committedDate":"2023-10-26T13:34:43Z","message":"[Obs
UX] Flaky test retry fix (#169918)\n\nCloses #169081 \r\n##
Summary\r\n\r\nFrom the
[build\r\nscreenshot](018b6532-e60c-4d10-871b-f2840d57b7ea_5295cb1f7df0a4e3892a49e325077ec4.html?response-content-type=text%2Fhtml&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAQPCP3C7LSNRXAZM5%2F20231026%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231026T100921Z&X-Amz-Expires=600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEEYaCXVzLWVhc3QtMSJGMEQCIGhXJS1VvkibyMLJ%2FA%2Fsl0q5DYSyfpCYUQ7oitA1SbHjAiBeGs4DWHVEpNE9X6FKD4%2FTM5CnARkC0AJ7jMnh6DrKjyrxAwhuEAAaDDAzMjM3OTcwNTMwMyIMXItogE7G9vjHZKr%2BKs4D3%2FUVEDd9v0cDIHon57SzWrKDM5c9RChzQPW%2BYmi293Rg35M%2BSYPbhyX4bRqF7D8AvRz7zSsNTHJXGpYRsiLkgbnSP5jourtQmYatmu6KKDH96zR9jdtGqwGkbIcsmql5wV8czeFrmNzCn0zGGb3XTKBTTKJDHDN7eu%2Fvt2xJ%2BYLif6up21PF6zIGKDohRZLiPB6%2FvXqWfy%2F3Z4RK8JhJGQE8RhrLopLxLllBt2j15SvEFiI6J2GeSDJdS3%2F7v45auGTvsKCVkAKlBv3iW2XezyDxnVNkFetBefz00lLLZ2OX3MOln7q7%2Fc7BEiJa%2BegGID7VyvIsXVxuaNfg5zB3bP%2F8p2bxPoATAJqhBHpqhdMJiVa0w6VbAkzMELIwEHjXDqvIS2%2BekDvm8WgXwNCCzr4qizGfNRtLPje5B6IaCr%2FND2jNVHXrop20bzxnHAreci2%2BOlxz%2FaPJUBWvehvD0B0dy9q8zIsjgiyx%2BslJgfXYeP7YNcQ769SAKuTn1hP2OIj1U8fcsfnuagY792PVuVxs1hFDQ9IzPRkZ5fU98rOuHO82x9GfWuzzkv50vIk%2BlvPvlXev6Ez9ZqQ8aXoC3KKgyHRYmBjpGFEt8szkMNjs56kGOqYBBiihNfWTeetTlFhU8YTSrupG3wqyDkD0n%2BGzgM1v4LEHARj%2FUnlRctNMYaoQC5ou6tFMQDR5bmMKzt6JX4PWHmM%2FVxCgCrdfkXjPaBscR8zDkM%2Bls1B80gEGfGBQsBruNHGODcM9%2BYN%2Bu9%2BX%2BUUx50XBCzuYCr0UkrQtnE5g2dDDOrBtE2ElYokriPhngDNCmMihalGXu539X4Vr9I8U1RyQb%2Beq4g%3D%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=6def38b8a92b24c41f503ff0647af3a4e317d833acb9b3b96777eb61d68f559e)\r\nit's
visible that the navigation is correct so we probably checked the\r\nurl
before the page loaded so I added a retry and page load
check\r\n\r\n[Flaky tests
runner\r\nbuild](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3757)","sha":"6d959b8b53449b3bff10a596265f8b1c6d3072c8","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Infra
Monitoring
UI","release_note:skip","backport:prev-minor","v8.12.0","Team:obs-ux-infra_services"],"number":169918,"url":"https://github.com/elastic/kibana/pull/169918","mergeCommit":{"message":"[Obs
UX] Flaky test retry fix (#169918)\n\nCloses #169081 \r\n##
Summary\r\n\r\nFrom the
[build\r\nscreenshot](018b6532-e60c-4d10-871b-f2840d57b7ea_5295cb1f7df0a4e3892a49e325077ec4.html?response-content-type=text%2Fhtml&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAQPCP3C7LSNRXAZM5%2F20231026%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231026T100921Z&X-Amz-Expires=600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEEYaCXVzLWVhc3QtMSJGMEQCIGhXJS1VvkibyMLJ%2FA%2Fsl0q5DYSyfpCYUQ7oitA1SbHjAiBeGs4DWHVEpNE9X6FKD4%2FTM5CnARkC0AJ7jMnh6DrKjyrxAwhuEAAaDDAzMjM3OTcwNTMwMyIMXItogE7G9vjHZKr%2BKs4D3%2FUVEDd9v0cDIHon57SzWrKDM5c9RChzQPW%2BYmi293Rg35M%2BSYPbhyX4bRqF7D8AvRz7zSsNTHJXGpYRsiLkgbnSP5jourtQmYatmu6KKDH96zR9jdtGqwGkbIcsmql5wV8czeFrmNzCn0zGGb3XTKBTTKJDHDN7eu%2Fvt2xJ%2BYLif6up21PF6zIGKDohRZLiPB6%2FvXqWfy%2F3Z4RK8JhJGQE8RhrLopLxLllBt2j15SvEFiI6J2GeSDJdS3%2F7v45auGTvsKCVkAKlBv3iW2XezyDxnVNkFetBefz00lLLZ2OX3MOln7q7%2Fc7BEiJa%2BegGID7VyvIsXVxuaNfg5zB3bP%2F8p2bxPoATAJqhBHpqhdMJiVa0w6VbAkzMELIwEHjXDqvIS2%2BekDvm8WgXwNCCzr4qizGfNRtLPje5B6IaCr%2FND2jNVHXrop20bzxnHAreci2%2BOlxz%2FaPJUBWvehvD0B0dy9q8zIsjgiyx%2BslJgfXYeP7YNcQ769SAKuTn1hP2OIj1U8fcsfnuagY792PVuVxs1hFDQ9IzPRkZ5fU98rOuHO82x9GfWuzzkv50vIk%2BlvPvlXev6Ez9ZqQ8aXoC3KKgyHRYmBjpGFEt8szkMNjs56kGOqYBBiihNfWTeetTlFhU8YTSrupG3wqyDkD0n%2BGzgM1v4LEHARj%2FUnlRctNMYaoQC5ou6tFMQDR5bmMKzt6JX4PWHmM%2FVxCgCrdfkXjPaBscR8zDkM%2Bls1B80gEGfGBQsBruNHGODcM9%2BYN%2Bu9%2BX%2BUUx50XBCzuYCr0UkrQtnE5g2dDDOrBtE2ElYokriPhngDNCmMihalGXu539X4Vr9I8U1RyQb%2Beq4g%3D%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=6def38b8a92b24c41f503ff0647af3a4e317d833acb9b3b96777eb61d68f559e)\r\nit's
visible that the navigation is correct so we probably checked the\r\nurl
before the page loaded so I added a retry and page load
check\r\n\r\n[Flaky tests
runner\r\nbuild](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3757)","sha":"6d959b8b53449b3bff10a596265f8b1c6d3072c8"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/169918","number":169918,"mergeCommit":{"message":"[Obs
UX] Flaky test retry fix (#169918)\n\nCloses #169081 \r\n##
Summary\r\n\r\nFrom the
[build\r\nscreenshot](018b6532-e60c-4d10-871b-f2840d57b7ea_5295cb1f7df0a4e3892a49e325077ec4.html?response-content-type=text%2Fhtml&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAQPCP3C7LSNRXAZM5%2F20231026%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231026T100921Z&X-Amz-Expires=600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEEYaCXVzLWVhc3QtMSJGMEQCIGhXJS1VvkibyMLJ%2FA%2Fsl0q5DYSyfpCYUQ7oitA1SbHjAiBeGs4DWHVEpNE9X6FKD4%2FTM5CnARkC0AJ7jMnh6DrKjyrxAwhuEAAaDDAzMjM3OTcwNTMwMyIMXItogE7G9vjHZKr%2BKs4D3%2FUVEDd9v0cDIHon57SzWrKDM5c9RChzQPW%2BYmi293Rg35M%2BSYPbhyX4bRqF7D8AvRz7zSsNTHJXGpYRsiLkgbnSP5jourtQmYatmu6KKDH96zR9jdtGqwGkbIcsmql5wV8czeFrmNzCn0zGGb3XTKBTTKJDHDN7eu%2Fvt2xJ%2BYLif6up21PF6zIGKDohRZLiPB6%2FvXqWfy%2F3Z4RK8JhJGQE8RhrLopLxLllBt2j15SvEFiI6J2GeSDJdS3%2F7v45auGTvsKCVkAKlBv3iW2XezyDxnVNkFetBefz00lLLZ2OX3MOln7q7%2Fc7BEiJa%2BegGID7VyvIsXVxuaNfg5zB3bP%2F8p2bxPoATAJqhBHpqhdMJiVa0w6VbAkzMELIwEHjXDqvIS2%2BekDvm8WgXwNCCzr4qizGfNRtLPje5B6IaCr%2FND2jNVHXrop20bzxnHAreci2%2BOlxz%2FaPJUBWvehvD0B0dy9q8zIsjgiyx%2BslJgfXYeP7YNcQ769SAKuTn1hP2OIj1U8fcsfnuagY792PVuVxs1hFDQ9IzPRkZ5fU98rOuHO82x9GfWuzzkv50vIk%2BlvPvlXev6Ez9ZqQ8aXoC3KKgyHRYmBjpGFEt8szkMNjs56kGOqYBBiihNfWTeetTlFhU8YTSrupG3wqyDkD0n%2BGzgM1v4LEHARj%2FUnlRctNMYaoQC5ou6tFMQDR5bmMKzt6JX4PWHmM%2FVxCgCrdfkXjPaBscR8zDkM%2Bls1B80gEGfGBQsBruNHGODcM9%2BYN%2Bu9%2BX%2BUUx50XBCzuYCr0UkrQtnE5g2dDDOrBtE2ElYokriPhngDNCmMihalGXu539X4Vr9I8U1RyQb%2Beq4g%3D%3D&X-Amz-SignedHeaders=host&X-Amz-Signature=6def38b8a92b24c41f503ff0647af3a4e317d833acb9b3b96777eb61d68f559e)\r\nit's
visible that the navigation is correct so we probably checked the\r\nurl
before the page loaded so I added a retry and page load
check\r\n\r\n[Flaky tests
runner\r\nbuild](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3757)","sha":"6d959b8b53449b3bff10a596265f8b1c6d3072c8"}}]}]
BACKPORT-->

Co-authored-by: jennypavlova <dzheni.pavlova@elastic.co>
2023-10-26 07:54:37 -07:00
Juan Pablo Djeredjian
de498bea37
[8.11] [Security Solution ] Fix flake in /prebuilt_rules/prebuilt_rules_install_update_workflows.cy.ts Cypress integration test (#169842) (#169934)
# Backport

This will backport the following commits from `main` to `8.11`:
- [[Security Solution ] Fix flake in
`/prebuilt_rules/prebuilt_rules_install_update_workflows.cy.ts` Cypress
integration test
(#169842)](https://github.com/elastic/kibana/pull/169842)

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

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

<!--BACKPORT [{"author":{"name":"Juan Pablo
Djeredjian","email":"jpdjeredjian@gmail.com"},"sourceCommit":{"committedDate":"2023-10-26T13:13:22Z","message":"[Security
Solution ] Fix flake in
`/prebuilt_rules/prebuilt_rules_install_update_workflows.cy.ts` Cypress
integration test (#169842)\n\nFixes:
https://github.com/elastic/kibana/issues/168897\r\n\r\n##
Summary\r\n\r\nRemoves flake by waiting for Installation of rules
(`/_perform`) to complete before making assertion on the success
toaster.\r\n\r\n## Flaky test runs\r\n\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3735
🟢 \r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3737
[CONTROL - NO
CHANGES]","sha":"79b1a877b0b0571aaaa21b7a313512bf5d16f70b","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Prebuilt Detection
Rules","v8.11.0","v8.12.0"],"number":169842,"url":"https://github.com/elastic/kibana/pull/169842","mergeCommit":{"message":"[Security
Solution ] Fix flake in
`/prebuilt_rules/prebuilt_rules_install_update_workflows.cy.ts` Cypress
integration test (#169842)\n\nFixes:
https://github.com/elastic/kibana/issues/168897\r\n\r\n##
Summary\r\n\r\nRemoves flake by waiting for Installation of rules
(`/_perform`) to complete before making assertion on the success
toaster.\r\n\r\n## Flaky test runs\r\n\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3735
🟢 \r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3737
[CONTROL - NO
CHANGES]","sha":"79b1a877b0b0571aaaa21b7a313512bf5d16f70b"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/169842","number":169842,"mergeCommit":{"message":"[Security
Solution ] Fix flake in
`/prebuilt_rules/prebuilt_rules_install_update_workflows.cy.ts` Cypress
integration test (#169842)\n\nFixes:
https://github.com/elastic/kibana/issues/168897\r\n\r\n##
Summary\r\n\r\nRemoves flake by waiting for Installation of rules
(`/_perform`) to complete before making assertion on the success
toaster.\r\n\r\n## Flaky test runs\r\n\r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3735
🟢 \r\n-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3737
[CONTROL - NO
CHANGES]","sha":"79b1a877b0b0571aaaa21b7a313512bf5d16f70b"}}]}]
BACKPORT-->
2023-10-26 07:30:20 -07:00