Commit graph

8510 commits

Author SHA1 Message Date
Kibana Machine
2f84590905
[8.10] [Flaky #70928] Unskip test (#166177) (#166324)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Flaky #70928] Unskip test
(#166177)](https://github.com/elastic/kibana/pull/166177)

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

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

<!--BACKPORT [{"author":{"name":"Alejandro Fernández
Haro","email":"alejandro.haro@elastic.co"},"sourceCommit":{"committedDate":"2023-09-13T07:06:05Z","message":"[Flaky
#70928] Unskip test
(#166177)","sha":"df08786c98cd12e020934126e8d6af3f460d0a34","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","Team:Security","technical
debt","release_note:skip","backport:all-open","v8.11.0"],"number":166177,"url":"https://github.com/elastic/kibana/pull/166177","mergeCommit":{"message":"[Flaky
#70928] Unskip test
(#166177)","sha":"df08786c98cd12e020934126e8d6af3f460d0a34"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/166177","number":166177,"mergeCommit":{"message":"[Flaky
#70928] Unskip test
(#166177)","sha":"df08786c98cd12e020934126e8d6af3f460d0a34"}}]}]
BACKPORT-->

Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2023-09-13 01:06:35 -07:00
Lisa Cawley
cdc8242989
[8.10] [DOCS] Automate Jira connector screenshots (#165917) (#166124)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[DOCS] Automate Jira connector screenshots
(#165917)](https://github.com/elastic/kibana/pull/165917)

<!--- 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-09-08T20:01:53Z","message":"[DOCS]
Automate Jira connector screenshots
(#165917)","sha":"87c60a381936314db9474921b3d1da033f276ae7","branchLabelMapping":{"^v8.11.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"],"number":165917,"url":"https://github.com/elastic/kibana/pull/165917","mergeCommit":{"message":"[DOCS]
Automate Jira connector screenshots
(#165917)","sha":"87c60a381936314db9474921b3d1da033f276ae7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165917","number":165917,"mergeCommit":{"message":"[DOCS]
Automate Jira connector screenshots
(#165917)","sha":"87c60a381936314db9474921b3d1da033f276ae7"}}]}]
BACKPORT-->
2023-09-11 11:27:15 -04:00
Søren Louv-Jansen
672c588656
[8.10] [APM] Paginate big traces (#165584) (#166137) 2023-09-11 12:11:36 +01:00
Lisa Cawley
5bb2a71447
[8.10] [DOCS] Automates xMatters connector screenshots (#165922) (#166120)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[DOCS] Automates xMatters connector screenshots
(#165922)](https://github.com/elastic/kibana/pull/165922)

<!--- 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-09-08T18:47:13Z","message":"[DOCS]
Automates xMatters connector screenshots
(#165922)","sha":"c7ab78eeb8a571245c12d4e22b08a620e4ec99da","branchLabelMapping":{"^v8.11.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"],"number":165922,"url":"https://github.com/elastic/kibana/pull/165922","mergeCommit":{"message":"[DOCS]
Automates xMatters connector screenshots
(#165922)","sha":"c7ab78eeb8a571245c12d4e22b08a620e4ec99da"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165922","number":165922,"mergeCommit":{"message":"[DOCS]
Automates xMatters connector screenshots
(#165922)","sha":"c7ab78eeb8a571245c12d4e22b08a620e4ec99da"}}]}]
BACKPORT-->
2023-09-08 17:27:15 -04:00
Kibana Machine
585fb78b59
[8.10] [DOCS] Automate generative AI connector screenshots (#165420) (#165891)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[DOCS] Automate generative AI connector screenshots
(#165420)](https://github.com/elastic/kibana/pull/165420)

<!--- 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-09-06T17:51:13Z","message":"[DOCS]
Automate generative AI connector screenshots
(#165420)","sha":"633aebe5fc46bc031358212a8015cfcea2cd9047","branchLabelMapping":{"^v8.11.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"],"number":165420,"url":"https://github.com/elastic/kibana/pull/165420","mergeCommit":{"message":"[DOCS]
Automate generative AI connector screenshots
(#165420)","sha":"633aebe5fc46bc031358212a8015cfcea2cd9047"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165420","number":165420,"mergeCommit":{"message":"[DOCS]
Automate generative AI connector screenshots
(#165420)","sha":"633aebe5fc46bc031358212a8015cfcea2cd9047"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-09-08 12:47:36 -07:00
Kibana Machine
552cb18318
[8.10] [DOCS] Automate screenshots for Elasticsearch query rule actions (#164794) (#166018)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[DOCS] Automate screenshots for Elasticsearch query rule actions
(#164794)](https://github.com/elastic/kibana/pull/164794)

<!--- 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-09-07T19:16:10Z","message":"[DOCS]
Automate screenshots for Elasticsearch query rule actions
(#164794)","sha":"3151aad37bf42b91358dad02cd4a16a485004c73","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Alerting","release_note:skip","Team:ResponseOps","docs","v8.10.0","v8.11.0"],"number":164794,"url":"https://github.com/elastic/kibana/pull/164794","mergeCommit":{"message":"[DOCS]
Automate screenshots for Elasticsearch query rule actions
(#164794)","sha":"3151aad37bf42b91358dad02cd4a16a485004c73"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164794","number":164794,"mergeCommit":{"message":"[DOCS]
Automate screenshots for Elasticsearch query rule actions
(#164794)","sha":"3151aad37bf42b91358dad02cd4a16a485004c73"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-09-07 13:47:12 -07:00
Tiago Costa
d203740ef3
skip flaky suite (#164420) 2023-09-07 19:58:02 +01:00
Kibana Machine
1b2de6dcb1
[8.10] [Security Solution] Unskip failing tests in Policy and Metadata (#165242) (#165837)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] Unskip failing tests in Policy and Metadata
(#165242)](https://github.com/elastic/kibana/pull/165242)

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

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

<!--BACKPORT [{"author":{"name":"Kevin
Logan","email":"56395104+kevinlog@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-09-06T11:38:44Z","message":"[Security
Solution] Unskip failing tests in Policy and Metadata (#165242)\n\n##
Summary\r\n\r\nUnskip tests that were skipped during a package release
that was rolled\r\nback.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"782ab866b5e7eb59e0dd13419a4f92c0aab4149e","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","v8.10.0","v8.11.0"],"number":165242,"url":"https://github.com/elastic/kibana/pull/165242","mergeCommit":{"message":"[Security
Solution] Unskip failing tests in Policy and Metadata (#165242)\n\n##
Summary\r\n\r\nUnskip tests that were skipped during a package release
that was rolled\r\nback.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"782ab866b5e7eb59e0dd13419a4f92c0aab4149e"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165242","number":165242,"mergeCommit":{"message":"[Security
Solution] Unskip failing tests in Policy and Metadata (#165242)\n\n##
Summary\r\n\r\nUnskip tests that were skipped during a package release
that was rolled\r\nback.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"782ab866b5e7eb59e0dd13419a4f92c0aab4149e"}}]}]
BACKPORT-->

Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
2023-09-06 05:56:49 -07:00
Kibana Machine
5ac352c498
[8.10] [DOCS] Automate Opsgenie connector screenshots (#165265) (#165783)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[DOCS] Automate Opsgenie connector screenshots
(#165265)](https://github.com/elastic/kibana/pull/165265)

<!--- 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-09-05T22:31:57Z","message":"[DOCS]
Automate Opsgenie connector screenshots
(#165265)","sha":"4d47b49f104ad91aacfa8c937a18952342f4da16","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:uptime","release_note:skip","Team:ResponseOps","docs","Feature:Actions/ConnectorTypes","backport:prev-minor","v8.11.0"],"number":165265,"url":"https://github.com/elastic/kibana/pull/165265","mergeCommit":{"message":"[DOCS]
Automate Opsgenie connector screenshots
(#165265)","sha":"4d47b49f104ad91aacfa8c937a18952342f4da16"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165265","number":165265,"mergeCommit":{"message":"[DOCS]
Automate Opsgenie connector screenshots
(#165265)","sha":"4d47b49f104ad91aacfa8c937a18952342f4da16"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-09-05 16:26:20 -07:00
Kibana Machine
c034a6e57b
[8.10] [DOCS] Automate PagerDuty connector screenshots (#165413) (#165764)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[DOCS] Automate PagerDuty connector screenshots
(#165413)](https://github.com/elastic/kibana/pull/165413)

<!--- 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-09-05T19:18:28Z","message":"[DOCS]
Automate PagerDuty connector screenshots (#165413)\n\n##
Summary\r\n\r\nThis PR automates two screenshots
in\r\nhttps://www.elastic.co/guide/en/kibana/master/pagerduty-action-type.html","sha":"33dcda7b7007bdc390455eb1f6879c73b3ce1c52","branchLabelMapping":{"^v8.11.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"],"number":165413,"url":"https://github.com/elastic/kibana/pull/165413","mergeCommit":{"message":"[DOCS]
Automate PagerDuty connector screenshots (#165413)\n\n##
Summary\r\n\r\nThis PR automates two screenshots
in\r\nhttps://www.elastic.co/guide/en/kibana/master/pagerduty-action-type.html","sha":"33dcda7b7007bdc390455eb1f6879c73b3ce1c52"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165413","number":165413,"mergeCommit":{"message":"[DOCS]
Automate PagerDuty connector screenshots (#165413)\n\n##
Summary\r\n\r\nThis PR automates two screenshots
in\r\nhttps://www.elastic.co/guide/en/kibana/master/pagerduty-action-type.html","sha":"33dcda7b7007bdc390455eb1f6879c73b3ce1c52"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-09-05 13:22:15 -07:00
Kibana Machine
3e3f82ddea
[8.10] Reverting android upload map file endpoint changes (#165449) (#165603)
# Backport

This will backport the following commits from `main` to `8.10`:
- [Reverting android upload map file endpoint changes
(#165449)](https://github.com/elastic/kibana/pull/165449)

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

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

<!--BACKPORT
[{"author":{"name":"LikeTheSalad","email":"56847527+LikeTheSalad@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-09-04T14:07:04Z","message":"Reverting
android upload map file endpoint changes (#165449)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/165393\r\n\r\n\r\n###
Checklist\r\n\r\n### Risk Matrix\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":"0e982807e087edec6053107e6b326251ce9a48d3","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:APM","release_note:skip","v8.10.0","v8.11.0"],"number":165449,"url":"https://github.com/elastic/kibana/pull/165449","mergeCommit":{"message":"Reverting
android upload map file endpoint changes (#165449)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/165393\r\n\r\n\r\n###
Checklist\r\n\r\n### Risk Matrix\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":"0e982807e087edec6053107e6b326251ce9a48d3"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165449","number":165449,"mergeCommit":{"message":"Reverting
android upload map file endpoint changes (#165449)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/165393\r\n\r\n\r\n###
Checklist\r\n\r\n### Risk Matrix\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":"0e982807e087edec6053107e6b326251ce9a48d3"}}]}]
BACKPORT-->

Co-authored-by: LikeTheSalad <56847527+LikeTheSalad@users.noreply.github.com>
2023-09-04 08:44:23 -07:00
Kibana Machine
dc725140c2
[8.10] [Security Solution][Endpoint] Fix and unskip flaky test (#165466) (#165559)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution][Endpoint] Fix and unskip flaky test
(#165466)](https://github.com/elastic/kibana/pull/165466)

<!--- 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-09-04T07:43:47Z","message":"[Security
Solution][Endpoint] Fix and unskip flaky test (#165466)\n\n##
Summary\r\n\r\nFixes and un-skips a test. Ensures that the test data
doesn't create an\r\nexisting index. If it still does, as a temp.
measure we're dismissing\r\nthe error toast that is blocking the button
so the rest of the test can\r\ncontinue.\r\n\r\ncloses
elastic/kibana/issues/139260\r\n\r\n**flakey test
runner**\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3036\r\nx
200 ( all green)\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":"ada6671165ecfc2c27014fa0aa43c58ed8e965df","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","OLM
Sprint","v8.10.0","v8.11.0"],"number":165466,"url":"https://github.com/elastic/kibana/pull/165466","mergeCommit":{"message":"[Security
Solution][Endpoint] Fix and unskip flaky test (#165466)\n\n##
Summary\r\n\r\nFixes and un-skips a test. Ensures that the test data
doesn't create an\r\nexisting index. If it still does, as a temp.
measure we're dismissing\r\nthe error toast that is blocking the button
so the rest of the test can\r\ncontinue.\r\n\r\ncloses
elastic/kibana/issues/139260\r\n\r\n**flakey test
runner**\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3036\r\nx
200 ( all green)\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":"ada6671165ecfc2c27014fa0aa43c58ed8e965df"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165466","number":165466,"mergeCommit":{"message":"[Security
Solution][Endpoint] Fix and unskip flaky test (#165466)\n\n##
Summary\r\n\r\nFixes and un-skips a test. Ensures that the test data
doesn't create an\r\nexisting index. If it still does, as a temp.
measure we're dismissing\r\nthe error toast that is blocking the button
so the rest of the test can\r\ncontinue.\r\n\r\ncloses
elastic/kibana/issues/139260\r\n\r\n**flakey test
runner**\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3036\r\nx
200 ( all green)\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":"ada6671165ecfc2c27014fa0aa43c58ed8e965df"}}]}]
BACKPORT-->

Co-authored-by: Ash <1849116+ashokaditya@users.noreply.github.com>
2023-09-04 02:01:59 -07:00
Kibana Machine
de6c207632
[8.10] [Security Solution] Fix Related integrations Cypress test (#165481) (#165501)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] Fix Related integrations Cypress test
(#165481)](https://github.com/elastic/kibana/pull/165481)

<!--- 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-09-01T16:32:13Z","message":"[Security
Solution] Fix Related integrations Cypress test
(#165481)","sha":"d2381149fdaae6070fa007953f3969924916a6e9","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection Rule
Management","Feature:Related
Integrations","v8.10.0","v8.11.0"],"number":165481,"url":"https://github.com/elastic/kibana/pull/165481","mergeCommit":{"message":"[Security
Solution] Fix Related integrations Cypress test
(#165481)","sha":"d2381149fdaae6070fa007953f3969924916a6e9"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165481","number":165481,"mergeCommit":{"message":"[Security
Solution] Fix Related integrations Cypress test
(#165481)","sha":"d2381149fdaae6070fa007953f3969924916a6e9"}}]}]
BACKPORT-->

Co-authored-by: Juan Pablo Djeredjian <jpdjeredjian@gmail.com>
2023-09-01 10:41:06 -07:00
Kibana Machine
b585d12d5a
[8.10] test api/status for capacity (#164864) (#165492)
# Backport

This will backport the following commits from `main` to `8.10`:
- [test api/status for capacity
(#164864)](https://github.com/elastic/kibana/pull/164864)

<!--- 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-09-01T16:03:50Z","message":"test
api/status for capacity (#164864)\n\n## Summary\r\n\r\nAdding API
capacity test for `GET
/api/status`\r\n\r\n\r\nStats:\r\n```\r\n\"warmupAvgResponseTime\":
39,\r\n\"rpsAtWarmup\":10,\r\n\"warmupDuration\":30,\r\n\"rpsMax\":695,\r\n\"responseTimeMetric\":\"85%\",\r\n\"threshold1ResponseTime\":1000,\r\n\"rpsAtThreshold1\":435,\r\n\"threshold2ResponseTime\":3000,\r\n\"rpsAtThreshold2\":475,\r\n\"threshold3ResponseTime\":5000,\r\n\"rpsAtThreshold3\":495\r\n```","sha":"555f8656944cac53db36cb561b28dd5638fe08eb","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["performance","release_note:skip","v8.10.0","v8.11.0"],"number":164864,"url":"https://github.com/elastic/kibana/pull/164864","mergeCommit":{"message":"test
api/status for capacity (#164864)\n\n## Summary\r\n\r\nAdding API
capacity test for `GET
/api/status`\r\n\r\n\r\nStats:\r\n```\r\n\"warmupAvgResponseTime\":
39,\r\n\"rpsAtWarmup\":10,\r\n\"warmupDuration\":30,\r\n\"rpsMax\":695,\r\n\"responseTimeMetric\":\"85%\",\r\n\"threshold1ResponseTime\":1000,\r\n\"rpsAtThreshold1\":435,\r\n\"threshold2ResponseTime\":3000,\r\n\"rpsAtThreshold2\":475,\r\n\"threshold3ResponseTime\":5000,\r\n\"rpsAtThreshold3\":495\r\n```","sha":"555f8656944cac53db36cb561b28dd5638fe08eb"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164864","number":164864,"mergeCommit":{"message":"test
api/status for capacity (#164864)\n\n## Summary\r\n\r\nAdding API
capacity test for `GET
/api/status`\r\n\r\n\r\nStats:\r\n```\r\n\"warmupAvgResponseTime\":
39,\r\n\"rpsAtWarmup\":10,\r\n\"warmupDuration\":30,\r\n\"rpsMax\":695,\r\n\"responseTimeMetric\":\"85%\",\r\n\"threshold1ResponseTime\":1000,\r\n\"rpsAtThreshold1\":435,\r\n\"threshold2ResponseTime\":3000,\r\n\"rpsAtThreshold2\":475,\r\n\"threshold3ResponseTime\":5000,\r\n\"rpsAtThreshold3\":495\r\n```","sha":"555f8656944cac53db36cb561b28dd5638fe08eb"}}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2023-09-01 10:10:12 -07:00
Kibana Machine
8ea7cee500
[8.10] [esArchiver] Do not perform SO migration on cleanup (#163302) (#165451)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[esArchiver] Do not perform SO migration on cleanup
(#163302)](https://github.com/elastic/kibana/pull/163302)

<!--- 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-09-01T10:41:20Z","message":"[esArchiver]
Do not perform SO migration on cleanup (#163302)\n\n##
Summary\r\n\r\nAttempt at fixing
https://github.com/elastic/kibana/issues/127545\r\n\r\nThe failing tests
use `esArchiver` to cleanup Saved Object indices\r\nbetween
tests.\r\nStrangely, the cleanup method calls the migration logic to
update the SO\r\nindices.\r\n\r\nIn this particular source of flakiness,
a test fails during the\r\nmigration (problem is tracked
by\r\nhttps://github.com/elastic/kibana/issues/163289).\r\n\r\nPerforming
a migration as part of the cleanup does not make too much\r\nsense (at
least in this test suite), so the goal of this PR is to\r\nsimplify the
cleanup operation, getting rid of the call
to\r\n`migrateSavedObjectIndices`.\r\n\r\n50 runs flaky test
runner\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2850\r\n","sha":"f8303ec7cf57aa8787331ada397dfa853de969c9","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Team:Core","Team:Operations","release_note:skip","test-failure-flaky","backport:all-open","v8.11.0"],"number":163302,"url":"https://github.com/elastic/kibana/pull/163302","mergeCommit":{"message":"[esArchiver]
Do not perform SO migration on cleanup (#163302)\n\n##
Summary\r\n\r\nAttempt at fixing
https://github.com/elastic/kibana/issues/127545\r\n\r\nThe failing tests
use `esArchiver` to cleanup Saved Object indices\r\nbetween
tests.\r\nStrangely, the cleanup method calls the migration logic to
update the SO\r\nindices.\r\n\r\nIn this particular source of flakiness,
a test fails during the\r\nmigration (problem is tracked
by\r\nhttps://github.com/elastic/kibana/issues/163289).\r\n\r\nPerforming
a migration as part of the cleanup does not make too much\r\nsense (at
least in this test suite), so the goal of this PR is to\r\nsimplify the
cleanup operation, getting rid of the call
to\r\n`migrateSavedObjectIndices`.\r\n\r\n50 runs flaky test
runner\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2850\r\n","sha":"f8303ec7cf57aa8787331ada397dfa853de969c9"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163302","number":163302,"mergeCommit":{"message":"[esArchiver]
Do not perform SO migration on cleanup (#163302)\n\n##
Summary\r\n\r\nAttempt at fixing
https://github.com/elastic/kibana/issues/127545\r\n\r\nThe failing tests
use `esArchiver` to cleanup Saved Object indices\r\nbetween
tests.\r\nStrangely, the cleanup method calls the migration logic to
update the SO\r\nindices.\r\n\r\nIn this particular source of flakiness,
a test fails during the\r\nmigration (problem is tracked
by\r\nhttps://github.com/elastic/kibana/issues/163289).\r\n\r\nPerforming
a migration as part of the cleanup does not make too much\r\nsense (at
least in this test suite), so the goal of this PR is to\r\nsimplify the
cleanup operation, getting rid of the call
to\r\n`migrateSavedObjectIndices`.\r\n\r\n50 runs flaky test
runner\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2850\r\n","sha":"f8303ec7cf57aa8787331ada397dfa853de969c9"}}]}]
BACKPORT-->

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
2023-09-01 05:02:39 -07:00
Kibana Machine
61e049be22
[8.10] [Security Solution] Expandable flyout - update copy writing (#164929) (#165374)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] Expandable flyout - update copy writing
(#164929)](https://github.com/elastic/kibana/pull/164929)

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

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

<!--BACKPORT
[{"author":{"name":"christineweng","email":"18648970+christineweng@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-08-31T16:44:03Z","message":"[Security
Solution] Expandable flyout - update copy writing (#164929)\n\n##
Summary\r\n\r\nThis PR made updates to section titles and wordings in
expandable flyout\r\naccording to
[docs\r\nsuggestions](https://github.com/elastic/kibana/issues/164786).\r\n\r\n##
Right panel\r\n**Response**\r\n - Updated empty response
message\r\n\r\n![image](bbc49a07-956f-4584-bbdd-663d52b515fe)\r\n\r\n**Visualizations
-> Session viewer preview**\r\n - Added upsell message when user does
not have enterprise
license\r\n\r\n![image](3b2698e2-9911-4c61-b3f5-ca092b101f86)\r\n
\r\n - Added empty message when session viewer preview is not
available\r\n\r\n![image](67ccd561-65a2-4f3e-bb37-e886c1be5be1)\r\n\r\n**Visualizations
-> Analyzer preview**\r\n - Added empty
message\r\n\r\n![image](76939f6c-a14a-49d6-942c-e94d360f4b87)\r\n\r\n**Investigation
-> Investigation guide**\r\n - Updated empty message when investigation
guide is not
available\r\n\r\n![image](1df0ee96-4ba1-4568-9d3b-97c585f941f7)\r\n\r\n**Insights
-> Prevalence**\r\n- Updated empty message when no filed/value pair
meets
prevalence\r\nthreashold\r\n\r\n![image](ae2cbf63-a55e-487d-8141-3e4ad99dbed7)\r\n\r\n**Insights
-> Entities**\r\n- Updated empty message when neither host name or user
name are
present\r\n\r\n![image](1c954ea7-29a4-44b4-b7cd-fc64db487b6c)\r\n\r\n##
Left panel\r\n**Insights -> Entities**\r\n - Updated empty state
message\r\n\r\n![image](5f3cc90d-e442-4db5-a7b9-d57d54cc47bc)\r\n\r\n
- \"User info\" -> \"User
information\"\r\n\r\n![image](6e47fb61-c7ac-4cdc-acd5-e97cc2fb9f34)\r\n\r\n
- Tooltip and empty table message in related hosts table
\r\n\r\n![image](705bd9b9-1a1e-46d5-8fc8-fdd672f8ca4c)\r\n\r\n
- \"Host info\" -> \"Host
information\"\r\n\r\n![image](08a02392-3d47-4fa3-99d7-856ec7db08fe)\r\n\r\n
- Tooltip and empty table message in related users
table\r\n\r\n![image](22a8e1cd-b6b8-4a34-8b38-2db0214f0e35)\r\n\r\n**Insights
-> Threat Intelligence**\r\n\r\n - Updated title to lower case\r\n-
Updated empty message for threat match detected and enriched
with\r\nthreat intelligence
sections\r\n\r\n![image](3a523516-5388-4232-98a4-ffe4f1757e31)\r\n\r\n
- Updated
tooltips\r\n\r\n![image](eab2dc54-ed59-44f9-9359-480144d61a77)\r\n\r\n**Investigation**\r\n
- Updated empty state message to stay consistent with right
section\r\n\r\n![image](ad18e656-4b22-41c7-ac20-37dbe0ca7a3d)\r\n\r\n**Insights
-> Correlations**\r\n - Updated table message when no item is
found\r\n\r\n![image](334ec486-5ff4-435c-89a3-564da934f911)\r\n\r\n**Insights
-> Prevalence**\r\n - Added tooltips to each column other than `Field`
and
`Value`\r\n\r\n![image](9e977844-6ec6-4dc5-96a9-fe12fbfb853a)\r\n\r\n**Response**\r\n-
Updated empty state message to match response section on right
section\r\n\r\n![image](10c32f64-f359-455c-8c75-b91910f7d438)\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[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":"bf4254eb502e16583c04a6e51d76fdd72c6b431c","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Threat
Hunting:Investigations","v8.10.0","v8.11.0"],"number":164929,"url":"https://github.com/elastic/kibana/pull/164929","mergeCommit":{"message":"[Security
Solution] Expandable flyout - update copy writing (#164929)\n\n##
Summary\r\n\r\nThis PR made updates to section titles and wordings in
expandable flyout\r\naccording to
[docs\r\nsuggestions](https://github.com/elastic/kibana/issues/164786).\r\n\r\n##
Right panel\r\n**Response**\r\n - Updated empty response
message\r\n\r\n![image](bbc49a07-956f-4584-bbdd-663d52b515fe)\r\n\r\n**Visualizations
-> Session viewer preview**\r\n - Added upsell message when user does
not have enterprise
license\r\n\r\n![image](3b2698e2-9911-4c61-b3f5-ca092b101f86)\r\n
\r\n - Added empty message when session viewer preview is not
available\r\n\r\n![image](67ccd561-65a2-4f3e-bb37-e886c1be5be1)\r\n\r\n**Visualizations
-> Analyzer preview**\r\n - Added empty
message\r\n\r\n![image](76939f6c-a14a-49d6-942c-e94d360f4b87)\r\n\r\n**Investigation
-> Investigation guide**\r\n - Updated empty message when investigation
guide is not
available\r\n\r\n![image](1df0ee96-4ba1-4568-9d3b-97c585f941f7)\r\n\r\n**Insights
-> Prevalence**\r\n- Updated empty message when no filed/value pair
meets
prevalence\r\nthreashold\r\n\r\n![image](ae2cbf63-a55e-487d-8141-3e4ad99dbed7)\r\n\r\n**Insights
-> Entities**\r\n- Updated empty message when neither host name or user
name are
present\r\n\r\n![image](1c954ea7-29a4-44b4-b7cd-fc64db487b6c)\r\n\r\n##
Left panel\r\n**Insights -> Entities**\r\n - Updated empty state
message\r\n\r\n![image](5f3cc90d-e442-4db5-a7b9-d57d54cc47bc)\r\n\r\n
- \"User info\" -> \"User
information\"\r\n\r\n![image](6e47fb61-c7ac-4cdc-acd5-e97cc2fb9f34)\r\n\r\n
- Tooltip and empty table message in related hosts table
\r\n\r\n![image](705bd9b9-1a1e-46d5-8fc8-fdd672f8ca4c)\r\n\r\n
- \"Host info\" -> \"Host
information\"\r\n\r\n![image](08a02392-3d47-4fa3-99d7-856ec7db08fe)\r\n\r\n
- Tooltip and empty table message in related users
table\r\n\r\n![image](22a8e1cd-b6b8-4a34-8b38-2db0214f0e35)\r\n\r\n**Insights
-> Threat Intelligence**\r\n\r\n - Updated title to lower case\r\n-
Updated empty message for threat match detected and enriched
with\r\nthreat intelligence
sections\r\n\r\n![image](3a523516-5388-4232-98a4-ffe4f1757e31)\r\n\r\n
- Updated
tooltips\r\n\r\n![image](eab2dc54-ed59-44f9-9359-480144d61a77)\r\n\r\n**Investigation**\r\n
- Updated empty state message to stay consistent with right
section\r\n\r\n![image](ad18e656-4b22-41c7-ac20-37dbe0ca7a3d)\r\n\r\n**Insights
-> Correlations**\r\n - Updated table message when no item is
found\r\n\r\n![image](334ec486-5ff4-435c-89a3-564da934f911)\r\n\r\n**Insights
-> Prevalence**\r\n - Added tooltips to each column other than `Field`
and
`Value`\r\n\r\n![image](9e977844-6ec6-4dc5-96a9-fe12fbfb853a)\r\n\r\n**Response**\r\n-
Updated empty state message to match response section on right
section\r\n\r\n![image](10c32f64-f359-455c-8c75-b91910f7d438)\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[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":"bf4254eb502e16583c04a6e51d76fdd72c6b431c"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164929","number":164929,"mergeCommit":{"message":"[Security
Solution] Expandable flyout - update copy writing (#164929)\n\n##
Summary\r\n\r\nThis PR made updates to section titles and wordings in
expandable flyout\r\naccording to
[docs\r\nsuggestions](https://github.com/elastic/kibana/issues/164786).\r\n\r\n##
Right panel\r\n**Response**\r\n - Updated empty response
message\r\n\r\n![image](bbc49a07-956f-4584-bbdd-663d52b515fe)\r\n\r\n**Visualizations
-> Session viewer preview**\r\n - Added upsell message when user does
not have enterprise
license\r\n\r\n![image](3b2698e2-9911-4c61-b3f5-ca092b101f86)\r\n
\r\n - Added empty message when session viewer preview is not
available\r\n\r\n![image](67ccd561-65a2-4f3e-bb37-e886c1be5be1)\r\n\r\n**Visualizations
-> Analyzer preview**\r\n - Added empty
message\r\n\r\n![image](76939f6c-a14a-49d6-942c-e94d360f4b87)\r\n\r\n**Investigation
-> Investigation guide**\r\n - Updated empty message when investigation
guide is not
available\r\n\r\n![image](1df0ee96-4ba1-4568-9d3b-97c585f941f7)\r\n\r\n**Insights
-> Prevalence**\r\n- Updated empty message when no filed/value pair
meets
prevalence\r\nthreashold\r\n\r\n![image](ae2cbf63-a55e-487d-8141-3e4ad99dbed7)\r\n\r\n**Insights
-> Entities**\r\n- Updated empty message when neither host name or user
name are
present\r\n\r\n![image](1c954ea7-29a4-44b4-b7cd-fc64db487b6c)\r\n\r\n##
Left panel\r\n**Insights -> Entities**\r\n - Updated empty state
message\r\n\r\n![image](5f3cc90d-e442-4db5-a7b9-d57d54cc47bc)\r\n\r\n
- \"User info\" -> \"User
information\"\r\n\r\n![image](6e47fb61-c7ac-4cdc-acd5-e97cc2fb9f34)\r\n\r\n
- Tooltip and empty table message in related hosts table
\r\n\r\n![image](705bd9b9-1a1e-46d5-8fc8-fdd672f8ca4c)\r\n\r\n
- \"Host info\" -> \"Host
information\"\r\n\r\n![image](08a02392-3d47-4fa3-99d7-856ec7db08fe)\r\n\r\n
- Tooltip and empty table message in related users
table\r\n\r\n![image](22a8e1cd-b6b8-4a34-8b38-2db0214f0e35)\r\n\r\n**Insights
-> Threat Intelligence**\r\n\r\n - Updated title to lower case\r\n-
Updated empty message for threat match detected and enriched
with\r\nthreat intelligence
sections\r\n\r\n![image](3a523516-5388-4232-98a4-ffe4f1757e31)\r\n\r\n
- Updated
tooltips\r\n\r\n![image](eab2dc54-ed59-44f9-9359-480144d61a77)\r\n\r\n**Investigation**\r\n
- Updated empty state message to stay consistent with right
section\r\n\r\n![image](ad18e656-4b22-41c7-ac20-37dbe0ca7a3d)\r\n\r\n**Insights
-> Correlations**\r\n - Updated table message when no item is
found\r\n\r\n![image](334ec486-5ff4-435c-89a3-564da934f911)\r\n\r\n**Insights
-> Prevalence**\r\n - Added tooltips to each column other than `Field`
and
`Value`\r\n\r\n![image](9e977844-6ec6-4dc5-96a9-fe12fbfb853a)\r\n\r\n**Response**\r\n-
Updated empty state message to match response section on right
section\r\n\r\n![image](10c32f64-f359-455c-8c75-b91910f7d438)\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[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":"bf4254eb502e16583c04a6e51d76fdd72c6b431c"}}]}]
BACKPORT-->

Co-authored-by: christineweng <18648970+christineweng@users.noreply.github.com>
Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
2023-09-01 03:18:47 -07:00
Kibana Machine
b09d1c5bcc
[8.10] [Infra] Fix home_page functional tests (#165339) (#165433)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Infra] Fix home_page functional tests
(#165339)](https://github.com/elastic/kibana/pull/165339)

<!--- 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-09-01T08:04:15Z","message":"[Infra]
Fix home_page functional tests (#165339)\n\nfixes
[#164164](https://github.com/elastic/kibana/issues/164164)\r\n##
Summary\r\n\r\nFixes `home_page` functional
test\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3032","sha":"a6d0b782a4277864b032a89383324691cc1a9c6b","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Feature:Metrics
UI","Team:Infra Monitoring
UI","backport:prev-minor","v8.10.0","v8.11.0"],"number":165339,"url":"https://github.com/elastic/kibana/pull/165339","mergeCommit":{"message":"[Infra]
Fix home_page functional tests (#165339)\n\nfixes
[#164164](https://github.com/elastic/kibana/issues/164164)\r\n##
Summary\r\n\r\nFixes `home_page` functional
test\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3032","sha":"a6d0b782a4277864b032a89383324691cc1a9c6b"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165339","number":165339,"mergeCommit":{"message":"[Infra]
Fix home_page functional tests (#165339)\n\nfixes
[#164164](https://github.com/elastic/kibana/issues/164164)\r\n##
Summary\r\n\r\nFixes `home_page` functional
test\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3032","sha":"a6d0b782a4277864b032a89383324691cc1a9c6b"}}]}]
BACKPORT-->

Co-authored-by: Carlos Crespo <crespocarlos@users.noreply.github.com>
2023-09-01 02:15:10 -07:00
Kibana Machine
a6e726eeb8
[8.10] [Logs onboarding] Ensure versioning for SO (#165331) (#165395)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Logs onboarding] Ensure versioning for SO
(#165331)](https://github.com/elastic/kibana/pull/165331)

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

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

<!--BACKPORT [{"author":{"name":"Yngrid
Coello","email":"yngrid.coello@elastic.co"},"sourceCommit":{"committedDate":"2023-08-31T18:56:04Z","message":"[Logs
onboarding] Ensure versioning for SO (#165331)\n\nCloses
https://github.com/elastic/kibana/issues/160253.\r\n\r\n### Changes\r\n-
Schema was added to observabilityOnboarding SO\r\n-
`x-elastic-internal-origin` was added to requests from
installation\r\nscript","sha":"4125ae2a1e4ec05ebc513abd95864f92f142f4ad","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.10.0","v8.11.0"],"number":165331,"url":"https://github.com/elastic/kibana/pull/165331","mergeCommit":{"message":"[Logs
onboarding] Ensure versioning for SO (#165331)\n\nCloses
https://github.com/elastic/kibana/issues/160253.\r\n\r\n### Changes\r\n-
Schema was added to observabilityOnboarding SO\r\n-
`x-elastic-internal-origin` was added to requests from
installation\r\nscript","sha":"4125ae2a1e4ec05ebc513abd95864f92f142f4ad"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165331","number":165331,"mergeCommit":{"message":"[Logs
onboarding] Ensure versioning for SO (#165331)\n\nCloses
https://github.com/elastic/kibana/issues/160253.\r\n\r\n### Changes\r\n-
Schema was added to observabilityOnboarding SO\r\n-
`x-elastic-internal-origin` was added to requests from
installation\r\nscript","sha":"4125ae2a1e4ec05ebc513abd95864f92f142f4ad"}}]}]
BACKPORT-->

Co-authored-by: Yngrid Coello <yngrid.coello@elastic.co>
2023-09-01 00:29:58 -07:00
Tiago Costa
5c50d2b681 skip flaky suite (#162594) 2023-08-31 18:07:34 -05:00
Maxim Palenov
39b7ebe45d
[8.10] [Security Solution] Unskip related integrations tests (#164933) (#165310)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] Unskip related integrations tests
(#164933)](https://github.com/elastic/kibana/pull/164933)

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

### 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-08-31T10:28:16Z","message":"[Security
Solution] Unskip related integrations tests (#164933)\n\n**Fixes:
https://github.com/elastic/kibana/issues/154663**\r\n**Fixes:
https://github.com/elastic/kibana/issues/153684**\r\n\r\n##
Summary\r\n\r\nThis PR unskips Cypress rule related integration tests
([related_integrations.cy.ts](https://github.com/elastic/kibana/blob/main/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/related_integrations/related_integrations.cy.ts)).\r\n\r\n##
Details\r\n\r\nTesting approach has changed. Instead of importing a rule
and installing agent and package policies via Fleet UI the rule is
created by mocking a prebuilt rule asset and Fleet API is used to
install required integrations. Along the way it required to add and
update some testing selectors as UI had changed while the tests were
skipped.\r\n\r\n## Flaky test runner\r\n\r\n[related_integrations.cy.ts
(150
runs)](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2995)
🟢","sha":"2c3464ca8457e09f51852c6c0d60ab7f6e21afc0","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","Team:Detections
and Resp","Team: SecuritySolution","Feature:Rule
Management","Team:Detection Rule
Management","v8.10.0","v8.11.0","flake-docs"],"number":164933,"url":"https://github.com/elastic/kibana/pull/164933","mergeCommit":{"message":"[Security
Solution] Unskip related integrations tests (#164933)\n\n**Fixes:
https://github.com/elastic/kibana/issues/154663**\r\n**Fixes:
https://github.com/elastic/kibana/issues/153684**\r\n\r\n##
Summary\r\n\r\nThis PR unskips Cypress rule related integration tests
([related_integrations.cy.ts](https://github.com/elastic/kibana/blob/main/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/related_integrations/related_integrations.cy.ts)).\r\n\r\n##
Details\r\n\r\nTesting approach has changed. Instead of importing a rule
and installing agent and package policies via Fleet UI the rule is
created by mocking a prebuilt rule asset and Fleet API is used to
install required integrations. Along the way it required to add and
update some testing selectors as UI had changed while the tests were
skipped.\r\n\r\n## Flaky test runner\r\n\r\n[related_integrations.cy.ts
(150
runs)](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2995)
🟢","sha":"2c3464ca8457e09f51852c6c0d60ab7f6e21afc0"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164933","number":164933,"mergeCommit":{"message":"[Security
Solution] Unskip related integrations tests (#164933)\n\n**Fixes:
https://github.com/elastic/kibana/issues/154663**\r\n**Fixes:
https://github.com/elastic/kibana/issues/153684**\r\n\r\n##
Summary\r\n\r\nThis PR unskips Cypress rule related integration tests
([related_integrations.cy.ts](https://github.com/elastic/kibana/blob/main/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_management/related_integrations/related_integrations.cy.ts)).\r\n\r\n##
Details\r\n\r\nTesting approach has changed. Instead of importing a rule
and installing agent and package policies via Fleet UI the rule is
created by mocking a prebuilt rule asset and Fleet API is used to
install required integrations. Along the way it required to add and
update some testing selectors as UI had changed while the tests were
skipped.\r\n\r\n## Flaky test runner\r\n\r\n[related_integrations.cy.ts
(150
runs)](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2995)
🟢","sha":"2c3464ca8457e09f51852c6c0d60ab7f6e21afc0"}}]}] BACKPORT-->
2023-08-31 17:18:57 +02:00
Kibana Machine
fe93fa7b6e
[8.10] Simplify test code, reenable skipped suite (#163158) (#165333)
# Backport

This will backport the following commits from `main` to `8.10`:
- [Simplify test code, reenable skipped suite
(#163158)](https://github.com/elastic/kibana/pull/163158)

<!--- 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-08-31T13:09:19Z","message":"Simplify
test code, reenable skipped suite (#163158)\n\nAttempt at fixing
https://github.com/elastic/kibana/issues/149611\r\n\r\nI updated the
test code as follows:\r\n* Removed the RxJS logic and simply factorised
the reads to read only\r\nonce.\r\n* Got rid of the \"retry\" service.
There's already a mechanism in place\r\nto make sure the logs are
up-to-date.\r\n* Updated the `setCommonlyUsedTime` method to make sure
it awaits for\r\nthe popup to be ready before clicking.\r\n* Skipped 4
tests that seem outdated, the logs don't have the related\r\nentries
even after waiting for more than one minute and flushing (in\r\nfact,
they all seem to systematically fail on `main` too):\r\n *
lnsLegacyMetric\r\n * [Flights] Delays & Cancellations\r\n * [Flights]
Destination Weather\r\n * [Flights] Delay Buckets\r\n\r\nAttached is the
generated\r\n[kibana.log](12260144/kibana.log)\r\n(focussing
only the `browser.ts` tests).\r\n\r\nSo for the skipped tests, this does
not look like flakiness anymore, but\r\nrather outdated / incorrect
checks. I propose we review and update them\r\non a separate issue /
PR.\r\n\r\n50 runs
results\r\n[here](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3026).","sha":"a62d9a90f53c6ebec48d4982393c637cc73c26ac","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","test-failure-flaky","backport:prev-minor","v8.11.0"],"number":163158,"url":"https://github.com/elastic/kibana/pull/163158","mergeCommit":{"message":"Simplify
test code, reenable skipped suite (#163158)\n\nAttempt at fixing
https://github.com/elastic/kibana/issues/149611\r\n\r\nI updated the
test code as follows:\r\n* Removed the RxJS logic and simply factorised
the reads to read only\r\nonce.\r\n* Got rid of the \"retry\" service.
There's already a mechanism in place\r\nto make sure the logs are
up-to-date.\r\n* Updated the `setCommonlyUsedTime` method to make sure
it awaits for\r\nthe popup to be ready before clicking.\r\n* Skipped 4
tests that seem outdated, the logs don't have the related\r\nentries
even after waiting for more than one minute and flushing (in\r\nfact,
they all seem to systematically fail on `main` too):\r\n *
lnsLegacyMetric\r\n * [Flights] Delays & Cancellations\r\n * [Flights]
Destination Weather\r\n * [Flights] Delay Buckets\r\n\r\nAttached is the
generated\r\n[kibana.log](12260144/kibana.log)\r\n(focussing
only the `browser.ts` tests).\r\n\r\nSo for the skipped tests, this does
not look like flakiness anymore, but\r\nrather outdated / incorrect
checks. I propose we review and update them\r\non a separate issue /
PR.\r\n\r\n50 runs
results\r\n[here](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3026).","sha":"a62d9a90f53c6ebec48d4982393c637cc73c26ac"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163158","number":163158,"mergeCommit":{"message":"Simplify
test code, reenable skipped suite (#163158)\n\nAttempt at fixing
https://github.com/elastic/kibana/issues/149611\r\n\r\nI updated the
test code as follows:\r\n* Removed the RxJS logic and simply factorised
the reads to read only\r\nonce.\r\n* Got rid of the \"retry\" service.
There's already a mechanism in place\r\nto make sure the logs are
up-to-date.\r\n* Updated the `setCommonlyUsedTime` method to make sure
it awaits for\r\nthe popup to be ready before clicking.\r\n* Skipped 4
tests that seem outdated, the logs don't have the related\r\nentries
even after waiting for more than one minute and flushing (in\r\nfact,
they all seem to systematically fail on `main` too):\r\n *
lnsLegacyMetric\r\n * [Flights] Delays & Cancellations\r\n * [Flights]
Destination Weather\r\n * [Flights] Delay Buckets\r\n\r\nAttached is the
generated\r\n[kibana.log](12260144/kibana.log)\r\n(focussing
only the `browser.ts` tests).\r\n\r\nSo for the skipped tests, this does
not look like flakiness anymore, but\r\nrather outdated / incorrect
checks. I propose we review and update them\r\non a separate issue /
PR.\r\n\r\n50 runs
results\r\n[here](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3026).","sha":"a62d9a90f53c6ebec48d4982393c637cc73c26ac"}}]}]
BACKPORT-->

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
2023-08-31 07:26:11 -07:00
Patryk Kopyciński
e5221b27eb
[8.10] [security_solution_cypress] Add support for options in EsArchiver.load (#164988) (#165203)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[security_solution_cypress] Add support for options in
EsArchiver.load
(#164988)](https://github.com/elastic/kibana/pull/164988)

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

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

<!--BACKPORT [{"author":{"name":"Patryk
Kopyciński","email":"contact@patrykkopycinski.com"},"sourceCommit":{"committedDate":"2023-08-28T18:21:43Z","message":"[security_solution_cypress]
Add support for options in EsArchiver.load (#164988)\n\n##
Summary\r\n\r\nNeeded
for\r\nhttps://github.com/elastic/kibana/pull/160572#issuecomment-1695775316","sha":"f8ad13ae1f078aa5f0cb6e1190e3c167dec168c8","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.11.0"],"number":164988,"url":"https://github.com/elastic/kibana/pull/164988","mergeCommit":{"message":"[security_solution_cypress]
Add support for options in EsArchiver.load (#164988)\n\n##
Summary\r\n\r\nNeeded
for\r\nhttps://github.com/elastic/kibana/pull/160572#issuecomment-1695775316","sha":"f8ad13ae1f078aa5f0cb6e1190e3c167dec168c8"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164988","number":164988,"mergeCommit":{"message":"[security_solution_cypress]
Add support for options in EsArchiver.load (#164988)\n\n##
Summary\r\n\r\nNeeded
for\r\nhttps://github.com/elastic/kibana/pull/160572#issuecomment-1695775316","sha":"f8ad13ae1f078aa5f0cb6e1190e3c167dec168c8"}}]}]
BACKPORT-->
2023-08-31 08:32:59 +02:00
Davis McPhee
00554f684e
[Search] Skip only the failing test from #164996 instead of the whole suite (#165240)
## Summary

This PR moves the `.skip` call to only the failing test from #164996
instead of the whole suite, since the rest of the suite runs fine.

Related to #164996.
2023-08-30 17:43:44 -03:00
Kibana Machine
8ffd2eada5
[8.10] enable flaky (#165237) (#165253)
# Backport

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

<!--- 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-08-30T15:59:19Z","message":"enable
flaky (#165237)\n\nRe-enable flaky tests\r\n\r\nCloses
https://github.com/elastic/kibana/issues/161624\r\nCloses
https://github.com/elastic/kibana/issues/156941","sha":"77f1a11f11a443667e78c1afbbebee4d901b5431","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v8.10.0","v8.11.0"],"number":165237,"url":"https://github.com/elastic/kibana/pull/165237","mergeCommit":{"message":"enable
flaky (#165237)\n\nRe-enable flaky tests\r\n\r\nCloses
https://github.com/elastic/kibana/issues/161624\r\nCloses
https://github.com/elastic/kibana/issues/156941","sha":"77f1a11f11a443667e78c1afbbebee4d901b5431"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165237","number":165237,"mergeCommit":{"message":"enable
flaky (#165237)\n\nRe-enable flaky tests\r\n\r\nCloses
https://github.com/elastic/kibana/issues/161624\r\nCloses
https://github.com/elastic/kibana/issues/156941","sha":"77f1a11f11a443667e78c1afbbebee4d901b5431"}}]}]
BACKPORT-->

Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>
2023-08-30 10:00:01 -07:00
Kibana Machine
7699da3f7f
[8.10] [Security Solution] Coverage Overview follow-up 2 (#164986) (#165045)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] Coverage Overview follow-up 2
(#164986)](https://github.com/elastic/kibana/pull/164986)

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

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

<!--BACKPORT [{"author":{"name":"Davis
Plumlee","email":"56367316+dplumlee@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-08-28T20:39:20Z","message":"[Security
Solution] Coverage Overview follow-up 2
(#164986)","sha":"3835392e329b1a3cc1dba0a1b6f36a36a87c1cfa","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Detections
and Resp","Team: SecuritySolution","Feature:Rule
Management","Team:Detection Rule
Management","v8.10.0","v8.11.0"],"number":164986,"url":"https://github.com/elastic/kibana/pull/164986","mergeCommit":{"message":"[Security
Solution] Coverage Overview follow-up 2
(#164986)","sha":"3835392e329b1a3cc1dba0a1b6f36a36a87c1cfa"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164986","number":164986,"mergeCommit":{"message":"[Security
Solution] Coverage Overview follow-up 2
(#164986)","sha":"3835392e329b1a3cc1dba0a1b6f36a36a87c1cfa"}}]}]
BACKPORT-->

Co-authored-by: Davis Plumlee <56367316+dplumlee@users.noreply.github.com>
2023-08-29 13:04:51 -07:00
Kibana Machine
a13ba490b3
[8.10] [Stack Monitoring] Document count graph doesn't show exact number (#164809) (#165133)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Stack Monitoring] Document count graph doesn't show exact number
(#164809)](https://github.com/elastic/kibana/pull/164809)

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

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

<!--BACKPORT
[{"author":{"name":"mohamedhamed-ahmed","email":"mohamed.ahmed@elastic.co"},"sourceCommit":{"committedDate":"2023-08-29T16:57:36Z","message":"[Stack
Monitoring] Document count graph doesn't show exact number
(#164809)\n\ncloses
https://github.com/elastic/kibana/issues/164667\r\n\r\n## 📝
Summary\r\n\r\nThis PR modifies the legend for `Document Count` graph in
stack\r\nmonitoring to allow showing the exact document count when the
user\r\nhovers on a specific point.\r\n\r\n##  Testing\r\n\r\n1. Make
sure to have any dummy index with millions of documents\r\n2. Navigate
to Indices tab in Stack Monitoring\r\n3. Click on the created index and
observe the Document Count Graph \r\n4. Hovering on any point should
show the exact document count through\r\nthe legend below the
graph\r\n\r\n## 🎥
Demo\r\n\r\n\r\n56747cf7-7914-4742-884a-9f9a9f59e9e6","sha":"2eb46924cbb0e1c0bacf3d91d01ba111dbb9dc4f","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Infra
Monitoring
UI","release_note:skip","backport:prev-minor","v8.11.0"],"number":164809,"url":"https://github.com/elastic/kibana/pull/164809","mergeCommit":{"message":"[Stack
Monitoring] Document count graph doesn't show exact number
(#164809)\n\ncloses
https://github.com/elastic/kibana/issues/164667\r\n\r\n## 📝
Summary\r\n\r\nThis PR modifies the legend for `Document Count` graph in
stack\r\nmonitoring to allow showing the exact document count when the
user\r\nhovers on a specific point.\r\n\r\n##  Testing\r\n\r\n1. Make
sure to have any dummy index with millions of documents\r\n2. Navigate
to Indices tab in Stack Monitoring\r\n3. Click on the created index and
observe the Document Count Graph \r\n4. Hovering on any point should
show the exact document count through\r\nthe legend below the
graph\r\n\r\n## 🎥
Demo\r\n\r\n\r\n56747cf7-7914-4742-884a-9f9a9f59e9e6","sha":"2eb46924cbb0e1c0bacf3d91d01ba111dbb9dc4f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164809","number":164809,"mergeCommit":{"message":"[Stack
Monitoring] Document count graph doesn't show exact number
(#164809)\n\ncloses
https://github.com/elastic/kibana/issues/164667\r\n\r\n## 📝
Summary\r\n\r\nThis PR modifies the legend for `Document Count` graph in
stack\r\nmonitoring to allow showing the exact document count when the
user\r\nhovers on a specific point.\r\n\r\n##  Testing\r\n\r\n1. Make
sure to have any dummy index with millions of documents\r\n2. Navigate
to Indices tab in Stack Monitoring\r\n3. Click on the created index and
observe the Document Count Graph \r\n4. Hovering on any point should
show the exact document count through\r\nthe legend below the
graph\r\n\r\n## 🎥
Demo\r\n\r\n\r\n56747cf7-7914-4742-884a-9f9a9f59e9e6","sha":"2eb46924cbb0e1c0bacf3d91d01ba111dbb9dc4f"}}]}]
BACKPORT-->

Co-authored-by: mohamedhamed-ahmed <mohamed.ahmed@elastic.co>
2023-08-29 11:28:02 -07:00
Kibana Machine
94e894589d
[8.10] [Profiling] removing setup resoucers api test (#165103) (#165117)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Profiling] removing setup resoucers api test
(#165103)](https://github.com/elastic/kibana/pull/165103)

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

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

<!--BACKPORT [{"author":{"name":"Cauê
Marcondes","email":"55978943+cauemarcondes@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-08-29T15:16:22Z","message":"[Profiling]
removing setup resoucers api test (#165103)\n\nThe
'/internal/profiling/setup/instructions' is a complex API that\r\nrelies
on other plugins to be setup in order to test it properly.
I'm\r\nremoving it from the tests for
now.","sha":"3eb2aafbe2d17d1f7eb79a6ee480efa0654a53e4","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.10.0","v8.11.0"],"number":165103,"url":"https://github.com/elastic/kibana/pull/165103","mergeCommit":{"message":"[Profiling]
removing setup resoucers api test (#165103)\n\nThe
'/internal/profiling/setup/instructions' is a complex API that\r\nrelies
on other plugins to be setup in order to test it properly.
I'm\r\nremoving it from the tests for
now.","sha":"3eb2aafbe2d17d1f7eb79a6ee480efa0654a53e4"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165103","number":165103,"mergeCommit":{"message":"[Profiling]
removing setup resoucers api test (#165103)\n\nThe
'/internal/profiling/setup/instructions' is a complex API that\r\nrelies
on other plugins to be setup in order to test it properly.
I'm\r\nremoving it from the tests for
now.","sha":"3eb2aafbe2d17d1f7eb79a6ee480efa0654a53e4"}}]}] BACKPORT-->

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
2023-08-29 09:16:11 -07:00
Kibana Machine
deff699e25
[8.10] [Security Solution] expandable flyout - add investigate in timeline f… (#165025) (#165064)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] expandable flyout - add investigate in timeline
f… (#165025)](https://github.com/elastic/kibana/pull/165025)

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

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

<!--BACKPORT [{"author":{"name":"Philippe
Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2023-08-29T08:18:40Z","message":"[Security
Solution] expandable flyout - add investigate in timeline f…
(#165025)","sha":"1a006a98f6eae85612baeb7e323341a2f8be3e87","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Team:Threat
Hunting:Investigations","v8.10.0","v8.11.0"],"number":165025,"url":"https://github.com/elastic/kibana/pull/165025","mergeCommit":{"message":"[Security
Solution] expandable flyout - add investigate in timeline f…
(#165025)","sha":"1a006a98f6eae85612baeb7e323341a2f8be3e87"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165025","number":165025,"mergeCommit":{"message":"[Security
Solution] expandable flyout - add investigate in timeline f…
(#165025)","sha":"1a006a98f6eae85612baeb7e323341a2f8be3e87"}}]}]
BACKPORT-->

Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
2023-08-29 02:33:00 -07:00
Kibana Machine
fd6a456641
[8.10] [ML] Fix flaky continuous transform tests (#164940) (#165020)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[ML] Fix flaky continuous transform tests
(#164940)](https://github.com/elastic/kibana/pull/164940)

<!--- 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-08-28T17:11:44Z","message":"[ML]
Fix flaky continuous transform tests (#164940)\n\n##
Summary\r\n\r\nInitially, the failed tests occurred for
`products.base_price` field in\r\nthe latest transform, however, the
error could happen to all other\r\nnumeric fields that could appear as
an integer or a float. This PR adds\r\nexplicit mappings for all numeric
fields.\r\n\r\n[Flaky test suite runner
for\r\nfunctional/apps/transform/creation/index_pattern](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2994)...\r\nsucessful
after 100 runs \r\n[Flaky test suite runner
for\r\nfunctional_basic/apps/transform/creation/index_pattern](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3000)...\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)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"68a6a56eb2c482f7c2ceb30db0201b6e3d27ecd2","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","v8.10.0","v8.11.0"],"number":164940,"url":"https://github.com/elastic/kibana/pull/164940","mergeCommit":{"message":"[ML]
Fix flaky continuous transform tests (#164940)\n\n##
Summary\r\n\r\nInitially, the failed tests occurred for
`products.base_price` field in\r\nthe latest transform, however, the
error could happen to all other\r\nnumeric fields that could appear as
an integer or a float. This PR adds\r\nexplicit mappings for all numeric
fields.\r\n\r\n[Flaky test suite runner
for\r\nfunctional/apps/transform/creation/index_pattern](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2994)...\r\nsucessful
after 100 runs \r\n[Flaky test suite runner
for\r\nfunctional_basic/apps/transform/creation/index_pattern](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3000)...\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)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"68a6a56eb2c482f7c2ceb30db0201b6e3d27ecd2"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164940","number":164940,"mergeCommit":{"message":"[ML]
Fix flaky continuous transform tests (#164940)\n\n##
Summary\r\n\r\nInitially, the failed tests occurred for
`products.base_price` field in\r\nthe latest transform, however, the
error could happen to all other\r\nnumeric fields that could appear as
an integer or a float. This PR adds\r\nexplicit mappings for all numeric
fields.\r\n\r\n[Flaky test suite runner
for\r\nfunctional/apps/transform/creation/index_pattern](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2994)...\r\nsucessful
after 100 runs \r\n[Flaky test suite runner
for\r\nfunctional_basic/apps/transform/creation/index_pattern](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3000)...\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)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"68a6a56eb2c482f7c2ceb30db0201b6e3d27ecd2"}}]}]
BACKPORT-->

Co-authored-by: Quynh Nguyen (Quinn) <43350163+qn895@users.noreply.github.com>
2023-08-28 11:20:44 -07:00
Kibana Machine
52d4bc45e6
[8.10] [Rule Details] - Update rule details data view id text (#164494) (#165015)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Rule Details] - Update rule details data view id text
(#164494)](https://github.com/elastic/kibana/pull/164494)

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

### 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-08-28T16:29:00Z","message":"[Rule
Details] - Update rule details data view id text
(#164494)\n\n**Resolves:
https://github.com/elastic/kibana/issues/164828**\r\n**Related UX
writing
issue:\r\nhttps://github.com/elastic/ux-writing/issues/46**\r\n\r\n##
Summary\r\n\r\nIn rule details page, when a rule has a data view
selected, two labels\r\nshow up as \"Data View\". This appears to be a
bug, as one of those labels\r\nshould be \"Data view ID\" and another
should be \"Data view index\r\npattern\".\r\n\r\nThanks to @MadameSheema
@nikitaindik for finding this. \r\n\r\n### Before
\r\n\r\n![image](8ac8b6d4-1005-4c03-a71a-31216a1287c5)\r\n\r\n###
After\r\n<img width=\"808\" alt=\"Screenshot 2023-08-26 at 19 30
54\"\r\nsrc=\"b511bf92-0e90-4455-834c-36b8e75b2a58\">\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\r\n---------\r\n\r\nCo-authored-by:
Nikita Indik
<nikita.indik@elastic.co>","sha":"31e95574ae6d8cfa9e0ba4595e1068e9391b423d","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Detection
Rule Management","ui-copy","Feature:Rule Details","Team:Detection
Engine","v8.10.0","v8.11.0","v8.9.2"],"number":164494,"url":"https://github.com/elastic/kibana/pull/164494","mergeCommit":{"message":"[Rule
Details] - Update rule details data view id text
(#164494)\n\n**Resolves:
https://github.com/elastic/kibana/issues/164828**\r\n**Related UX
writing
issue:\r\nhttps://github.com/elastic/ux-writing/issues/46**\r\n\r\n##
Summary\r\n\r\nIn rule details page, when a rule has a data view
selected, two labels\r\nshow up as \"Data View\". This appears to be a
bug, as one of those labels\r\nshould be \"Data view ID\" and another
should be \"Data view index\r\npattern\".\r\n\r\nThanks to @MadameSheema
@nikitaindik for finding this. \r\n\r\n### Before
\r\n\r\n![image](8ac8b6d4-1005-4c03-a71a-31216a1287c5)\r\n\r\n###
After\r\n<img width=\"808\" alt=\"Screenshot 2023-08-26 at 19 30
54\"\r\nsrc=\"b511bf92-0e90-4455-834c-36b8e75b2a58\">\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\r\n---------\r\n\r\nCo-authored-by:
Nikita Indik
<nikita.indik@elastic.co>","sha":"31e95574ae6d8cfa9e0ba4595e1068e9391b423d"}},"sourceBranch":"main","suggestedTargetBranches":["8.10","8.9"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164494","number":164494,"mergeCommit":{"message":"[Rule
Details] - Update rule details data view id text
(#164494)\n\n**Resolves:
https://github.com/elastic/kibana/issues/164828**\r\n**Related UX
writing
issue:\r\nhttps://github.com/elastic/ux-writing/issues/46**\r\n\r\n##
Summary\r\n\r\nIn rule details page, when a rule has a data view
selected, two labels\r\nshow up as \"Data View\". This appears to be a
bug, as one of those labels\r\nshould be \"Data view ID\" and another
should be \"Data view index\r\npattern\".\r\n\r\nThanks to @MadameSheema
@nikitaindik for finding this. \r\n\r\n### Before
\r\n\r\n![image](8ac8b6d4-1005-4c03-a71a-31216a1287c5)\r\n\r\n###
After\r\n<img width=\"808\" alt=\"Screenshot 2023-08-26 at 19 30
54\"\r\nsrc=\"b511bf92-0e90-4455-834c-36b8e75b2a58\">\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\r\n---------\r\n\r\nCo-authored-by:
Nikita Indik
<nikita.indik@elastic.co>","sha":"31e95574ae6d8cfa9e0ba4595e1068e9391b423d"}},{"branch":"8.9","label":"v8.9.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2023-08-28 10:43:20 -07:00
Kibana Machine
a72dc6781f skip failing test suite (#164996) 2023-08-28 12:23:27 -04:00
Kibana Machine
41f48a6a2f
[8.10] [Security Solution] Fix flakiness in: prebuilt_rules_management.cy.ts - Deletes and recovers more than one rule (#164694) (#164961)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] Fix flakiness in:
`prebuilt_rules_management.cy.ts` - Deletes and recovers more than one
rule (#164694)](https://github.com/elastic/kibana/pull/164694)

<!--- 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-08-28T11:02:22Z","message":"[Security
Solution] Fix flakiness in: `prebuilt_rules_management.cy.ts` - Deletes
and recovers more than one rule (#164694)\n\nRelates to:
https://github.com/elastic/kibana/issues/161507\r\n\r\n##
Summary\r\n\r\n- Solves flakiness in following test:\r\n-
Filename:\r\n`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/prebuilt_rules/prebuilt_rules_management.cy.ts`\r\n-
Test name: **Prebuilt rules Actions with prebuilt rules Rules
table\r\nDeletes and recovers more than one rule**\r\n\r\n- Test was
failing because of already observed issue of `autoRefresh`\r\ntaking
place while the rule selection is happening, causing Cypress to\r\nlose
focus and preventing the checkbox from being checked. This
PR\r\ndisables autorefresh from the table to prevent that from
happening.\r\n\r\n## Flaky test runner\r\n\r\n350
iters:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2976\r\n🟢","sha":"e22f9b860e6d62ddcaacae6a1b2f57178afa8e54","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","Team:Detections
and Resp","Team: SecuritySolution","Feature:Rule
Management","Team:Detection Rule
Management","v8.10.0","v8.11.0"],"number":164694,"url":"https://github.com/elastic/kibana/pull/164694","mergeCommit":{"message":"[Security
Solution] Fix flakiness in: `prebuilt_rules_management.cy.ts` - Deletes
and recovers more than one rule (#164694)\n\nRelates to:
https://github.com/elastic/kibana/issues/161507\r\n\r\n##
Summary\r\n\r\n- Solves flakiness in following test:\r\n-
Filename:\r\n`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/prebuilt_rules/prebuilt_rules_management.cy.ts`\r\n-
Test name: **Prebuilt rules Actions with prebuilt rules Rules
table\r\nDeletes and recovers more than one rule**\r\n\r\n- Test was
failing because of already observed issue of `autoRefresh`\r\ntaking
place while the rule selection is happening, causing Cypress to\r\nlose
focus and preventing the checkbox from being checked. This
PR\r\ndisables autorefresh from the table to prevent that from
happening.\r\n\r\n## Flaky test runner\r\n\r\n350
iters:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2976\r\n🟢","sha":"e22f9b860e6d62ddcaacae6a1b2f57178afa8e54"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164694","number":164694,"mergeCommit":{"message":"[Security
Solution] Fix flakiness in: `prebuilt_rules_management.cy.ts` - Deletes
and recovers more than one rule (#164694)\n\nRelates to:
https://github.com/elastic/kibana/issues/161507\r\n\r\n##
Summary\r\n\r\n- Solves flakiness in following test:\r\n-
Filename:\r\n`x-pack/test/security_solution_cypress/cypress/e2e/detection_response/prebuilt_rules/prebuilt_rules_management.cy.ts`\r\n-
Test name: **Prebuilt rules Actions with prebuilt rules Rules
table\r\nDeletes and recovers more than one rule**\r\n\r\n- Test was
failing because of already observed issue of `autoRefresh`\r\ntaking
place while the rule selection is happening, causing Cypress to\r\nlose
focus and preventing the checkbox from being checked. This
PR\r\ndisables autorefresh from the table to prevent that from
happening.\r\n\r\n## Flaky test runner\r\n\r\n350
iters:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2976\r\n🟢","sha":"e22f9b860e6d62ddcaacae6a1b2f57178afa8e54"}}]}]
BACKPORT-->

Co-authored-by: Juan Pablo Djeredjian <jpdjeredjian@gmail.com>
2023-08-28 05:14:09 -07:00
Maxim Palenov
f463db36ae
[8.10] [Security Solution] Fix rules table filtering by tags with special characters (#163767) (#164956)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] Fix rules table filtering by tags with special
characters (#163767)](https://github.com/elastic/kibana/pull/163767)

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

### 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-08-28T09:20:31Z","message":"[Security
Solution] Fix rules table filtering by tags with special characters
(#163767)\n\n**Fixes:
https://github.com/elastic/kibana/issues/163692**\r\n\r\n##
Summary\r\n\r\nThis PR fixes rules table filtering for tags with special
characters like colon `category:tag`.\r\n\r\nWe didn't have this bug in
`8.9` it was introduced by https://github.com/elastic/kibana/pull/160480
in `8.10` scope.\r\n\r\n## Details\r\n\r\nCoverage Overview Dashboard
required very similar rule filtering functionality as rule table has so
https://github.com/elastic/kibana/pull/160480 moved the common logic to
`common` folder and started using `escapeKuery` from `@kbn/es-query`
instead of custom `escapeKuery` defined in Security Solution in
`x-pack/plugins/security_solution/public/common/lib/kuery/index.ts`. The
difference is the first function escapes all the special characters
`\\():<>\"*` but the second escapes only quotes but the value must be
enclosed in quotes to be passed on. Both ways are correct according to
[docs](https://www.elastic.co/guide/en/kibana/current/kuery-query.html).
So escaping all the special characters and enclosing the value in quotes
breaks rules search.\r\n\r\n### How was it fixed?\r\n\r\nEscaping
related code in `x-pack/plugins/security_solution/common/utils/kql.ts`
(`convertRulesFilterToKQL` in particular) was moved to
`x-pack/plugins/security_solution/common/detection_engine/rule_management/rule_filtering.ts`
as Coverage Overview Dashboard API endpoint and rules table UI share the
same KQL helpers and refactored along the way to be much more
transparent.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common
scenarios","sha":"92ff716b750c2a47bf55ff280e0621e553f1f019","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","impact:high","Team:Detections
and Resp","Team: SecuritySolution","Feature:Rule
Management","Team:Detection Rule
Management","v8.10.0","v8.11.0"],"number":163767,"url":"https://github.com/elastic/kibana/pull/163767","mergeCommit":{"message":"[Security
Solution] Fix rules table filtering by tags with special characters
(#163767)\n\n**Fixes:
https://github.com/elastic/kibana/issues/163692**\r\n\r\n##
Summary\r\n\r\nThis PR fixes rules table filtering for tags with special
characters like colon `category:tag`.\r\n\r\nWe didn't have this bug in
`8.9` it was introduced by https://github.com/elastic/kibana/pull/160480
in `8.10` scope.\r\n\r\n## Details\r\n\r\nCoverage Overview Dashboard
required very similar rule filtering functionality as rule table has so
https://github.com/elastic/kibana/pull/160480 moved the common logic to
`common` folder and started using `escapeKuery` from `@kbn/es-query`
instead of custom `escapeKuery` defined in Security Solution in
`x-pack/plugins/security_solution/public/common/lib/kuery/index.ts`. The
difference is the first function escapes all the special characters
`\\():<>\"*` but the second escapes only quotes but the value must be
enclosed in quotes to be passed on. Both ways are correct according to
[docs](https://www.elastic.co/guide/en/kibana/current/kuery-query.html).
So escaping all the special characters and enclosing the value in quotes
breaks rules search.\r\n\r\n### How was it fixed?\r\n\r\nEscaping
related code in `x-pack/plugins/security_solution/common/utils/kql.ts`
(`convertRulesFilterToKQL` in particular) was moved to
`x-pack/plugins/security_solution/common/detection_engine/rule_management/rule_filtering.ts`
as Coverage Overview Dashboard API endpoint and rules table UI share the
same KQL helpers and refactored along the way to be much more
transparent.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common
scenarios","sha":"92ff716b750c2a47bf55ff280e0621e553f1f019"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163767","number":163767,"mergeCommit":{"message":"[Security
Solution] Fix rules table filtering by tags with special characters
(#163767)\n\n**Fixes:
https://github.com/elastic/kibana/issues/163692**\r\n\r\n##
Summary\r\n\r\nThis PR fixes rules table filtering for tags with special
characters like colon `category:tag`.\r\n\r\nWe didn't have this bug in
`8.9` it was introduced by https://github.com/elastic/kibana/pull/160480
in `8.10` scope.\r\n\r\n## Details\r\n\r\nCoverage Overview Dashboard
required very similar rule filtering functionality as rule table has so
https://github.com/elastic/kibana/pull/160480 moved the common logic to
`common` folder and started using `escapeKuery` from `@kbn/es-query`
instead of custom `escapeKuery` defined in Security Solution in
`x-pack/plugins/security_solution/public/common/lib/kuery/index.ts`. The
difference is the first function escapes all the special characters
`\\():<>\"*` but the second escapes only quotes but the value must be
enclosed in quotes to be passed on. Both ways are correct according to
[docs](https://www.elastic.co/guide/en/kibana/current/kuery-query.html).
So escaping all the special characters and enclosing the value in quotes
breaks rules search.\r\n\r\n### How was it fixed?\r\n\r\nEscaping
related code in `x-pack/plugins/security_solution/common/utils/kql.ts`
(`convertRulesFilterToKQL` in particular) was moved to
`x-pack/plugins/security_solution/common/detection_engine/rule_management/rule_filtering.ts`
as Coverage Overview Dashboard API endpoint and rules table UI share the
same KQL helpers and refactored along the way to be much more
transparent.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common
scenarios","sha":"92ff716b750c2a47bf55ff280e0621e553f1f019"}}]}]
BACKPORT-->
2023-08-28 04:19:29 -07:00
Kibana Machine
bc1e56084b
[8.10] Replaces kqlFilter with searchConfiguration and uses Unified Search bar in APM rules (#164540) (#164938)
# Backport

This will backport the following commits from `main` to `8.10`:
- [Replaces kqlFilter with searchConfiguration and uses Unified Search
bar in APM rules
(#164540)](https://github.com/elastic/kibana/pull/164540)

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

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

<!--BACKPORT [{"author":{"name":"Bena
Kansara","email":"69037875+benakansara@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-08-26T13:55:05Z","message":"Replaces
kqlFilter with searchConfiguration and uses Unified Search bar in APM
rules (#164540)\n\nFixes
https://github.com/elastic/kibana/issues/163781\r\n\r\n- `kqlFilter`
which was string is replaced with `searchConfiguration`\r\n- Replaces
KQL filter component with Unified Search bar\r\n- Removed \"Technical
Preview\" from the \"Filter\"
label","sha":"b88235aafe9b6993ef7bb3918f60c6d8462e9e46","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:APM","release_note:skip","backport:skip","auto-backport","Team:
Actionable
Observability","v8.10.0","v8.11.0"],"number":164540,"url":"https://github.com/elastic/kibana/pull/164540","mergeCommit":{"message":"Replaces
kqlFilter with searchConfiguration and uses Unified Search bar in APM
rules (#164540)\n\nFixes
https://github.com/elastic/kibana/issues/163781\r\n\r\n- `kqlFilter`
which was string is replaced with `searchConfiguration`\r\n- Replaces
KQL filter component with Unified Search bar\r\n- Removed \"Technical
Preview\" from the \"Filter\"
label","sha":"b88235aafe9b6993ef7bb3918f60c6d8462e9e46"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164540","number":164540,"mergeCommit":{"message":"Replaces
kqlFilter with searchConfiguration and uses Unified Search bar in APM
rules (#164540)\n\nFixes
https://github.com/elastic/kibana/issues/163781\r\n\r\n- `kqlFilter`
which was string is replaced with `searchConfiguration`\r\n- Replaces
KQL filter component with Unified Search bar\r\n- Removed \"Technical
Preview\" from the \"Filter\"
label","sha":"b88235aafe9b6993ef7bb3918f60c6d8462e9e46"}}]}] BACKPORT-->

Co-authored-by: Bena Kansara <69037875+benakansara@users.noreply.github.com>
2023-08-27 13:00:41 -07:00
Kibana Machine
a8651d2cdd
[8.10] [APM] Cleanup alerting api tests (#164438) (#164928)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[APM] Cleanup alerting api tests
(#164438)](https://github.com/elastic/kibana/pull/164438)

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

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

<!--BACKPORT [{"author":{"name":"Søren
Louv-Jansen","email":"soren.louv@elastic.co"},"sourceCommit":{"committedDate":"2023-08-24T00:22:26Z","message":"[APM]
Cleanup alerting api tests (#164438)\n\nThis PR cleans up and refactors
the APM API tests for rules and\r\nalerting.\r\n\r\n- introduces some
new helper methods like `deleteRuleById`\r\n- removes dependency on
index actions to test alerts (we can just use\r\nthe alert index)\r\n-
improve flaky tests and ensure that tests can be run in isolation
and\r\nin any
order","sha":"d4402886a12e6c429d72f441ee988b384645fd57","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:APM","release_note:skip","backport:skip","auto-backport","v8.10.0","v8.11.0"],"number":164438,"url":"https://github.com/elastic/kibana/pull/164438","mergeCommit":{"message":"[APM]
Cleanup alerting api tests (#164438)\n\nThis PR cleans up and refactors
the APM API tests for rules and\r\nalerting.\r\n\r\n- introduces some
new helper methods like `deleteRuleById`\r\n- removes dependency on
index actions to test alerts (we can just use\r\nthe alert index)\r\n-
improve flaky tests and ensure that tests can be run in isolation
and\r\nin any
order","sha":"d4402886a12e6c429d72f441ee988b384645fd57"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164438","number":164438,"mergeCommit":{"message":"[APM]
Cleanup alerting api tests (#164438)\n\nThis PR cleans up and refactors
the APM API tests for rules and\r\nalerting.\r\n\r\n- introduces some
new helper methods like `deleteRuleById`\r\n- removes dependency on
index actions to test alerts (we can just use\r\nthe alert index)\r\n-
improve flaky tests and ensure that tests can be run in isolation
and\r\nin any
order","sha":"d4402886a12e6c429d72f441ee988b384645fd57"}}]}] BACKPORT-->

Co-authored-by: Søren Louv-Jansen <soren.louv@elastic.co>
2023-08-26 17:55:04 -07:00
Maxim Palenov
83b33f2c40
[8.10] [Security Solution] Fix bulk edit rules tests (#164692) (#164917)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] Fix bulk edit rules tests
(#164692)](https://github.com/elastic/kibana/pull/164692)

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

### 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-08-25T13:26:47Z","message":"[Security
Solution] Fix bulk edit rules tests (#164692)\n\n**Relates to:**
https://github.com/elastic/kibana/issues/161507\r\n\r\n##
Summary\r\n\r\nThis PR fixes **bulk_edit_rules.cy.ts** flakiness found
while running Security Solution Cypress tests in Flaky test runner ([run
1](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2969)
and [run
2](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2970)).\r\n\r\n##
Flaky test runner\r\n\r\n[bulk_edit_rules.cy.ts 300
runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2975)
🟢","sha":"6ab3aa3da1a3d1ed37b711efb9891cae43c0da39","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","Team:Detections
and Resp","Team: SecuritySolution","Feature:Rule
Management","Team:Detection Rule
Management","v8.10.0","v8.11.0"],"number":164692,"url":"https://github.com/elastic/kibana/pull/164692","mergeCommit":{"message":"[Security
Solution] Fix bulk edit rules tests (#164692)\n\n**Relates to:**
https://github.com/elastic/kibana/issues/161507\r\n\r\n##
Summary\r\n\r\nThis PR fixes **bulk_edit_rules.cy.ts** flakiness found
while running Security Solution Cypress tests in Flaky test runner ([run
1](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2969)
and [run
2](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2970)).\r\n\r\n##
Flaky test runner\r\n\r\n[bulk_edit_rules.cy.ts 300
runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2975)
🟢","sha":"6ab3aa3da1a3d1ed37b711efb9891cae43c0da39"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164692","number":164692,"mergeCommit":{"message":"[Security
Solution] Fix bulk edit rules tests (#164692)\n\n**Relates to:**
https://github.com/elastic/kibana/issues/161507\r\n\r\n##
Summary\r\n\r\nThis PR fixes **bulk_edit_rules.cy.ts** flakiness found
while running Security Solution Cypress tests in Flaky test runner ([run
1](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2969)
and [run
2](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2970)).\r\n\r\n##
Flaky test runner\r\n\r\n[bulk_edit_rules.cy.ts 300
runs](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2975)
🟢","sha":"6ab3aa3da1a3d1ed37b711efb9891cae43c0da39"}}]}] BACKPORT-->

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-08-26 19:27:04 +02:00
Kibana Machine
cae621d550
[8.10] [Security Solution] Expandable flyout - add suppressed alerts to correlations (#164649) (#164921)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] Expandable flyout - add suppressed alerts to
correlations (#164649)](https://github.com/elastic/kibana/pull/164649)

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

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

<!--BACKPORT
[{"author":{"name":"christineweng","email":"18648970+christineweng@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-08-26T15:28:27Z","message":"[Security
Solution] Expandable flyout - add suppressed alerts to correlations
(#164649)","sha":"ef7ea49b1e05ad8d588f8c13f70f3aa8cde3ab59","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Threat
Hunting:Investigations","v8.10.0","v8.11.0"],"number":164649,"url":"https://github.com/elastic/kibana/pull/164649","mergeCommit":{"message":"[Security
Solution] Expandable flyout - add suppressed alerts to correlations
(#164649)","sha":"ef7ea49b1e05ad8d588f8c13f70f3aa8cde3ab59"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164649","number":164649,"mergeCommit":{"message":"[Security
Solution] Expandable flyout - add suppressed alerts to correlations
(#164649)","sha":"ef7ea49b1e05ad8d588f8c13f70f3aa8cde3ab59"}}]}]
BACKPORT-->

Co-authored-by: christineweng <18648970+christineweng@users.noreply.github.com>
2023-08-26 09:55:11 -07:00
Kibana Machine
5e12811ad4
[8.10] [Security Solution] expandable flyout - prevalence details UI improvements (#164016) (#164915)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] expandable flyout - prevalence details UI
improvements (#164016)](https://github.com/elastic/kibana/pull/164016)

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

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

<!--BACKPORT [{"author":{"name":"Philippe
Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2023-08-26T10:20:58Z","message":"[Security
Solution] expandable flyout - prevalence details UI improvements
(#164016)","sha":"225fc95488f8c5f52b26a8715ce76b7d19f7301f","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Team:Threat
Hunting:Investigations","v8.10.0","v8.11.0"],"number":164016,"url":"https://github.com/elastic/kibana/pull/164016","mergeCommit":{"message":"[Security
Solution] expandable flyout - prevalence details UI improvements
(#164016)","sha":"225fc95488f8c5f52b26a8715ce76b7d19f7301f"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164016","number":164016,"mergeCommit":{"message":"[Security
Solution] expandable flyout - prevalence details UI improvements
(#164016)","sha":"225fc95488f8c5f52b26a8715ce76b7d19f7301f"}}]}]
BACKPORT-->

Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
2023-08-26 04:35:49 -07:00
Kibana Machine
ac42a09c3c
[8.10] [Security Solution] expandable flyout - add loading and no data states to Investigation guide in right and left panels (#164876) (#164916)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] expandable flyout - add loading and no data
states to Investigation guide in right and left panels
(#164876)](https://github.com/elastic/kibana/pull/164876)

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

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

<!--BACKPORT [{"author":{"name":"Philippe
Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2023-08-26T10:23:03Z","message":"[Security
Solution] expandable flyout - add loading and no data states to
Investigation guide in right and left panels
(#164876)","sha":"dc8971d2c9e4fdffddbcdf3fc76e773a63d1a547","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Team:Threat
Hunting:Investigations","v8.10.0","v8.11.0"],"number":164876,"url":"https://github.com/elastic/kibana/pull/164876","mergeCommit":{"message":"[Security
Solution] expandable flyout - add loading and no data states to
Investigation guide in right and left panels
(#164876)","sha":"dc8971d2c9e4fdffddbcdf3fc76e773a63d1a547"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164876","number":164876,"mergeCommit":{"message":"[Security
Solution] expandable flyout - add loading and no data states to
Investigation guide in right and left panels
(#164876)","sha":"dc8971d2c9e4fdffddbcdf3fc76e773a63d1a547"}}]}]
BACKPORT-->

Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
2023-08-26 04:35:16 -07:00
Maxim Palenov
14535262b7
[8.10] [Security Solution] Reduce Rules Management e2e flakiness (#164099) (#164903)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] Reduce Rules Management e2e flakiness
(#164099)](https://github.com/elastic/kibana/pull/164099)

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

### 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-08-23T14:58:04Z","message":"[Security
Solution] Reduce Rules Management e2e flakiness (#164099)\n\n**Relates
to: https://github.com/elastic/kibana/issues/161507**\r\n**Fixes:
https://github.com/elastic/kibana/issues/163704**\r\n**Fixes:
https://github.com/elastic/kibana/issues/163182**\r\n**Fixes:
https://github.com/elastic/kibana/issues/163558**\r\n**Fixes:
https://github.com/elastic/kibana/issues/163974**\r\n**Fixes:
https://github.com/elastic/kibana/issues/153914**\r\n**Fixes:
https://github.com/elastic/kibana/issues/164079**\r\n**Fixes:
https://github.com/elastic/kibana/issues/164279**\r\n\r\n##
Summary\r\n\r\nWhile working on fixing Rules Management flaky tests I've
noticed similar fails in different tests. This PR addresses common
pitfalls to reduce a number of reasons causing e2e tests flakiness and
as a result reduce a number of flaky tests.\r\n\r\n## Details\r\n\r\nThe
common reasons causing e2e tests flakiness for the rules tables
are\r\n\r\n- Auto-refresh\r\n\r\nAuto-refresh functionality is enabled
by default and the table gets auto-refreshed every 60 seconds. If a test
takes more than 60 seconds the table fetches updated rules. Having rules
enabled by default and sorted by `Enabled` column makes the sorting
order undetermined and as rules get updated due to execution ES return
them in undetermined order. This update can happen between commands
working on the same element and indexed access like `eq()` would access
different elements. \r\n\r\n- Missing selectors\r\n\r\nSome tests or
helper functions have expectations for an element absence like
`should('not.exist')` without checking an element is visible before like
`should('be.visible')`. This way a referenced element may disappear from
the codebase after refactoring and the expectation still
fulfils.\r\n\r\n- Checking for `should('not.visible')` while an element
is removed from the DOM\r\n\r\nIt most applicable to popovers as it
first animates to be hidden and then removed from the DOM. Cypress first
need to find an element to check its visibility. Replacing
`should('not.visible')` with `should('not.exist')` and taking into
concern from the account previous bullet fixes the problem.\r\n\r\n-
Modifying ES data without refreshing (`_delete_by_query` in
particular)\r\n\r\nDue to high performance ES architecture data isn't
updated instantly. Having such behavior in tests leads to undetermined
state depending on a number of environmental factors. As UI doesn't
always auto-refreshes to fetch the recent updates in short period of
time test fail. `_delete_by_query` may take some time to update the data
but it doesn't support `refresh=wait_for` as it stated in
[docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html#_refreshing_shards).
Adding `?refresh=true` or just `?refresh` to `_delete_by_query` ES
request urls fixes the problem.\r\n\r\n### What was done to address
mentioned reasons above?\r\n\r\n- Auto-refresh functionality disabled in
tests where it's not necessary.\r\n- `enabled: false` field was added to
rule creators to have disabled rules as the majority of tests don't need
enabled rules.\r\n- `waitForRulesTableToBeLoaded` was removed and
replaced with `expectManagementTableRules` at some tests.\r\n-
`should('not.visible')` replaced with `should('not.exist')` in
`deleteRuleFromDetailsPage()`\r\n- `?refresh` added to
`_delete_by_query` ES data update requests\r\n\r\nThe other changes get
rid of global constants and improve readability.\r\n\r\n## Flaky test
runs\r\n\r\n[All Cypress tests under `detection_response` folder (100
runs)](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2920)
(value lists export is flaky but it's out of scope of this
PR)","sha":"40df5219ea7165e89623afcc22bb0dbc3cc19152","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","release_note:skip","Team:Detections
and Resp","Team: SecuritySolution","Feature:Rule
Management","Team:Detection Rule
Management","v8.10.0","v8.11.0"],"number":164099,"url":"https://github.com/elastic/kibana/pull/164099","mergeCommit":{"message":"[Security
Solution] Reduce Rules Management e2e flakiness (#164099)\n\n**Relates
to: https://github.com/elastic/kibana/issues/161507**\r\n**Fixes:
https://github.com/elastic/kibana/issues/163704**\r\n**Fixes:
https://github.com/elastic/kibana/issues/163182**\r\n**Fixes:
https://github.com/elastic/kibana/issues/163558**\r\n**Fixes:
https://github.com/elastic/kibana/issues/163974**\r\n**Fixes:
https://github.com/elastic/kibana/issues/153914**\r\n**Fixes:
https://github.com/elastic/kibana/issues/164079**\r\n**Fixes:
https://github.com/elastic/kibana/issues/164279**\r\n\r\n##
Summary\r\n\r\nWhile working on fixing Rules Management flaky tests I've
noticed similar fails in different tests. This PR addresses common
pitfalls to reduce a number of reasons causing e2e tests flakiness and
as a result reduce a number of flaky tests.\r\n\r\n## Details\r\n\r\nThe
common reasons causing e2e tests flakiness for the rules tables
are\r\n\r\n- Auto-refresh\r\n\r\nAuto-refresh functionality is enabled
by default and the table gets auto-refreshed every 60 seconds. If a test
takes more than 60 seconds the table fetches updated rules. Having rules
enabled by default and sorted by `Enabled` column makes the sorting
order undetermined and as rules get updated due to execution ES return
them in undetermined order. This update can happen between commands
working on the same element and indexed access like `eq()` would access
different elements. \r\n\r\n- Missing selectors\r\n\r\nSome tests or
helper functions have expectations for an element absence like
`should('not.exist')` without checking an element is visible before like
`should('be.visible')`. This way a referenced element may disappear from
the codebase after refactoring and the expectation still
fulfils.\r\n\r\n- Checking for `should('not.visible')` while an element
is removed from the DOM\r\n\r\nIt most applicable to popovers as it
first animates to be hidden and then removed from the DOM. Cypress first
need to find an element to check its visibility. Replacing
`should('not.visible')` with `should('not.exist')` and taking into
concern from the account previous bullet fixes the problem.\r\n\r\n-
Modifying ES data without refreshing (`_delete_by_query` in
particular)\r\n\r\nDue to high performance ES architecture data isn't
updated instantly. Having such behavior in tests leads to undetermined
state depending on a number of environmental factors. As UI doesn't
always auto-refreshes to fetch the recent updates in short period of
time test fail. `_delete_by_query` may take some time to update the data
but it doesn't support `refresh=wait_for` as it stated in
[docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html#_refreshing_shards).
Adding `?refresh=true` or just `?refresh` to `_delete_by_query` ES
request urls fixes the problem.\r\n\r\n### What was done to address
mentioned reasons above?\r\n\r\n- Auto-refresh functionality disabled in
tests where it's not necessary.\r\n- `enabled: false` field was added to
rule creators to have disabled rules as the majority of tests don't need
enabled rules.\r\n- `waitForRulesTableToBeLoaded` was removed and
replaced with `expectManagementTableRules` at some tests.\r\n-
`should('not.visible')` replaced with `should('not.exist')` in
`deleteRuleFromDetailsPage()`\r\n- `?refresh` added to
`_delete_by_query` ES data update requests\r\n\r\nThe other changes get
rid of global constants and improve readability.\r\n\r\n## Flaky test
runs\r\n\r\n[All Cypress tests under `detection_response` folder (100
runs)](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2920)
(value lists export is flaky but it's out of scope of this
PR)","sha":"40df5219ea7165e89623afcc22bb0dbc3cc19152"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164099","number":164099,"mergeCommit":{"message":"[Security
Solution] Reduce Rules Management e2e flakiness (#164099)\n\n**Relates
to: https://github.com/elastic/kibana/issues/161507**\r\n**Fixes:
https://github.com/elastic/kibana/issues/163704**\r\n**Fixes:
https://github.com/elastic/kibana/issues/163182**\r\n**Fixes:
https://github.com/elastic/kibana/issues/163558**\r\n**Fixes:
https://github.com/elastic/kibana/issues/163974**\r\n**Fixes:
https://github.com/elastic/kibana/issues/153914**\r\n**Fixes:
https://github.com/elastic/kibana/issues/164079**\r\n**Fixes:
https://github.com/elastic/kibana/issues/164279**\r\n\r\n##
Summary\r\n\r\nWhile working on fixing Rules Management flaky tests I've
noticed similar fails in different tests. This PR addresses common
pitfalls to reduce a number of reasons causing e2e tests flakiness and
as a result reduce a number of flaky tests.\r\n\r\n## Details\r\n\r\nThe
common reasons causing e2e tests flakiness for the rules tables
are\r\n\r\n- Auto-refresh\r\n\r\nAuto-refresh functionality is enabled
by default and the table gets auto-refreshed every 60 seconds. If a test
takes more than 60 seconds the table fetches updated rules. Having rules
enabled by default and sorted by `Enabled` column makes the sorting
order undetermined and as rules get updated due to execution ES return
them in undetermined order. This update can happen between commands
working on the same element and indexed access like `eq()` would access
different elements. \r\n\r\n- Missing selectors\r\n\r\nSome tests or
helper functions have expectations for an element absence like
`should('not.exist')` without checking an element is visible before like
`should('be.visible')`. This way a referenced element may disappear from
the codebase after refactoring and the expectation still
fulfils.\r\n\r\n- Checking for `should('not.visible')` while an element
is removed from the DOM\r\n\r\nIt most applicable to popovers as it
first animates to be hidden and then removed from the DOM. Cypress first
need to find an element to check its visibility. Replacing
`should('not.visible')` with `should('not.exist')` and taking into
concern from the account previous bullet fixes the problem.\r\n\r\n-
Modifying ES data without refreshing (`_delete_by_query` in
particular)\r\n\r\nDue to high performance ES architecture data isn't
updated instantly. Having such behavior in tests leads to undetermined
state depending on a number of environmental factors. As UI doesn't
always auto-refreshes to fetch the recent updates in short period of
time test fail. `_delete_by_query` may take some time to update the data
but it doesn't support `refresh=wait_for` as it stated in
[docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html#_refreshing_shards).
Adding `?refresh=true` or just `?refresh` to `_delete_by_query` ES
request urls fixes the problem.\r\n\r\n### What was done to address
mentioned reasons above?\r\n\r\n- Auto-refresh functionality disabled in
tests where it's not necessary.\r\n- `enabled: false` field was added to
rule creators to have disabled rules as the majority of tests don't need
enabled rules.\r\n- `waitForRulesTableToBeLoaded` was removed and
replaced with `expectManagementTableRules` at some tests.\r\n-
`should('not.visible')` replaced with `should('not.exist')` in
`deleteRuleFromDetailsPage()`\r\n- `?refresh` added to
`_delete_by_query` ES data update requests\r\n\r\nThe other changes get
rid of global constants and improve readability.\r\n\r\n## Flaky test
runs\r\n\r\n[All Cypress tests under `detection_response` folder (100
runs)](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2920)
(value lists export is flaky but it's out of scope of this
PR)","sha":"40df5219ea7165e89623afcc22bb0dbc3cc19152"}}]}] BACKPORT-->
2023-08-26 11:40:18 +02:00
Kibana Machine
ac0e5f352c
[8.10] [Security Solution] Fix coverage overview endpoint (#164749) (#164810)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] Fix coverage overview endpoint
(#164749)](https://github.com/elastic/kibana/pull/164749)

<!--- 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-08-25T08:49:35Z","message":"[Security
Solution] Fix coverage overview endpoint (#164749)\n\n##
Summary\r\n\r\nThis PR fixes a bug found by @jamesspi when it's Coverage
Overview page doesn't show the cards but applying individual filters
makes the page rendering.\r\n\r\n## Steps to reproduce the
problem\r\n\r\n- create a non security rule in your environment\r\n-
navigate to the Coverage Overview page\r\n\r\nExpected
behavior\r\nCoverage Overview page is loaded and displays the
cards.\r\n\r\nActual behavior\r\nCoverage Overview page does not display
the cards.\r\n\r\n## Details\r\n\r\n`rulesClient.find()` was used
directly instead of `findRules()` helper function defined in Security
Solution. The subtle different between these two is that `findRules()`
passes filter to `enrichFilterWithRuleTypeMapping()` to make sure only
security rules are fetched and processed. As `rulesClient.find()`
returned all the rules there was a non security rule in the list with
missing `rule.params` field causing the endpoint to fail. This has been
fixed by using `findRules()`.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common
scenarios","sha":"4297b8708e2f25647a7d132fd3727631ebebd822","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","impact:critical","Team:Detections
and Resp","Team: SecuritySolution","Feature:Rule
Management","Team:Detection Rule
Management","v8.10.0","v8.11.0"],"number":164749,"url":"https://github.com/elastic/kibana/pull/164749","mergeCommit":{"message":"[Security
Solution] Fix coverage overview endpoint (#164749)\n\n##
Summary\r\n\r\nThis PR fixes a bug found by @jamesspi when it's Coverage
Overview page doesn't show the cards but applying individual filters
makes the page rendering.\r\n\r\n## Steps to reproduce the
problem\r\n\r\n- create a non security rule in your environment\r\n-
navigate to the Coverage Overview page\r\n\r\nExpected
behavior\r\nCoverage Overview page is loaded and displays the
cards.\r\n\r\nActual behavior\r\nCoverage Overview page does not display
the cards.\r\n\r\n## Details\r\n\r\n`rulesClient.find()` was used
directly instead of `findRules()` helper function defined in Security
Solution. The subtle different between these two is that `findRules()`
passes filter to `enrichFilterWithRuleTypeMapping()` to make sure only
security rules are fetched and processed. As `rulesClient.find()`
returned all the rules there was a non security rule in the list with
missing `rule.params` field causing the endpoint to fail. This has been
fixed by using `findRules()`.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common
scenarios","sha":"4297b8708e2f25647a7d132fd3727631ebebd822"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164749","number":164749,"mergeCommit":{"message":"[Security
Solution] Fix coverage overview endpoint (#164749)\n\n##
Summary\r\n\r\nThis PR fixes a bug found by @jamesspi when it's Coverage
Overview page doesn't show the cards but applying individual filters
makes the page rendering.\r\n\r\n## Steps to reproduce the
problem\r\n\r\n- create a non security rule in your environment\r\n-
navigate to the Coverage Overview page\r\n\r\nExpected
behavior\r\nCoverage Overview page is loaded and displays the
cards.\r\n\r\nActual behavior\r\nCoverage Overview page does not display
the cards.\r\n\r\n## Details\r\n\r\n`rulesClient.find()` was used
directly instead of `findRules()` helper function defined in Security
Solution. The subtle different between these two is that `findRules()`
passes filter to `enrichFilterWithRuleTypeMapping()` to make sure only
security rules are fetched and processed. As `rulesClient.find()`
returned all the rules there was a non security rule in the list with
missing `rule.params` field causing the endpoint to fail. This has been
fixed by using `findRules()`.\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common
scenarios","sha":"4297b8708e2f25647a7d132fd3727631ebebd822"}}]}]
BACKPORT-->

Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
2023-08-25 03:00:53 -07:00
Ersin Erdal
b5a3694a0a
[8.10] Enable requeue_invalid_tasks config for functional tests (#163768) (#164783)
# Backport

This will backport the following commits from `main` to `8.10`:
- [Enable requeue_invalid_tasks config for functional tests
(#163768)](https://github.com/elastic/kibana/pull/163768)

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

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

<!--BACKPORT [{"author":{"name":"Ersin
Erdal","email":"92688503+ersin-erdal@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-08-17T10:53:02Z","message":"Enable
requeue_invalid_tasks config for functional tests (#163768)\n\nMakes
isSystemAction field in RawConnector optional and
enables\r\n`requeue_invalid_tasks` config for functional
tests.","sha":"9079b1c60b6f306e73187a215b4a09221bf9e089","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:ResponseOps","v8.10.0"],"number":163768,"url":"https://github.com/elastic/kibana/pull/163768","mergeCommit":{"message":"Enable
requeue_invalid_tasks config for functional tests (#163768)\n\nMakes
isSystemAction field in RawConnector optional and
enables\r\n`requeue_invalid_tasks` config for functional
tests.","sha":"9079b1c60b6f306e73187a215b4a09221bf9e089"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163768","number":163768,"mergeCommit":{"message":"Enable
requeue_invalid_tasks config for functional tests (#163768)\n\nMakes
isSystemAction field in RawConnector optional and
enables\r\n`requeue_invalid_tasks` config for functional
tests.","sha":"9079b1c60b6f306e73187a215b4a09221bf9e089"}}]}]
BACKPORT-->
2023-08-24 16:32:09 -07:00
Kibana Machine
7e5ee4ef40
[8.10] [RAM] Fix Failing test: X-Pack Alerting API Integration Tests - Alerting - group1.x-pack/test/alerting_api_integration/spaces_only/tests/alerting/group1/get_alert_summary·ts (#164759) (#164785)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[RAM] Fix Failing test: X-Pack Alerting API Integration Tests -
Alerting -
group1.x-pack/test/alerting_api_integration/spaces_only/tests/alerting/group1/get_alert_summary·ts
(#164759)](https://github.com/elastic/kibana/pull/164759)

<!--- 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-08-24T20:46:18Z","message":"[RAM]
Fix Failing test: X-Pack Alerting API Integration Tests - Alerting -
group1.x-pack/test/alerting_api_integration/spaces_only/tests/alerting/group1/get_alert_summary·ts
(#164759)\n\n## Summary\r\n\r\nFix:
https://github.com/elastic/kibana/issues/156792\r\n\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2987","sha":"6c2cd6048d16aeab7ca6ac3edb725d3969e4f2a3","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","test-failure-flaky","Team:ResponseOps","v8.10.0","v8.11.0"],"number":164759,"url":"https://github.com/elastic/kibana/pull/164759","mergeCommit":{"message":"[RAM]
Fix Failing test: X-Pack Alerting API Integration Tests - Alerting -
group1.x-pack/test/alerting_api_integration/spaces_only/tests/alerting/group1/get_alert_summary·ts
(#164759)\n\n## Summary\r\n\r\nFix:
https://github.com/elastic/kibana/issues/156792\r\n\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2987","sha":"6c2cd6048d16aeab7ca6ac3edb725d3969e4f2a3"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164759","number":164759,"mergeCommit":{"message":"[RAM]
Fix Failing test: X-Pack Alerting API Integration Tests - Alerting -
group1.x-pack/test/alerting_api_integration/spaces_only/tests/alerting/group1/get_alert_summary·ts
(#164759)\n\n## Summary\r\n\r\nFix:
https://github.com/elastic/kibana/issues/156792\r\n\r\n\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2987","sha":"6c2cd6048d16aeab7ca6ac3edb725d3969e4f2a3"}}]}]
BACKPORT-->

Co-authored-by: Xavier Mouligneau <xavier.mouligneau@elastic.co>
2023-08-24 17:58:53 -04:00
Tiago Costa
4e26eebc26
[8.10] chore(NA): upgrade typescript into v4.7.4 (#162738) (#164758)
# Backport

This will backport the following commits from `main` to `8.10`:
- [chore(NA): upgrade typescript into v4.7.4
(#162738)](https://github.com/elastic/kibana/pull/162738)

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

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

<!--BACKPORT [{"author":{"name":"Tiago
Costa","email":"tiago.costa@elastic.co"},"sourceCommit":{"committedDate":"2023-08-24T16:27:13Z","message":"chore(NA):
upgrade typescript into v4.7.4 (#162738)\n\nThis PR bumps the Typescript
version used on Kibana into v4.7.4.\r\n\r\nDuring the upgrade I got the
impression the majority of the failures\r\nwere too specific to the
codebase so instead of making assumptions I\r\nchoose to marked a lot of
them with `@ts-expect-error` and let each team\r\ndecide how to handle
it.\r\n\r\nNext you can find a list of files with those comments and the
teams to\r\nwho they belong to. I would appreciate the collaboration
from each team\r\non fixing those. I'm not opposed on fixing those in
subsequent PRs after\r\nthis one have been merged, just wanted to
elaborate that list for a good\r\nfollow up:\r\n\r\n@elastic/kibana-core
\r\n-
[x]\r\n[packages/core/http/core-http-router-server-internal/src/request.ts](https://github.com/elastic/kibana/pull/162738/files#diff-c1f4a8c013c6ff9c5170803322414cb002f70331b23e45c55f075258c678410a)\r\n\r\n@elastic/kibana-data-discovery
\r\n-
[x]\r\n[src/plugins/discover/public/components/doc_table/components/table_row.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-9106b254a57e73fc6f0b2e01f9aff1abbd26f1a0999e6fa998f1b45d3013038f)\r\n\r\n@elastic/kibana-visualizations
\r\n-
[x]\r\n[src/plugins/expressions/common/execution/execution.ts](https://github.com/elastic/kibana/pull/162738/files#diff-47bf3af7472c08ede90f86575ee7db4b8a2c949b1fb61400410ed16a8d819667)\r\n-
[x]\r\n[src/plugins/expressions/common/expression_functions/expression_function_parameter.ts](https://github.com/elastic/kibana/pull/162738/files#diff-3bcaa3c50f2297ff990c7ac83a1c2d36a79e6706a09082c3c48a911713afe950)\r\n-
[x]\r\n[src/plugins/vis_types/heatmap/public/editor/components/labels_panel.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-345db24d53f4158414480b890fa43d1f8a454b67313de79602fda081279cbc4f)\r\n-
[x]\r\n[src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/label_options.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-1c346b41cf025ff4f4e07b6d6dcdd1451cbaa758f9a9e8c72a9801d3fbbdfda2)\r\n\r\n@elastic/kibana-presentation
\r\n-
[x]\r\n[x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts](https://github.com/elastic/kibana/pull/162738/files#diff-56858ed9be77830ab218eab1960337240926609c5a1593b3960b35660ef81359)\r\n\r\n@elastic/response-ops
\r\n-
[x]\r\n[x-pack/plugins/cases/public/components/create/form.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-c5c415f1f56ca986f4bb59e65490b5e0fc77a86092240c0c1a26c141dba07818)\r\n-
[x]\r\n[x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-ab038916f6fed59e18b0a72ce8e823e88d115afdb2704010d0fa8656b66702df)\r\n-
[x]\r\n[x-pack/plugins/rule_registry/server/alert_data_client/browser_fields/index.ts](https://github.com/elastic/kibana/pull/162738/files#diff-3f91aa93f7e6514c0479a37a76d6e9a53646d4eaf5dcd0db64437eadf1eee6b6)\r\n-
[x]\r\n[x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-fbf1d6d0104c11c3f3690d29edf06000b5a63a858bb22b7d04d1f96a45133b07)\r\n-
[x]\r\n[x-pack/plugins/triggers_actions_ui/common/experimental_features.ts](https://github.com/elastic/kibana/pull/162738/files#diff-8e2ca70700895b17125532779945a1d0ab9076b4d4db304c065b47f82b6628a5)\r\n-
[x]\r\n[x-pack/plugins/triggers_actions_ui/public/common/get_experimental_features.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-8e2ca70700895b17125532779945a1d0ab9076b4d4db304c065b47f82b6628a5)\r\n\r\n@elastic/fleet
\r\n-
[x]\r\n[x-pack/plugins/fleet/common/experimental_features.ts](https://github.com/elastic/kibana/pull/162738/files#diff-a852b157b5ff1d6dbf321ea8a25f0020d8f88cd458378cc9de8ef25ce28c9414)\r\n-
[x]\r\n[x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-9eea0be0f9341dd6369720ce7b11bff69dda51230337ebbae921f6abde187bd2)\r\n-
[x]\r\n[x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/index.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-844d5f9707b739d25f2b73bd34c45c21e2e5d573b3238c13130a0d1c1db092dc)\r\n-
[x]\r\n[x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/index.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-f88d92abbc549ddc95d693bf3a3bc9752613cf74f1e859a01ca61d572e031b11)\r\n-
[x]\r\n[x-pack/plugins/fleet/server/mocks/index.ts](https://github.com/elastic/kibana/pull/162738/files#diff-d3f3e436b158ac2d877b7be9d57642855f89b0149cc28735811443da45bb079f)\r\n\r\n@elastic/security-detection-engine\r\n-
[x]\r\n[x-pack/plugins/lists/server/services/extension_points/extension_point_storage_client.ts](https://github.com/elastic/kibana/pull/162738/files#diff-dbbf5a8541e06fd977c66e44d9ef59f738d953bdfda679ac838e098742c92f50)\r\n-
[x]\r\n[x-pack/plugins/lists/server/services/extension_points/types.ts](https://github.com/elastic/kibana/pull/162738/files#diff-31186826bea8fdb286a25878fa06eeacad8f7a6c384d617fed905d4625821eef)\r\n\r\n@elastic/security-defend-workflows
@gergoabraham \r\n-
[x]\r\n[x-pack/plugins/security_solution/public/detection_engine/rule_response_actions/osquery/osquery_response_action.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-049eeedef2a403ade7c636418e17fc9a3ffc7030eec2f3e013f459721c076470)\r\n\r\n@elastic/infra-monitoring-ui
\r\n-
[x]\r\n[x-pack/plugins/monitoring/public/application/pages/apm/overview.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-4ab4fa150247d8f522741ae5ea1ea71c102c72f5439410ea869ec1c9dc9878ad)\r\n-
[x]\r\n[x-pack/plugins/monitoring/public/application/pages/enterprise_search/overview.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-285a67d9ec93651206608d308e5d1d20ccc98ccccb9bcbf3ee31fe35c1844b42)\r\n\r\n@elastic/kibana-security
\r\n-
[x]\r\n[x-pack/plugins/security/server/authentication/authenticator.ts](https://github.com/elastic/kibana/pull/162738/files#diff-bd369002fdfd0986f1ce3bf16263fb8b765e01a86832ccf5b4e521811d502038)\r\n-
[x]\r\n[x-pack/plugins/security/server/session_management/session_index.ts](https://github.com/elastic/kibana/pull/162738/files#diff-10b76eb52a0e17564ad864def8270bb84a4eb87eb35851309bc36601086cbcd7)\r\n\r\n@elastic/security-threat-hunting-explore
@gergoabraham \r\n-
[x]\r\n[x-pack/plugins/security_solution/public/common/mock/endpoint/app_context_render.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-7f130bdc9a954330d188aa25324910cf2f72baf76d1329bd36584f5bb153856b)\r\n\r\n@elastic/security-solution
@gergoabraham \r\n-
[x]\r\n[x-pack/plugins/security_solution/public/management/components/page_overlay/page_overlay.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-e68a2799df17238257a86ce965369c525be901f6f882e518bde9e8c9bd7cd2c8)\r\n-
[x]\r\n[x-pack/plugins/security_solution/public/management/pages/policy/view/policy_settings_form/components/event_collection_card.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-edc756f655792f7dcaca0c707f35c6c022981be1873712f460ccb1d611e42568)\r\n-
[x]\r\n[x-pack/plugins/security_solution/tsconfig.json](https://github.com/elastic/kibana/pull/162738/files#diff-844dde79a96b9e6c2bfdf21f8c80feb8b687577e21326da6bd15c6b95d8ec918)\r\n\r\n@elastic/uptime
\r\n-
[x]\r\n[x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/duration_anomaly.test.ts](https://github.com/elastic/kibana/pull/162738/files#diff-6c7b63ce65aa17a2fe3219e1747ae051be88fb02edbe2f198ad6fd418a2bcc57)\r\n\r\n@elastic/security-detections-response-alerts
@gergoabraham \r\n-
[x]\r\n[x-pack/test/detection_engine_api_integration/security_and_spaces/group8/exception_operators_data_types/keyword_array.ts](https://github.com/elastic/kibana/pull/162738/files#diff-472ba2c7fe43448c8a4d04406703f755f71f6e60146bb2f090b4ca0f19ad0a0f)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Michael Dokolin <dokmic@gmail.com>\r\nCo-authored-by: Stratoula
Kalafateli <stratoula1@gmail.com>\r\nCo-authored-by: Rudolf Meijering
<skaapgif@gmail.com>\r\nCo-authored-by: Devon Thomson
<devon.thomson@elastic.co>","sha":"2d652e1313a64f55bae994833324ad8116738254","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","Feature:ExpressionLanguage","release_note:skip","Team:Fleet","auto-backport","v8.10.0","v7.17.13","v8.11.0","v8.9.2"],"number":162738,"url":"https://github.com/elastic/kibana/pull/162738","mergeCommit":{"message":"chore(NA):
upgrade typescript into v4.7.4 (#162738)\n\nThis PR bumps the Typescript
version used on Kibana into v4.7.4.\r\n\r\nDuring the upgrade I got the
impression the majority of the failures\r\nwere too specific to the
codebase so instead of making assumptions I\r\nchoose to marked a lot of
them with `@ts-expect-error` and let each team\r\ndecide how to handle
it.\r\n\r\nNext you can find a list of files with those comments and the
teams to\r\nwho they belong to. I would appreciate the collaboration
from each team\r\non fixing those. I'm not opposed on fixing those in
subsequent PRs after\r\nthis one have been merged, just wanted to
elaborate that list for a good\r\nfollow up:\r\n\r\n@elastic/kibana-core
\r\n-
[x]\r\n[packages/core/http/core-http-router-server-internal/src/request.ts](https://github.com/elastic/kibana/pull/162738/files#diff-c1f4a8c013c6ff9c5170803322414cb002f70331b23e45c55f075258c678410a)\r\n\r\n@elastic/kibana-data-discovery
\r\n-
[x]\r\n[src/plugins/discover/public/components/doc_table/components/table_row.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-9106b254a57e73fc6f0b2e01f9aff1abbd26f1a0999e6fa998f1b45d3013038f)\r\n\r\n@elastic/kibana-visualizations
\r\n-
[x]\r\n[src/plugins/expressions/common/execution/execution.ts](https://github.com/elastic/kibana/pull/162738/files#diff-47bf3af7472c08ede90f86575ee7db4b8a2c949b1fb61400410ed16a8d819667)\r\n-
[x]\r\n[src/plugins/expressions/common/expression_functions/expression_function_parameter.ts](https://github.com/elastic/kibana/pull/162738/files#diff-3bcaa3c50f2297ff990c7ac83a1c2d36a79e6706a09082c3c48a911713afe950)\r\n-
[x]\r\n[src/plugins/vis_types/heatmap/public/editor/components/labels_panel.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-345db24d53f4158414480b890fa43d1f8a454b67313de79602fda081279cbc4f)\r\n-
[x]\r\n[src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/label_options.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-1c346b41cf025ff4f4e07b6d6dcdd1451cbaa758f9a9e8c72a9801d3fbbdfda2)\r\n\r\n@elastic/kibana-presentation
\r\n-
[x]\r\n[x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts](https://github.com/elastic/kibana/pull/162738/files#diff-56858ed9be77830ab218eab1960337240926609c5a1593b3960b35660ef81359)\r\n\r\n@elastic/response-ops
\r\n-
[x]\r\n[x-pack/plugins/cases/public/components/create/form.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-c5c415f1f56ca986f4bb59e65490b5e0fc77a86092240c0c1a26c141dba07818)\r\n-
[x]\r\n[x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-ab038916f6fed59e18b0a72ce8e823e88d115afdb2704010d0fa8656b66702df)\r\n-
[x]\r\n[x-pack/plugins/rule_registry/server/alert_data_client/browser_fields/index.ts](https://github.com/elastic/kibana/pull/162738/files#diff-3f91aa93f7e6514c0479a37a76d6e9a53646d4eaf5dcd0db64437eadf1eee6b6)\r\n-
[x]\r\n[x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-fbf1d6d0104c11c3f3690d29edf06000b5a63a858bb22b7d04d1f96a45133b07)\r\n-
[x]\r\n[x-pack/plugins/triggers_actions_ui/common/experimental_features.ts](https://github.com/elastic/kibana/pull/162738/files#diff-8e2ca70700895b17125532779945a1d0ab9076b4d4db304c065b47f82b6628a5)\r\n-
[x]\r\n[x-pack/plugins/triggers_actions_ui/public/common/get_experimental_features.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-8e2ca70700895b17125532779945a1d0ab9076b4d4db304c065b47f82b6628a5)\r\n\r\n@elastic/fleet
\r\n-
[x]\r\n[x-pack/plugins/fleet/common/experimental_features.ts](https://github.com/elastic/kibana/pull/162738/files#diff-a852b157b5ff1d6dbf321ea8a25f0020d8f88cd458378cc9de8ef25ce28c9414)\r\n-
[x]\r\n[x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-9eea0be0f9341dd6369720ce7b11bff69dda51230337ebbae921f6abde187bd2)\r\n-
[x]\r\n[x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/index.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-844d5f9707b739d25f2b73bd34c45c21e2e5d573b3238c13130a0d1c1db092dc)\r\n-
[x]\r\n[x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/index.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-f88d92abbc549ddc95d693bf3a3bc9752613cf74f1e859a01ca61d572e031b11)\r\n-
[x]\r\n[x-pack/plugins/fleet/server/mocks/index.ts](https://github.com/elastic/kibana/pull/162738/files#diff-d3f3e436b158ac2d877b7be9d57642855f89b0149cc28735811443da45bb079f)\r\n\r\n@elastic/security-detection-engine\r\n-
[x]\r\n[x-pack/plugins/lists/server/services/extension_points/extension_point_storage_client.ts](https://github.com/elastic/kibana/pull/162738/files#diff-dbbf5a8541e06fd977c66e44d9ef59f738d953bdfda679ac838e098742c92f50)\r\n-
[x]\r\n[x-pack/plugins/lists/server/services/extension_points/types.ts](https://github.com/elastic/kibana/pull/162738/files#diff-31186826bea8fdb286a25878fa06eeacad8f7a6c384d617fed905d4625821eef)\r\n\r\n@elastic/security-defend-workflows
@gergoabraham \r\n-
[x]\r\n[x-pack/plugins/security_solution/public/detection_engine/rule_response_actions/osquery/osquery_response_action.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-049eeedef2a403ade7c636418e17fc9a3ffc7030eec2f3e013f459721c076470)\r\n\r\n@elastic/infra-monitoring-ui
\r\n-
[x]\r\n[x-pack/plugins/monitoring/public/application/pages/apm/overview.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-4ab4fa150247d8f522741ae5ea1ea71c102c72f5439410ea869ec1c9dc9878ad)\r\n-
[x]\r\n[x-pack/plugins/monitoring/public/application/pages/enterprise_search/overview.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-285a67d9ec93651206608d308e5d1d20ccc98ccccb9bcbf3ee31fe35c1844b42)\r\n\r\n@elastic/kibana-security
\r\n-
[x]\r\n[x-pack/plugins/security/server/authentication/authenticator.ts](https://github.com/elastic/kibana/pull/162738/files#diff-bd369002fdfd0986f1ce3bf16263fb8b765e01a86832ccf5b4e521811d502038)\r\n-
[x]\r\n[x-pack/plugins/security/server/session_management/session_index.ts](https://github.com/elastic/kibana/pull/162738/files#diff-10b76eb52a0e17564ad864def8270bb84a4eb87eb35851309bc36601086cbcd7)\r\n\r\n@elastic/security-threat-hunting-explore
@gergoabraham \r\n-
[x]\r\n[x-pack/plugins/security_solution/public/common/mock/endpoint/app_context_render.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-7f130bdc9a954330d188aa25324910cf2f72baf76d1329bd36584f5bb153856b)\r\n\r\n@elastic/security-solution
@gergoabraham \r\n-
[x]\r\n[x-pack/plugins/security_solution/public/management/components/page_overlay/page_overlay.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-e68a2799df17238257a86ce965369c525be901f6f882e518bde9e8c9bd7cd2c8)\r\n-
[x]\r\n[x-pack/plugins/security_solution/public/management/pages/policy/view/policy_settings_form/components/event_collection_card.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-edc756f655792f7dcaca0c707f35c6c022981be1873712f460ccb1d611e42568)\r\n-
[x]\r\n[x-pack/plugins/security_solution/tsconfig.json](https://github.com/elastic/kibana/pull/162738/files#diff-844dde79a96b9e6c2bfdf21f8c80feb8b687577e21326da6bd15c6b95d8ec918)\r\n\r\n@elastic/uptime
\r\n-
[x]\r\n[x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/duration_anomaly.test.ts](https://github.com/elastic/kibana/pull/162738/files#diff-6c7b63ce65aa17a2fe3219e1747ae051be88fb02edbe2f198ad6fd418a2bcc57)\r\n\r\n@elastic/security-detections-response-alerts
@gergoabraham \r\n-
[x]\r\n[x-pack/test/detection_engine_api_integration/security_and_spaces/group8/exception_operators_data_types/keyword_array.ts](https://github.com/elastic/kibana/pull/162738/files#diff-472ba2c7fe43448c8a4d04406703f755f71f6e60146bb2f090b4ca0f19ad0a0f)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Michael Dokolin <dokmic@gmail.com>\r\nCo-authored-by: Stratoula
Kalafateli <stratoula1@gmail.com>\r\nCo-authored-by: Rudolf Meijering
<skaapgif@gmail.com>\r\nCo-authored-by: Devon Thomson
<devon.thomson@elastic.co>","sha":"2d652e1313a64f55bae994833324ad8116738254"}},"sourceBranch":"main","suggestedTargetBranches":["8.10","7.17","8.9"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"7.17","label":"v7.17.13","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/162738","number":162738,"mergeCommit":{"message":"chore(NA):
upgrade typescript into v4.7.4 (#162738)\n\nThis PR bumps the Typescript
version used on Kibana into v4.7.4.\r\n\r\nDuring the upgrade I got the
impression the majority of the failures\r\nwere too specific to the
codebase so instead of making assumptions I\r\nchoose to marked a lot of
them with `@ts-expect-error` and let each team\r\ndecide how to handle
it.\r\n\r\nNext you can find a list of files with those comments and the
teams to\r\nwho they belong to. I would appreciate the collaboration
from each team\r\non fixing those. I'm not opposed on fixing those in
subsequent PRs after\r\nthis one have been merged, just wanted to
elaborate that list for a good\r\nfollow up:\r\n\r\n@elastic/kibana-core
\r\n-
[x]\r\n[packages/core/http/core-http-router-server-internal/src/request.ts](https://github.com/elastic/kibana/pull/162738/files#diff-c1f4a8c013c6ff9c5170803322414cb002f70331b23e45c55f075258c678410a)\r\n\r\n@elastic/kibana-data-discovery
\r\n-
[x]\r\n[src/plugins/discover/public/components/doc_table/components/table_row.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-9106b254a57e73fc6f0b2e01f9aff1abbd26f1a0999e6fa998f1b45d3013038f)\r\n\r\n@elastic/kibana-visualizations
\r\n-
[x]\r\n[src/plugins/expressions/common/execution/execution.ts](https://github.com/elastic/kibana/pull/162738/files#diff-47bf3af7472c08ede90f86575ee7db4b8a2c949b1fb61400410ed16a8d819667)\r\n-
[x]\r\n[src/plugins/expressions/common/expression_functions/expression_function_parameter.ts](https://github.com/elastic/kibana/pull/162738/files#diff-3bcaa3c50f2297ff990c7ac83a1c2d36a79e6706a09082c3c48a911713afe950)\r\n-
[x]\r\n[src/plugins/vis_types/heatmap/public/editor/components/labels_panel.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-345db24d53f4158414480b890fa43d1f8a454b67313de79602fda081279cbc4f)\r\n-
[x]\r\n[src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/label_options.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-1c346b41cf025ff4f4e07b6d6dcdd1451cbaa758f9a9e8c72a9801d3fbbdfda2)\r\n\r\n@elastic/kibana-presentation
\r\n-
[x]\r\n[x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts](https://github.com/elastic/kibana/pull/162738/files#diff-56858ed9be77830ab218eab1960337240926609c5a1593b3960b35660ef81359)\r\n\r\n@elastic/response-ops
\r\n-
[x]\r\n[x-pack/plugins/cases/public/components/create/form.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-c5c415f1f56ca986f4bb59e65490b5e0fc77a86092240c0c1a26c141dba07818)\r\n-
[x]\r\n[x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-ab038916f6fed59e18b0a72ce8e823e88d115afdb2704010d0fa8656b66702df)\r\n-
[x]\r\n[x-pack/plugins/rule_registry/server/alert_data_client/browser_fields/index.ts](https://github.com/elastic/kibana/pull/162738/files#diff-3f91aa93f7e6514c0479a37a76d6e9a53646d4eaf5dcd0db64437eadf1eee6b6)\r\n-
[x]\r\n[x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-fbf1d6d0104c11c3f3690d29edf06000b5a63a858bb22b7d04d1f96a45133b07)\r\n-
[x]\r\n[x-pack/plugins/triggers_actions_ui/common/experimental_features.ts](https://github.com/elastic/kibana/pull/162738/files#diff-8e2ca70700895b17125532779945a1d0ab9076b4d4db304c065b47f82b6628a5)\r\n-
[x]\r\n[x-pack/plugins/triggers_actions_ui/public/common/get_experimental_features.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-8e2ca70700895b17125532779945a1d0ab9076b4d4db304c065b47f82b6628a5)\r\n\r\n@elastic/fleet
\r\n-
[x]\r\n[x-pack/plugins/fleet/common/experimental_features.ts](https://github.com/elastic/kibana/pull/162738/files#diff-a852b157b5ff1d6dbf321ea8a25f0020d8f88cd458378cc9de8ef25ce28c9414)\r\n-
[x]\r\n[x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-9eea0be0f9341dd6369720ce7b11bff69dda51230337ebbae921f6abde187bd2)\r\n-
[x]\r\n[x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/index.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-844d5f9707b739d25f2b73bd34c45c21e2e5d573b3238c13130a0d1c1db092dc)\r\n-
[x]\r\n[x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/index.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-f88d92abbc549ddc95d693bf3a3bc9752613cf74f1e859a01ca61d572e031b11)\r\n-
[x]\r\n[x-pack/plugins/fleet/server/mocks/index.ts](https://github.com/elastic/kibana/pull/162738/files#diff-d3f3e436b158ac2d877b7be9d57642855f89b0149cc28735811443da45bb079f)\r\n\r\n@elastic/security-detection-engine\r\n-
[x]\r\n[x-pack/plugins/lists/server/services/extension_points/extension_point_storage_client.ts](https://github.com/elastic/kibana/pull/162738/files#diff-dbbf5a8541e06fd977c66e44d9ef59f738d953bdfda679ac838e098742c92f50)\r\n-
[x]\r\n[x-pack/plugins/lists/server/services/extension_points/types.ts](https://github.com/elastic/kibana/pull/162738/files#diff-31186826bea8fdb286a25878fa06eeacad8f7a6c384d617fed905d4625821eef)\r\n\r\n@elastic/security-defend-workflows
@gergoabraham \r\n-
[x]\r\n[x-pack/plugins/security_solution/public/detection_engine/rule_response_actions/osquery/osquery_response_action.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-049eeedef2a403ade7c636418e17fc9a3ffc7030eec2f3e013f459721c076470)\r\n\r\n@elastic/infra-monitoring-ui
\r\n-
[x]\r\n[x-pack/plugins/monitoring/public/application/pages/apm/overview.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-4ab4fa150247d8f522741ae5ea1ea71c102c72f5439410ea869ec1c9dc9878ad)\r\n-
[x]\r\n[x-pack/plugins/monitoring/public/application/pages/enterprise_search/overview.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-285a67d9ec93651206608d308e5d1d20ccc98ccccb9bcbf3ee31fe35c1844b42)\r\n\r\n@elastic/kibana-security
\r\n-
[x]\r\n[x-pack/plugins/security/server/authentication/authenticator.ts](https://github.com/elastic/kibana/pull/162738/files#diff-bd369002fdfd0986f1ce3bf16263fb8b765e01a86832ccf5b4e521811d502038)\r\n-
[x]\r\n[x-pack/plugins/security/server/session_management/session_index.ts](https://github.com/elastic/kibana/pull/162738/files#diff-10b76eb52a0e17564ad864def8270bb84a4eb87eb35851309bc36601086cbcd7)\r\n\r\n@elastic/security-threat-hunting-explore
@gergoabraham \r\n-
[x]\r\n[x-pack/plugins/security_solution/public/common/mock/endpoint/app_context_render.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-7f130bdc9a954330d188aa25324910cf2f72baf76d1329bd36584f5bb153856b)\r\n\r\n@elastic/security-solution
@gergoabraham \r\n-
[x]\r\n[x-pack/plugins/security_solution/public/management/components/page_overlay/page_overlay.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-e68a2799df17238257a86ce965369c525be901f6f882e518bde9e8c9bd7cd2c8)\r\n-
[x]\r\n[x-pack/plugins/security_solution/public/management/pages/policy/view/policy_settings_form/components/event_collection_card.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-edc756f655792f7dcaca0c707f35c6c022981be1873712f460ccb1d611e42568)\r\n-
[x]\r\n[x-pack/plugins/security_solution/tsconfig.json](https://github.com/elastic/kibana/pull/162738/files#diff-844dde79a96b9e6c2bfdf21f8c80feb8b687577e21326da6bd15c6b95d8ec918)\r\n\r\n@elastic/uptime
\r\n-
[x]\r\n[x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/duration_anomaly.test.ts](https://github.com/elastic/kibana/pull/162738/files#diff-6c7b63ce65aa17a2fe3219e1747ae051be88fb02edbe2f198ad6fd418a2bcc57)\r\n\r\n@elastic/security-detections-response-alerts
@gergoabraham \r\n-
[x]\r\n[x-pack/test/detection_engine_api_integration/security_and_spaces/group8/exception_operators_data_types/keyword_array.ts](https://github.com/elastic/kibana/pull/162738/files#diff-472ba2c7fe43448c8a4d04406703f755f71f6e60146bb2f090b4ca0f19ad0a0f)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Michael Dokolin <dokmic@gmail.com>\r\nCo-authored-by: Stratoula
Kalafateli <stratoula1@gmail.com>\r\nCo-authored-by: Rudolf Meijering
<skaapgif@gmail.com>\r\nCo-authored-by: Devon Thomson
<devon.thomson@elastic.co>","sha":"2d652e1313a64f55bae994833324ad8116738254"}},{"branch":"8.9","label":"v8.9.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-08-24 20:29:02 +01:00
Kibana Machine
f7aeb6c7e4
[8.10] [ML] API integration tests for model_management endpoints (#164668) (#164764)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[ML] API integration tests for `model_management` endpoints
(#164668)](https://github.com/elastic/kibana/pull/164668)

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

### 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-08-24T17:32:34Z","message":"[ML]
API integration tests for `model_management` endpoints
(#164668)","sha":"b3f036b554600ae5f6ce330c91b4829636267ff5","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","test_api","release_note:skip","Team:ML","v8.10.0","v8.11.0"],"number":164668,"url":"https://github.com/elastic/kibana/pull/164668","mergeCommit":{"message":"[ML]
API integration tests for `model_management` endpoints
(#164668)","sha":"b3f036b554600ae5f6ce330c91b4829636267ff5"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164668","number":164668,"mergeCommit":{"message":"[ML]
API integration tests for `model_management` endpoints
(#164668)","sha":"b3f036b554600ae5f6ce330c91b4829636267ff5"}}]}]
BACKPORT-->

Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
2023-08-24 11:45:55 -07:00
Kibana Machine
c37d5bc9e2
[8.10] [Fleet] Make failing secrets test more robust (#164740) (#164755)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Fleet] Make failing secrets test more robust
(#164740)](https://github.com/elastic/kibana/pull/164740)

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

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

<!--BACKPORT [{"author":{"name":"Mark
Hopkin","email":"mark.hopkin@elastic.co"},"sourceCommit":{"committedDate":"2023-08-24T16:37:53Z","message":"[Fleet]
Make failing secrets test more robust (#164740)\n\n##
Summary\r\n\r\nCloses #163901\r\n\r\nInstead of one sleep lets try 3
times.","sha":"67958a1660c5504488cbe02360619bfd13de34b1","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","backport:prev-minor","v8.11.0"],"number":164740,"url":"https://github.com/elastic/kibana/pull/164740","mergeCommit":{"message":"[Fleet]
Make failing secrets test more robust (#164740)\n\n##
Summary\r\n\r\nCloses #163901\r\n\r\nInstead of one sleep lets try 3
times.","sha":"67958a1660c5504488cbe02360619bfd13de34b1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164740","number":164740,"mergeCommit":{"message":"[Fleet]
Make failing secrets test more robust (#164740)\n\n##
Summary\r\n\r\nCloses #163901\r\n\r\nInstead of one sleep lets try 3
times.","sha":"67958a1660c5504488cbe02360619bfd13de34b1"}}]}]
BACKPORT-->

Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
2023-08-24 10:46:43 -07:00
Kibana Machine
070b357a67
[8.10] [Security Solution] expandable flyout - hide visualize tab in left section and open session view and analyzer in timeline (#164111) (#164735)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] expandable flyout - hide visualize tab in left
section and open session view and analyzer in timeline
(#164111)](https://github.com/elastic/kibana/pull/164111)

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

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

<!--BACKPORT [{"author":{"name":"Philippe
Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2023-08-24T15:11:00Z","message":"[Security
Solution] expandable flyout - hide visualize tab in left section and
open session view and analyzer in timeline
(#164111)","sha":"acedd23097f2476629cb14dce7da6ee46ee237df","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Team:Threat
Hunting:Investigations","v8.10.0","v8.11.0"],"number":164111,"url":"https://github.com/elastic/kibana/pull/164111","mergeCommit":{"message":"[Security
Solution] expandable flyout - hide visualize tab in left section and
open session view and analyzer in timeline
(#164111)","sha":"acedd23097f2476629cb14dce7da6ee46ee237df"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164111","number":164111,"mergeCommit":{"message":"[Security
Solution] expandable flyout - hide visualize tab in left section and
open session view and analyzer in timeline
(#164111)","sha":"acedd23097f2476629cb14dce7da6ee46ee237df"}}]}]
BACKPORT-->

Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
2023-08-24 10:27:39 -07:00
Kibana Machine
017fda6497
[8.10] [Fleet] Increase number of attempts on flaky unenroll test (#164734) (#164751)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Fleet] Increase number of attempts on flaky unenroll test
(#164734)](https://github.com/elastic/kibana/pull/164734)

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

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

<!--BACKPORT [{"author":{"name":"Mark
Hopkin","email":"mark.hopkin@elastic.co"},"sourceCommit":{"committedDate":"2023-08-24T16:13:29Z","message":"[Fleet]
Increase number of attempts on flaky unenroll test (#164734)\n\n##
Summary\r\n\r\nCloses #157205 \r\n\r\nAdd an extra attempt to this flky
test.\r\n\r\nbonus: we were rejecting with strings which was giving us
this funny\r\nerror:\r\n\r\n```\r\n[Error: the string \"action timed
out\" was thrown, throw an Error
:)]\r\n```","sha":"f2c69986fdfa390584a1c03b455cdf14ba2b19cb","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","backport:prev-minor","v8.11.0"],"number":164734,"url":"https://github.com/elastic/kibana/pull/164734","mergeCommit":{"message":"[Fleet]
Increase number of attempts on flaky unenroll test (#164734)\n\n##
Summary\r\n\r\nCloses #157205 \r\n\r\nAdd an extra attempt to this flky
test.\r\n\r\nbonus: we were rejecting with strings which was giving us
this funny\r\nerror:\r\n\r\n```\r\n[Error: the string \"action timed
out\" was thrown, throw an Error
:)]\r\n```","sha":"f2c69986fdfa390584a1c03b455cdf14ba2b19cb"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164734","number":164734,"mergeCommit":{"message":"[Fleet]
Increase number of attempts on flaky unenroll test (#164734)\n\n##
Summary\r\n\r\nCloses #157205 \r\n\r\nAdd an extra attempt to this flky
test.\r\n\r\nbonus: we were rejecting with strings which was giving us
this funny\r\nerror:\r\n\r\n```\r\n[Error: the string \"action timed
out\" was thrown, throw an Error
:)]\r\n```","sha":"f2c69986fdfa390584a1c03b455cdf14ba2b19cb"}}]}]
BACKPORT-->

Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
2023-08-24 10:19:20 -07:00
Kibana Machine
321c33fd73
[8.10] [Security Solution][Endpoint] Split blocklist entry in multiple entries when different hash types (#164599) (#164700)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution][Endpoint] Split blocklist entry in multiple
entries when different hash types
(#164599)](https://github.com/elastic/kibana/pull/164599)

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

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

<!--BACKPORT [{"author":{"name":"David
Sánchez","email":"david.sanchezsoler@elastic.co"},"sourceCommit":{"committedDate":"2023-08-24T12:10:23Z","message":"[Security
Solution][Endpoint] Split blocklist entry in multiple entries when
different hash types (#164599)\n\nFixes:
https://github.com/elastic/kibana/issues/164374\r\n##
Summary\r\n\r\nDuring fleet artifact generation, we split those
blocklist entries that\r\ncontains multiple hash types in it, so the
resulting artifact contains\r\nan entry for each hash type. This is done
for each blocklist if they\r\ncontain multiple hash types in
it.\r\n\r\nIt also updates ftr test to ensure the resulting artifact is
generated\r\ncorrectly.\r\n\r\nFor a blocklist containing these hashes:
\r\n```\r\n['741462ab431a22233c787baab9b653c7',
'aedb279e378bed6c2db3c9dc9e12ba635e0b391c',
'a4370c0cf81686c0b696fa6261c9d3e0d810ae704ab8301839dffd5d5112f476']\r\n```\r\n\r\nThe
artifact generated is:\r\n\r\n```\r\n{\r\n entries: [\r\n {\r\n type:
'simple',\r\n entries: [\r\n {\r\n field: 'file.hash.md5',\r\n operator:
'included',\r\n type: 'exact_cased_any',\r\n value:
['741462ab431a22233c787baab9b653c7'],\r\n },\r\n ],\r\n },\r\n {\r\n
type: 'simple',\r\n entries: [\r\n {\r\n field: 'file.hash.sha1',\r\n
operator: 'included',\r\n type: 'exact_cased_any',\r\n value:
['aedb279e378bed6c2db3c9dc9e12ba635e0b391c'],\r\n },\r\n ],\r\n },\r\n
{\r\n type: 'simple',\r\n entries: [\r\n {\r\n field:
'file.hash.sha256',\r\n operator: 'included',\r\n type:
'exact_cased_any',\r\n value:
['a4370c0cf81686c0b696fa6261c9d3e0d810ae704ab8301839dffd5d5112f476'],\r\n
},\r\n ],\r\n },\r\n ]\r\n}\r\n```\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"665937683845322e6c75b18b14041854dcb761c9","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","v8.10.0","v8.11.0","v8.9.2"],"number":164599,"url":"https://github.com/elastic/kibana/pull/164599","mergeCommit":{"message":"[Security
Solution][Endpoint] Split blocklist entry in multiple entries when
different hash types (#164599)\n\nFixes:
https://github.com/elastic/kibana/issues/164374\r\n##
Summary\r\n\r\nDuring fleet artifact generation, we split those
blocklist entries that\r\ncontains multiple hash types in it, so the
resulting artifact contains\r\nan entry for each hash type. This is done
for each blocklist if they\r\ncontain multiple hash types in
it.\r\n\r\nIt also updates ftr test to ensure the resulting artifact is
generated\r\ncorrectly.\r\n\r\nFor a blocklist containing these hashes:
\r\n```\r\n['741462ab431a22233c787baab9b653c7',
'aedb279e378bed6c2db3c9dc9e12ba635e0b391c',
'a4370c0cf81686c0b696fa6261c9d3e0d810ae704ab8301839dffd5d5112f476']\r\n```\r\n\r\nThe
artifact generated is:\r\n\r\n```\r\n{\r\n entries: [\r\n {\r\n type:
'simple',\r\n entries: [\r\n {\r\n field: 'file.hash.md5',\r\n operator:
'included',\r\n type: 'exact_cased_any',\r\n value:
['741462ab431a22233c787baab9b653c7'],\r\n },\r\n ],\r\n },\r\n {\r\n
type: 'simple',\r\n entries: [\r\n {\r\n field: 'file.hash.sha1',\r\n
operator: 'included',\r\n type: 'exact_cased_any',\r\n value:
['aedb279e378bed6c2db3c9dc9e12ba635e0b391c'],\r\n },\r\n ],\r\n },\r\n
{\r\n type: 'simple',\r\n entries: [\r\n {\r\n field:
'file.hash.sha256',\r\n operator: 'included',\r\n type:
'exact_cased_any',\r\n value:
['a4370c0cf81686c0b696fa6261c9d3e0d810ae704ab8301839dffd5d5112f476'],\r\n
},\r\n ],\r\n },\r\n ]\r\n}\r\n```\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"665937683845322e6c75b18b14041854dcb761c9"}},"sourceBranch":"main","suggestedTargetBranches":["8.10","8.9"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164599","number":164599,"mergeCommit":{"message":"[Security
Solution][Endpoint] Split blocklist entry in multiple entries when
different hash types (#164599)\n\nFixes:
https://github.com/elastic/kibana/issues/164374\r\n##
Summary\r\n\r\nDuring fleet artifact generation, we split those
blocklist entries that\r\ncontains multiple hash types in it, so the
resulting artifact contains\r\nan entry for each hash type. This is done
for each blocklist if they\r\ncontain multiple hash types in
it.\r\n\r\nIt also updates ftr test to ensure the resulting artifact is
generated\r\ncorrectly.\r\n\r\nFor a blocklist containing these hashes:
\r\n```\r\n['741462ab431a22233c787baab9b653c7',
'aedb279e378bed6c2db3c9dc9e12ba635e0b391c',
'a4370c0cf81686c0b696fa6261c9d3e0d810ae704ab8301839dffd5d5112f476']\r\n```\r\n\r\nThe
artifact generated is:\r\n\r\n```\r\n{\r\n entries: [\r\n {\r\n type:
'simple',\r\n entries: [\r\n {\r\n field: 'file.hash.md5',\r\n operator:
'included',\r\n type: 'exact_cased_any',\r\n value:
['741462ab431a22233c787baab9b653c7'],\r\n },\r\n ],\r\n },\r\n {\r\n
type: 'simple',\r\n entries: [\r\n {\r\n field: 'file.hash.sha1',\r\n
operator: 'included',\r\n type: 'exact_cased_any',\r\n value:
['aedb279e378bed6c2db3c9dc9e12ba635e0b391c'],\r\n },\r\n ],\r\n },\r\n
{\r\n type: 'simple',\r\n entries: [\r\n {\r\n field:
'file.hash.sha256',\r\n operator: 'included',\r\n type:
'exact_cased_any',\r\n value:
['a4370c0cf81686c0b696fa6261c9d3e0d810ae704ab8301839dffd5d5112f476'],\r\n
},\r\n ],\r\n },\r\n ]\r\n}\r\n```\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"665937683845322e6c75b18b14041854dcb761c9"}},{"branch":"8.9","label":"v8.9.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: David Sánchez <david.sanchezsoler@elastic.co>
2023-08-24 07:40:08 -07:00
Kibana Machine
4450bf5b1c
[8.10] [Flaky test #90578] Unskip test (#163696) (#164711)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Flaky test #90578] Unskip test
(#163696)](https://github.com/elastic/kibana/pull/163696)

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

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

<!--BACKPORT [{"author":{"name":"Alejandro Fernández
Haro","email":"alejandro.haro@elastic.co"},"sourceCommit":{"committedDate":"2023-08-24T13:02:34Z","message":"[Flaky
test #90578] Unskip test (#163696)\n\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ba843882a7bb35aa3062efd6562ed85d5db157f4","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","technical
debt","release_note:skip","Team:SharedUX","backport:prev-minor","v8.11.0"],"number":163696,"url":"https://github.com/elastic/kibana/pull/163696","mergeCommit":{"message":"[Flaky
test #90578] Unskip test (#163696)\n\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ba843882a7bb35aa3062efd6562ed85d5db157f4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163696","number":163696,"mergeCommit":{"message":"[Flaky
test #90578] Unskip test (#163696)\n\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ba843882a7bb35aa3062efd6562ed85d5db157f4"}}]}]
BACKPORT-->

Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2023-08-24 07:18:32 -07:00