Commit graph

66351 commits

Author SHA1 Message Date
Kibana Machine
bdbc3e7e0e
[8.10] [Security Solution] [Detections] Fixes flakey exceptions read-only viewer cypress test (#164283) (#164346)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] [Detections] Fixes flakey exceptions read-only
viewer cypress test
(#164283)](https://github.com/elastic/kibana/pull/164283)

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

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

<!--BACKPORT [{"author":{"name":"Ievgen
Sorokopud","email":"ievgen.sorokopud@elastic.co"},"sourceCommit":{"committedDate":"2023-08-21T18:40:14Z","message":"[Security
Solution] [Detections] Fixes flakey exceptions read-only viewer cypress
test (#164283)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/162569\r\nFixes:
https://github.com/elastic/kibana/issues/164061\r\nFixes:
https://github.com/elastic/kibana/issues/164058\r\nFixes:
https://github.com/elastic/kibana/issues/163546\r\nFixes:
https://github.com/elastic/kibana/issues/162669\r\n\r\nWe tried to fix
the issue with this PR\r\nhttps://github.com/elastic/kibana/pull/162839
but test failed again.\r\n\r\nThis is another attempt to fix it using
the @jpdjere's approach where we\r\ndisable rule's table
refreshing\r\n(https://github.com/elastic/kibana/pull/163698).","sha":"4477f642e3297355ef676dcf485efb0cb49c4fcb","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:
SecuritySolution","Team:Detection
Engine","v8.10.0","v8.11.0"],"number":164283,"url":"https://github.com/elastic/kibana/pull/164283","mergeCommit":{"message":"[Security
Solution] [Detections] Fixes flakey exceptions read-only viewer cypress
test (#164283)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/162569\r\nFixes:
https://github.com/elastic/kibana/issues/164061\r\nFixes:
https://github.com/elastic/kibana/issues/164058\r\nFixes:
https://github.com/elastic/kibana/issues/163546\r\nFixes:
https://github.com/elastic/kibana/issues/162669\r\n\r\nWe tried to fix
the issue with this PR\r\nhttps://github.com/elastic/kibana/pull/162839
but test failed again.\r\n\r\nThis is another attempt to fix it using
the @jpdjere's approach where we\r\ndisable rule's table
refreshing\r\n(https://github.com/elastic/kibana/pull/163698).","sha":"4477f642e3297355ef676dcf485efb0cb49c4fcb"}},"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/164283","number":164283,"mergeCommit":{"message":"[Security
Solution] [Detections] Fixes flakey exceptions read-only viewer cypress
test (#164283)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/162569\r\nFixes:
https://github.com/elastic/kibana/issues/164061\r\nFixes:
https://github.com/elastic/kibana/issues/164058\r\nFixes:
https://github.com/elastic/kibana/issues/163546\r\nFixes:
https://github.com/elastic/kibana/issues/162669\r\n\r\nWe tried to fix
the issue with this PR\r\nhttps://github.com/elastic/kibana/pull/162839
but test failed again.\r\n\r\nThis is another attempt to fix it using
the @jpdjere's approach where we\r\ndisable rule's table
refreshing\r\n(https://github.com/elastic/kibana/pull/163698).","sha":"4477f642e3297355ef676dcf485efb0cb49c4fcb"}}]}]
BACKPORT-->

Co-authored-by: Ievgen Sorokopud <ievgen.sorokopud@elastic.co>
2023-08-21 18:47:19 +00:00
Kibana Machine
4997e3b03c
[8.10] Failing test: Security Solution Cypress.x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/custom_query_rule·cy·ts - Custom query rules Custom detection rules deletion and edition Deletion Deletes one (#164345)
# Backport

This will backport the following commits from `main` to `8.10`:
- [Failing test: Security Solution
Cypress.x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/custom_query_rule·cy·ts
- Custom query rules Custom detection rules deletion and edition
Deletion Deletes one rule from detail page Deletes one rule from detail
page #163977 (#164327)](https://github.com/elastic/kibana/pull/164327)

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

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

<!--BACKPORT [{"author":{"name":"Ievgen
Sorokopud","email":"ievgen.sorokopud@elastic.co"},"sourceCommit":{"committedDate":"2023-08-21T18:36:44Z","message":"Failing
test: Security Solution
Cypress.x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/custom_query_rule·cy·ts
- Custom query rules Custom detection rules deletion and edition
Deletion Deletes one rule from detail page Deletes one rule from detail
page #163977 (#164327)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/163977\r\nFixes:
https://github.com/elastic/kibana/issues/163568\r\n\r\nThese changes fix
the issue with actions popover and the way we check\r\nwhether it is
closed on rule's detail page.\r\n\r\nThe issue happens due to the fact
that after we closed the popover we\r\nshould be testing
`should('not.exist')` instead
of\r\n`should('not.be.visible')`.","sha":"49f95280518d9c3c75a6efd1f2ca488fac18eaf4","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:
SecuritySolution","Team:Detection
Engine","v8.10.0","v8.11.0"],"number":164327,"url":"https://github.com/elastic/kibana/pull/164327","mergeCommit":{"message":"Failing
test: Security Solution
Cypress.x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/custom_query_rule·cy·ts
- Custom query rules Custom detection rules deletion and edition
Deletion Deletes one rule from detail page Deletes one rule from detail
page #163977 (#164327)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/163977\r\nFixes:
https://github.com/elastic/kibana/issues/163568\r\n\r\nThese changes fix
the issue with actions popover and the way we check\r\nwhether it is
closed on rule's detail page.\r\n\r\nThe issue happens due to the fact
that after we closed the popover we\r\nshould be testing
`should('not.exist')` instead
of\r\n`should('not.be.visible')`.","sha":"49f95280518d9c3c75a6efd1f2ca488fac18eaf4"}},"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/164327","number":164327,"mergeCommit":{"message":"Failing
test: Security Solution
Cypress.x-pack/test/security_solution_cypress/cypress/e2e/detection_response/rule_creation/custom_query_rule·cy·ts
- Custom query rules Custom detection rules deletion and edition
Deletion Deletes one rule from detail page Deletes one rule from detail
page #163977 (#164327)\n\n## Summary\r\n\r\nFixes:
https://github.com/elastic/kibana/issues/163977\r\nFixes:
https://github.com/elastic/kibana/issues/163568\r\n\r\nThese changes fix
the issue with actions popover and the way we check\r\nwhether it is
closed on rule's detail page.\r\n\r\nThe issue happens due to the fact
that after we closed the popover we\r\nshould be testing
`should('not.exist')` instead
of\r\n`should('not.be.visible')`.","sha":"49f95280518d9c3c75a6efd1f2ca488fac18eaf4"}}]}]
BACKPORT-->

Co-authored-by: Ievgen Sorokopud <ievgen.sorokopud@elastic.co>
2023-08-21 18:43:25 +00:00
Kibana Machine
481e6d5a9a
[8.10] [APM] Swallow unhandled exceptions (#164251) (#164342)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[APM] Swallow unhandled exceptions
(#164251)](https://github.com/elastic/kibana/pull/164251)

<!--- 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-21T18:10:30Z","message":"[APM]
Swallow unhandled exceptions (#164251)\n\nIf an unhandled error occurs,
it will break the diagnostics bundle. This\r\nchange will log errors and
then swallow them.\r\nThis should go out in 8.10 since it is already
affecting
users.","sha":"654de7b7285ad5748dc9ff1e19156e753d68d568","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:APM","release_note:skip","backport:prev-minor","apm:cypress-record","v8.10.0","v8.11.0"],"number":164251,"url":"https://github.com/elastic/kibana/pull/164251","mergeCommit":{"message":"[APM]
Swallow unhandled exceptions (#164251)\n\nIf an unhandled error occurs,
it will break the diagnostics bundle. This\r\nchange will log errors and
then swallow them.\r\nThis should go out in 8.10 since it is already
affecting
users.","sha":"654de7b7285ad5748dc9ff1e19156e753d68d568"}},"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/164251","number":164251,"mergeCommit":{"message":"[APM]
Swallow unhandled exceptions (#164251)\n\nIf an unhandled error occurs,
it will break the diagnostics bundle. This\r\nchange will log errors and
then swallow them.\r\nThis should go out in 8.10 since it is already
affecting users.","sha":"654de7b7285ad5748dc9ff1e19156e753d68d568"}}]}]
BACKPORT-->

Co-authored-by: Søren Louv-Jansen <soren.louv@elastic.co>
2023-08-21 18:16:57 +00:00
Kibana Machine
fdd19cfddf skip failing test suite (#164334) 2023-08-21 12:54:40 -04:00
Kibana Machine
df9b17fb7c
[8.10] [OAS] Remove redundant connector properties (#163987) (#164338)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[OAS] Remove redundant connector properties
(#163987)](https://github.com/elastic/kibana/pull/163987)

<!--- 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-08-21T16:29:08Z","message":"[OAS]
Remove redundant connector properties
(#163987)","sha":"c1d2834f1aa675f2682793d83ac9ad07c3854990","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.10.0","v8.11.0"],"number":163987,"url":"https://github.com/elastic/kibana/pull/163987","mergeCommit":{"message":"[OAS]
Remove redundant connector properties
(#163987)","sha":"c1d2834f1aa675f2682793d83ac9ad07c3854990"}},"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/163987","number":163987,"mergeCommit":{"message":"[OAS]
Remove redundant connector properties
(#163987)","sha":"c1d2834f1aa675f2682793d83ac9ad07c3854990"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-08-21 16:38:04 +00:00
Kibana Machine
e130820f84 skip failing test suite (#164318) 2023-08-21 11:08:44 -04:00
Kibana Machine
d8f455a3b0
[8.10] [DOCS] Improves change point detection documentation (#164277) (#164325)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[DOCS] Improves change point detection documentation
(#164277)](https://github.com/elastic/kibana/pull/164277)

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

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

<!--BACKPORT [{"author":{"name":"István Zoltán
Szabó","email":"szabosteve@gmail.com"},"sourceCommit":{"committedDate":"2023-08-21T14:33:07Z","message":"[DOCS]
Improves change point detection documentation
(#164277)\n\nCo-authored-by: Dima Arnautov
<arnautov.dima@gmail.com>","sha":"79a0a5e94089121cbce294e0ca899084c63bae0b","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","docs","v8.10.0","v8.11.0"],"number":164277,"url":"https://github.com/elastic/kibana/pull/164277","mergeCommit":{"message":"[DOCS]
Improves change point detection documentation
(#164277)\n\nCo-authored-by: Dima Arnautov
<arnautov.dima@gmail.com>","sha":"79a0a5e94089121cbce294e0ca899084c63bae0b"}},"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/164277","number":164277,"mergeCommit":{"message":"[DOCS]
Improves change point detection documentation
(#164277)\n\nCo-authored-by: Dima Arnautov
<arnautov.dima@gmail.com>","sha":"79a0a5e94089121cbce294e0ca899084c63bae0b"}}]}]
BACKPORT-->

Co-authored-by: István Zoltán Szabó <szabosteve@gmail.com>
2023-08-21 14:39:39 +00:00
Kibana Machine
05efd0cc2b
[8.10] [Security Solution] Fix value lists tests flakiness (#164253) (#164324)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] Fix value lists tests flakiness
(#164253)](https://github.com/elastic/kibana/pull/164253)

<!--- 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-21T14:31:21Z","message":"[Security
Solution] Fix value lists tests flakiness (#164253)\n\n**Fixes:**
https://github.com/elastic/kibana/issues/164056\r\n\r\n##
Summary\r\n\r\nThis PR fixes
[value_lists.cy.ts](https://github.com/elastic/kibana/blob/main/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/value_lists/value_lists.cy.ts)
tests flakiness.\r\n\r\n## The flakiness reason\r\n\r\nValue list items
are processed in a bulk via bulk creation and `refresh=wait_for` is
[used](https://github.com/elastic/kibana/blob/main/x-pack/plugins/lists/server/services/items/create_list_items_bulk.ts#L87).
The problem it returns sometimes earlier than data is available. [Bulk
API
docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html#bulk-refresh)
say the following\r\n\r\n> Only the shards that receive the bulk request
will be affected by refresh. Imagine a _bulk?refresh=wait_for request
with three documents in it that happen to be routed to different shards
in an index with five shards. The request will only wait for those three
shards to refresh. The other two shards that make up the index do not
participate in the _bulk request at all.\r\n\r\nWhile (it seems) only
one shard is used in tests but it still cause issues (approx. 1 test per
50 fails) so adding explicit index refresh helps to get rid of
flakiness.\r\n\r\n## Flaky test runner\r\n\r\n[value_lists.cy.ts (150
runs)](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2924)
🟢","sha":"d34c845955e2cb1cd6bae630ac3d0d551544f916","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 Value
Lists","Team:Detection Rule
Management","v8.10.0","v8.11.0"],"number":164253,"url":"https://github.com/elastic/kibana/pull/164253","mergeCommit":{"message":"[Security
Solution] Fix value lists tests flakiness (#164253)\n\n**Fixes:**
https://github.com/elastic/kibana/issues/164056\r\n\r\n##
Summary\r\n\r\nThis PR fixes
[value_lists.cy.ts](https://github.com/elastic/kibana/blob/main/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/value_lists/value_lists.cy.ts)
tests flakiness.\r\n\r\n## The flakiness reason\r\n\r\nValue list items
are processed in a bulk via bulk creation and `refresh=wait_for` is
[used](https://github.com/elastic/kibana/blob/main/x-pack/plugins/lists/server/services/items/create_list_items_bulk.ts#L87).
The problem it returns sometimes earlier than data is available. [Bulk
API
docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html#bulk-refresh)
say the following\r\n\r\n> Only the shards that receive the bulk request
will be affected by refresh. Imagine a _bulk?refresh=wait_for request
with three documents in it that happen to be routed to different shards
in an index with five shards. The request will only wait for those three
shards to refresh. The other two shards that make up the index do not
participate in the _bulk request at all.\r\n\r\nWhile (it seems) only
one shard is used in tests but it still cause issues (approx. 1 test per
50 fails) so adding explicit index refresh helps to get rid of
flakiness.\r\n\r\n## Flaky test runner\r\n\r\n[value_lists.cy.ts (150
runs)](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2924)
🟢","sha":"d34c845955e2cb1cd6bae630ac3d0d551544f916"}},"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/164253","number":164253,"mergeCommit":{"message":"[Security
Solution] Fix value lists tests flakiness (#164253)\n\n**Fixes:**
https://github.com/elastic/kibana/issues/164056\r\n\r\n##
Summary\r\n\r\nThis PR fixes
[value_lists.cy.ts](https://github.com/elastic/kibana/blob/main/x-pack/test/security_solution_cypress/cypress/e2e/detection_response/value_lists/value_lists.cy.ts)
tests flakiness.\r\n\r\n## The flakiness reason\r\n\r\nValue list items
are processed in a bulk via bulk creation and `refresh=wait_for` is
[used](https://github.com/elastic/kibana/blob/main/x-pack/plugins/lists/server/services/items/create_list_items_bulk.ts#L87).
The problem it returns sometimes earlier than data is available. [Bulk
API
docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html#bulk-refresh)
say the following\r\n\r\n> Only the shards that receive the bulk request
will be affected by refresh. Imagine a _bulk?refresh=wait_for request
with three documents in it that happen to be routed to different shards
in an index with five shards. The request will only wait for those three
shards to refresh. The other two shards that make up the index do not
participate in the _bulk request at all.\r\n\r\nWhile (it seems) only
one shard is used in tests but it still cause issues (approx. 1 test per
50 fails) so adding explicit index refresh helps to get rid of
flakiness.\r\n\r\n## Flaky test runner\r\n\r\n[value_lists.cy.ts (150
runs)](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2924)
🟢","sha":"d34c845955e2cb1cd6bae630ac3d0d551544f916"}}]}] BACKPORT-->

Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
2023-08-21 14:38:19 +00:00
Kibana Machine
1a1bdb7a3e
[8.10] [Security Solution] File paths for Blocklist Windows and Mac should be case insensitive (#164200) (#164317)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] File paths for Blocklist Windows and Mac should
be case insensitive
(#164200)](https://github.com/elastic/kibana/pull/164200)

<!--- 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-08-21T14:00:53Z","message":"[Security
Solution] File paths for Blocklist Windows and Mac should be case
insensitive (#164200)\n\n## Summary\r\n\r\nThis fixes a bug where
Windows and Mac Blocklist file path entries\r\nshould be passed as case
insensitive. This is because Mac and Windows\r\nare caseless for most
use cases.\r\n\r\nBug ticket:
https://github.com/elastic/kibana/issues/158581\r\n\r\nHere is how it
will be displayed in the UI:\r\n<img width=\"1728\"
alt=\"image\"\r\nsrc=\"a3006397-f49e-4de0-818d-94e2de20dba3\">\r\n\r\nHere
are the breakdown of the artifacts after the
fix:\r\n\r\nLinux:\r\n```\r\n-------------------------------------------------------------------\r\nPolicy:
Protect\r\nManifest: 1.0.6 | v1\r\nArtifact:
endpoint-blocklist-linux-v1\r\n Relative URL:
/api/fleet/artifacts/endpoint-blocklist-linux-v1/f33e6890aeced00861c26a08121dd42d2d29ba08abfeb3c065d0447e32e18640\r\n
Encoded SHA256:
a907835be40af89b8b7aa23a6efc66c01ceaa5a19622edd378139319f3ca5fa0\r\n
Decoded SHA256:
f33e6890aeced00861c26a08121dd42d2d29ba08abfeb3c065d0447e32e18640\r\n-------------------------------------------------------------------\r\n\r\n{\r\n
\"entries\": [\r\n {\r\n \"type\": \"simple\",\r\n \"entries\": [\r\n
{\r\n \"field\": \"file.path\",\r\n \"operator\": \"included\",\r\n
\"type\": \"exact_cased_any\",\r\n \"value\": [\r\n
\"/opt/bin/bin.exe\"\r\n ]\r\n }\r\n ]\r\n }\r\n
]\r\n}\r\n```\r\n\r\nMac:\r\n```\r\n-------------------------------------------------------------------\r\nPolicy:
Protect\r\nManifest: 1.0.6 | v1\r\nArtifact:
endpoint-blocklist-macos-v1\r\n Relative URL:
/api/fleet/artifacts/endpoint-blocklist-macos-v1/b28e7978da4314ebc2c94770e0638fc4b2270f9dc17a11d6d32b8634b1fbec0f\r\n
Encoded SHA256:
4f3e80d688f5cae4bf6a88b0704e37909f9fa4f47fe8325b7b154cddd46a2db9\r\n
Decoded SHA256:
b28e7978da4314ebc2c94770e0638fc4b2270f9dc17a11d6d32b8634b1fbec0f\r\n-------------------------------------------------------------------\r\n\r\n{\r\n
\"entries\": [\r\n {\r\n \"type\": \"simple\",\r\n \"entries\": [\r\n
{\r\n \"field\": \"file.path\",\r\n \"operator\": \"included\",\r\n
\"type\": \"exact_caseless_any\",\r\n \"value\": [\r\n
\"/opt/exe.exe\"\r\n ]\r\n }\r\n ]\r\n
}\r\n```\r\n\r\nWindows:\r\n```\r\n-------------------------------------------------------------------\r\nPolicy:
Protect\r\nManifest: 1.0.6 | v1\r\nArtifact:
endpoint-blocklist-windows-v1\r\n Relative URL:
/api/fleet/artifacts/endpoint-blocklist-windows-v1/2a6fcc67c696ad4e29d91f8b685bff46977198cd34b9a61e8003d55b78dff6ac\r\n
Encoded SHA256:
c6e045fce97651336eeb400f0123541475b940e3aa38ce721f299585683da288\r\n
Decoded SHA256:
2a6fcc67c696ad4e29d91f8b685bff46977198cd34b9a61e8003d55b78dff6ac\r\n-------------------------------------------------------------------\r\n\r\n{\r\n
\"entries\": [\r\n {\r\n \"type\": \"simple\",\r\n \"entries\": [\r\n
{\r\n \"field\": \"file.path\",\r\n \"operator\": \"included\",\r\n
\"type\": \"exact_caseless_any\",\r\n \"value\": [\r\n
\"C:\\\\path\\\\path.exe\"\r\n ]\r\n }\r\n ]\r\n }\r\n
]\r\n}\r\n```\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"88bd71c0773d158ed1e6312075633ed85abc575e","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Defend
Workflows","v8.10.0","v8.11.0","v8.9.2"],"number":164200,"url":"https://github.com/elastic/kibana/pull/164200","mergeCommit":{"message":"[Security
Solution] File paths for Blocklist Windows and Mac should be case
insensitive (#164200)\n\n## Summary\r\n\r\nThis fixes a bug where
Windows and Mac Blocklist file path entries\r\nshould be passed as case
insensitive. This is because Mac and Windows\r\nare caseless for most
use cases.\r\n\r\nBug ticket:
https://github.com/elastic/kibana/issues/158581\r\n\r\nHere is how it
will be displayed in the UI:\r\n<img width=\"1728\"
alt=\"image\"\r\nsrc=\"a3006397-f49e-4de0-818d-94e2de20dba3\">\r\n\r\nHere
are the breakdown of the artifacts after the
fix:\r\n\r\nLinux:\r\n```\r\n-------------------------------------------------------------------\r\nPolicy:
Protect\r\nManifest: 1.0.6 | v1\r\nArtifact:
endpoint-blocklist-linux-v1\r\n Relative URL:
/api/fleet/artifacts/endpoint-blocklist-linux-v1/f33e6890aeced00861c26a08121dd42d2d29ba08abfeb3c065d0447e32e18640\r\n
Encoded SHA256:
a907835be40af89b8b7aa23a6efc66c01ceaa5a19622edd378139319f3ca5fa0\r\n
Decoded SHA256:
f33e6890aeced00861c26a08121dd42d2d29ba08abfeb3c065d0447e32e18640\r\n-------------------------------------------------------------------\r\n\r\n{\r\n
\"entries\": [\r\n {\r\n \"type\": \"simple\",\r\n \"entries\": [\r\n
{\r\n \"field\": \"file.path\",\r\n \"operator\": \"included\",\r\n
\"type\": \"exact_cased_any\",\r\n \"value\": [\r\n
\"/opt/bin/bin.exe\"\r\n ]\r\n }\r\n ]\r\n }\r\n
]\r\n}\r\n```\r\n\r\nMac:\r\n```\r\n-------------------------------------------------------------------\r\nPolicy:
Protect\r\nManifest: 1.0.6 | v1\r\nArtifact:
endpoint-blocklist-macos-v1\r\n Relative URL:
/api/fleet/artifacts/endpoint-blocklist-macos-v1/b28e7978da4314ebc2c94770e0638fc4b2270f9dc17a11d6d32b8634b1fbec0f\r\n
Encoded SHA256:
4f3e80d688f5cae4bf6a88b0704e37909f9fa4f47fe8325b7b154cddd46a2db9\r\n
Decoded SHA256:
b28e7978da4314ebc2c94770e0638fc4b2270f9dc17a11d6d32b8634b1fbec0f\r\n-------------------------------------------------------------------\r\n\r\n{\r\n
\"entries\": [\r\n {\r\n \"type\": \"simple\",\r\n \"entries\": [\r\n
{\r\n \"field\": \"file.path\",\r\n \"operator\": \"included\",\r\n
\"type\": \"exact_caseless_any\",\r\n \"value\": [\r\n
\"/opt/exe.exe\"\r\n ]\r\n }\r\n ]\r\n
}\r\n```\r\n\r\nWindows:\r\n```\r\n-------------------------------------------------------------------\r\nPolicy:
Protect\r\nManifest: 1.0.6 | v1\r\nArtifact:
endpoint-blocklist-windows-v1\r\n Relative URL:
/api/fleet/artifacts/endpoint-blocklist-windows-v1/2a6fcc67c696ad4e29d91f8b685bff46977198cd34b9a61e8003d55b78dff6ac\r\n
Encoded SHA256:
c6e045fce97651336eeb400f0123541475b940e3aa38ce721f299585683da288\r\n
Decoded SHA256:
2a6fcc67c696ad4e29d91f8b685bff46977198cd34b9a61e8003d55b78dff6ac\r\n-------------------------------------------------------------------\r\n\r\n{\r\n
\"entries\": [\r\n {\r\n \"type\": \"simple\",\r\n \"entries\": [\r\n
{\r\n \"field\": \"file.path\",\r\n \"operator\": \"included\",\r\n
\"type\": \"exact_caseless_any\",\r\n \"value\": [\r\n
\"C:\\\\path\\\\path.exe\"\r\n ]\r\n }\r\n ]\r\n }\r\n
]\r\n}\r\n```\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"88bd71c0773d158ed1e6312075633ed85abc575e"}},"sourceBranch":"main","suggestedTargetBranches":["8.11","8.9"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164200","number":164200,"mergeCommit":{"message":"[Security
Solution] File paths for Blocklist Windows and Mac should be case
insensitive (#164200)\n\n## Summary\r\n\r\nThis fixes a bug where
Windows and Mac Blocklist file path entries\r\nshould be passed as case
insensitive. This is because Mac and Windows\r\nare caseless for most
use cases.\r\n\r\nBug ticket:
https://github.com/elastic/kibana/issues/158581\r\n\r\nHere is how it
will be displayed in the UI:\r\n<img width=\"1728\"
alt=\"image\"\r\nsrc=\"a3006397-f49e-4de0-818d-94e2de20dba3\">\r\n\r\nHere
are the breakdown of the artifacts after the
fix:\r\n\r\nLinux:\r\n```\r\n-------------------------------------------------------------------\r\nPolicy:
Protect\r\nManifest: 1.0.6 | v1\r\nArtifact:
endpoint-blocklist-linux-v1\r\n Relative URL:
/api/fleet/artifacts/endpoint-blocklist-linux-v1/f33e6890aeced00861c26a08121dd42d2d29ba08abfeb3c065d0447e32e18640\r\n
Encoded SHA256:
a907835be40af89b8b7aa23a6efc66c01ceaa5a19622edd378139319f3ca5fa0\r\n
Decoded SHA256:
f33e6890aeced00861c26a08121dd42d2d29ba08abfeb3c065d0447e32e18640\r\n-------------------------------------------------------------------\r\n\r\n{\r\n
\"entries\": [\r\n {\r\n \"type\": \"simple\",\r\n \"entries\": [\r\n
{\r\n \"field\": \"file.path\",\r\n \"operator\": \"included\",\r\n
\"type\": \"exact_cased_any\",\r\n \"value\": [\r\n
\"/opt/bin/bin.exe\"\r\n ]\r\n }\r\n ]\r\n }\r\n
]\r\n}\r\n```\r\n\r\nMac:\r\n```\r\n-------------------------------------------------------------------\r\nPolicy:
Protect\r\nManifest: 1.0.6 | v1\r\nArtifact:
endpoint-blocklist-macos-v1\r\n Relative URL:
/api/fleet/artifacts/endpoint-blocklist-macos-v1/b28e7978da4314ebc2c94770e0638fc4b2270f9dc17a11d6d32b8634b1fbec0f\r\n
Encoded SHA256:
4f3e80d688f5cae4bf6a88b0704e37909f9fa4f47fe8325b7b154cddd46a2db9\r\n
Decoded SHA256:
b28e7978da4314ebc2c94770e0638fc4b2270f9dc17a11d6d32b8634b1fbec0f\r\n-------------------------------------------------------------------\r\n\r\n{\r\n
\"entries\": [\r\n {\r\n \"type\": \"simple\",\r\n \"entries\": [\r\n
{\r\n \"field\": \"file.path\",\r\n \"operator\": \"included\",\r\n
\"type\": \"exact_caseless_any\",\r\n \"value\": [\r\n
\"/opt/exe.exe\"\r\n ]\r\n }\r\n ]\r\n
}\r\n```\r\n\r\nWindows:\r\n```\r\n-------------------------------------------------------------------\r\nPolicy:
Protect\r\nManifest: 1.0.6 | v1\r\nArtifact:
endpoint-blocklist-windows-v1\r\n Relative URL:
/api/fleet/artifacts/endpoint-blocklist-windows-v1/2a6fcc67c696ad4e29d91f8b685bff46977198cd34b9a61e8003d55b78dff6ac\r\n
Encoded SHA256:
c6e045fce97651336eeb400f0123541475b940e3aa38ce721f299585683da288\r\n
Decoded SHA256:
2a6fcc67c696ad4e29d91f8b685bff46977198cd34b9a61e8003d55b78dff6ac\r\n-------------------------------------------------------------------\r\n\r\n{\r\n
\"entries\": [\r\n {\r\n \"type\": \"simple\",\r\n \"entries\": [\r\n
{\r\n \"field\": \"file.path\",\r\n \"operator\": \"included\",\r\n
\"type\": \"exact_caseless_any\",\r\n \"value\": [\r\n
\"C:\\\\path\\\\path.exe\"\r\n ]\r\n }\r\n ]\r\n }\r\n
]\r\n}\r\n```\r\n\r\n### Checklist\r\n\r\nDelete any items that are not
applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"88bd71c0773d158ed1e6312075633ed85abc575e"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.9","label":"v8.9.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
2023-08-21 14:08:52 +00:00
Kibana Machine
cff9aa726d
[8.10] [DOCS] Removes 8.9.1 coming tag. (#164302) (#164310)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[DOCS] Removes 8.9.1 coming tag.
(#164302)](https://github.com/elastic/kibana/pull/164302)

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

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

<!--BACKPORT
[{"author":{"name":"amyjtechwriter","email":"61687663+amyjtechwriter@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-08-21T13:24:48Z","message":"[DOCS]
Removes 8.9.1 coming tag. (#164302)\n\nRemoves `coming` tag from the
8.9.1 release
notes.","sha":"90b6e4dbe01219d5af51a93943338043bfdd773a","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","v8.9.0","v8.10.0","v8.9.1","v8.11.0"],"number":164302,"url":"https://github.com/elastic/kibana/pull/164302","mergeCommit":{"message":"[DOCS]
Removes 8.9.1 coming tag. (#164302)\n\nRemoves `coming` tag from the
8.9.1 release
notes.","sha":"90b6e4dbe01219d5af51a93943338043bfdd773a"}},"sourceBranch":"main","suggestedTargetBranches":["8.9","8.11"],"targetPullRequestStates":[{"branch":"8.9","label":"v8.9.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164302","number":164302,"mergeCommit":{"message":"[DOCS]
Removes 8.9.1 coming tag. (#164302)\n\nRemoves `coming` tag from the
8.9.1 release
notes.","sha":"90b6e4dbe01219d5af51a93943338043bfdd773a"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: amyjtechwriter <61687663+amyjtechwriter@users.noreply.github.com>
2023-08-21 13:34:23 +00:00
Kibana Machine
21f2a8bcdb
[8.10] [Lens] Reduce the impact of TSDB downsample bug (#164183) (#164304)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Lens] Reduce the impact of TSDB downsample bug
(#164183)](https://github.com/elastic/kibana/pull/164183)

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

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

<!--BACKPORT [{"author":{"name":"Marco
Liberati","email":"dej611@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-08-21T13:01:01Z","message":"[Lens]
Reduce the impact of TSDB downsample bug (#164183)\n\n##
Summary\r\n\r\nFixes #163971 \r\n\r\nReduces the impact of the ES
promotion issue coming from the ES TSDB\r\ndownsampling bug to only
downsampling tests and not the entire TSDB\r\nsuite.\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[ ] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\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)","sha":"dbb252b02af9b3bd8b1787dc5550e431f19b5ad9","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","Feature:Lens","v8.10.0","v8.11.0"],"number":164183,"url":"https://github.com/elastic/kibana/pull/164183","mergeCommit":{"message":"[Lens]
Reduce the impact of TSDB downsample bug (#164183)\n\n##
Summary\r\n\r\nFixes #163971 \r\n\r\nReduces the impact of the ES
promotion issue coming from the ES TSDB\r\ndownsampling bug to only
downsampling tests and not the entire TSDB\r\nsuite.\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[ ] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\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)","sha":"dbb252b02af9b3bd8b1787dc5550e431f19b5ad9"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164183","number":164183,"mergeCommit":{"message":"[Lens]
Reduce the impact of TSDB downsample bug (#164183)\n\n##
Summary\r\n\r\nFixes #163971 \r\n\r\nReduces the impact of the ES
promotion issue coming from the ES TSDB\r\ndownsampling bug to only
downsampling tests and not the entire TSDB\r\nsuite.\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[ ] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\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)","sha":"dbb252b02af9b3bd8b1787dc5550e431f19b5ad9"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2023-08-21 09:07:27 -04:00
Kibana Machine
e05202838f
[8.10] [APM] Remove power_user and read_only_user folders from e2e (#164242) (#164299)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[APM] Remove `power_user` and `read_only_user` folders from e2e
(#164242)](https://github.com/elastic/kibana/pull/164242)

<!--- 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-21T12:51:28Z","message":"[APM]
Remove `power_user` and `read_only_user` folders from e2e
(#164242)\n\nWe currently separate e2e tests into `power_user` tests
and\r\n`read_only_user` tests. We often want to test different
permissions\r\nwithin the same tests, so the distinction becomes a
barrier rather than\r\na help. This PR removed the folders and combines
all tests regardless of\r\nwhich user they run
as.","sha":"ebe6b4650ae276e73e479bb31d035c62919fd12d","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:APM","release_note:skip","v8.10.0","v8.11.0"],"number":164242,"url":"https://github.com/elastic/kibana/pull/164242","mergeCommit":{"message":"[APM]
Remove `power_user` and `read_only_user` folders from e2e
(#164242)\n\nWe currently separate e2e tests into `power_user` tests
and\r\n`read_only_user` tests. We often want to test different
permissions\r\nwithin the same tests, so the distinction becomes a
barrier rather than\r\na help. This PR removed the folders and combines
all tests regardless of\r\nwhich user they run
as.","sha":"ebe6b4650ae276e73e479bb31d035c62919fd12d"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164242","number":164242,"mergeCommit":{"message":"[APM]
Remove `power_user` and `read_only_user` folders from e2e
(#164242)\n\nWe currently separate e2e tests into `power_user` tests
and\r\n`read_only_user` tests. We often want to test different
permissions\r\nwithin the same tests, so the distinction becomes a
barrier rather than\r\na help. This PR removed the folders and combines
all tests regardless of\r\nwhich user they run
as.","sha":"ebe6b4650ae276e73e479bb31d035c62919fd12d"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Søren Louv-Jansen <soren.louv@elastic.co>
2023-08-21 12:57:26 +00:00
Kibana Machine
bb8a4a09e7
[8.10] [HTTP] Allow for internal requests to also specify special query param elasticInternalOrigin (#163796) (#164278)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[HTTP] Allow for internal requests to also specify special query
param `elasticInternalOrigin`
(#163796)](https://github.com/elastic/kibana/pull/163796)

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

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

<!--BACKPORT [{"author":{"name":"Jean-Louis
Leysens","email":"jeanlouis.leysens@elastic.co"},"sourceCommit":{"committedDate":"2023-08-21T09:55:33Z","message":"[HTTP]
Allow for internal requests to also specify special query param
`elasticInternalOrigin` (#163796)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/163678\r\n\r\n* Raise the
notion of \"internal\" into `CoreKibanaRequest`. This enables\r\nus to
share this with lifecycle handlers and control validation of
query\r\nparams\r\n* Added new `isInternalRequest` alongside
`isSystemRequest` and\r\n`isFakeRequest`\r\n* Slight simplification to
existing internal restriction check\r\n* Some other chores and minor
fixes\r\n\r\n## Test\r\n\r\n* Start ES with `yarn es serverless` and
Kibana with `yarn start\r\n--serverless
--server.restrictInternalApis=true`\r\n* Add the service account token
to `kibana.dev.yml`:\r\n`elasticsearch.serviceAccountToken: <SAT>`\r\n*
Send a request to an internal endpoint like: `curl
-XPOST\r\n-uelastic:changeme
http://localhost:5601/<base-path>/api/files/find -H\r\n'kbn-xsrf: foo'
-H 'content-type: application/json' -d '{}'`\r\n * Should give you a 400
result\r\n* message like `{\"statusCode\":400,\"error\":\"Bad
Request\",\"message\":\"uri\r\n[http://localhost:5603/api/files/find]
with method [post] exists but is\r\nnot available with the current
configuration\"}`\r\n* Send the same request, but include the query
param:\r\n`elasticInternalOrigin=true`\r\n * Should give you a 200
result\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"23d39555e0d0fc36c760f0c148913db69749cb47","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:http","Team:Core","release_note:skip","v8.10.0","v8.11.0"],"number":163796,"url":"https://github.com/elastic/kibana/pull/163796","mergeCommit":{"message":"[HTTP]
Allow for internal requests to also specify special query param
`elasticInternalOrigin` (#163796)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/163678\r\n\r\n* Raise the
notion of \"internal\" into `CoreKibanaRequest`. This enables\r\nus to
share this with lifecycle handlers and control validation of
query\r\nparams\r\n* Added new `isInternalRequest` alongside
`isSystemRequest` and\r\n`isFakeRequest`\r\n* Slight simplification to
existing internal restriction check\r\n* Some other chores and minor
fixes\r\n\r\n## Test\r\n\r\n* Start ES with `yarn es serverless` and
Kibana with `yarn start\r\n--serverless
--server.restrictInternalApis=true`\r\n* Add the service account token
to `kibana.dev.yml`:\r\n`elasticsearch.serviceAccountToken: <SAT>`\r\n*
Send a request to an internal endpoint like: `curl
-XPOST\r\n-uelastic:changeme
http://localhost:5601/<base-path>/api/files/find -H\r\n'kbn-xsrf: foo'
-H 'content-type: application/json' -d '{}'`\r\n * Should give you a 400
result\r\n* message like `{\"statusCode\":400,\"error\":\"Bad
Request\",\"message\":\"uri\r\n[http://localhost:5603/api/files/find]
with method [post] exists but is\r\nnot available with the current
configuration\"}`\r\n* Send the same request, but include the query
param:\r\n`elasticInternalOrigin=true`\r\n * Should give you a 200
result\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"23d39555e0d0fc36c760f0c148913db69749cb47"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163796","number":163796,"mergeCommit":{"message":"[HTTP]
Allow for internal requests to also specify special query param
`elasticInternalOrigin` (#163796)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/163678\r\n\r\n* Raise the
notion of \"internal\" into `CoreKibanaRequest`. This enables\r\nus to
share this with lifecycle handlers and control validation of
query\r\nparams\r\n* Added new `isInternalRequest` alongside
`isSystemRequest` and\r\n`isFakeRequest`\r\n* Slight simplification to
existing internal restriction check\r\n* Some other chores and minor
fixes\r\n\r\n## Test\r\n\r\n* Start ES with `yarn es serverless` and
Kibana with `yarn start\r\n--serverless
--server.restrictInternalApis=true`\r\n* Add the service account token
to `kibana.dev.yml`:\r\n`elasticsearch.serviceAccountToken: <SAT>`\r\n*
Send a request to an internal endpoint like: `curl
-XPOST\r\n-uelastic:changeme
http://localhost:5601/<base-path>/api/files/find -H\r\n'kbn-xsrf: foo'
-H 'content-type: application/json' -d '{}'`\r\n * Should give you a 400
result\r\n* message like `{\"statusCode\":400,\"error\":\"Bad
Request\",\"message\":\"uri\r\n[http://localhost:5603/api/files/find]
with method [post] exists but is\r\nnot available with the current
configuration\"}`\r\n* Send the same request, but include the query
param:\r\n`elasticInternalOrigin=true`\r\n * Should give you a 200
result\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"23d39555e0d0fc36c760f0c148913db69749cb47"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Jean-Louis Leysens <jeanlouis.leysens@elastic.co>
2023-08-21 10:01:39 +00:00
Kibana Machine
989dc1c8b1
[8.10] [Cloud Security] Only clean up AWS creds (#164154) (#164271)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Cloud Security] Only clean up AWS creds
(#164154)](https://github.com/elastic/kibana/pull/164154)

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

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

<!--BACKPORT [{"author":{"name":"Or
Ouziel","email":"or.ouziel@elastic.co"},"sourceCommit":{"committedDate":"2023-08-21T09:23:15Z","message":"[Cloud
Security] Only clean up AWS creds
(#164154)","sha":"81a151ef712b76838480f6216f4ad667e7570cb6","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Cloud
Security","backport:prev-minor","v8.10.0","v8.11.0"],"number":164154,"url":"https://github.com/elastic/kibana/pull/164154","mergeCommit":{"message":"[Cloud
Security] Only clean up AWS creds
(#164154)","sha":"81a151ef712b76838480f6216f4ad667e7570cb6"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164154","number":164154,"mergeCommit":{"message":"[Cloud
Security] Only clean up AWS creds
(#164154)","sha":"81a151ef712b76838480f6216f4ad667e7570cb6"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Or Ouziel <or.ouziel@elastic.co>
2023-08-21 09:29:21 +00:00
Kibana Machine
955ce39a3c
[8.10] [Search] Disable crawler on overview without ent-search (#164227) (#164266)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Search] Disable crawler on overview without ent-search
(#164227)](https://github.com/elastic/kibana/pull/164227)

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

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

<!--BACKPORT [{"author":{"name":"Sander
Philipse","email":"94373878+sphilipse@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-08-21T08:37:59Z","message":"[Search]
Disable crawler on overview without ent-search (#164227)\n\n##
Summary\r\n\r\nThis disables the crawler if Enterprise Search is not
available on the\r\nnew overview
page.","sha":"8532b996c4924ae10723d42b37a02d7f92422cdc","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.10.0","v8.11.0"],"number":164227,"url":"https://github.com/elastic/kibana/pull/164227","mergeCommit":{"message":"[Search]
Disable crawler on overview without ent-search (#164227)\n\n##
Summary\r\n\r\nThis disables the crawler if Enterprise Search is not
available on the\r\nnew overview
page.","sha":"8532b996c4924ae10723d42b37a02d7f92422cdc"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164227","number":164227,"mergeCommit":{"message":"[Search]
Disable crawler on overview without ent-search (#164227)\n\n##
Summary\r\n\r\nThis disables the crawler if Enterprise Search is not
available on the\r\nnew overview
page.","sha":"8532b996c4924ae10723d42b37a02d7f92422cdc"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Sander Philipse <94373878+sphilipse@users.noreply.github.com>
2023-08-21 08:48:01 +00:00
Patryk Kopyciński
03e18219ad
[8.10] [osquery] Update E2E to not install Osquery integration on the Fleet server (#164225) (#164258)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[osquery] Update E2E to not install Osquery integration on the Fleet
server (#164225)](https://github.com/elastic/kibana/pull/164225)

<!--- 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-18T19:01:59Z","message":"[osquery]
Update E2E to not install Osquery integration on the Fleet server
(#164225)\n\n## Summary\r\n\r\nIncrease the stability of Osquery Cypress
by stopping the installation\r\nof Osquery on the Fleet server and
creating another Agent policy and\r\nenrolling another elastic agent
instead","sha":"7c5392ba225219b3a437e2d805ee0be2b9698284","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.10.0","v8.11.0"],"number":164225,"url":"https://github.com/elastic/kibana/pull/164225","mergeCommit":{"message":"[osquery]
Update E2E to not install Osquery integration on the Fleet server
(#164225)\n\n## Summary\r\n\r\nIncrease the stability of Osquery Cypress
by stopping the installation\r\nof Osquery on the Fleet server and
creating another Agent policy and\r\nenrolling another elastic agent
instead","sha":"7c5392ba225219b3a437e2d805ee0be2b9698284"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164225","number":164225,"mergeCommit":{"message":"[osquery]
Update E2E to not install Osquery integration on the Fleet server
(#164225)\n\n## Summary\r\n\r\nIncrease the stability of Osquery Cypress
by stopping the installation\r\nof Osquery on the Fleet server and
creating another Agent policy and\r\nenrolling another elastic agent
instead","sha":"7c5392ba225219b3a437e2d805ee0be2b9698284"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2023-08-20 15:24:01 +02:00
Kibana Machine
f8121b897d
[8.10] Fix osquery cypress tests (#163988) (#164248)
# Backport

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

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

### 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-16T22:11:05Z","message":"Fix
osquery cypress tests (#163988)\n\n## Summary\r\n\r\nAdjust tests to
https://github.com/elastic/kibana/pull/161614\r\nSplit tests into
smaller files to better utilize parallelization and\r\nincrease the
stability of
tests","sha":"fd33ed55fd9bc81d006ca41c85b7bd4117741e80","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.10.0","v8.11.0"],"number":163988,"url":"https://github.com/elastic/kibana/pull/163988","mergeCommit":{"message":"Fix
osquery cypress tests (#163988)\n\n## Summary\r\n\r\nAdjust tests to
https://github.com/elastic/kibana/pull/161614\r\nSplit tests into
smaller files to better utilize parallelization and\r\nincrease the
stability of
tests","sha":"fd33ed55fd9bc81d006ca41c85b7bd4117741e80"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163988","number":163988,"mergeCommit":{"message":"Fix
osquery cypress tests (#163988)\n\n## Summary\r\n\r\nAdjust tests to
https://github.com/elastic/kibana/pull/161614\r\nSplit tests into
smaller files to better utilize parallelization and\r\nincrease the
stability of
tests","sha":"fd33ed55fd9bc81d006ca41c85b7bd4117741e80"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
2023-08-18 19:10:11 +00:00
Kibana Machine
2b5b603171
[8.10] [ML] Fix query bar not switching from KQL to Lucene and vice versa in Anomaly explorer (#163625) (#164247)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[ML] Fix query bar not switching from KQL to Lucene and vice versa in
Anomaly explorer
(#163625)](https://github.com/elastic/kibana/pull/163625)

<!--- 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-18T16:52:25Z","message":"[ML]
Fix query bar not switching from KQL to Lucene and vice versa in Anomaly
explorer
(#163625)","sha":"5cfb693701a3b26d3ea9c4879707135cf23a1e84","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","Feature:Anomaly
Detection","v8.10.0","v8.11.0"],"number":163625,"url":"https://github.com/elastic/kibana/pull/163625","mergeCommit":{"message":"[ML]
Fix query bar not switching from KQL to Lucene and vice versa in Anomaly
explorer
(#163625)","sha":"5cfb693701a3b26d3ea9c4879707135cf23a1e84"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163625","number":163625,"mergeCommit":{"message":"[ML]
Fix query bar not switching from KQL to Lucene and vice versa in Anomaly
explorer
(#163625)","sha":"5cfb693701a3b26d3ea9c4879707135cf23a1e84"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Quynh Nguyen (Quinn) <43350163+qn895@users.noreply.github.com>
2023-08-18 16:58:26 +00:00
Kibana Machine
255dfa4a47
[8.10] fix 'Download CSV' returns no data when panel has custom time range outside timerange of global time picker (#163887) (#164237)
# Backport

This will backport the following commits from `main` to `8.10`:
- [fix 'Download CSV' returns no data when panel has custom time range
outside timerange of global time picker
(#163887)](https://github.com/elastic/kibana/pull/163887)

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

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

<!--BACKPORT [{"author":{"name":"Nathan
Reese","email":"reese.nathan@elastic.co"},"sourceCommit":{"committedDate":"2023-08-17T22:37:12Z","message":"fix
'Download CSV' returns no data when panel has custom time range outside
timerange of global time picker (#163887)\n\nCloses
https://github.com/elastic/kibana/issues/163614\r\n\r\nPR resolves issue
by only adding global time filter to CSV export body\r\nwhen saved
search embeddable does not have time
range.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"53e803e42c5c9de73e60ae95cff13d17bab09f26","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Presentation","Team:DataDiscovery","Team:SharedUX","v8.10.0","v8.11.0","v8.9.2"],"number":163887,"url":"https://github.com/elastic/kibana/pull/163887","mergeCommit":{"message":"fix
'Download CSV' returns no data when panel has custom time range outside
timerange of global time picker (#163887)\n\nCloses
https://github.com/elastic/kibana/issues/163614\r\n\r\nPR resolves issue
by only adding global time filter to CSV export body\r\nwhen saved
search embeddable does not have time
range.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"53e803e42c5c9de73e60ae95cff13d17bab09f26"}},"sourceBranch":"main","suggestedTargetBranches":["8.11","8.9"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163887","number":163887,"mergeCommit":{"message":"fix
'Download CSV' returns no data when panel has custom time range outside
timerange of global time picker (#163887)\n\nCloses
https://github.com/elastic/kibana/issues/163614\r\n\r\nPR resolves issue
by only adding global time filter to CSV export body\r\nwhen saved
search embeddable does not have time
range.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"53e803e42c5c9de73e60ae95cff13d17bab09f26"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.9","label":"v8.9.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Nathan Reese <reese.nathan@elastic.co>
2023-08-17 22:43:46 +00:00
Tiago Costa
0cbca7a146
skip flaky suite (#164164) 2023-08-17 19:58:54 +01:00
Kibana Machine
cfea3f8624
[8.10] [ML] Fix Trained models list crashes on browser refresh if not on page 1 (#164163) (#164213)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[ML] Fix Trained models list crashes on browser refresh if not on
page 1 (#164163)](https://github.com/elastic/kibana/pull/164163)

<!--- 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-17T16:55:33Z","message":"[ML]
Fix Trained models list crashes on browser refresh if not on page 1
(#164163)\n\n## Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/162618\r\n\r\nThere was an
issue with setting pagination for the EUI table before\r\nmodels are
fetched. Providing a page index while the items count is 0\r\ncaused
pagination to reset with an uninitialized URL state callback.\r\nThis PR
adds a check to verify model list has been retrieved.\r\n\r\nAlso, the
Kibana `_stats` endpoint has been updated to provide a
`size`\r\nparameter.","sha":"24baf38eaaf0aed9af9c69909c81d37d2b436a0a","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","Feature:3rd
Party
Models","Team:ML","v8.10.0","v8.11.0"],"number":164163,"url":"https://github.com/elastic/kibana/pull/164163","mergeCommit":{"message":"[ML]
Fix Trained models list crashes on browser refresh if not on page 1
(#164163)\n\n## Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/162618\r\n\r\nThere was an
issue with setting pagination for the EUI table before\r\nmodels are
fetched. Providing a page index while the items count is 0\r\ncaused
pagination to reset with an uninitialized URL state callback.\r\nThis PR
adds a check to verify model list has been retrieved.\r\n\r\nAlso, the
Kibana `_stats` endpoint has been updated to provide a
`size`\r\nparameter.","sha":"24baf38eaaf0aed9af9c69909c81d37d2b436a0a"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164163","number":164163,"mergeCommit":{"message":"[ML]
Fix Trained models list crashes on browser refresh if not on page 1
(#164163)\n\n## Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/162618\r\n\r\nThere was an
issue with setting pagination for the EUI table before\r\nmodels are
fetched. Providing a page index while the items count is 0\r\ncaused
pagination to reset with an uninitialized URL state callback.\r\nThis PR
adds a check to verify model list has been retrieved.\r\n\r\nAlso, the
Kibana `_stats` endpoint has been updated to provide a
`size`\r\nparameter.","sha":"24baf38eaaf0aed9af9c69909c81d37d2b436a0a"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
2023-08-17 17:02:37 +00:00
Kibana Machine
7a8cf4cdb7
[8.10] chore(NA): upgrade typescript-eslint packages to v5.62.0 (#164117) (#164206)
# Backport

This will backport the following commits from `main` to `8.10`:
- [chore(NA): upgrade typescript-eslint packages to v5.62.0
(#164117)](https://github.com/elastic/kibana/pull/164117)

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

### 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-17T16:08:40Z","message":"chore(NA):
upgrade typescript-eslint packages to v5.62.0 (#164117)\n\nAfter
https://github.com/elastic/kibana/pull/163895 this PR forward\r\nports
the typescript-eslint packages to
v5.62.0.","sha":"0a331f1023c7ec36f623c88ecf6976230aefd99e","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","backport:all-open","v8.11.0"],"number":164117,"url":"https://github.com/elastic/kibana/pull/164117","mergeCommit":{"message":"chore(NA):
upgrade typescript-eslint packages to v5.62.0 (#164117)\n\nAfter
https://github.com/elastic/kibana/pull/163895 this PR forward\r\nports
the typescript-eslint packages to
v5.62.0.","sha":"0a331f1023c7ec36f623c88ecf6976230aefd99e"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
2023-08-17 16:15:12 +00:00
Kibana Machine
c54cd8b11f
[8.10] [QA] Dismiss telemetry banner in ccs console test (#164178) (#164189)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[QA] Dismiss telemetry banner in ccs console test
(#164178)](https://github.com/elastic/kibana/pull/164178)

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

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

<!--BACKPORT [{"author":{"name":"Marius
Dragomir","email":"marius-dr@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-08-17T14:57:13Z","message":"[QA]
Dismiss telemetry banner in ccs console test (#164178)\n\n##
Summary\r\n\r\nRemoving the telemetry banner during the CCS console test
will help with\r\nflakiness (allowing for more of the query result to be
in the
view\r\nport).","sha":"33c35a5acdec084e362016fb635bc513f40653d5","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:QA","release_note:skip","test-stack-integration","v8.10.0","v8.11.0"],"number":164178,"url":"https://github.com/elastic/kibana/pull/164178","mergeCommit":{"message":"[QA]
Dismiss telemetry banner in ccs console test (#164178)\n\n##
Summary\r\n\r\nRemoving the telemetry banner during the CCS console test
will help with\r\nflakiness (allowing for more of the query result to be
in the
view\r\nport).","sha":"33c35a5acdec084e362016fb635bc513f40653d5"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164178","number":164178,"mergeCommit":{"message":"[QA]
Dismiss telemetry banner in ccs console test (#164178)\n\n##
Summary\r\n\r\nRemoving the telemetry banner during the CCS console test
will help with\r\nflakiness (allowing for more of the query result to be
in the
view\r\nport).","sha":"33c35a5acdec084e362016fb635bc513f40653d5"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Marius Dragomir <marius-dr@users.noreply.github.com>
2023-08-17 15:06:04 +00:00
Kibana Machine
0b254801fc
[8.10] [Discover] Split a drag & drop test into 2 tests (#164149) (#164188)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Discover] Split a drag & drop test into 2 tests
(#164149)](https://github.com/elastic/kibana/pull/164149)

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

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

<!--BACKPORT [{"author":{"name":"Julia
Rechkunova","email":"julia.rechkunova@elastic.co"},"sourceCommit":{"committedDate":"2023-08-17T14:57:59Z","message":"[Discover]
Split a drag & drop test into 2 tests (#164149)\n\n- Closes
https://github.com/elastic/kibana/issues/163979\r\n- Closes
https://github.com/elastic/kibana/issues/163980\r\n\r\nIt was adding
both fields too
fast.\r\n100x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2908","sha":"63da51dc66e61c9d0eb76b810689a7a084a23374","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:DataDiscovery","backport:prev-minor","v8.11.0"],"number":164149,"url":"https://github.com/elastic/kibana/pull/164149","mergeCommit":{"message":"[Discover]
Split a drag & drop test into 2 tests (#164149)\n\n- Closes
https://github.com/elastic/kibana/issues/163979\r\n- Closes
https://github.com/elastic/kibana/issues/163980\r\n\r\nIt was adding
both fields too
fast.\r\n100x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2908","sha":"63da51dc66e61c9d0eb76b810689a7a084a23374"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Julia Rechkunova <julia.rechkunova@elastic.co>
2023-08-17 15:04:28 +00:00
Kibana Machine
8b8a028a80
[8.10] [Logs] Amend lazy imports in logs_shared plugin (#164102) (#164180)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Logs] Amend lazy imports in logs_shared plugin
(#164102)](https://github.com/elastic/kibana/pull/164102)

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

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

<!--BACKPORT [{"author":{"name":"Kerry
Gallagher","email":"kerry.gallagher@elastic.co"},"sourceCommit":{"committedDate":"2023-08-17T13:44:57Z","message":"[Logs]
Amend lazy imports in logs_shared plugin (#164102)\n\n##
Summary\r\n\r\nAs part of https://github.com/elastic/kibana/pull/161151
a [selection of\r\ncomponent imports were
made\r\nlazy](https://github.com/elastic/kibana/blob/main/x-pack/plugins/logs_shared/public/index.ts#L52)\r\nand
wrapped with a [`dynamic`
wrapper\r\ncomponent](https://github.com/elastic/kibana/blob/main/x-pack/plugins/logs_shared/common/dynamic.tsx#L22).\r\nUnfortunately
some of these imports did not adhere to the rules of\r\nReact's `lazy`
imports (needing a `default` export, no named imports\r\netc), and the
`dynamic` wrapper seems to have suppressed error\r\ninformation that
would have been available via using `lazy` directly.\r\n\r\nOnly the
anomaly and categories log entry examples (in the expanded\r\nrows) were
affected by this, as the stream and embeddable import from\r\nlocations
that were backed by a `default` export (and those top
level\r\ncomponents don't import from that particular index file lower
in the\r\nhierarchy). For imports that weren't backed by a `default`
I've added\r\nthem, and where necessary moved components to new files if
needed (since\r\nit's one `default` per file).\r\n\r\nAlso open to
suggestions of ways we can alter the `<dynamic />`\r\ncomponent and
maintain the error safety 🤔\r\n\r\n## Examples\r\n\r\nWithout these
changes:\r\n\r\n![Screenshot 2023-08-16 at 17
35\r\n50](78aa0300-109e-40b5-b64f-6574a547cbf3)\r\n\r\nWarning
using `lazy` directly without the `dynamic` wrapper:\r\n\r\n![Screenshot
2023-08-16 at 17
36\r\n27](a71e3c72-cf3a-4846-9ee9-df70c1729b03)\r\n\r\n##
Testing\r\n\r\n- Check all instances render correctly (stream,
embeddable uses, and ML\r\npage log entry
examples).","sha":"a96785cd2cf6dc28b6d786423e4604a7aee10c97","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Feature:Logs
UI","Team:Infra Monitoring
UI","v8.10.0","v8.11.0"],"number":164102,"url":"https://github.com/elastic/kibana/pull/164102","mergeCommit":{"message":"[Logs]
Amend lazy imports in logs_shared plugin (#164102)\n\n##
Summary\r\n\r\nAs part of https://github.com/elastic/kibana/pull/161151
a [selection of\r\ncomponent imports were
made\r\nlazy](https://github.com/elastic/kibana/blob/main/x-pack/plugins/logs_shared/public/index.ts#L52)\r\nand
wrapped with a [`dynamic`
wrapper\r\ncomponent](https://github.com/elastic/kibana/blob/main/x-pack/plugins/logs_shared/common/dynamic.tsx#L22).\r\nUnfortunately
some of these imports did not adhere to the rules of\r\nReact's `lazy`
imports (needing a `default` export, no named imports\r\netc), and the
`dynamic` wrapper seems to have suppressed error\r\ninformation that
would have been available via using `lazy` directly.\r\n\r\nOnly the
anomaly and categories log entry examples (in the expanded\r\nrows) were
affected by this, as the stream and embeddable import from\r\nlocations
that were backed by a `default` export (and those top
level\r\ncomponents don't import from that particular index file lower
in the\r\nhierarchy). For imports that weren't backed by a `default`
I've added\r\nthem, and where necessary moved components to new files if
needed (since\r\nit's one `default` per file).\r\n\r\nAlso open to
suggestions of ways we can alter the `<dynamic />`\r\ncomponent and
maintain the error safety 🤔\r\n\r\n## Examples\r\n\r\nWithout these
changes:\r\n\r\n![Screenshot 2023-08-16 at 17
35\r\n50](78aa0300-109e-40b5-b64f-6574a547cbf3)\r\n\r\nWarning
using `lazy` directly without the `dynamic` wrapper:\r\n\r\n![Screenshot
2023-08-16 at 17
36\r\n27](a71e3c72-cf3a-4846-9ee9-df70c1729b03)\r\n\r\n##
Testing\r\n\r\n- Check all instances render correctly (stream,
embeddable uses, and ML\r\npage log entry
examples).","sha":"a96785cd2cf6dc28b6d786423e4604a7aee10c97"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164102","number":164102,"mergeCommit":{"message":"[Logs]
Amend lazy imports in logs_shared plugin (#164102)\n\n##
Summary\r\n\r\nAs part of https://github.com/elastic/kibana/pull/161151
a [selection of\r\ncomponent imports were
made\r\nlazy](https://github.com/elastic/kibana/blob/main/x-pack/plugins/logs_shared/public/index.ts#L52)\r\nand
wrapped with a [`dynamic`
wrapper\r\ncomponent](https://github.com/elastic/kibana/blob/main/x-pack/plugins/logs_shared/common/dynamic.tsx#L22).\r\nUnfortunately
some of these imports did not adhere to the rules of\r\nReact's `lazy`
imports (needing a `default` export, no named imports\r\netc), and the
`dynamic` wrapper seems to have suppressed error\r\ninformation that
would have been available via using `lazy` directly.\r\n\r\nOnly the
anomaly and categories log entry examples (in the expanded\r\nrows) were
affected by this, as the stream and embeddable import from\r\nlocations
that were backed by a `default` export (and those top
level\r\ncomponents don't import from that particular index file lower
in the\r\nhierarchy). For imports that weren't backed by a `default`
I've added\r\nthem, and where necessary moved components to new files if
needed (since\r\nit's one `default` per file).\r\n\r\nAlso open to
suggestions of ways we can alter the `<dynamic />`\r\ncomponent and
maintain the error safety 🤔\r\n\r\n## Examples\r\n\r\nWithout these
changes:\r\n\r\n![Screenshot 2023-08-16 at 17
35\r\n50](78aa0300-109e-40b5-b64f-6574a547cbf3)\r\n\r\nWarning
using `lazy` directly without the `dynamic` wrapper:\r\n\r\n![Screenshot
2023-08-16 at 17
36\r\n27](a71e3c72-cf3a-4846-9ee9-df70c1729b03)\r\n\r\n##
Testing\r\n\r\n- Check all instances render correctly (stream,
embeddable uses, and ML\r\npage log entry
examples).","sha":"a96785cd2cf6dc28b6d786423e4604a7aee10c97"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Kerry Gallagher <kerry.gallagher@elastic.co>
2023-08-17 13:51:07 +00:00
Kibana Machine
8aa6249550
[8.10] [Saved Search] [Embeddable] Fix extra fetch in saved search embeddable when custom title is used (#164004) (#164177)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Saved Search] [Embeddable] Fix extra fetch in saved search
embeddable when custom title is used
(#164004)](https://github.com/elastic/kibana/pull/164004)

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

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

<!--BACKPORT [{"author":{"name":"Davis
McPhee","email":"davis.mcphee@elastic.co"},"sourceCommit":{"committedDate":"2023-08-17T13:28:35Z","message":"[Saved
Search] [Embeddable] Fix extra fetch in saved search embeddable when
custom title is used (#164004)\n\n## Summary\r\n\r\nThis PR fixes an
issue where using a custom title in the saved search\r\nembeddable
creates a race condition that could result in an extra fetch\r\nbeing
triggered. I've also created a separate PR with the same changes\r\nthat
runs the flaky tests 100x each to confirm this fix resolves
the\r\nflakiness: #164088.\r\n\r\nResolves #162997.\r\nResolves
#164125.\r\n\r\n### Checklist\r\n\r\n- [ ] ~Any text added follows
[EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)~\r\n-
[
]\r\n~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials~\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] ~Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard\r\naccessibility](https://webaim.org/techniques/keyboard/))~\r\n-
[ ] ~Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))~\r\n-
[ ] ~If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~\r\n-
[ ] ~This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))~\r\n-
[ ] ~This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)~\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"ef79f8b1b91844a67683101a358960b06590c934","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:DataDiscovery",":DataDiscovery/fix-it-week","v8.10.0","v8.11.0"],"number":164004,"url":"https://github.com/elastic/kibana/pull/164004","mergeCommit":{"message":"[Saved
Search] [Embeddable] Fix extra fetch in saved search embeddable when
custom title is used (#164004)\n\n## Summary\r\n\r\nThis PR fixes an
issue where using a custom title in the saved search\r\nembeddable
creates a race condition that could result in an extra fetch\r\nbeing
triggered. I've also created a separate PR with the same changes\r\nthat
runs the flaky tests 100x each to confirm this fix resolves
the\r\nflakiness: #164088.\r\n\r\nResolves #162997.\r\nResolves
#164125.\r\n\r\n### Checklist\r\n\r\n- [ ] ~Any text added follows
[EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)~\r\n-
[
]\r\n~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials~\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] ~Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard\r\naccessibility](https://webaim.org/techniques/keyboard/))~\r\n-
[ ] ~Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))~\r\n-
[ ] ~If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~\r\n-
[ ] ~This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))~\r\n-
[ ] ~This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)~\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"ef79f8b1b91844a67683101a358960b06590c934"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164004","number":164004,"mergeCommit":{"message":"[Saved
Search] [Embeddable] Fix extra fetch in saved search embeddable when
custom title is used (#164004)\n\n## Summary\r\n\r\nThis PR fixes an
issue where using a custom title in the saved search\r\nembeddable
creates a race condition that could result in an extra fetch\r\nbeing
triggered. I've also created a separate PR with the same changes\r\nthat
runs the flaky tests 100x each to confirm this fix resolves
the\r\nflakiness: #164088.\r\n\r\nResolves #162997.\r\nResolves
#164125.\r\n\r\n### Checklist\r\n\r\n- [ ] ~Any text added follows
[EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)~\r\n-
[
]\r\n~[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials~\r\n- [x] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] ~Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard\r\naccessibility](https://webaim.org/techniques/keyboard/))~\r\n-
[ ] ~Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))~\r\n-
[ ] ~If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~\r\n-
[ ] ~This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))~\r\n-
[ ] ~This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)~\r\n\r\n###
For maintainers\r\n\r\n- [ ] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"ef79f8b1b91844a67683101a358960b06590c934"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Davis McPhee <davis.mcphee@elastic.co>
2023-08-17 13:35:00 +00:00
Kibana Machine
11a98129ad
[8.10] [Security Solution] Reputation service on by default if a cloud deployment (#163836) (#164170)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] Reputation service on by default if a cloud
deployment (#163836)](https://github.com/elastic/kibana/pull/163836)

<!--- 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-08-17T12:45:27Z","message":"[Security
Solution] Reputation service on by default if a cloud deployment
(#163836)\n\n## Summary\r\n\r\nThe reputation service Policy option
should be `true` by default if it\r\nis a cloud deployment. Otherwise it
should be `false`. This PR corrects\r\nthe default option for new
policies if it is a cloud deployment.\r\n\r\nThe migrated Policies
should still always default to `false` (already\r\nimplemented in a
previous PR)\r\n\r\nNew Policy with `cloud:
true`\r\n\r\n![image](3f33375b-3bbb-4e3c-be2f-ebe489fcf0d1)\r\n\r\nNew
Policy with `cloud:
false`\r\n\r\n![image](82c0df3b-ce93-412f-89c6-c26b54eff8dd)\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"cb444bc319007c6fa16e471b0c9ab5d1195f6420","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","v8.10.0","v8.11.0"],"number":163836,"url":"https://github.com/elastic/kibana/pull/163836","mergeCommit":{"message":"[Security
Solution] Reputation service on by default if a cloud deployment
(#163836)\n\n## Summary\r\n\r\nThe reputation service Policy option
should be `true` by default if it\r\nis a cloud deployment. Otherwise it
should be `false`. This PR corrects\r\nthe default option for new
policies if it is a cloud deployment.\r\n\r\nThe migrated Policies
should still always default to `false` (already\r\nimplemented in a
previous PR)\r\n\r\nNew Policy with `cloud:
true`\r\n\r\n![image](3f33375b-3bbb-4e3c-be2f-ebe489fcf0d1)\r\n\r\nNew
Policy with `cloud:
false`\r\n\r\n![image](82c0df3b-ce93-412f-89c6-c26b54eff8dd)\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"cb444bc319007c6fa16e471b0c9ab5d1195f6420"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163836","number":163836,"mergeCommit":{"message":"[Security
Solution] Reputation service on by default if a cloud deployment
(#163836)\n\n## Summary\r\n\r\nThe reputation service Policy option
should be `true` by default if it\r\nis a cloud deployment. Otherwise it
should be `false`. This PR corrects\r\nthe default option for new
policies if it is a cloud deployment.\r\n\r\nThe migrated Policies
should still always default to `false` (already\r\nimplemented in a
previous PR)\r\n\r\nNew Policy with `cloud:
true`\r\n\r\n![image](3f33375b-3bbb-4e3c-be2f-ebe489fcf0d1)\r\n\r\nNew
Policy with `cloud:
false`\r\n\r\n![image](82c0df3b-ce93-412f-89c6-c26b54eff8dd)\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"cb444bc319007c6fa16e471b0c9ab5d1195f6420"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
2023-08-17 12:52:50 +00:00
Kibana Machine
9a90755d28
[8.10] [Enterprise Search] Add missing RCFs for SPO native connector (#164158) (#164169)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Enterprise Search] Add missing RCFs for SPO native connector
(#164158)](https://github.com/elastic/kibana/pull/164158)

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

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

<!--BACKPORT [{"author":{"name":"Jedrzej
Blaszyk","email":"jedrazb@gmail.com"},"sourceCommit":{"committedDate":"2023-08-17T12:39:28Z","message":"[Enterprise
Search] Add missing RCFs for SPO native connector (#164158)\n\n##
Summary\r\n\r\nRelates
to:\r\nhttps://github.com/elastic/enterprise-search-team/issues/5631\r\n\r\nAdd
missing configuration fields for SPO native connector. Reference
to\r\nthe source of truth connector
configuration:\r\nhttps://github.com/elastic/connectors-python/blob/main/connectors/sources/sharepoint_online.py#L1143\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"6d076ee5b1a590f456eccc36c3badcabcebbb19d","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","backport:prev-minor","v8.10.0","v8.11.0"],"number":164158,"url":"https://github.com/elastic/kibana/pull/164158","mergeCommit":{"message":"[Enterprise
Search] Add missing RCFs for SPO native connector (#164158)\n\n##
Summary\r\n\r\nRelates
to:\r\nhttps://github.com/elastic/enterprise-search-team/issues/5631\r\n\r\nAdd
missing configuration fields for SPO native connector. Reference
to\r\nthe source of truth connector
configuration:\r\nhttps://github.com/elastic/connectors-python/blob/main/connectors/sources/sharepoint_online.py#L1143\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"6d076ee5b1a590f456eccc36c3badcabcebbb19d"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164158","number":164158,"mergeCommit":{"message":"[Enterprise
Search] Add missing RCFs for SPO native connector (#164158)\n\n##
Summary\r\n\r\nRelates
to:\r\nhttps://github.com/elastic/enterprise-search-team/issues/5631\r\n\r\nAdd
missing configuration fields for SPO native connector. Reference
to\r\nthe source of truth connector
configuration:\r\nhttps://github.com/elastic/connectors-python/blob/main/connectors/sources/sharepoint_online.py#L1143\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"6d076ee5b1a590f456eccc36c3badcabcebbb19d"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Jedrzej Blaszyk <jedrazb@gmail.com>
2023-08-17 12:49:03 +00:00
Kibana Machine
18e8844a6f
[8.10] [RAM] add maintenance window banner (#163516) (#164161)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[RAM] add maintenance window banner
(#163516)](https://github.com/elastic/kibana/pull/163516)

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

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

<!--BACKPORT
[{"author":{"name":"Julia","email":"iuliia.guskova@elastic.co"},"sourceCommit":{"committedDate":"2023-08-17T11:04:56Z","message":"[RAM]
add maintenance window banner (#163516)\n\n## Summary\r\n\r\nSolves:
https://github.com/elastic/kibana/issues/163465\r\n\r\nAdd maintenance
window banner to Rules list and Alerts list in O11y
and\r\nManagement.\r\n\r\n<img width=\"1334\" alt=\"Screenshot
2023-08-09 at 13 03
50\"\r\nsrc=\"de0708b1-db2a-4517-91aa-a3d6b3e62b44\">\r\n\r\n<img
width=\"1350\" alt=\"Screenshot 2023-08-09 at 13 05
10\"\r\nsrc=\"9f7c488d-e992-4807-a60e-3c077b623b4e\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Xavier Mouligneau <xavier.mouligneau@elastic.co>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b3122cb65670929eb5e274d8eba61bc17ca2af4f","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","ui-copy","v8.10.0","v8.11.0"],"number":163516,"url":"https://github.com/elastic/kibana/pull/163516","mergeCommit":{"message":"[RAM]
add maintenance window banner (#163516)\n\n## Summary\r\n\r\nSolves:
https://github.com/elastic/kibana/issues/163465\r\n\r\nAdd maintenance
window banner to Rules list and Alerts list in O11y
and\r\nManagement.\r\n\r\n<img width=\"1334\" alt=\"Screenshot
2023-08-09 at 13 03
50\"\r\nsrc=\"de0708b1-db2a-4517-91aa-a3d6b3e62b44\">\r\n\r\n<img
width=\"1350\" alt=\"Screenshot 2023-08-09 at 13 05
10\"\r\nsrc=\"9f7c488d-e992-4807-a60e-3c077b623b4e\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Xavier Mouligneau <xavier.mouligneau@elastic.co>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b3122cb65670929eb5e274d8eba61bc17ca2af4f"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163516","number":163516,"mergeCommit":{"message":"[RAM]
add maintenance window banner (#163516)\n\n## Summary\r\n\r\nSolves:
https://github.com/elastic/kibana/issues/163465\r\n\r\nAdd maintenance
window banner to Rules list and Alerts list in O11y
and\r\nManagement.\r\n\r\n<img width=\"1334\" alt=\"Screenshot
2023-08-09 at 13 03
50\"\r\nsrc=\"de0708b1-db2a-4517-91aa-a3d6b3e62b44\">\r\n\r\n<img
width=\"1350\" alt=\"Screenshot 2023-08-09 at 13 05
10\"\r\nsrc=\"9f7c488d-e992-4807-a60e-3c077b623b4e\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Xavier Mouligneau <xavier.mouligneau@elastic.co>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b3122cb65670929eb5e274d8eba61bc17ca2af4f"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Julia <iuliia.guskova@elastic.co>
2023-08-17 11:10:56 +00:00
Kibana Machine
67ba92f842
[8.10] [Cases] Add max alerts per case to docs (#164141) (#164160)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Cases] Add max alerts per case to docs
(#164141)](https://github.com/elastic/kibana/pull/164141)

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

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

<!--BACKPORT [{"author":{"name":"Janki
Salvi","email":"117571355+js-jankisalvi@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-08-17T10:48:30Z","message":"[Cases]
Add max alerts per case to docs (#164141)\n\n## Summary\r\n\r\nAdded
docs for total alerts per case guardrails as
per\r\nhttps://github.com/elastic/kibana/issues/146945\r\n\r\n|
Description | Limit | Done? | Documented? | UI?\r\n| ------------- |
---- | :---: | ---- | :----: |\r\n| Total alerts per case | 1.000 |
 | Yes | N/A
|","sha":"18d28fc42c6107bedaf98161c6b2c9e7b522237b","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","Feature:Cases","v8.10.0","v8.11.0"],"number":164141,"url":"https://github.com/elastic/kibana/pull/164141","mergeCommit":{"message":"[Cases]
Add max alerts per case to docs (#164141)\n\n## Summary\r\n\r\nAdded
docs for total alerts per case guardrails as
per\r\nhttps://github.com/elastic/kibana/issues/146945\r\n\r\n|
Description | Limit | Done? | Documented? | UI?\r\n| ------------- |
---- | :---: | ---- | :----: |\r\n| Total alerts per case | 1.000 |
 | Yes | N/A
|","sha":"18d28fc42c6107bedaf98161c6b2c9e7b522237b"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164141","number":164141,"mergeCommit":{"message":"[Cases]
Add max alerts per case to docs (#164141)\n\n## Summary\r\n\r\nAdded
docs for total alerts per case guardrails as
per\r\nhttps://github.com/elastic/kibana/issues/146945\r\n\r\n|
Description | Limit | Done? | Documented? | UI?\r\n| ------------- |
---- | :---: | ---- | :----: |\r\n| Total alerts per case | 1.000 |
 | Yes | N/A
|","sha":"18d28fc42c6107bedaf98161c6b2c9e7b522237b"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Janki Salvi <117571355+js-jankisalvi@users.noreply.github.com>
2023-08-17 10:54:30 +00:00
Kibana Machine
4c0c007fc7
[8.10] [Lens] add performance journey to track rendering time for XY visualization and suggestions panel (#163412) (#164153)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Lens] add performance journey to track rendering time for XY
visualization and suggestions panel
(#163412)](https://github.com/elastic/kibana/pull/163412)

<!--- 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-08-17T10:01:03Z","message":"[Lens]
add performance journey to track rendering time for XY visualization and
suggestions panel (#163412)\n\n## Summary\r\n\r\nRelated to
#163089\r\n\r\nAdding the first performance journey for the Lens Editor.
It simulated\r\nloading existing Lens visualisation with data view
having 10k fields.\r\n\r\nWe collect the following metrics:\r\n-
`fetchFieldsExistenceInfo` reports time it takes to fetch fields
in\r\nData Panel\r\n- `lensVisualizationRenderTime` reports both time it
takes to fetch the\r\ndata (`time_to_data`) and render the main
visualization\r\n(`time_to_render`)\r\n- `lensSuggestionsRenderTime`
reports time it takes to render\r\nsuggestions panel\r\n\r\nMetrics
consistency\r\n\r\n<img width=\"568\"
alt=\"image\"\r\nsrc=\"3384bb8e-6152-4bae-93dc-4f7f4167ed07\">\r\n\r\nRun
locally with \r\n```\r\nnode scripts/functional_tests --config
x-pack/performance/journeys/many_fields_lens_editor.ts\r\n```\r\n\r\nMetrics
will be available here
\r\n\r\ndd0473ac-826f-5621-9a10-25319700326e?_g=h@61c5ac8\r\n\r\n---------\r\n\r\nCo-authored-by:
Drew Tate
<drewctate@gmail.com>","sha":"15b118c724d174d1482ae9a31f9e87dccfe2a66c","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["performance","release_note:skip","v8.10.0","v8.11.0"],"number":163412,"url":"https://github.com/elastic/kibana/pull/163412","mergeCommit":{"message":"[Lens]
add performance journey to track rendering time for XY visualization and
suggestions panel (#163412)\n\n## Summary\r\n\r\nRelated to
#163089\r\n\r\nAdding the first performance journey for the Lens Editor.
It simulated\r\nloading existing Lens visualisation with data view
having 10k fields.\r\n\r\nWe collect the following metrics:\r\n-
`fetchFieldsExistenceInfo` reports time it takes to fetch fields
in\r\nData Panel\r\n- `lensVisualizationRenderTime` reports both time it
takes to fetch the\r\ndata (`time_to_data`) and render the main
visualization\r\n(`time_to_render`)\r\n- `lensSuggestionsRenderTime`
reports time it takes to render\r\nsuggestions panel\r\n\r\nMetrics
consistency\r\n\r\n<img width=\"568\"
alt=\"image\"\r\nsrc=\"3384bb8e-6152-4bae-93dc-4f7f4167ed07\">\r\n\r\nRun
locally with \r\n```\r\nnode scripts/functional_tests --config
x-pack/performance/journeys/many_fields_lens_editor.ts\r\n```\r\n\r\nMetrics
will be available here
\r\n\r\ndd0473ac-826f-5621-9a10-25319700326e?_g=h@61c5ac8\r\n\r\n---------\r\n\r\nCo-authored-by:
Drew Tate
<drewctate@gmail.com>","sha":"15b118c724d174d1482ae9a31f9e87dccfe2a66c"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163412","number":163412,"mergeCommit":{"message":"[Lens]
add performance journey to track rendering time for XY visualization and
suggestions panel (#163412)\n\n## Summary\r\n\r\nRelated to
#163089\r\n\r\nAdding the first performance journey for the Lens Editor.
It simulated\r\nloading existing Lens visualisation with data view
having 10k fields.\r\n\r\nWe collect the following metrics:\r\n-
`fetchFieldsExistenceInfo` reports time it takes to fetch fields
in\r\nData Panel\r\n- `lensVisualizationRenderTime` reports both time it
takes to fetch the\r\ndata (`time_to_data`) and render the main
visualization\r\n(`time_to_render`)\r\n- `lensSuggestionsRenderTime`
reports time it takes to render\r\nsuggestions panel\r\n\r\nMetrics
consistency\r\n\r\n<img width=\"568\"
alt=\"image\"\r\nsrc=\"3384bb8e-6152-4bae-93dc-4f7f4167ed07\">\r\n\r\nRun
locally with \r\n```\r\nnode scripts/functional_tests --config
x-pack/performance/journeys/many_fields_lens_editor.ts\r\n```\r\n\r\nMetrics
will be available here
\r\n\r\ndd0473ac-826f-5621-9a10-25319700326e?_g=h@61c5ac8\r\n\r\n---------\r\n\r\nCo-authored-by:
Drew Tate
<drewctate@gmail.com>","sha":"15b118c724d174d1482ae9a31f9e87dccfe2a66c"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2023-08-17 10:08:08 +00:00
Kibana Machine
69667f31d9
[8.10] [Infra UI] Fix filter popovers not being closed on trigger button click (#164060) (#164143)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Infra UI] Fix filter popovers not being closed on trigger button
click (#164060)](https://github.com/elastic/kibana/pull/164060)

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

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

<!--BACKPORT [{"author":{"name":"Mykola
Harmash","email":"mykola.harmash@gmail.com"},"sourceCommit":{"committedDate":"2023-08-17T09:05:32Z","message":"[Infra
UI] Fix filter popovers not being closed on trigger button click
(#164060)\n\nFixes #96534 \r\n\r\n## Summary\r\n\r\nFixes the bug with
some popovers are not closed if their trigger buttons\r\nare
clicked\r\n\r\n*Bug demos from the original
issue*\r\nInventory:\r\n\r\n![](https://user-images.githubusercontent.com/4104278/113987390-a222e900-984e-11eb-872b-f12f5abe4540.gif)\r\nMetrics
Explorer\r\n\r\n![](https://user-images.githubusercontent.com/4104278/113988929-3b9eca80-9850-11eb-859a-c639b89af8a5.gif)\r\n\r\n###
How to test\r\n\r\n* Checkout the branch locally\r\n* Goto \"Inventory\"
section\r\n* Click on \"Hosts\" filter\r\n* Make sure popover opens\r\n*
Click on \"Hosts\" again\r\n* Make sure the popover closes\r\n* Check
the same for \"Sort by\" filter\r\n* Check the same for chart
\"Actions\" in \"Metrics
Explorer\"","sha":"c8083dd6767a88f15379531319b5636d20e79451","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Metrics
UI","Team:Infra Monitoring
UI","release_note:skip","backport:prev-minor","v8.11.0"],"number":164060,"url":"https://github.com/elastic/kibana/pull/164060","mergeCommit":{"message":"[Infra
UI] Fix filter popovers not being closed on trigger button click
(#164060)\n\nFixes #96534 \r\n\r\n## Summary\r\n\r\nFixes the bug with
some popovers are not closed if their trigger buttons\r\nare
clicked\r\n\r\n*Bug demos from the original
issue*\r\nInventory:\r\n\r\n![](https://user-images.githubusercontent.com/4104278/113987390-a222e900-984e-11eb-872b-f12f5abe4540.gif)\r\nMetrics
Explorer\r\n\r\n![](https://user-images.githubusercontent.com/4104278/113988929-3b9eca80-9850-11eb-859a-c639b89af8a5.gif)\r\n\r\n###
How to test\r\n\r\n* Checkout the branch locally\r\n* Goto \"Inventory\"
section\r\n* Click on \"Hosts\" filter\r\n* Make sure popover opens\r\n*
Click on \"Hosts\" again\r\n* Make sure the popover closes\r\n* Check
the same for \"Sort by\" filter\r\n* Check the same for chart
\"Actions\" in \"Metrics
Explorer\"","sha":"c8083dd6767a88f15379531319b5636d20e79451"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Mykola Harmash <mykola.harmash@gmail.com>
2023-08-17 09:12:48 +00:00
Kibana Machine
7d8b808d8a
[8.10] [Security Solution] formatAlertForNotificationActions fails to merge dot and object notations correctly (#164075) (#164140)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] formatAlertForNotificationActions fails to merge
dot and object notations correctly
(#164075)](https://github.com/elastic/kibana/pull/164075)

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

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

<!--BACKPORT [{"author":{"name":"Ievgen
Sorokopud","email":"ievgen.sorokopud@elastic.co"},"sourceCommit":{"committedDate":"2023-08-17T08:39:24Z","message":"[Security
Solution] formatAlertForNotificationActions fails to merge dot and
object notations correctly (#164075)\n\n## Summary\r\n\r\nOriginal
ticket: #163844\r\n\r\nThese changes fix the issue with the incorrect
`expandDottedObject`\r\nfunctionality which instead of merging objects
would replace with the\r\nlatest version of
it.","sha":"a50b33032359410e7ee93e65a6cff58e00205856","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:
SecuritySolution","ci:cloud-deploy","Team:Detection
Engine","v8.10.0","v8.11.0"],"number":164075,"url":"https://github.com/elastic/kibana/pull/164075","mergeCommit":{"message":"[Security
Solution] formatAlertForNotificationActions fails to merge dot and
object notations correctly (#164075)\n\n## Summary\r\n\r\nOriginal
ticket: #163844\r\n\r\nThese changes fix the issue with the incorrect
`expandDottedObject`\r\nfunctionality which instead of merging objects
would replace with the\r\nlatest version of
it.","sha":"a50b33032359410e7ee93e65a6cff58e00205856"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164075","number":164075,"mergeCommit":{"message":"[Security
Solution] formatAlertForNotificationActions fails to merge dot and
object notations correctly (#164075)\n\n## Summary\r\n\r\nOriginal
ticket: #163844\r\n\r\nThese changes fix the issue with the incorrect
`expandDottedObject`\r\nfunctionality which instead of merging objects
would replace with the\r\nlatest version of
it.","sha":"a50b33032359410e7ee93e65a6cff58e00205856"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Ievgen Sorokopud <ievgen.sorokopud@elastic.co>
2023-08-17 08:46:23 +00:00
Kibana Machine
80e0d9aa86
[8.10] [APM] Move instance test from flaky archives based to definite synthtrace b… (#164070) (#164137)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[APM] Move instance test from flaky archives based to definite
synthtrace b… (#164070)](https://github.com/elastic/kibana/pull/164070)

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

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

<!--BACKPORT [{"author":{"name":"Achyut
Jhunjhunwala","email":"achyut.jhunjhunwala@elastic.co"},"sourceCommit":{"committedDate":"2023-08-17T07:59:47Z","message":"[APM]
Move instance test from flaky archives based to definite synthtrace b…
(#164070)\n\n## Summary\r\n\r\nCloses -
https://github.com/elastic/kibana/issues/160709","sha":"9d55308844dacdea1feb040ef98004f28f8746de","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:APM","release_note:skip","v8.9.0","v8.10.0","v8.11.0"],"number":164070,"url":"https://github.com/elastic/kibana/pull/164070","mergeCommit":{"message":"[APM]
Move instance test from flaky archives based to definite synthtrace b…
(#164070)\n\n## Summary\r\n\r\nCloses -
https://github.com/elastic/kibana/issues/160709","sha":"9d55308844dacdea1feb040ef98004f28f8746de"}},"sourceBranch":"main","suggestedTargetBranches":["8.9","8.11"],"targetPullRequestStates":[{"branch":"8.9","label":"v8.9.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/164070","number":164070,"mergeCommit":{"message":"[APM]
Move instance test from flaky archives based to definite synthtrace b…
(#164070)\n\n## Summary\r\n\r\nCloses -
https://github.com/elastic/kibana/issues/160709","sha":"9d55308844dacdea1feb040ef98004f28f8746de"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Achyut Jhunjhunwala <achyut.jhunjhunwala@elastic.co>
2023-08-17 08:06:21 +00:00
Kibana Machine
deab0c8752
[8.10] [Observability AI Assistant] Lens function (#163872) (#164135)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Observability AI Assistant] Lens function
(#163872)](https://github.com/elastic/kibana/pull/163872)

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

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

<!--BACKPORT [{"author":{"name":"Dario
Gieselaar","email":"dario.gieselaar@elastic.co"},"sourceCommit":{"committedDate":"2023-08-17T07:45:51Z","message":"[Observability
AI Assistant] Lens function (#163872)\n\nCo-authored-by: Coen Warmer
<coen.warmer@gmail.com>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Clint Andrew Hall <clint@clintandrewhall.com>\r\nCo-authored-by: Carlos
Crespo <carloshenrique.leonelcrespo@elastic.co>\r\nCo-authored-by:
Alejandro Fernández Haro
<alejandro.haro@elastic.co>","sha":"3128328defc66fc6cc87d9c90a39831cb6f662c8","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Team:APM","v8.10.0","v8.11.0"],"number":163872,"url":"https://github.com/elastic/kibana/pull/163872","mergeCommit":{"message":"[Observability
AI Assistant] Lens function (#163872)\n\nCo-authored-by: Coen Warmer
<coen.warmer@gmail.com>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Clint Andrew Hall <clint@clintandrewhall.com>\r\nCo-authored-by: Carlos
Crespo <carloshenrique.leonelcrespo@elastic.co>\r\nCo-authored-by:
Alejandro Fernández Haro
<alejandro.haro@elastic.co>","sha":"3128328defc66fc6cc87d9c90a39831cb6f662c8"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163872","number":163872,"mergeCommit":{"message":"[Observability
AI Assistant] Lens function (#163872)\n\nCo-authored-by: Coen Warmer
<coen.warmer@gmail.com>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Clint Andrew Hall <clint@clintandrewhall.com>\r\nCo-authored-by: Carlos
Crespo <carloshenrique.leonelcrespo@elastic.co>\r\nCo-authored-by:
Alejandro Fernández Haro
<alejandro.haro@elastic.co>","sha":"3128328defc66fc6cc87d9c90a39831cb6f662c8"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2023-08-17 07:52:02 +00:00
Elastic Machine
a3b92bba0f
[8.10] Sync bundled packages with Package Storage (#164097)
Automated by
https://internal-ci.elastic.co/job/package_storage/job/sync-bundled-packages-job/job/main/6344/

Co-authored-by: apmmachine <infra-root+apmmachine@elastic.co>
2023-08-17 09:25:19 +02:00
Kibana Machine
4a7b9c8eb9
[8.10] [Index Management] Fix broken mapping doc links (#163660) (#164128)
# Backport

This will backport the following commits from `main` to `8.10`:
- [[Index Management] Fix broken mapping doc links
(#163660)](https://github.com/elastic/kibana/pull/163660)

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

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

<!--BACKPORT
[{"author":{"name":"ruhshan","email":"ruhshan.ahmed@gmail.com"},"sourceCommit":{"committedDate":"2023-08-17T03:31:59Z","message":"[Index
Management] Fix broken mapping doc links
(#163660)","sha":"1e6a87c70458b6f49ec5c58b7d7c79817c0602c6","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Deployment
Management","release_note:skip","💝community","backport:prev-minor","v8.10.0","v8.11.0","v8.9.2"],"number":163660,"url":"https://github.com/elastic/kibana/pull/163660","mergeCommit":{"message":"[Index
Management] Fix broken mapping doc links
(#163660)","sha":"1e6a87c70458b6f49ec5c58b7d7c79817c0602c6"}},"sourceBranch":"main","suggestedTargetBranches":["8.11","8.9"],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/163660","number":163660,"mergeCommit":{"message":"[Index
Management] Fix broken mapping doc links
(#163660)","sha":"1e6a87c70458b6f49ec5c58b7d7c79817c0602c6"}},{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.9","label":"v8.9.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: ruhshan <ruhshan.ahmed@gmail.com>
2023-08-17 03:38:50 +00:00
Kibana Machine
66c7d669a6
[8.10] fix(NA): source classifier to indentify xml as static files (#164109) (#164123)
# Backport

This will backport the following commits from `main` to `8.10`:
- [fix(NA): source classifier to indentify xml as static files
(#164109)](https://github.com/elastic/kibana/pull/164109)

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

### 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-16T23:53:59Z","message":"fix(NA):
source classifier to indentify xml as static files (#164109)\n\nThis PR
fixes a bug in the source classifier as it is currently
not\r\nidentifying xml as a static file.\r\n\r\nAs part of this I've
also identified a TODO in the source classifier\r\nrelated with the
evaluating order.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a17e307dc8840eadfc97ae3d5cf8d68052d5cd15","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","backport:all-open","v8.11.0"],"number":164109,"url":"https://github.com/elastic/kibana/pull/164109","mergeCommit":{"message":"fix(NA):
source classifier to indentify xml as static files (#164109)\n\nThis PR
fixes a bug in the source classifier as it is currently
not\r\nidentifying xml as a static file.\r\n\r\nAs part of this I've
also identified a TODO in the source classifier\r\nrelated with the
evaluating order.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a17e307dc8840eadfc97ae3d5cf8d68052d5cd15"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
2023-08-17 00:00:38 +00:00
Tiago Costa
7177a7630a
chore(NA): remove codeowners from minor branch 2023-08-16 15:46:50 +01:00
Tiago Costa
2389ce6cca
chore(NA): update branch field on package.json 2023-08-16 15:46:14 +01:00
Janki Salvi
f9bc627735
[Cases] Fix description component flaky tests (#164063)
## Summary

Fixes 
#164049 
 #164048
#164045 
#164044
#164050
#164047
#164046

Flaky test runner:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2895

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-08-16 16:40:33 +02:00
Pierre HILBERT
0fedc8b78e
Fixing components_status test (#164064)
## Summary

Test fix: now that ES new snapshot is available, fixing
components_status test
Close https://github.com/elastic/kibana/issues/163998
Close https://github.com/elastic/kibana/issues/156245

---------

Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>
2023-08-16 16:33:24 +02:00
Georgii Gorbachev
a3e51bf3fe
[Security Solution] Fix CODEOWNERS for Detection and Response teams (#163964)
## Summary

According to @oatkiller, we have many CODEOWNERS rules that match no
files.

I updated the file according to this and my own audit:

```
$ github-codeowners validate
Found duplicate rules [
  'x-pack/packages/observability/alert_details @elastic/actionable-observability'
]
Found rules which did not match any files [
  'x-pack/test/alerting_api_integration/common/plugins/aad @elastic/response-ops',
  'x-pack/test/alerting_api_integration/common/plugins/actions_simulators @elastic/response-ops',
  'x-pack/test/alerting_api_integration/packages/helpers @elastic/response-ops',
  'x-pack/test/alerting_api_integration/common/plugins/alerts @elastic/response-ops',
  'x-pack/test/alerting_api_integration/common/plugins/alerts_restricted @elastic/response-ops',
  'test/analytics/plugins/analytics_ftr_helpers @elastic/kibana-core',
  'test/analytics/plugins/analytics_plugin_a @elastic/kibana-core',
  'x-pack/test/security_api_integration/plugins/audit_log @elastic/kibana-security',
  'x-pack/test/cases_api_integration/common/plugins/cases @elastic/response-ops',
  'x-pack/plugins/cloud_defend @elastic/sec-cloudnative-integrations',
  'src/plugins/data @elastic/kibana-visualizations @elastic/kibana-data-discovery',
  'x-pack/test/encrypted_saved_objects_api_integration/plugins/api_consumer_plugin @elastic/kibana-security',
  'x-pack/test/ui_capabilities/common/plugins/foo_plugin @elastic/kibana-security',
  'test/interactive_setup_api_integration/plugins/test_endpoints @elastic/kibana-security',
  'x-pack/test/cases_api_integration/common/plugins/observability @elastic/response-ops',
  'x-pack/test/security_api_integration/plugins/oidc_provider @elastic/kibana-security',
  'packages/kbn-performance-testing-dataset-extractor @elastic/kibana-performance-testing',
  'packages/react/kibana_context/common @elastic/appex-sharedux',
  'packages/react/kibana_context/render @elastic/appex-sharedux',
  'packages/react/kibana_context/root @elastic/appex-sharedux',
  'packages/react/kibana_context/styled @elastic/appex-sharedux',
  'packages/react/kibana_context/theme @elastic/appex-sharedux',
  'packages/react/kibana_mount @elastic/appex-sharedux',
  'x-pack/test/security_api_integration/plugins/saml_provider @elastic/kibana-security',
  'x-pack/test/saved_object_api_integration/common/plugins/saved_object_test_plugin @elastic/kibana-security',
  'x-pack/test/security_api_integration/packages/helpers @elastic/kibana-core',
  'x-pack/plugins/security_solution_ess @elastic/security-solution',
  'x-pack/test/cases_api_integration/common/plugins/security_solution @elastic/response-ops',
  'x-pack/plugins/security_solution_serverless @elastic/security-solution',
  'x-pack/test/security_functional/plugins/test_endpoints @elastic/kibana-security',
  'x-pack/test/spaces_api_integration/common/plugins/spaces_test_plugin @elastic/kibana-security',
  'x-pack/test/alerting_api_integration/common/plugins/task_manager_fixture @elastic/response-ops',
  'x-pack/test/security_api_integration/plugins/user_profiles_consumer @elastic/kibana-security',
  '/src/plugins/visualize/ @elastic/kibana-visualizations',
  '/x-pack/test/api_integration/apis/lens/ @elastic/kibana-visualizations',
  '/x-pack/test/functional/apps/dashboard/reporting/ @elastic/appex-sharedux',
  '/x-pack/test/functional/es_archives/lens/reporting/ @elastic/appex-sharedux',
  '/src/plugins/kibana_react/public/@elastic/appex-sharedux @elastic/kibana-presentation',
  '/.github/workflows/deploy-my-kibana.yml @elastic/observablt-robots',
  '/.github/workflows/oblt-github-commands @elastic/observablt-robots',
  '/x-pack/test/api_integration/apis/infra @elastic/infra-monitoring-ui',
  '/src/dev/build/tasks/bundle_fleet_packages.ts @elastic/fleet @elastic/kibana-operations',
  '/src/apm.js @elastic/kibana-core @vigneshshanmugam',
  '/src/core/types/elasticsearch @elastic/apm-ui',
  '/packages/kbn-utility-types/src/dot_test.ts @dgieselaar',
  '/x-pack/test/alerting_api_integration/observability/synthetics_rule.ts @elastic/uptime',
  '/x-pack/test/alerting_api_integration/observability/index.ts @elastic/uptime',
  '/x-pack/plugins/apm/public/application/uxApp.tsx @elastic/uptime',
  '/x-pack/plugins/apm/public/components/app/rum_dashboard @elastic/uptime',
  '/x-pack/test/apm_api_integration/tests/csm/ @elastic/uptime',
  '/x-pack/test/api_integration_basic/apis/ml/ @elastic/ml-ui',
  '/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/ml_rule_types/ @elastic/ml-ui',
  '/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/transform_rule_types/ @elastic/ml-ui',
  '/x-pack/test/screenshot_creation/services/ml_screenshots.ts @elastic/ml-ui',
  '/x-pack/test/functional/es_archives/maps/ @elastic/kibana-gis',
  '/src/dev/license_checker/config.ts @elastic/kibana-operations',
  '/test/visual_regression @elastic/appex-qa',
  '/x-pack/test/visual_regression @elastic/appex-qa',
  '/src/core/public/i18n/  @elastic/kibana-localization @elastic/kibana-core',
  '/x-pack/plugins/security_solution/public/common/components/alerts_viewer @elastic/security-threat-hunting-investigations',
  '/x-pack/plugins/security_solution/public/detections/components/alerts_table/timeline_action @elastic/security-threat-hunting-investigations',
  '/x-pack/plugins/security_solution/public/detections/components/alerts_info @elastic/security-threat-hunting-investigations',
  '/x-pack/plugins/security_solution/common/search_strategy/security_solution/user @elastic/security-threat-hunting-explore',
  '/x-pack/plugins/security_solution/cypress/upgrade_e2e/threat_hunting/cases @elastic/security-threat-hunting-explore',
  '/x-pack/plugins/security_solution/common/api/detection_engine/model/rule_schema @elastic/security-detection-rule-management @elastic/security-detection-engine',
  '/x-pack/plugins/security_solution/common/api/detection_engine/fleet_integrations @elastic/security-detection-rule-management',
  '/x-pack/plugins/security_solution/common/api/detection_engine/prebuilt_rules @elastic/security-detection-rule-management',
  '/x-pack/plugins/security_solution/common/api/detection_engine/rule_management @elastic/security-detection-rule-management',
  '/x-pack/plugins/security_solution/common/api/detection_engine/rule_monitoring @elastic/security-detection-rule-management',
  '/x-pack/plugins/security_solution/common/detection_engine/fleet_integrations @elastic/security-detection-rule-management',
  '/x-pack/plugins/security_solution/common/detection_engine/prebuilt_rules @elastic/security-detection-rule-management',
  '/x-pack/plugins/security_solution/common/detection_engine/rule_monitoring @elastic/security-detection-rule-management',
  '/x-pack/plugins/security_solution/common/detection_engine/rule_exceptions @elastic/security-detection-engine',
  '/x-pack/plugins/security_solution/public/detection_engine/rule_exceptions_ui @elastic/security-detection-engine',
  '/x-pack/plugins/security_solution/public/common/components/exceptions @elastic/security-detection-engine',
  '/x-pack/plugins/security_solution/server/lib/sourcerer @elastic/security-detection-engine',
  '/x-pack/plugins/security_solution/cypress/e2e/detection_rules @elastic/security-detection-rule-management @elastic/security-detection-engine',
  '/x-pack/plugins/security_solution/cypress/plugins @elastic/security-detections-response @elastic/security-threat-hunting',
  '/x-pack/plugins/security_solution/common/ecs @elastic/security-threat-hunting-investigations',
  '/x-pack/plugins/security_solution/server/lib/detection_engine/rule_actions @elastic/security-detection-engine @elastic/security-detection-rule-management',
  'x-pack/plugins/security_solution/cypress/ccs_e2e @elastic/security-engineering-productivity',
  'x-pack/plugins/security_solution/cypress/upgrade_e2e @elastic/security-engineering-productivity',
  '/x-pack/plugins/security_solution/common/detection_engine/rule_response_actions @elastic/security-defend-workflows',
  '/x-pack/plugins/security_solution/public/common/components/guided_onboarding @elastic/security-threat-hunting-explore',
  '/x-pack/plugins/apm/**/*.scss @elastic/observability-design',
  '/x-pack/plugins/endpoint/**/*.scss @elastic/security-design',
  '/x-pack/plugins/security_solution_ess/**/*.scss @elastic/security-design',
  '/x-pack/plugins/security_solution_serverless/**/*.scss @elastic/security-design'
]
```
2023-08-16 07:27:53 -07:00
Pablo Machado
5b2859f202
[Security Solutions] Add upselling service to security solutions ESS plugin (#163406)
## Summary

* Use Serverless upsell architecture on ESS. But check for the required
license instead of capabilities.
* Covert Investigation Guide and Entity Analytics upsell to the new
architecture.
* Update upsell registering functions always to clear the state when
registering a new value. It fits perfectly ESS because the license is
observable.
### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [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

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-08-16 10:20:25 -04:00
Jean-Louis Leysens
a00c2401e2
[HTTP] Add build number to headers so that we can identify UIs (#163577)
Close https://github.com/elastic/kibana/issues/162332

### List

- [x] Add E2E test

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-08-16 16:05:57 +02:00
Cauê Marcondes
1efec8e0d0
[Profiling] Diff topN functions impact estimate fix (#163749)
Context:
A few weeks ago I merged a PR that moved the calculation of the impact
estimate to the server. But by doing so I missed an essential part to
calculate it correct, the scale factor that is defined in the UI. I'm
reverting that change and making the calcs in the client again.

Along with that I fixed a problem and refactored the function that
calculate the impact simplifying it.

Before:
<img width="1313" alt="Screenshot 2023-08-14 at 10 06 39 AM"
src="c4cda975-4659-4570-afbe-4510f4e6c4fa">

After:
<img width="1320" alt="Screenshot 2023-08-14 at 10 07 29 AM"
src="98e20fc3-00bd-4266-8c8d-07fb6662c9e9">

<img width="1704" alt="Screenshot 2023-08-16 at 10 03 52 AM"
src="9dc780b2-b674-4d83-90e3-7865936dbeaf">
2023-08-16 14:11:46 +01:00
Juan Pablo Djeredjian
d725c289af
[Security Solution] Fix flaky test: detection_rules/bulk_edit_rules_actions.cy.ts (#163698)
Fixes: https://github.com/elastic/kibana/issues/154721

## Summary

- Fixes flaky test:
`x-pack/plugins/security_solution/cypress/e2e/detection_response/rule_management/rule_actions/bulk_actions/bulk_edit_rules_actions.cy.ts`
- Test title: `Detection rules, bulk edit of rule actions`


## Details

For: `Detection rules, bulk edit of rule actions - Restricted action
privileges - User with no privileges can't add rule actions`
- Since this test logs in with a user with missing privileges, the
"Missing privileges" callout is shown at the top of the Rules Table. The
`selectNumberOfRules();` command selects rules one by one by clicking on
their checkboxes. However, flakiness was caused when the callout was
rendered while the selection of the rules was happening, causing a
layout shift that caused the selection of a checkbox to lose focus, and
not being able to be checked. This was solved by waiting the callout to
be rendered before the selection of rules start, with the new
`waitForCallOutToBeShown`method.

For: `Detection rules, bulk edit of rule actions - All actions
privileges - before/beforeEach Clause`
- Tests were failing in the `beforeEach` clause because the first test,
mentioned above, would be logged in with a `ROLES.hunter_no_actions`
role, and logging in with a user with permissions happened in a `before`
clause instead of a `beforeEach` clause. This caused the rest of the
suite to continue with a role without permissions, and the setup of the
second test would fail as the API requests done would fail with `401`.
Moving the initial logging-in from a `before` clause to a `beforeEach`
clause solved this issue.

For: `Detection rules, bulk edit of rule actions - All actions
privileges - Add a rule action to rules (existing connector)`
- This flakiness was extremely rare, but could be reproduced after about
400 iterations. It was caused by a similar reason as the first case
above: while rules were being selected one by one, the table would auto
refresh and focus would be lost from the checkbox that was about to be
selected. This aws fixed by disabling autorefresh in the setup.

### Other changes
- Prevents the installation of `security_detection_engine` package and
creates mock rules instead.
- Creates the `waitForCallOutToBeShown` method and moves the callout IDs
spread across different files to a a single file where they are exported
from.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-08-16 14:45:41 +02:00
Philippe Oberti
736b16dfcd
[Security Solution] expandable flyout - show full alert reason in preview panel (#163667) 2023-08-16 14:39:34 +02:00
Gloria Hornero
e78d61789f
[Security Solution] Updates codeowners file (#164026) 2023-08-16 05:38:11 -07:00
Tiago Costa
9604db3a33
skip flaky suite (#164044) 2023-08-16 13:16:44 +01:00