Commit graph

61249 commits

Author SHA1 Message Date
Kibana Machine
bebe42043c
[8.7] [Fleet] Fix missing scrolling bar in categories column (#153181) (#153183)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Fleet] Fix missing scrolling bar in categories column
(#153181)](https://github.com/elastic/kibana/pull/153181)

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

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

<!--BACKPORT [{"author":{"name":"Cristina
Amico","email":"criamico@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-13T16:00:33Z","message":"[Fleet]
Fix missing scrolling bar in categories column (#153181)\n\nCloses
https://github.com/elastic/kibana/issues/149378\r\n\r\n##
Summary\r\nFixing missing scrolling bar in Integrations `categories`
left column. I\r\nreplaced the `sticky` css property with the class
`kbnStickyMenu`\r\ndefined\r\n[here](3c7bf58405/src/core/public/styles/rendering/_base.scss (L47-L51)).\r\nThis
class is applied above a certain breakpoint.\r\n\r\n### Large
viewport\r\nThe categories column is
sticky:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/16084106/224733525-362d6b0c-321a-476d-ae5f-caad45ef3fcc.mov\r\n\r\n###
Smaller viewport\r\nThe categories column now has a scrolling
bar:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/16084106/224733690-b310fb78-1ee3-45a7-bc45-dd29ffdc280b.mov","sha":"bb3f91715e2780238b02e69e80cca83534ee6eff","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","backport:prev-minor","v8.8.0"],"number":153181,"url":"https://github.com/elastic/kibana/pull/153181","mergeCommit":{"message":"[Fleet]
Fix missing scrolling bar in categories column (#153181)\n\nCloses
https://github.com/elastic/kibana/issues/149378\r\n\r\n##
Summary\r\nFixing missing scrolling bar in Integrations `categories`
left column. I\r\nreplaced the `sticky` css property with the class
`kbnStickyMenu`\r\ndefined\r\n[here](3c7bf58405/src/core/public/styles/rendering/_base.scss (L47-L51)).\r\nThis
class is applied above a certain breakpoint.\r\n\r\n### Large
viewport\r\nThe categories column is
sticky:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/16084106/224733525-362d6b0c-321a-476d-ae5f-caad45ef3fcc.mov\r\n\r\n###
Smaller viewport\r\nThe categories column now has a scrolling
bar:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/16084106/224733690-b310fb78-1ee3-45a7-bc45-dd29ffdc280b.mov","sha":"bb3f91715e2780238b02e69e80cca83534ee6eff"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/153181","number":153181,"mergeCommit":{"message":"[Fleet]
Fix missing scrolling bar in categories column (#153181)\n\nCloses
https://github.com/elastic/kibana/issues/149378\r\n\r\n##
Summary\r\nFixing missing scrolling bar in Integrations `categories`
left column. I\r\nreplaced the `sticky` css property with the class
`kbnStickyMenu`\r\ndefined\r\n[here](3c7bf58405/src/core/public/styles/rendering/_base.scss (L47-L51)).\r\nThis
class is applied above a certain breakpoint.\r\n\r\n### Large
viewport\r\nThe categories column is
sticky:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/16084106/224733525-362d6b0c-321a-476d-ae5f-caad45ef3fcc.mov\r\n\r\n###
Smaller viewport\r\nThe categories column now has a scrolling
bar:\r\n\r\n\r\nhttps://user-images.githubusercontent.com/16084106/224733690-b310fb78-1ee3-45a7-bc45-dd29ffdc280b.mov","sha":"bb3f91715e2780238b02e69e80cca83534ee6eff"}}]}]
BACKPORT-->

Co-authored-by: Cristina Amico <criamico@users.noreply.github.com>
2023-03-13 10:09:25 -07:00
Dominique Clarke
21c8d91a24
[8.7] [Synthetics] handle onboarding for onprem deployments (#152048) (#153163)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Synthetics] handle onboarding for onprem deployments
(#152048)](https://github.com/elastic/kibana/pull/152048)

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

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

<!--BACKPORT [{"author":{"name":"Dominique
Clarke","email":"dominique.clarke@elastic.co"},"sourceCommit":{"committedDate":"2023-03-11T02:29:14Z","message":"[Synthetics]
handle onboarding for onprem deployments (#152048)\n\n##
Summary\r\n\r\nDirects on-prem users to create a private location,
before allowing\r\non-prem users to create monitors.\r\n\r\nAdmin
user\r\n[Monitor-Management-Synthetics---Kibana\r\n(6).webm](https://user-images.githubusercontent.com/11356435/222554184-3f399764-0c3d-41e4-9652-7ec5616a320c.webm)\r\n\r\nUser
without Fleet
privileges\r\n[Synthetics-Getting-Started-Synthetics---Kibana\r\n(3).webm](https://user-images.githubusercontent.com/11356435/222554216-893a9a79-a152-459d-b6e6-d5bdfc5014dc.webm)\r\n\r\n\r\n###
Testing\r\n\r\n1. Start ES with yarn es snapshot\r\n2. Remove all
`xpack.uptime.service` configs in your Kibana.dev.yml\r\n3. Start Kibana
connected to local ES\r\n4. Navigate to Synthetics and enable
monitor\r\n5. Confirm that Add monitor flow appears first before
creating a monitor\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana
Machine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
shahzad31 <shahzad31comp@gmail.com>\r\nCo-authored-by: florent-leborgne
<florent.leborgne@elastic.co>","sha":"01ba0270d9e9f62aadbe8cfc38b20810581619d7","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Team:uptime","release_note:skip","v8.7.0","v8.8.0"],"number":152048,"url":"https://github.com/elastic/kibana/pull/152048","mergeCommit":{"message":"[Synthetics]
handle onboarding for onprem deployments (#152048)\n\n##
Summary\r\n\r\nDirects on-prem users to create a private location,
before allowing\r\non-prem users to create monitors.\r\n\r\nAdmin
user\r\n[Monitor-Management-Synthetics---Kibana\r\n(6).webm](https://user-images.githubusercontent.com/11356435/222554184-3f399764-0c3d-41e4-9652-7ec5616a320c.webm)\r\n\r\nUser
without Fleet
privileges\r\n[Synthetics-Getting-Started-Synthetics---Kibana\r\n(3).webm](https://user-images.githubusercontent.com/11356435/222554216-893a9a79-a152-459d-b6e6-d5bdfc5014dc.webm)\r\n\r\n\r\n###
Testing\r\n\r\n1. Start ES with yarn es snapshot\r\n2. Remove all
`xpack.uptime.service` configs in your Kibana.dev.yml\r\n3. Start Kibana
connected to local ES\r\n4. Navigate to Synthetics and enable
monitor\r\n5. Confirm that Add monitor flow appears first before
creating a monitor\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana
Machine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
shahzad31 <shahzad31comp@gmail.com>\r\nCo-authored-by: florent-leborgne
<florent.leborgne@elastic.co>","sha":"01ba0270d9e9f62aadbe8cfc38b20810581619d7"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152048","number":152048,"mergeCommit":{"message":"[Synthetics]
handle onboarding for onprem deployments (#152048)\n\n##
Summary\r\n\r\nDirects on-prem users to create a private location,
before allowing\r\non-prem users to create monitors.\r\n\r\nAdmin
user\r\n[Monitor-Management-Synthetics---Kibana\r\n(6).webm](https://user-images.githubusercontent.com/11356435/222554184-3f399764-0c3d-41e4-9652-7ec5616a320c.webm)\r\n\r\nUser
without Fleet
privileges\r\n[Synthetics-Getting-Started-Synthetics---Kibana\r\n(3).webm](https://user-images.githubusercontent.com/11356435/222554216-893a9a79-a152-459d-b6e6-d5bdfc5014dc.webm)\r\n\r\n\r\n###
Testing\r\n\r\n1. Start ES with yarn es snapshot\r\n2. Remove all
`xpack.uptime.service` configs in your Kibana.dev.yml\r\n3. Start Kibana
connected to local ES\r\n4. Navigate to Synthetics and enable
monitor\r\n5. Confirm that Add monitor flow appears first before
creating a monitor\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana
Machine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
shahzad31 <shahzad31comp@gmail.com>\r\nCo-authored-by: florent-leborgne
<florent.leborgne@elastic.co>","sha":"01ba0270d9e9f62aadbe8cfc38b20810581619d7"}}]}]
BACKPORT-->

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-03-13 07:50:41 -07:00
Elastic Machine
bfab6b1d49
[8.7] Sync bundled packages with Package Storage (#153169)
Automated by
https://internal-ci.elastic.co/job/package_storage/job/sync-bundled-packages-job/job/main/2154/

Co-authored-by: apmmachine <infra-root+apmmachine@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-03-13 10:40:52 +01:00
Kibana Machine
fd217a39fa
[8.7] [Response Ops][Alerting] Delete unrecognized tasks when enabling a rule (#152975) (#153152)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Response Ops][Alerting] Delete `unrecognized` tasks when enabling a
rule (#152975)](https://github.com/elastic/kibana/pull/152975)

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

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

<!--BACKPORT [{"author":{"name":"Ying
Mao","email":"ying.mao@elastic.co"},"sourceCommit":{"committedDate":"2023-03-11T03:22:19Z","message":"[Response
Ops][Alerting] Delete `unrecognized` tasks when enabling a rule
(#152975)","sha":"c875a284af465287dd3ba49b431086d4befac0e4","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Feature:Alerting","Team:ResponseOps","v8.7.0","v8.8.0"],"number":152975,"url":"https://github.com/elastic/kibana/pull/152975","mergeCommit":{"message":"[Response
Ops][Alerting] Delete `unrecognized` tasks when enabling a rule
(#152975)","sha":"c875a284af465287dd3ba49b431086d4befac0e4"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152975","number":152975,"mergeCommit":{"message":"[Response
Ops][Alerting] Delete `unrecognized` tasks when enabling a rule
(#152975)","sha":"c875a284af465287dd3ba49b431086d4befac0e4"}}]}]
BACKPORT-->

Co-authored-by: Ying Mao <ying.mao@elastic.co>
2023-03-10 22:12:52 -07:00
Kibana Machine
871292e1b1
[8.7] [Security Solution] Fix exporting all rules (#152900) (#153121)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution] Fix exporting all rules
(#152900)](https://github.com/elastic/kibana/pull/152900)

<!--- 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-03-10T17:23:48Z","message":"[Security
Solution] Fix exporting all rules (#152900)\n\n**Relates to:**
https://github.com/elastic/security-team/issues/5339,
https://github.com/elastic/kibana/pull/150097,
https://github.com/elastic/kibana/pull/150553\r\n\r\n##
Summary\r\n\r\nThis PR fixes all rules exporting functionality which
started exporting unintentionally runtime fields like
`execution_summary`. This way it lead to inability to import just
exported rules if as minimum one of them executed just once.\r\n\r\nOn
top of this the PR contains functional and Cypress tests to cover the
fix.\r\n\r\n## TODO\r\n\r\n- [ ] get rid of `await
waitForEventLogExecuteComplete()` in functional tests\r\n- [ ] allow
`getNewRule()` to rewrite its defaults\r\n\r\n### Checklist\r\n\r\n- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials\r\n- [x]
[Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common
scenarios","sha":"6b62ae2adfead5ece8b47c0909ab58c67f3f1adb","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Detections
and Resp","Team: SecuritySolution","Team:Detection
Rules","backport:prev-minor","Feature:Rule
Import/Export","v8.8.0"],"number":152900,"url":"https://github.com/elastic/kibana/pull/152900","mergeCommit":{"message":"[Security
Solution] Fix exporting all rules (#152900)\n\n**Relates to:**
https://github.com/elastic/security-team/issues/5339,
https://github.com/elastic/kibana/pull/150097,
https://github.com/elastic/kibana/pull/150553\r\n\r\n##
Summary\r\n\r\nThis PR fixes all rules exporting functionality which
started exporting unintentionally runtime fields like
`execution_summary`. This way it lead to inability to import just
exported rules if as minimum one of them executed just once.\r\n\r\nOn
top of this the PR contains functional and Cypress tests to cover the
fix.\r\n\r\n## TODO\r\n\r\n- [ ] get rid of `await
waitForEventLogExecuteComplete()` in functional tests\r\n- [ ] allow
`getNewRule()` to rewrite its defaults\r\n\r\n### Checklist\r\n\r\n- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials\r\n- [x]
[Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common
scenarios","sha":"6b62ae2adfead5ece8b47c0909ab58c67f3f1adb"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152900","number":152900,"mergeCommit":{"message":"[Security
Solution] Fix exporting all rules (#152900)\n\n**Relates to:**
https://github.com/elastic/security-team/issues/5339,
https://github.com/elastic/kibana/pull/150097,
https://github.com/elastic/kibana/pull/150553\r\n\r\n##
Summary\r\n\r\nThis PR fixes all rules exporting functionality which
started exporting unintentionally runtime fields like
`execution_summary`. This way it lead to inability to import just
exported rules if as minimum one of them executed just once.\r\n\r\nOn
top of this the PR contains functional and Cypress tests to cover the
fix.\r\n\r\n## TODO\r\n\r\n- [ ] get rid of `await
waitForEventLogExecuteComplete()` in functional tests\r\n- [ ] allow
`getNewRule()` to rewrite its defaults\r\n\r\n### Checklist\r\n\r\n- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials\r\n- [x]
[Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common
scenarios","sha":"6b62ae2adfead5ece8b47c0909ab58c67f3f1adb"}}]}]
BACKPORT-->

Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
2023-03-10 12:12:10 -07:00
Kibana Machine
1fb68a188f
[8.7] [ML] AIOps: Fix use full data button when time range returns null. (#152889) (#153114)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[ML] AIOps: Fix use full data button when time range returns null.
(#152889)](https://github.com/elastic/kibana/pull/152889)

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

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

<!--BACKPORT [{"author":{"name":"Walter
Rafelsberger","email":"walter.rafelsberger@elastic.co"},"sourceCommit":{"committedDate":"2023-03-10T15:58:05Z","message":"[ML]
AIOps: Fix use full data button when time range returns null.
(#152889)\n\nIn certain cases the endpoint to get the full date range
may return `{\r\nstart: null, end: null }`, for example when querying
against a\r\nfrozen-only index but with the option enabled to exclude
the frozen\r\ntier. In AIOps we added a callback to push that
information to the URL's\r\nglobal state but that would corrupt then the
global state with the page\r\ncrashing.\r\n\r\nThis PR fixes it with an
update to `setFullTimeRange`. The function will\r\nnow only return the
time range if it's fully populated. After that,
the\r\n`FullTimeRangeSelector` component will only call the callback if
it\r\nreceives such a time range and will skip the callback
if\r\n`setFullTimeRange` returned `undefined`.\r\n\r\nJest unit tests
for `setFullTimeRange` and `FullTimeRangeSelector` have\r\nbeen
updated/created to cover both cases with populated time ranges
and\r\nwithout.","sha":"74fb6b0928196a1eea7d84bf3fe1c0c381544f6f","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","regression",":ml","release_note:skip","v8.7.0","v8.8.0"],"number":152889,"url":"https://github.com/elastic/kibana/pull/152889","mergeCommit":{"message":"[ML]
AIOps: Fix use full data button when time range returns null.
(#152889)\n\nIn certain cases the endpoint to get the full date range
may return `{\r\nstart: null, end: null }`, for example when querying
against a\r\nfrozen-only index but with the option enabled to exclude
the frozen\r\ntier. In AIOps we added a callback to push that
information to the URL's\r\nglobal state but that would corrupt then the
global state with the page\r\ncrashing.\r\n\r\nThis PR fixes it with an
update to `setFullTimeRange`. The function will\r\nnow only return the
time range if it's fully populated. After that,
the\r\n`FullTimeRangeSelector` component will only call the callback if
it\r\nreceives such a time range and will skip the callback
if\r\n`setFullTimeRange` returned `undefined`.\r\n\r\nJest unit tests
for `setFullTimeRange` and `FullTimeRangeSelector` have\r\nbeen
updated/created to cover both cases with populated time ranges
and\r\nwithout.","sha":"74fb6b0928196a1eea7d84bf3fe1c0c381544f6f"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152889","number":152889,"mergeCommit":{"message":"[ML]
AIOps: Fix use full data button when time range returns null.
(#152889)\n\nIn certain cases the endpoint to get the full date range
may return `{\r\nstart: null, end: null }`, for example when querying
against a\r\nfrozen-only index but with the option enabled to exclude
the frozen\r\ntier. In AIOps we added a callback to push that
information to the URL's\r\nglobal state but that would corrupt then the
global state with the page\r\ncrashing.\r\n\r\nThis PR fixes it with an
update to `setFullTimeRange`. The function will\r\nnow only return the
time range if it's fully populated. After that,
the\r\n`FullTimeRangeSelector` component will only call the callback if
it\r\nreceives such a time range and will skip the callback
if\r\n`setFullTimeRange` returned `undefined`.\r\n\r\nJest unit tests
for `setFullTimeRange` and `FullTimeRangeSelector` have\r\nbeen
updated/created to cover both cases with populated time ranges
and\r\nwithout.","sha":"74fb6b0928196a1eea7d84bf3fe1c0c381544f6f"}}]}]
BACKPORT-->

Co-authored-by: Walter Rafelsberger <walter.rafelsberger@elastic.co>
2023-03-10 10:10:02 -07:00
Kibana Machine
ba51fe0a5a
[8.7] [scalability testing] get the correct Gatling report (#153089) (#153102)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[scalability testing] get the correct Gatling report
(#153089)](https://github.com/elastic/kibana/pull/153089)

<!--- 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-03-10T12:55:34Z","message":"[scalability
testing] get the correct Gatling report (#153089)\n\n##
Summary\r\n\r\nAdjusting the logic to pick the correct Gatling report
after run:\r\n\r\nIt turns out `startWith` was picking the wrong report
since 2 api\r\njourney names match the
pattern:\r\n\r\n\r\n`api.telemetry.cluster_stats.no_cache.json`\r\n`api.telemetry.cluster_stats.no_cache.1600_dataviews.json`\r\n\r\nThis
PR fixes the issue, so that we report to Telemetry stats for
the\r\ncorrect journey.\r\n\r\nTesting
here\r\nhttps://buildkite.com/elastic/kibana-apis-capacity-testing/builds/450\r\n\r\n---------\r\n\r\nCo-authored-by:
Tre' <wayne.seymour@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"aa1037f958f8e4a1195d12a33054c56f42eea08d","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.8.0","v8.6.3","v8.7.1"],"number":153089,"url":"https://github.com/elastic/kibana/pull/153089","mergeCommit":{"message":"[scalability
testing] get the correct Gatling report (#153089)\n\n##
Summary\r\n\r\nAdjusting the logic to pick the correct Gatling report
after run:\r\n\r\nIt turns out `startWith` was picking the wrong report
since 2 api\r\njourney names match the
pattern:\r\n\r\n\r\n`api.telemetry.cluster_stats.no_cache.json`\r\n`api.telemetry.cluster_stats.no_cache.1600_dataviews.json`\r\n\r\nThis
PR fixes the issue, so that we report to Telemetry stats for
the\r\ncorrect journey.\r\n\r\nTesting
here\r\nhttps://buildkite.com/elastic/kibana-apis-capacity-testing/builds/450\r\n\r\n---------\r\n\r\nCo-authored-by:
Tre' <wayne.seymour@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"aa1037f958f8e4a1195d12a33054c56f42eea08d"}},"sourceBranch":"main","suggestedTargetBranches":["8.6","8.7"],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/153089","number":153089,"mergeCommit":{"message":"[scalability
testing] get the correct Gatling report (#153089)\n\n##
Summary\r\n\r\nAdjusting the logic to pick the correct Gatling report
after run:\r\n\r\nIt turns out `startWith` was picking the wrong report
since 2 api\r\njourney names match the
pattern:\r\n\r\n\r\n`api.telemetry.cluster_stats.no_cache.json`\r\n`api.telemetry.cluster_stats.no_cache.1600_dataviews.json`\r\n\r\nThis
PR fixes the issue, so that we report to Telemetry stats for
the\r\ncorrect journey.\r\n\r\nTesting
here\r\nhttps://buildkite.com/elastic/kibana-apis-capacity-testing/builds/450\r\n\r\n---------\r\n\r\nCo-authored-by:
Tre' <wayne.seymour@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"aa1037f958f8e4a1195d12a33054c56f42eea08d"}},{"branch":"8.6","label":"v8.6.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.7","label":"v8.7.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2023-03-10 06:51:02 -07:00
Marco Liberati
ae38c63cce
[8.7] [Lens][Embeddable] Reset removable error list on search/context update (#152489) (#152815)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Lens][Embeddable] Reset removable error list on search/context
update (#152489)](https://github.com/elastic/kibana/pull/152489)

<!--- 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-03-02T17:39:19Z","message":"[Lens][Embeddable]
Reset removable error list on search/context update (#152489)\n\n##
Summary\r\n\r\nFixes #152405 \r\n\r\nThis PR tracks search/context
updates and resets the \"removable\" error\r\nlist generated on first
evaluation.\r\nWhile fixing the bug I've noticed that Discover (via
unified histogram)\r\nand Dashboard update the search context with two
different approaches.\r\nThe fix acts at two distinct level and I've
added functional tests to\r\nverify it is working in both
scenarios.\r\n\r\n\r\n![embeddable_error_bug](https://user-images.githubusercontent.com/924948/222221617-e12ee59b-a85f-408c-8a9d-46ad263affec.gif)\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":"7c71786ff9537995aa79256c34a7e47c37ea3993","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","Feature:Lens","backport:prev-minor","v8.7.0","v8.8.0"],"number":152489,"url":"https://github.com/elastic/kibana/pull/152489","mergeCommit":{"message":"[Lens][Embeddable]
Reset removable error list on search/context update (#152489)\n\n##
Summary\r\n\r\nFixes #152405 \r\n\r\nThis PR tracks search/context
updates and resets the \"removable\" error\r\nlist generated on first
evaluation.\r\nWhile fixing the bug I've noticed that Discover (via
unified histogram)\r\nand Dashboard update the search context with two
different approaches.\r\nThe fix acts at two distinct level and I've
added functional tests to\r\nverify it is working in both
scenarios.\r\n\r\n\r\n![embeddable_error_bug](https://user-images.githubusercontent.com/924948/222221617-e12ee59b-a85f-408c-8a9d-46ad263affec.gif)\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":"7c71786ff9537995aa79256c34a7e47c37ea3993"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152489","number":152489,"mergeCommit":{"message":"[Lens][Embeddable]
Reset removable error list on search/context update (#152489)\n\n##
Summary\r\n\r\nFixes #152405 \r\n\r\nThis PR tracks search/context
updates and resets the \"removable\" error\r\nlist generated on first
evaluation.\r\nWhile fixing the bug I've noticed that Discover (via
unified histogram)\r\nand Dashboard update the search context with two
different approaches.\r\nThe fix acts at two distinct level and I've
added functional tests to\r\nverify it is working in both
scenarios.\r\n\r\n\r\n![embeddable_error_bug](https://user-images.githubusercontent.com/924948/222221617-e12ee59b-a85f-408c-8a9d-46ad263affec.gif)\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":"7c71786ff9537995aa79256c34a7e47c37ea3993"}}]}]
BACKPORT-->
2023-03-10 02:19:30 -07:00
Kibana Machine
bd52122788
[8.7] [timelion] Fix glob path on windows (#152866) (#153062)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[timelion] Fix glob path on windows
(#152866)](https://github.com/elastic/kibana/pull/152866)

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

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2023-03-09T21:39:05Z","message":"[timelion]
Fix glob path on windows (#152866)\n\nFixes a bug introduced in #138571.
Paths need to be normalized before\r\nbeing passed to our current
version of globby.\r\n\r\nCloses
#150396","sha":"f134d2e44cb936f67f691895a0450529883b71e5","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Visualizations","ci:build-all-platforms","backport:prev-minor","v8.8.0"],"number":152866,"url":"https://github.com/elastic/kibana/pull/152866","mergeCommit":{"message":"[timelion]
Fix glob path on windows (#152866)\n\nFixes a bug introduced in #138571.
Paths need to be normalized before\r\nbeing passed to our current
version of globby.\r\n\r\nCloses
#150396","sha":"f134d2e44cb936f67f691895a0450529883b71e5"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152866","number":152866,"mergeCommit":{"message":"[timelion]
Fix glob path on windows (#152866)\n\nFixes a bug introduced in #138571.
Paths need to be normalized before\r\nbeing passed to our current
version of globby.\r\n\r\nCloses
#150396","sha":"f134d2e44cb936f67f691895a0450529883b71e5"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
2023-03-09 15:51:05 -07:00
Kibana Machine
5a854c6357
[8.7] [Vega] Upgrade to 5.24.0 (#152984) (#153055)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Vega] Upgrade to 5.24.0
(#152984)](https://github.com/elastic/kibana/pull/152984)

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

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

<!--BACKPORT [{"author":{"name":"Stratoula
Kalafateli","email":"efstratia.kalafateli@elastic.co"},"sourceCommit":{"committedDate":"2023-03-09T18:56:57Z","message":"[Vega]
Upgrade to 5.24.0
(#152984)","sha":"32bac8e920f3cfe27e60523c5e9795e92d677aa9","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Vega","Team:Visualizations","release_note:skip","backport:prev-minor","ci:build-storybooks","v8.7.0","v8.8.0"],"number":152984,"url":"https://github.com/elastic/kibana/pull/152984","mergeCommit":{"message":"[Vega]
Upgrade to 5.24.0
(#152984)","sha":"32bac8e920f3cfe27e60523c5e9795e92d677aa9"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152984","number":152984,"mergeCommit":{"message":"[Vega]
Upgrade to 5.24.0
(#152984)","sha":"32bac8e920f3cfe27e60523c5e9795e92d677aa9"}}]}]
BACKPORT-->

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2023-03-09 13:10:44 -07:00
Christiane (Tina) Heiligers
6e8c4f5c3d
[8.7] Only log deprecation warnings for calls to Saved Objects routes from non-kibana request (#152971) (#153053)
# Backport

This will backport the following commits from `main` to `8.7`:
- [Only log deprecation warnings for calls to Saved Objects routes from
non-kibana request
(#152971)](https://github.com/elastic/kibana/pull/152971)

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

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

<!--BACKPORT [{"author":{"name":"Christiane (Tina)
Heiligers","email":"christiane.heiligers@elastic.co"},"sourceCommit":{"committedDate":"2023-03-09T17:23:21Z","message":"Only
log deprecation warnings for calls to Saved Objects routes from
non-kibana request (#152971)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"e37e83428abe9bb8971419672969bcaa9db9918e","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","Feature:Saved
Objects","release_note:skip","backport:prev-minor","v8.8.0"],"number":152971,"url":"https://github.com/elastic/kibana/pull/152971","mergeCommit":{"message":"Only
log deprecation warnings for calls to Saved Objects routes from
non-kibana request (#152971)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"e37e83428abe9bb8971419672969bcaa9db9918e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152971","number":152971,"mergeCommit":{"message":"Only
log deprecation warnings for calls to Saved Objects routes from
non-kibana request (#152971)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"e37e83428abe9bb8971419672969bcaa9db9918e"}}]}]
BACKPORT-->
2023-03-09 13:07:11 -07:00
Drew Tate
ac4f4e5e6a
[8.7] [Lens] better support for user messages on embeddable (#149458) (#153041)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Lens] better support for user messages on embeddable
(#149458)](https://github.com/elastic/kibana/pull/149458)

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

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

<!--BACKPORT [{"author":{"name":"Drew
Tate","email":"drew.tate@elastic.co"},"sourceCommit":{"committedDate":"2023-02-15T14:23:59Z","message":"[Lens]
better support for user messages on embeddable
(#149458)","sha":"24efb8597e8ed598f930373a32238e4b54c7309c","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","Feature:Lens","backport:prev-minor","v8.8.0"],"number":149458,"url":"https://github.com/elastic/kibana/pull/149458","mergeCommit":{"message":"[Lens]
better support for user messages on embeddable
(#149458)","sha":"24efb8597e8ed598f930373a32238e4b54c7309c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149458","number":149458,"mergeCommit":{"message":"[Lens]
better support for user messages on embeddable
(#149458)","sha":"24efb8597e8ed598f930373a32238e4b54c7309c"}}]}]
BACKPORT-->
2023-03-09 11:04:04 -07:00
Kibana Machine
17e1a1ebb9
[8.7] [Lens] better support for user messages on embeddable (#149458) (#153043)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Lens] better support for user messages on embeddable
(#149458)](https://github.com/elastic/kibana/pull/149458)

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

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

<!--BACKPORT [{"author":{"name":"Drew
Tate","email":"drew.tate@elastic.co"},"sourceCommit":{"committedDate":"2023-02-15T14:23:59Z","message":"[Lens]
better support for user messages on embeddable
(#149458)","sha":"24efb8597e8ed598f930373a32238e4b54c7309c","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","Feature:Lens","backport:prev-minor","v8.8.0"],"number":149458,"url":"https://github.com/elastic/kibana/pull/149458","mergeCommit":{"message":"[Lens]
better support for user messages on embeddable
(#149458)","sha":"24efb8597e8ed598f930373a32238e4b54c7309c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149458","number":149458,"mergeCommit":{"message":"[Lens]
better support for user messages on embeddable
(#149458)","sha":"24efb8597e8ed598f930373a32238e4b54c7309c"}}]}]
BACKPORT-->

Co-authored-by: Drew Tate <drew.tate@elastic.co>
2023-03-09 11:03:13 -07:00
Kibana Machine
f484f21039
[8.7] [Threat Intelligence] Catch errors in runtime fields name mapping (#152937) (#153027)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Threat Intelligence] Catch errors in runtime fields name mapping
(#152937)](https://github.com/elastic/kibana/pull/152937)

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

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

<!--BACKPORT [{"author":{"name":"Luke
G","email":"11671118+lgestc@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-09T15:35:39Z","message":"[Threat
Intelligence] Catch errors in runtime fields name mapping
(#152937)\n\n## Summary\r\n\r\nThis should solve
https://github.com/elastic/kibana/issues/152824,\r\nthe date issue is a
problem with the mapping.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a54c12c69d2b210e9cb4a5820b43dc9ea4506445","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:
Protections
Experience","v8.7.0","v8.8.0"],"number":152937,"url":"https://github.com/elastic/kibana/pull/152937","mergeCommit":{"message":"[Threat
Intelligence] Catch errors in runtime fields name mapping
(#152937)\n\n## Summary\r\n\r\nThis should solve
https://github.com/elastic/kibana/issues/152824,\r\nthe date issue is a
problem with the mapping.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a54c12c69d2b210e9cb4a5820b43dc9ea4506445"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152937","number":152937,"mergeCommit":{"message":"[Threat
Intelligence] Catch errors in runtime fields name mapping
(#152937)\n\n## Summary\r\n\r\nThis should solve
https://github.com/elastic/kibana/issues/152824,\r\nthe date issue is a
problem with the mapping.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a54c12c69d2b210e9cb4a5820b43dc9ea4506445"}}]}]
BACKPORT-->

Co-authored-by: Luke G <11671118+lgestc@users.noreply.github.com>
2023-03-09 09:47:44 -07:00
Kibana Machine
6041f29268
[8.7] [Infrastructure UI] Simplify unified search usage (#152579) (#153028)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Infrastructure UI] Simplify unified search usage
(#152579)](https://github.com/elastic/kibana/pull/152579)

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

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

<!--BACKPORT [{"author":{"name":"Carlos
Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-09T15:33:59Z","message":"[Infrastructure
UI] Simplify unified search usage (#152579)\n\n## Summary\r\n\r\ncloses
[152574](https://github.com/elastic/kibana/issues/152574)\r\nfixes
[144970](https://github.com/elastic/kibana/issues/144970)\r\n(partially)\r\nfixes
[152546](https://github.com/elastic/kibana/issues/152546)\r\n\r\nThis PR
simplifies how unified search is used in the Hosts View, by\r\nusing the
SearchBar default behaviors and subscribing to its
services\r\nobservables instead of using its event
handlers.\r\n\r\nObservables are not the most intuitive approach, but
the `filterManager`\r\nservice observable was already being subscribed
to cover the integration\r\nwith Lens. This PR standardizes it to only
use observables\r\n\r\nBy doing that, some known problems as duplicate
requests when clearing,\r\nsaving, and loading filters were also solved.
I couldn't really split up\r\nthe solution to address each individual
ticket.\r\n\r\n\r\n### How to test\r\n- Navigate to Infrastructure >
Hosts\r\n- Set a filter, query, and date range and confirm if the data
on the\r\npage reflects the search criteria\r\n - Verify if filtering
through Lens charts works\r\n - Save a query (shouldn't trigger any
request)\r\n - Load a saved query (shouldn't make duplicate request)\r\n
- Clear all search criteria (shouldn't make duplicate requests)\r\n -
Copy a URL with filters and open it in another tab\r\n\r\n### Note to
reviewer\r\nThere is still one strange scenario in which clearing all
may or may not\r\nmake duplicate requests:\r\n- Select a filter in the
filter control\r\n- Add a filter in the Unified Search bar\r\n- Save
this filter\r\n- Clear all\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"390300cb91e0c5a6d5e9103c01c227bcd85774e5","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Metrics
UI","Team:Infra Monitoring
UI","release_note:skip","backport:prev-minor","Feature:ObsHosts","v8.8.0"],"number":152579,"url":"https://github.com/elastic/kibana/pull/152579","mergeCommit":{"message":"[Infrastructure
UI] Simplify unified search usage (#152579)\n\n## Summary\r\n\r\ncloses
[152574](https://github.com/elastic/kibana/issues/152574)\r\nfixes
[144970](https://github.com/elastic/kibana/issues/144970)\r\n(partially)\r\nfixes
[152546](https://github.com/elastic/kibana/issues/152546)\r\n\r\nThis PR
simplifies how unified search is used in the Hosts View, by\r\nusing the
SearchBar default behaviors and subscribing to its
services\r\nobservables instead of using its event
handlers.\r\n\r\nObservables are not the most intuitive approach, but
the `filterManager`\r\nservice observable was already being subscribed
to cover the integration\r\nwith Lens. This PR standardizes it to only
use observables\r\n\r\nBy doing that, some known problems as duplicate
requests when clearing,\r\nsaving, and loading filters were also solved.
I couldn't really split up\r\nthe solution to address each individual
ticket.\r\n\r\n\r\n### How to test\r\n- Navigate to Infrastructure >
Hosts\r\n- Set a filter, query, and date range and confirm if the data
on the\r\npage reflects the search criteria\r\n - Verify if filtering
through Lens charts works\r\n - Save a query (shouldn't trigger any
request)\r\n - Load a saved query (shouldn't make duplicate request)\r\n
- Clear all search criteria (shouldn't make duplicate requests)\r\n -
Copy a URL with filters and open it in another tab\r\n\r\n### Note to
reviewer\r\nThere is still one strange scenario in which clearing all
may or may not\r\nmake duplicate requests:\r\n- Select a filter in the
filter control\r\n- Add a filter in the Unified Search bar\r\n- Save
this filter\r\n- Clear all\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"390300cb91e0c5a6d5e9103c01c227bcd85774e5"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152579","number":152579,"mergeCommit":{"message":"[Infrastructure
UI] Simplify unified search usage (#152579)\n\n## Summary\r\n\r\ncloses
[152574](https://github.com/elastic/kibana/issues/152574)\r\nfixes
[144970](https://github.com/elastic/kibana/issues/144970)\r\n(partially)\r\nfixes
[152546](https://github.com/elastic/kibana/issues/152546)\r\n\r\nThis PR
simplifies how unified search is used in the Hosts View, by\r\nusing the
SearchBar default behaviors and subscribing to its
services\r\nobservables instead of using its event
handlers.\r\n\r\nObservables are not the most intuitive approach, but
the `filterManager`\r\nservice observable was already being subscribed
to cover the integration\r\nwith Lens. This PR standardizes it to only
use observables\r\n\r\nBy doing that, some known problems as duplicate
requests when clearing,\r\nsaving, and loading filters were also solved.
I couldn't really split up\r\nthe solution to address each individual
ticket.\r\n\r\n\r\n### How to test\r\n- Navigate to Infrastructure >
Hosts\r\n- Set a filter, query, and date range and confirm if the data
on the\r\npage reflects the search criteria\r\n - Verify if filtering
through Lens charts works\r\n - Save a query (shouldn't trigger any
request)\r\n - Load a saved query (shouldn't make duplicate request)\r\n
- Clear all search criteria (shouldn't make duplicate requests)\r\n -
Copy a URL with filters and open it in another tab\r\n\r\n### Note to
reviewer\r\nThere is still one strange scenario in which clearing all
may or may not\r\nmake duplicate requests:\r\n- Select a filter in the
filter control\r\n- Add a filter in the Unified Search bar\r\n- Save
this filter\r\n- Clear all\r\n\r\n---------\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"390300cb91e0c5a6d5e9103c01c227bcd85774e5"}}]}]
BACKPORT-->

Co-authored-by: Carlos Crespo <crespocarlos@users.noreply.github.com>
2023-03-09 09:45:38 -07:00
Elastic Machine
123be3753c
[8.7] Sync bundled packages with Package Storage (#153004)
Automated by
https://internal-ci.elastic.co/job/package_storage/job/sync-bundled-packages-job/job/main/2138/

Co-authored-by: apmmachine <infra-root+apmmachine@elastic.co>
2023-03-09 07:19:22 -07:00
Carlos Crespo
943b5fceef
[8.7] [Infrastructure UI] Add abort controller to Snapshot API call (#152819) (#152999)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Infrastructure UI] Add abort controller to Snapshot API call
(#152819)](https://github.com/elastic/kibana/pull/152819)

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

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

<!--BACKPORT [{"author":{"name":"Carlos
Crespo","email":"crespocarlos@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-09T09:59:12Z","message":"[Infrastructure
UI] Add abort controller to Snapshot API call (#152819)\n\n##
Summary\r\n\r\nCloses
[152896](https://github.com/elastic/kibana/issues/152896)\r\n\r\nThis PR
adds AbortController to Snapshot API within the Hosts View\r\ncontext,
to cancel pending requests before making new
ones.\r\n\r\n\r\n223694389-e5473956-a290-447c-9561-b5d1b2f1ad1c.mov\r\n\r\n\r\n<br
/>\r\n\r\n**Current
behaviour**\r\n\r\n\r\nhttps://user-images.githubusercontent.com/2767137/223694452-ec9db680-cf49-4a27-bda9-db0fbadaef23.mov\r\n\r\nIt's
not part of this PR solving the problem of possible
sequential\r\nrequests caused by updates in the filter controls. It
works like this,\r\nbecause the filters show contextual options, so it
needs the unified\r\nsearch filters in order to fetch its
content.\r\n\r\n\r\n### How to test it\r\n- Rage click on the unified
search submit button\r\n- Rage click on the filter control options\r\n-
Navigate to a different page while the Hosts View is still waiting
for\r\nthe Snapshot API
response","sha":"75685cc4cea872286a93f253bb9fd5b8b61ed077","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Metrics
UI","Team:Infra Monitoring
UI","release_note:skip","backport:prev-minor","Feature:ObsHosts","v8.8.0"],"number":152819,"url":"https://github.com/elastic/kibana/pull/152819","mergeCommit":{"message":"[Infrastructure
UI] Add abort controller to Snapshot API call (#152819)\n\n##
Summary\r\n\r\nCloses
[152896](https://github.com/elastic/kibana/issues/152896)\r\n\r\nThis PR
adds AbortController to Snapshot API within the Hosts View\r\ncontext,
to cancel pending requests before making new
ones.\r\n\r\n\r\n223694389-e5473956-a290-447c-9561-b5d1b2f1ad1c.mov\r\n\r\n\r\n<br
/>\r\n\r\n**Current
behaviour**\r\n\r\n\r\nhttps://user-images.githubusercontent.com/2767137/223694452-ec9db680-cf49-4a27-bda9-db0fbadaef23.mov\r\n\r\nIt's
not part of this PR solving the problem of possible
sequential\r\nrequests caused by updates in the filter controls. It
works like this,\r\nbecause the filters show contextual options, so it
needs the unified\r\nsearch filters in order to fetch its
content.\r\n\r\n\r\n### How to test it\r\n- Rage click on the unified
search submit button\r\n- Rage click on the filter control options\r\n-
Navigate to a different page while the Hosts View is still waiting
for\r\nthe Snapshot API
response","sha":"75685cc4cea872286a93f253bb9fd5b8b61ed077"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152819","number":152819,"mergeCommit":{"message":"[Infrastructure
UI] Add abort controller to Snapshot API call (#152819)\n\n##
Summary\r\n\r\nCloses
[152896](https://github.com/elastic/kibana/issues/152896)\r\n\r\nThis PR
adds AbortController to Snapshot API within the Hosts View\r\ncontext,
to cancel pending requests before making new
ones.\r\n\r\n\r\n223694389-e5473956-a290-447c-9561-b5d1b2f1ad1c.mov\r\n\r\n\r\n<br
/>\r\n\r\n**Current
behaviour**\r\n\r\n\r\nhttps://user-images.githubusercontent.com/2767137/223694452-ec9db680-cf49-4a27-bda9-db0fbadaef23.mov\r\n\r\nIt's
not part of this PR solving the problem of possible
sequential\r\nrequests caused by updates in the filter controls. It
works like this,\r\nbecause the filters show contextual options, so it
needs the unified\r\nsearch filters in order to fetch its
content.\r\n\r\n\r\n### How to test it\r\n- Rage click on the unified
search submit button\r\n- Rage click on the filter control options\r\n-
Navigate to a different page while the Hosts View is still waiting
for\r\nthe Snapshot API
response","sha":"75685cc4cea872286a93f253bb9fd5b8b61ed077"}}]}]
BACKPORT-->
2023-03-09 14:43:34 +01:00
Kibana Machine
c5b5c418ed
[8.7] [Security Solution][Exceptions] - Fix exception list description bug (#152391) (#152976)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution][Exceptions] - Fix exception list description bug
(#152391)](https://github.com/elastic/kibana/pull/152391)

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

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

<!--BACKPORT [{"author":{"name":"Yara
Tercero","email":"yctercero@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-09T05:29:08Z","message":"[Security
Solution][Exceptions] - Fix exception list description bug
(#152391)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/147338","sha":"c072f8ebf6cc325a24a8c9a290a4b3d20a100d9f","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:
SecuritySolution","Feature:Rule Exceptions","Team:Security Solution
Platform","backport:prev-minor","v8.8.0","v8.7.1"],"number":152391,"url":"https://github.com/elastic/kibana/pull/152391","mergeCommit":{"message":"[Security
Solution][Exceptions] - Fix exception list description bug
(#152391)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/147338","sha":"c072f8ebf6cc325a24a8c9a290a4b3d20a100d9f"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152391","number":152391,"mergeCommit":{"message":"[Security
Solution][Exceptions] - Fix exception list description bug
(#152391)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/147338","sha":"c072f8ebf6cc325a24a8c9a290a4b3d20a100d9f"}},{"branch":"8.7","label":"v8.7.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2023-03-09 00:15:55 -07:00
Kibana Machine
8addcf4e37
[8.7] [Synthetics] Do not navigate away from cru before saving or cancelling changes (#152610) (#152965)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Synthetics] Do not navigate away from cru before saving or
cancelling changes
(#152610)](https://github.com/elastic/kibana/pull/152610)

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

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

<!--BACKPORT [{"author":{"name":"Justin
Kambic","email":"jk@elastic.co"},"sourceCommit":{"committedDate":"2023-03-08T21:03:52Z","message":"[Synthetics]
Do not navigate away from cru before saving or cancelling changes
(#152610)\n\n## Summary\r\n\r\nResolves #152608.\r\n\r\nOpens run once
stats in a new tab when we're on the create/edit page.\r\nThis way if
the user clicks through, they don't lose their config inputs\r\nfrom the
form.\r\n\r\n## Testing\r\n\r\n### Create\r\n\r\n1. Add Monitor\r\n2.
Define a step\r\n3. Test the step using the test button at the
bottom\r\n4. Click the detail link in your step's row of the table\r\n5.
See that a separate tab/window opens instead of navigating from
the\r\nexisting page\r\n6. Close the detail page, save your
monitor\r\n\r\n### Edit\r\n\r\n1. Edit the monitor you created
above\r\n2. Ensure the same flow from _Create_ works\r\n\r\nRefer to the
GIF below for more
info\r\n\r\n\r\n![20230302140434](https://user-images.githubusercontent.com/18429259/222527423-508700b4-d775-4dc7-a762-ee1223bfd63a.gif)","sha":"9409550b0a35b3ba179657db76324b8facb6fb19","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Team:uptime","release_note:skip","v8.7.0","v8.8.0"],"number":152610,"url":"https://github.com/elastic/kibana/pull/152610","mergeCommit":{"message":"[Synthetics]
Do not navigate away from cru before saving or cancelling changes
(#152610)\n\n## Summary\r\n\r\nResolves #152608.\r\n\r\nOpens run once
stats in a new tab when we're on the create/edit page.\r\nThis way if
the user clicks through, they don't lose their config inputs\r\nfrom the
form.\r\n\r\n## Testing\r\n\r\n### Create\r\n\r\n1. Add Monitor\r\n2.
Define a step\r\n3. Test the step using the test button at the
bottom\r\n4. Click the detail link in your step's row of the table\r\n5.
See that a separate tab/window opens instead of navigating from
the\r\nexisting page\r\n6. Close the detail page, save your
monitor\r\n\r\n### Edit\r\n\r\n1. Edit the monitor you created
above\r\n2. Ensure the same flow from _Create_ works\r\n\r\nRefer to the
GIF below for more
info\r\n\r\n\r\n![20230302140434](https://user-images.githubusercontent.com/18429259/222527423-508700b4-d775-4dc7-a762-ee1223bfd63a.gif)","sha":"9409550b0a35b3ba179657db76324b8facb6fb19"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152610","number":152610,"mergeCommit":{"message":"[Synthetics]
Do not navigate away from cru before saving or cancelling changes
(#152610)\n\n## Summary\r\n\r\nResolves #152608.\r\n\r\nOpens run once
stats in a new tab when we're on the create/edit page.\r\nThis way if
the user clicks through, they don't lose their config inputs\r\nfrom the
form.\r\n\r\n## Testing\r\n\r\n### Create\r\n\r\n1. Add Monitor\r\n2.
Define a step\r\n3. Test the step using the test button at the
bottom\r\n4. Click the detail link in your step's row of the table\r\n5.
See that a separate tab/window opens instead of navigating from
the\r\nexisting page\r\n6. Close the detail page, save your
monitor\r\n\r\n### Edit\r\n\r\n1. Edit the monitor you created
above\r\n2. Ensure the same flow from _Create_ works\r\n\r\nRefer to the
GIF below for more
info\r\n\r\n\r\n![20230302140434](https://user-images.githubusercontent.com/18429259/222527423-508700b4-d775-4dc7-a762-ee1223bfd63a.gif)","sha":"9409550b0a35b3ba179657db76324b8facb6fb19"}}]}]
BACKPORT-->

Co-authored-by: Justin Kambic <jk@elastic.co>
2023-03-08 15:39:00 -07:00
Kibana Machine
e339cb85f5
[8.7] [DOCS] 8.7 Presentation docs (#151797) (#152967)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[DOCS] 8.7 Presentation docs
(#151797)](https://github.com/elastic/kibana/pull/151797)

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

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

<!--BACKPORT [{"author":{"name":"Kaarina
Tungseth","email":"kaarina.tungseth@elastic.co"},"sourceCommit":{"committedDate":"2023-03-08T22:09:43Z","message":"[DOCS]
8.7 Presentation docs (#151797)\n\n## Summary\r\n\r\n- #148331:
[Updated\r\nscreenshots](https://kibana_151797.docs-preview.app.elstc.co/guide/en/kibana/master/add-controls.html)\r\n-
#146335:\r\n[Docs](https://kibana_151797.docs-preview.app.elstc.co/guide/en/kibana/master/dashboard.html#search-or-filter-your-data)\r\n-
#146363:\r\n[Docs](https://kibana_151797.docs-preview.app.elstc.co/guide/en/kibana/master/dashboard.html#edit-panels)\r\n-
#144867:\r\n[Docs](https://kibana_151797.docs-preview.app.elstc.co/guide/en/kibana/master/add-controls.html#edit-controls)","sha":"e57883f3be8772c39cce0b6901a19f3aaf55d2d3","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","Team:Presentation","release_note:skip","v8.7.0","v8.8.0"],"number":151797,"url":"https://github.com/elastic/kibana/pull/151797","mergeCommit":{"message":"[DOCS]
8.7 Presentation docs (#151797)\n\n## Summary\r\n\r\n- #148331:
[Updated\r\nscreenshots](https://kibana_151797.docs-preview.app.elstc.co/guide/en/kibana/master/add-controls.html)\r\n-
#146335:\r\n[Docs](https://kibana_151797.docs-preview.app.elstc.co/guide/en/kibana/master/dashboard.html#search-or-filter-your-data)\r\n-
#146363:\r\n[Docs](https://kibana_151797.docs-preview.app.elstc.co/guide/en/kibana/master/dashboard.html#edit-panels)\r\n-
#144867:\r\n[Docs](https://kibana_151797.docs-preview.app.elstc.co/guide/en/kibana/master/add-controls.html#edit-controls)","sha":"e57883f3be8772c39cce0b6901a19f3aaf55d2d3"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/151797","number":151797,"mergeCommit":{"message":"[DOCS]
8.7 Presentation docs (#151797)\n\n## Summary\r\n\r\n- #148331:
[Updated\r\nscreenshots](https://kibana_151797.docs-preview.app.elstc.co/guide/en/kibana/master/add-controls.html)\r\n-
#146335:\r\n[Docs](https://kibana_151797.docs-preview.app.elstc.co/guide/en/kibana/master/dashboard.html#search-or-filter-your-data)\r\n-
#146363:\r\n[Docs](https://kibana_151797.docs-preview.app.elstc.co/guide/en/kibana/master/dashboard.html#edit-panels)\r\n-
#144867:\r\n[Docs](https://kibana_151797.docs-preview.app.elstc.co/guide/en/kibana/master/add-controls.html#edit-controls)","sha":"e57883f3be8772c39cce0b6901a19f3aaf55d2d3"}}]}]
BACKPORT-->

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2023-03-08 17:28:34 -05:00
Cauê Marcondes
941c496a0b
[8.7] [Stacktraces] Syncing color in the main chart and in the subchart (#152832) (#152948)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Stacktraces] Syncing color in the main chart and in the subchart
(#152832)](https://github.com/elastic/kibana/pull/152832)

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

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

<!--BACKPORT [{"author":{"name":"Cauê
Marcondes","email":"55978943+cauemarcondes@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-08T13:54:05Z","message":"[Stacktraces]
Syncing color in the main chart and in the subchart (#152832)\n\ncloses
223480200-036f8d2c-5c08-48cc-a205-47ae1eb8e803.mov\r\n\r\nI
also refactored the components a bit and wrote a unit
test.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8b6611943188777ef59d3eae032d79f0b3d91b01","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v8.7.0","v8.8.0"],"number":152832,"url":"https://github.com/elastic/kibana/pull/152832","mergeCommit":{"message":"[Stacktraces]
Syncing color in the main chart and in the subchart (#152832)\n\ncloses
223480200-036f8d2c-5c08-48cc-a205-47ae1eb8e803.mov\r\n\r\nI
also refactored the components a bit and wrote a unit
test.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8b6611943188777ef59d3eae032d79f0b3d91b01"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152832","number":152832,"mergeCommit":{"message":"[Stacktraces]
Syncing color in the main chart and in the subchart (#152832)\n\ncloses
223480200-036f8d2c-5c08-48cc-a205-47ae1eb8e803.mov\r\n\r\nI
also refactored the components a bit and wrote a unit
test.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8b6611943188777ef59d3eae032d79f0b3d91b01"}}]}]
BACKPORT-->

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-03-08 14:08:28 -07:00
Michael Olorunnisola
486711c257
[Security Solution][Resolver/Analyzer] - Unskip tests (#152942)
## Summary

This PR unskips 3 resolver test suites that were failing due to issues
in the registering of the endpoint package. It looks like these issues
were fixed by: https://github.com/elastic/kibana/pull/152867 . Thanks
@joeypoon!

Flaky test run:


https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1998
(200x )

Skip references:

closes https://github.com/elastic/kibana/issues/151604
closes https://github.com/elastic/kibana/issues/150799
closes https://github.com/elastic/kibana/issues/150815

Additional failing test references:

closes https://github.com/elastic/kibana/issues/150814
closes https://github.com/elastic/kibana/issues/150813
closes https://github.com/elastic/kibana/issues/150812
closes https://github.com/elastic/kibana/issues/150811
closes https://github.com/elastic/kibana/issues/150810
closes https://github.com/elastic/kibana/issues/150809
closes https://github.com/elastic/kibana/issues/150808
closes https://github.com/elastic/kibana/issues/150807
closes https://github.com/elastic/kibana/issues/150806
closes https://github.com/elastic/kibana/issues/150805
closes https://github.com/elastic/kibana/issues/150804
closes https://github.com/elastic/kibana/issues/150803
closes https://github.com/elastic/kibana/issues/150802
closes https://github.com/elastic/kibana/issues/150801
closes https://github.com/elastic/kibana/issues/150800
closes https://github.com/elastic/kibana/issues/150798
closes https://github.com/elastic/kibana/issues/150797
closes https://github.com/elastic/kibana/issues/150796
2023-03-08 14:36:07 -05:00
Kibana Machine
9fcd6582a2
[8.7] Revert "Upgrade vega dependency (5.22.15.23.0)." (#152906) (#152946)
# Backport

This will backport the following commits from `main` to `8.7`:
- [Revert "Upgrade `vega` dependency (`5.22.1` → `5.23.0`)."
(#152906)](https://github.com/elastic/kibana/pull/152906)

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

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

<!--BACKPORT [{"author":{"name":"Drew
Tate","email":"drew.tate@elastic.co"},"sourceCommit":{"committedDate":"2023-03-08T18:02:22Z","message":"Revert
\"Upgrade `vega` dependency (`5.22.1` → `5.23.0`).\"
(#152906)","sha":"5ab7d464f23c1b441daeeaa315815f4593025689","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","v8.8.0"],"number":152906,"url":"https://github.com/elastic/kibana/pull/152906","mergeCommit":{"message":"Revert
\"Upgrade `vega` dependency (`5.22.1` → `5.23.0`).\"
(#152906)","sha":"5ab7d464f23c1b441daeeaa315815f4593025689"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152906","number":152906,"mergeCommit":{"message":"Revert
\"Upgrade `vega` dependency (`5.22.1` → `5.23.0`).\"
(#152906)","sha":"5ab7d464f23c1b441daeeaa315815f4593025689"}}]}]
BACKPORT-->

Co-authored-by: Drew Tate <drew.tate@elastic.co>
2023-03-08 12:14:35 -07:00
Kibana Machine
de8ae1a53d
[8.7] [Cloud Posture] fix for text overflow for initial installation prompt on Firefox (#152868) (#152930)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Cloud Posture] fix for text overflow for initial installation prompt
on Firefox (#152868)](https://github.com/elastic/kibana/pull/152868)

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

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

<!--BACKPORT [{"author":{"name":"Rickyanto
Ang","email":"rickyangwyn@gmail.com"},"sourceCommit":{"committedDate":"2023-03-08T16:06:09Z","message":"[Cloud
Posture] fix for text overflow for initial installation prompt on
Firefox (#152868)\n\n## Summary\r\n\r\nFix for overflowing text in
Initial Installation prompt in
Firefox","sha":"bdef3e8da889cf40e4543f34cead41d6aefa4bb8","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Cloud
Security","v8.7.0","v8.8.0"],"number":152868,"url":"https://github.com/elastic/kibana/pull/152868","mergeCommit":{"message":"[Cloud
Posture] fix for text overflow for initial installation prompt on
Firefox (#152868)\n\n## Summary\r\n\r\nFix for overflowing text in
Initial Installation prompt in
Firefox","sha":"bdef3e8da889cf40e4543f34cead41d6aefa4bb8"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152868","number":152868,"mergeCommit":{"message":"[Cloud
Posture] fix for text overflow for initial installation prompt on
Firefox (#152868)\n\n## Summary\r\n\r\nFix for overflowing text in
Initial Installation prompt in
Firefox","sha":"bdef3e8da889cf40e4543f34cead41d6aefa4bb8"}}]}]
BACKPORT-->

Co-authored-by: Rickyanto Ang <rickyangwyn@gmail.com>
2023-03-08 10:15:40 -07:00
Elastic Machine
102cd48e9b
[8.7] Sync bundled packages with Package Storage (#152892)
Automated by
https://internal-ci.elastic.co/job/package_storage/job/sync-bundled-packages-job/job/main/2117/

Co-authored-by: apmmachine <infra-root+apmmachine@elastic.co>
2023-03-08 10:07:21 -07:00
christineweng
3b9016625e
[8.7] [Security Solution][Alert Page] Hide type column in KPI visualization (#152872) (#152919)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution][Alert Page] Hide type column in KPI visualization
(#152872)](https://github.com/elastic/kibana/pull/152872)

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

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

<!--BACKPORT
[{"author":{"name":"christineweng","email":"18648970+christineweng@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-08T14:24:49Z","message":"[Security
Solution][Alert Page] Hide type column in KPI visualization
(#152872)\n\n## Summary\r\n\r\nThis PR added a feature flag
`alertTypeEnabled` to enable/disable the\r\ntype column in `Alert by
type` chart on Alerts page.\r\n\r\n**Before (same as
`alertTypeEnabled=true`)**\r\n- Title is `Alert by type`\r\n- `Type`
distribution bar is present\r\n- `Type` column is
present\r\n\r\n![image](https://user-images.githubusercontent.com/18648970/223577917-2f2e9250-692c-4b08-b830-96871ad184ea.png)\r\n\r\n\r\n**After
( default `alertTypeEnabled=false`)**\r\n- Title is renamed to `Alert by
name`\r\n- `Type` column is not present\r\n- `Type` distribution bar is
not
present\r\n\r\n![image](https://user-images.githubusercontent.com/18648970/223578273-323d4c31-ce3e-4105-adc8-be03e5d92806.png)\r\n\r\n###
Checklist\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"c319ab9480b6944d7f89c8998799a9f3f8f8cf3b","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Threat
Hunting","Team: SecuritySolution","release_note:feature","Team:Threat
Hunting:Investigations","v8.7.0","v8.8.0"],"number":152872,"url":"https://github.com/elastic/kibana/pull/152872","mergeCommit":{"message":"[Security
Solution][Alert Page] Hide type column in KPI visualization
(#152872)\n\n## Summary\r\n\r\nThis PR added a feature flag
`alertTypeEnabled` to enable/disable the\r\ntype column in `Alert by
type` chart on Alerts page.\r\n\r\n**Before (same as
`alertTypeEnabled=true`)**\r\n- Title is `Alert by type`\r\n- `Type`
distribution bar is present\r\n- `Type` column is
present\r\n\r\n![image](https://user-images.githubusercontent.com/18648970/223577917-2f2e9250-692c-4b08-b830-96871ad184ea.png)\r\n\r\n\r\n**After
( default `alertTypeEnabled=false`)**\r\n- Title is renamed to `Alert by
name`\r\n- `Type` column is not present\r\n- `Type` distribution bar is
not
present\r\n\r\n![image](https://user-images.githubusercontent.com/18648970/223578273-323d4c31-ce3e-4105-adc8-be03e5d92806.png)\r\n\r\n###
Checklist\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"c319ab9480b6944d7f89c8998799a9f3f8f8cf3b"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152872","number":152872,"mergeCommit":{"message":"[Security
Solution][Alert Page] Hide type column in KPI visualization
(#152872)\n\n## Summary\r\n\r\nThis PR added a feature flag
`alertTypeEnabled` to enable/disable the\r\ntype column in `Alert by
type` chart on Alerts page.\r\n\r\n**Before (same as
`alertTypeEnabled=true`)**\r\n- Title is `Alert by type`\r\n- `Type`
distribution bar is present\r\n- `Type` column is
present\r\n\r\n![image](https://user-images.githubusercontent.com/18648970/223577917-2f2e9250-692c-4b08-b830-96871ad184ea.png)\r\n\r\n\r\n**After
( default `alertTypeEnabled=false`)**\r\n- Title is renamed to `Alert by
name`\r\n- `Type` column is not present\r\n- `Type` distribution bar is
not
present\r\n\r\n![image](https://user-images.githubusercontent.com/18648970/223578273-323d4c31-ce3e-4105-adc8-be03e5d92806.png)\r\n\r\n###
Checklist\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"c319ab9480b6944d7f89c8998799a9f3f8f8cf3b"}}]}]
BACKPORT-->
2023-03-08 09:45:35 -07:00
Kibana Machine
84b3ef0104
[8.7] [DOCS] Updates text on docs landing page (#152152) (#152931)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[DOCS] Updates text on docs landing page
(#152152)](https://github.com/elastic/kibana/pull/152152)

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

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

<!--BACKPORT
[{"author":{"name":"gchaps","email":"33642766+gchaps@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-08T16:05:13Z","message":"[DOCS]
Updates text on docs landing page (#152152)\n\n## Summary\r\n\r\nThis PR
updates the text in the solutions cards on the docs
landing\r\npage.\r\n\r\n\r\n[Preview](https://kibana_152152.docs-preview.app.elstc.co/guide/en/kibana/master/index.html)","sha":"df620e1d7e45751001b22fbf35a7bba5789ba094","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","v8.6.0","v8.7.0","v8.8.0"],"number":152152,"url":"https://github.com/elastic/kibana/pull/152152","mergeCommit":{"message":"[DOCS]
Updates text on docs landing page (#152152)\n\n## Summary\r\n\r\nThis PR
updates the text in the solutions cards on the docs
landing\r\npage.\r\n\r\n\r\n[Preview](https://kibana_152152.docs-preview.app.elstc.co/guide/en/kibana/master/index.html)","sha":"df620e1d7e45751001b22fbf35a7bba5789ba094"}},"sourceBranch":"main","suggestedTargetBranches":["8.6","8.7"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152152","number":152152,"mergeCommit":{"message":"[DOCS]
Updates text on docs landing page (#152152)\n\n## Summary\r\n\r\nThis PR
updates the text in the solutions cards on the docs
landing\r\npage.\r\n\r\n\r\n[Preview](https://kibana_152152.docs-preview.app.elstc.co/guide/en/kibana/master/index.html)","sha":"df620e1d7e45751001b22fbf35a7bba5789ba094"}}]}]
BACKPORT-->

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2023-03-08 11:27:31 -05:00
Joey F. Poon
08c2b56e6b
[Security Solution] fix flaky tests (#152867) 2023-03-08 09:30:17 -06:00
Kibana Machine
68e1658a37
[8.7] [DOCS] Updates Discover docs (#151953) (#152920)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[DOCS] Updates Discover docs
(#151953)](https://github.com/elastic/kibana/pull/151953)

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

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

<!--BACKPORT
[{"author":{"name":"gchaps","email":"33642766+gchaps@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-08T15:05:25Z","message":"[DOCS]
Updates Discover docs (#151953)\n\n## Summary\r\n\r\nThis PR updates the
Discover docs for
8.7.","sha":"8d6c63472c889f36a7b6d4a25d50220dc38d53f4","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","v8.7.0","v8.8.0"],"number":151953,"url":"https://github.com/elastic/kibana/pull/151953","mergeCommit":{"message":"[DOCS]
Updates Discover docs (#151953)\n\n## Summary\r\n\r\nThis PR updates the
Discover docs for
8.7.","sha":"8d6c63472c889f36a7b6d4a25d50220dc38d53f4"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/151953","number":151953,"mergeCommit":{"message":"[DOCS]
Updates Discover docs (#151953)\n\n## Summary\r\n\r\nThis PR updates the
Discover docs for
8.7.","sha":"8d6c63472c889f36a7b6d4a25d50220dc38d53f4"}}]}] BACKPORT-->

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2023-03-08 10:25:28 -05:00
Kibana Machine
cd23ef9cbc
[8.7] Updating debugging docs: replacing apm.dev.js configuration references with kibana.dev.yml (#152237) (#152914)
# Backport

This will backport the following commits from `main` to `8.7`:
- [Updating debugging docs: replacing apm.dev.js configuration
references with kibana.dev.yml
(#152237)](https://github.com/elastic/kibana/pull/152237)

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

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

<!--BACKPORT [{"author":{"name":"Carly
Richmond","email":"74931905+carlyrichmond@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-08T14:43:34Z","message":"Updating
debugging docs: replacing apm.dev.js configuration references with
kibana.dev.yml (#152237)\n\n## Summary\r\n\r\nUpdating the Debugging
Kibana documentation:\r\n\r\n1. Adding Python as additional
pre-requisite technology\r\n2. Replacing apm.dev.js configuration with
updated kibana.dev.yml\r\napproach\r\n\r\nSimilar to recent discussion
in issue #79490, I've found that the\r\n`apm.dev.js` approach is no
longer working.\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]\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\r\n### Risk
Matrix\r\n\r\nN/A\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":"867c906f6c872357b5e2e6335c5145d1f58e3730","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:fix","💝community","backport-v8.0.0","v8.7.0","v8.8.0","v8.7.1"],"number":152237,"url":"https://github.com/elastic/kibana/pull/152237","mergeCommit":{"message":"Updating
debugging docs: replacing apm.dev.js configuration references with
kibana.dev.yml (#152237)\n\n## Summary\r\n\r\nUpdating the Debugging
Kibana documentation:\r\n\r\n1. Adding Python as additional
pre-requisite technology\r\n2. Replacing apm.dev.js configuration with
updated kibana.dev.yml\r\napproach\r\n\r\nSimilar to recent discussion
in issue #79490, I've found that the\r\n`apm.dev.js` approach is no
longer working.\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]\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\r\n### Risk
Matrix\r\n\r\nN/A\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":"867c906f6c872357b5e2e6335c5145d1f58e3730"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152237","number":152237,"mergeCommit":{"message":"Updating
debugging docs: replacing apm.dev.js configuration references with
kibana.dev.yml (#152237)\n\n## Summary\r\n\r\nUpdating the Debugging
Kibana documentation:\r\n\r\n1. Adding Python as additional
pre-requisite technology\r\n2. Replacing apm.dev.js configuration with
updated kibana.dev.yml\r\napproach\r\n\r\nSimilar to recent discussion
in issue #79490, I've found that the\r\n`apm.dev.js` approach is no
longer working.\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]\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\r\n### Risk
Matrix\r\n\r\nN/A\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":"867c906f6c872357b5e2e6335c5145d1f58e3730"}}]}]
BACKPORT-->

Co-authored-by: Carly Richmond <74931905+carlyrichmond@users.noreply.github.com>
2023-03-08 10:03:22 -05:00
Konrad Szwarc
44300c29db
[8.7] [Defend Workflows][Bug]Allow collapse on advanced click when adding osquery action (#152811) (#152893)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Defend Workflows][Bug]Allow collapse on advanced click when adding
osquery action (#152811)](https://github.com/elastic/kibana/pull/152811)

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

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

<!--BACKPORT [{"author":{"name":"Konrad
Szwarc","email":"konrad.szwarc@elastic.co"},"sourceCommit":{"committedDate":"2023-03-08T09:13:41Z","message":"[Defend
Workflows][Bug]Allow collapse on advanced click when adding osquery
action
(#152811)","sha":"6693ddb22fe9db99ce8661312eb7a5b9c0f20f6a","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Defend
Workflows","Feature:Osquery","v8.7.0","v8.8.0"],"number":152811,"url":"https://github.com/elastic/kibana/pull/152811","mergeCommit":{"message":"[Defend
Workflows][Bug]Allow collapse on advanced click when adding osquery
action
(#152811)","sha":"6693ddb22fe9db99ce8661312eb7a5b9c0f20f6a"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152811","number":152811,"mergeCommit":{"message":"[Defend
Workflows][Bug]Allow collapse on advanced click when adding osquery
action (#152811)","sha":"6693ddb22fe9db99ce8661312eb7a5b9c0f20f6a"}}]}]
BACKPORT-->
2023-03-08 07:50:38 -07:00
Kibana Machine
9428e82bc6
[8.7] Fix csv generation when search:includeFrozen is enabled (#152354) (#152901)
# Backport

This will backport the following commits from `main` to `8.7`:
- [Fix csv generation when `search:includeFrozen` is enabled
(#152354)](https://github.com/elastic/kibana/pull/152354)

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

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

<!--BACKPORT [{"author":{"name":"Anton
Dosov","email":"anton.dosov@elastic.co"},"sourceCommit":{"committedDate":"2023-03-08T12:26:16Z","message":"Fix
csv generation when `search:includeFrozen` is enabled (#152354)\n\nfix
https://github.com/elastic/kibana/issues/151546\r\nsee:
https://github.com/elastic/kibana/issues/151546#issuecomment-1443996912\r\n\r\n\r\nSince
it isn't possible to freeze an index in 8.x to test you have
to\r\ncreate an index and freeze it in 7.x and then upgrade to
8.x.","sha":"00e0f5cae3911fec2491d3bba7684365fe74fdb5","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Feature:Reporting","Team:SharedUX","backport:prev-minor","v8.8.0"],"number":152354,"url":"https://github.com/elastic/kibana/pull/152354","mergeCommit":{"message":"Fix
csv generation when `search:includeFrozen` is enabled (#152354)\n\nfix
https://github.com/elastic/kibana/issues/151546\r\nsee:
https://github.com/elastic/kibana/issues/151546#issuecomment-1443996912\r\n\r\n\r\nSince
it isn't possible to freeze an index in 8.x to test you have
to\r\ncreate an index and freeze it in 7.x and then upgrade to
8.x.","sha":"00e0f5cae3911fec2491d3bba7684365fe74fdb5"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152354","number":152354,"mergeCommit":{"message":"Fix
csv generation when `search:includeFrozen` is enabled (#152354)\n\nfix
https://github.com/elastic/kibana/issues/151546\r\nsee:
https://github.com/elastic/kibana/issues/151546#issuecomment-1443996912\r\n\r\n\r\nSince
it isn't possible to freeze an index in 8.x to test you have
to\r\ncreate an index and freeze it in 7.x and then upgrade to
8.x.","sha":"00e0f5cae3911fec2491d3bba7684365fe74fdb5"}}]}] BACKPORT-->

Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2023-03-08 06:33:24 -07:00
Gerard Soldevila
e70452f969
[8.7] [Kibana migrator test kit] Flush logger after running migrations (#152818) (#152890)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Kibana migrator test kit] Flush logger after running migrations
(#152818)](https://github.com/elastic/kibana/pull/152818)

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2023-03-07T17:57:17Z","message":"[Kibana
migrator test kit] Flush logger after running migrations
(#152818)\n\nThis PR addresses flakiness of:\r\n\r\n-
https://github.com/elastic/kibana/issues/152472\r\n-
https://github.com/elastic/kibana/issues/152448\r\n\r\nThese tests fail
because we have a race condition. We are checking\r\ncertain conditions
in the log files, and sometimes we do it before the\r\nlogs are actually
written.\r\n\r\nWith the Kibana migrator test kit, we can actually flush
+ wait for all\r\nthe logging appenders. This way, we are sure that the
logs are complete\r\nwhen we inspect them in the
tests.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"163dae7154c11d92ff148bc6ac45cbea54680769","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Team:Core","release_note:skip","test-failure-flaky","Feature:Migrations","backport:prev-minor","v8.7.0","v8.8.0"],"number":152818,"url":"https://github.com/elastic/kibana/pull/152818","mergeCommit":{"message":"[Kibana
migrator test kit] Flush logger after running migrations
(#152818)\n\nThis PR addresses flakiness of:\r\n\r\n-
https://github.com/elastic/kibana/issues/152472\r\n-
https://github.com/elastic/kibana/issues/152448\r\n\r\nThese tests fail
because we have a race condition. We are checking\r\ncertain conditions
in the log files, and sometimes we do it before the\r\nlogs are actually
written.\r\n\r\nWith the Kibana migrator test kit, we can actually flush
+ wait for all\r\nthe logging appenders. This way, we are sure that the
logs are complete\r\nwhen we inspect them in the
tests.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"163dae7154c11d92ff148bc6ac45cbea54680769"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152818","number":152818,"mergeCommit":{"message":"[Kibana
migrator test kit] Flush logger after running migrations
(#152818)\n\nThis PR addresses flakiness of:\r\n\r\n-
https://github.com/elastic/kibana/issues/152472\r\n-
https://github.com/elastic/kibana/issues/152448\r\n\r\nThese tests fail
because we have a race condition. We are checking\r\ncertain conditions
in the log files, and sometimes we do it before the\r\nlogs are actually
written.\r\n\r\nWith the Kibana migrator test kit, we can actually flush
+ wait for all\r\nthe logging appenders. This way, we are sure that the
logs are complete\r\nwhen we inspect them in the
tests.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"163dae7154c11d92ff148bc6ac45cbea54680769"}}]}]
BACKPORT-->
2023-03-08 05:04:04 -07:00
Kibana Machine
db3b8c3108
[8.7] [Security Solution][Exceptions] - Fix bug allowing user to type in custom field option for endpoint exception (#152619) (#152882)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution][Exceptions] - Fix bug allowing user to type in
custom field option for endpoint exception
(#152619)](https://github.com/elastic/kibana/pull/152619)

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

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

<!--BACKPORT [{"author":{"name":"Yara
Tercero","email":"yctercero@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-08T08:32:16Z","message":"[Security
Solution][Exceptions] - Fix bug allowing user to type in custom field
option for endpoint exception (#152619)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/149814","sha":"586f9a14613ce2f22836affe4c1f6c56181e6836","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:
SecuritySolution","Feature:Rule Exceptions","Team:Security Solution
Platform","backport:prev-minor","v8.7.0","v8.8.0"],"number":152619,"url":"https://github.com/elastic/kibana/pull/152619","mergeCommit":{"message":"[Security
Solution][Exceptions] - Fix bug allowing user to type in custom field
option for endpoint exception (#152619)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/149814","sha":"586f9a14613ce2f22836affe4c1f6c56181e6836"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152619","number":152619,"mergeCommit":{"message":"[Security
Solution][Exceptions] - Fix bug allowing user to type in custom field
option for endpoint exception (#152619)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/149814","sha":"586f9a14613ce2f22836affe4c1f6c56181e6836"}}]}]
BACKPORT-->

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2023-03-08 03:13:08 -07:00
Marshall Main
a472ed48f0
[8.7] [Security Solution][Alerts] Removes custom cypress schemas in favor of io-ts schemas (#151520) (#152878)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution][Alerts] Removes custom cypress schemas in favor
of io-ts schemas
(#151520)](https://github.com/elastic/kibana/pull/151520)

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

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

<!--BACKPORT [{"author":{"name":"Marshall
Main","email":"55718608+marshallmain@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-08T06:36:20Z","message":"[Security
Solution][Alerts] Removes custom cypress schemas in favor of io-ts
schemas (#151520)\n\n## Summary\r\n\r\nThis PR removes the rule schemas
that are specific to Cypress tests, and\r\nreplaces them with the HTTP
API schemas from the Detection Engine API.\r\nAs a result, the rule
schemas used in Cypress tests will now\r\nautomatically update when we
add new fields to rules. In addition, we\r\ncan try to start removing
some of mock rule data in Cypress tests and\r\nshare mocks across
integration/e2e/unit tests.\r\n\r\nFinally, this PR removes the specific
API call functions like\r\n`createCustomRule` and
`createCustomRuleEnabled` in favor of a generic\r\n`createRule` function
that can create any type of rule, without\r\nrestrictions on which
fields can be specified (e.g.\r\n`createMachineLearningRule` hard coded
`from: 'now-50000h',` in the\r\nfunction
body).\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b20feb24fa264a5bed66ef614936a6abcfbfd5ba","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:
SecuritySolution","Team:Detection
Alerts","v8.7.0","v8.8.0"],"number":151520,"url":"https://github.com/elastic/kibana/pull/151520","mergeCommit":{"message":"[Security
Solution][Alerts] Removes custom cypress schemas in favor of io-ts
schemas (#151520)\n\n## Summary\r\n\r\nThis PR removes the rule schemas
that are specific to Cypress tests, and\r\nreplaces them with the HTTP
API schemas from the Detection Engine API.\r\nAs a result, the rule
schemas used in Cypress tests will now\r\nautomatically update when we
add new fields to rules. In addition, we\r\ncan try to start removing
some of mock rule data in Cypress tests and\r\nshare mocks across
integration/e2e/unit tests.\r\n\r\nFinally, this PR removes the specific
API call functions like\r\n`createCustomRule` and
`createCustomRuleEnabled` in favor of a generic\r\n`createRule` function
that can create any type of rule, without\r\nrestrictions on which
fields can be specified (e.g.\r\n`createMachineLearningRule` hard coded
`from: 'now-50000h',` in the\r\nfunction
body).\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b20feb24fa264a5bed66ef614936a6abcfbfd5ba"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/151520","number":151520,"mergeCommit":{"message":"[Security
Solution][Alerts] Removes custom cypress schemas in favor of io-ts
schemas (#151520)\n\n## Summary\r\n\r\nThis PR removes the rule schemas
that are specific to Cypress tests, and\r\nreplaces them with the HTTP
API schemas from the Detection Engine API.\r\nAs a result, the rule
schemas used in Cypress tests will now\r\nautomatically update when we
add new fields to rules. In addition, we\r\ncan try to start removing
some of mock rule data in Cypress tests and\r\nshare mocks across
integration/e2e/unit tests.\r\n\r\nFinally, this PR removes the specific
API call functions like\r\n`createCustomRule` and
`createCustomRuleEnabled` in favor of a generic\r\n`createRule` function
that can create any type of rule, without\r\nrestrictions on which
fields can be specified (e.g.\r\n`createMachineLearningRule` hard coded
`from: 'now-50000h',` in the\r\nfunction
body).\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b20feb24fa264a5bed66ef614936a6abcfbfd5ba"}}]}]
BACKPORT-->
2023-03-08 01:59:14 -07:00
Elastic Machine
58099ea904
[8.7] Sync bundled packages with Package Storage (#152877)
Automated by
https://internal-ci.elastic.co/job/package_storage/job/sync-bundled-packages-job/job/main/2104/

Co-authored-by: apmmachine <infra-root+apmmachine@elastic.co>
2023-03-08 01:23:30 -07:00
Elastic Machine
addf83da27
[8.7] Sync bundled packages with Package Storage (#150647)
Automated by
https://internal-ci.elastic.co/job/package_storage/job/sync-bundled-packages-job/job/main/1724/

Co-authored-by: apmmachine <infra-root+apmmachine@elastic.co>
2023-03-08 01:33:31 -05:00
Dominique Clarke
578fccc965
[8.7] [Synthetics] only show errors icon when error is active (#152772) (#152855)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Synthetics] only show errors icon when error is active
(#152772)](https://github.com/elastic/kibana/pull/152772)

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

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

<!--BACKPORT [{"author":{"name":"Dominique
Clarke","email":"dominique.clarke@elastic.co"},"sourceCommit":{"committedDate":"2023-03-07T17:59:56Z","message":"[Synthetics]
only show errors icon when error is active (#152772)\n\n##
Summary\r\n\r\nResolves
https://github.com/elastic/kibana/issues/152760\r\n\r\nOnly shows Error
Icon on the Monitor Details page when there's an
active\r\nerror\r\n\r\n### Testing\r\n\r\n1. Create an always-up
monitor\r\n2. Navigate to the monitor details page. Ensure no icon
appears next to\r\nthe Errors tab.\r\n3. Update the monitor so that it's
always down. \r\n4. Navigate to the monitor details page. Ensure an icon
appears next to\r\nthe Errors
tab.","sha":"a5d801a86c56bd8c9f855220e4dbd3bd5b50b915","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Team:uptime","release_note:skip","v8.7.0","v8.8.0"],"number":152772,"url":"https://github.com/elastic/kibana/pull/152772","mergeCommit":{"message":"[Synthetics]
only show errors icon when error is active (#152772)\n\n##
Summary\r\n\r\nResolves
https://github.com/elastic/kibana/issues/152760\r\n\r\nOnly shows Error
Icon on the Monitor Details page when there's an
active\r\nerror\r\n\r\n### Testing\r\n\r\n1. Create an always-up
monitor\r\n2. Navigate to the monitor details page. Ensure no icon
appears next to\r\nthe Errors tab.\r\n3. Update the monitor so that it's
always down. \r\n4. Navigate to the monitor details page. Ensure an icon
appears next to\r\nthe Errors
tab.","sha":"a5d801a86c56bd8c9f855220e4dbd3bd5b50b915"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152772","number":152772,"mergeCommit":{"message":"[Synthetics]
only show errors icon when error is active (#152772)\n\n##
Summary\r\n\r\nResolves
https://github.com/elastic/kibana/issues/152760\r\n\r\nOnly shows Error
Icon on the Monitor Details page when there's an
active\r\nerror\r\n\r\n### Testing\r\n\r\n1. Create an always-up
monitor\r\n2. Navigate to the monitor details page. Ensure no icon
appears next to\r\nthe Errors tab.\r\n3. Update the monitor so that it's
always down. \r\n4. Navigate to the monitor details page. Ensure an icon
appears next to\r\nthe Errors
tab.","sha":"a5d801a86c56bd8c9f855220e4dbd3bd5b50b915"}}]}] BACKPORT-->
2023-03-07 15:40:22 -07:00
Kibana Machine
55ece59683
[8.7] [Alerting Flyout] Fix interval parsing while editing (#152459) (#152856)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Alerting Flyout] Fix interval parsing while editing
(#152459)](https://github.com/elastic/kibana/pull/152459)

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

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

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"shahzad31comp@gmail.com"},"sourceCommit":{"committedDate":"2023-03-07T21:15:50Z","message":"[Alerting
Flyout] Fix interval parsing while editing (#152459)\n\nCo-authored-by:
Ying Mao
<ying.mao@elastic.co>","sha":"5da80301fcc7876b0828591dcc0d330c05ed7c8c","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.7.0","v8.8.0"],"number":152459,"url":"https://github.com/elastic/kibana/pull/152459","mergeCommit":{"message":"[Alerting
Flyout] Fix interval parsing while editing (#152459)\n\nCo-authored-by:
Ying Mao
<ying.mao@elastic.co>","sha":"5da80301fcc7876b0828591dcc0d330c05ed7c8c"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152459","number":152459,"mergeCommit":{"message":"[Alerting
Flyout] Fix interval parsing while editing (#152459)\n\nCo-authored-by:
Ying Mao
<ying.mao@elastic.co>","sha":"5da80301fcc7876b0828591dcc0d330c05ed7c8c"}}]}]
BACKPORT-->

Co-authored-by: Shahzad <shahzad31comp@gmail.com>
2023-03-07 15:24:00 -07:00
Kibana Machine
9bbc509149
[8.7] [Security Solution] Insight/Investigate markdown plugin form touch up (#152413) (#152848)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution] Insight/Investigate markdown plugin form touch up
(#152413)](https://github.com/elastic/kibana/pull/152413)

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

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

<!--BACKPORT [{"author":{"name":"Kevin
Qualters","email":"56408403+kqualters-elastic@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-07T19:09:32Z","message":"[Security
Solution] Insight/Investigate markdown plugin form touch up
(#152413)\n\n## Summary\r\n\r\nThis is a small pr that changes nothing
logically, but uses i18n for\r\nsome previously static strings, and adds
help text and a label for the\r\nfilter builder part of the form. Also
renames the markdown prefix to\r\ninvestigate from
insight.\r\n\r\n\r\n<img width=\"680\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/56408403/223451574-2851ed07-eee8-4f66-bfd1-0abbdd713184.png\">\r\n\r\n\r\n\r\n###
Checklist\r\n\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]\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\r\n---------\r\n\r\nCo-authored-by: Joe Peeples
<joe.peeples@elastic.co>","sha":"7013923d789f5ce1ac512c01ab755be565f39568","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Threat
Hunting:Investigations","v8.7.0","v8.8.0"],"number":152413,"url":"https://github.com/elastic/kibana/pull/152413","mergeCommit":{"message":"[Security
Solution] Insight/Investigate markdown plugin form touch up
(#152413)\n\n## Summary\r\n\r\nThis is a small pr that changes nothing
logically, but uses i18n for\r\nsome previously static strings, and adds
help text and a label for the\r\nfilter builder part of the form. Also
renames the markdown prefix to\r\ninvestigate from
insight.\r\n\r\n\r\n<img width=\"680\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/56408403/223451574-2851ed07-eee8-4f66-bfd1-0abbdd713184.png\">\r\n\r\n\r\n\r\n###
Checklist\r\n\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]\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\r\n---------\r\n\r\nCo-authored-by: Joe Peeples
<joe.peeples@elastic.co>","sha":"7013923d789f5ce1ac512c01ab755be565f39568"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152413","number":152413,"mergeCommit":{"message":"[Security
Solution] Insight/Investigate markdown plugin form touch up
(#152413)\n\n## Summary\r\n\r\nThis is a small pr that changes nothing
logically, but uses i18n for\r\nsome previously static strings, and adds
help text and a label for the\r\nfilter builder part of the form. Also
renames the markdown prefix to\r\ninvestigate from
insight.\r\n\r\n\r\n<img width=\"680\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/56408403/223451574-2851ed07-eee8-4f66-bfd1-0abbdd713184.png\">\r\n\r\n\r\n\r\n###
Checklist\r\n\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]\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\r\n---------\r\n\r\nCo-authored-by: Joe Peeples
<joe.peeples@elastic.co>","sha":"7013923d789f5ce1ac512c01ab755be565f39568"}}]}]
BACKPORT-->

Co-authored-by: Kevin Qualters <56408403+kqualters-elastic@users.noreply.github.com>
2023-03-07 13:49:12 -07:00
Marco Liberati
09ce818e81
[8.7] [embeddable] centralize should fetch embeddable observable logic (#151799) (#152838)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[embeddable] centralize should fetch embeddable observable logic
(#151799)](https://github.com/elastic/kibana/pull/151799)

<!--- 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-03-01T01:47:48Z","message":"[embeddable]
centralize should fetch embeddable observable logic (#151799)\n\nFixes
https://github.com/elastic/kibana/issues/151223
and\r\nhttps://github.com/elastic/kibana/issues/151128\r\n\r\nPR does
the following\r\n1) creates `shouldFetch# Backport

This will backport the following commits from `main` to `8.7`:
- [[embeddable] centralize should fetch embeddable observable logic
(#151799)](https://github.com/elastic/kibana/pull/151799)

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

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

<!--BACKPORT method that centralizes logic for checking\r\nwhen an
embeddable should fetch.\r\n2) updates Lens and Maps embeddable to use
`shouldFetch# Backport

This will backport the following commits from `main` to `8.7`:
- [[embeddable] centralize should fetch embeddable observable logic
(#151799)](https://github.com/elastic/kibana/pull/151799)

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

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

<!--BACKPORT \r\n3) Adds unit tests for Maps embeddable to capture
behavior of unique\r\nedge cases\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"afb251c624552024076ae75890de9c7d5f4458f0","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Visualizations","Feature:Embedding","Team:Presentation","release_note:skip","backport:skip","Feature:Maps","v8.8.0"],"number":151799,"url":"https://github.com/elastic/kibana/pull/151799","mergeCommit":{"message":"[embeddable]
centralize should fetch embeddable observable logic (#151799)\n\nFixes
https://github.com/elastic/kibana/issues/151223
and\r\nhttps://github.com/elastic/kibana/issues/151128\r\n\r\nPR does
the following\r\n1) creates `shouldFetch# Backport

This will backport the following commits from `main` to `8.7`:
- [[embeddable] centralize should fetch embeddable observable logic
(#151799)](https://github.com/elastic/kibana/pull/151799)

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

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

<!--BACKPORT method that centralizes logic for checking\r\nwhen an
embeddable should fetch.\r\n2) updates Lens and Maps embeddable to use
`shouldFetch# Backport

This will backport the following commits from `main` to `8.7`:
- [[embeddable] centralize should fetch embeddable observable logic
(#151799)](https://github.com/elastic/kibana/pull/151799)

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

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

<!--BACKPORT \r\n3) Adds unit tests for Maps embeddable to capture
behavior of unique\r\nedge cases\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"afb251c624552024076ae75890de9c7d5f4458f0"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/151799","number":151799,"mergeCommit":{"message":"[embeddable]
centralize should fetch embeddable observable logic (#151799)\n\nFixes
https://github.com/elastic/kibana/issues/151223
and\r\nhttps://github.com/elastic/kibana/issues/151128\r\n\r\nPR does
the following\r\n1) creates `shouldFetch# Backport

This will backport the following commits from `main` to `8.7`:
- [[embeddable] centralize should fetch embeddable observable logic
(#151799)](https://github.com/elastic/kibana/pull/151799)

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

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

<!--BACKPORT method that centralizes logic for checking\r\nwhen an
embeddable should fetch.\r\n2) updates Lens and Maps embeddable to use
`shouldFetch# Backport

This will backport the following commits from `main` to `8.7`:
- [[embeddable] centralize should fetch embeddable observable logic
(#151799)](https://github.com/elastic/kibana/pull/151799)

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

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

<!--BACKPORT \r\n3) Adds unit tests for Maps embeddable to capture
behavior of unique\r\nedge cases\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"afb251c624552024076ae75890de9c7d5f4458f0"}}]}]
BACKPORT-->

Co-authored-by: Nathan Reese <reese.nathan@elastic.co>
2023-03-07 10:55:12 -07:00
Kibana Machine
26c8ad7b45
[8.7] [DOCS] Automate rule-types-index-threshold-example-alerts.png (#152618) (#152837)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[DOCS] Automate rule-types-index-threshold-example-alerts.png
(#152618)](https://github.com/elastic/kibana/pull/152618)

<!--- 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-03-07T16:43:49Z","message":"[DOCS]
Automate rule-types-index-threshold-example-alerts.png
(#152618)","sha":"b6cff1ad72586549e70afc99cd5dfb7ac51b58f7","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","docs","Feature:Alerting/RuleTypes","v8.8.0","v8.7.1"],"number":152618,"url":"https://github.com/elastic/kibana/pull/152618","mergeCommit":{"message":"[DOCS]
Automate rule-types-index-threshold-example-alerts.png
(#152618)","sha":"b6cff1ad72586549e70afc99cd5dfb7ac51b58f7"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152618","number":152618,"mergeCommit":{"message":"[DOCS]
Automate rule-types-index-threshold-example-alerts.png
(#152618)","sha":"b6cff1ad72586549e70afc99cd5dfb7ac51b58f7"}},{"branch":"8.7","label":"v8.7.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-03-07 10:40:11 -07:00
Kibana Machine
e7242593f9
[8.7] [Security Solution][Investigations] - 8.7 minor fixes (#152284) (#152758)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution][Investigations] - 8.7 minor fixes
(#152284)](https://github.com/elastic/kibana/pull/152284)

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

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

<!--BACKPORT [{"author":{"name":"Michael
Olorunnisola","email":"michael.olorunnisola@elastic.co"},"sourceCommit":{"committedDate":"2023-03-06T19:08:28Z","message":"[Security
Solution][Investigations] - 8.7 minor fixes (#152284)\n\n##
Summary\r\n\r\nThis PR includes minor fixes for the following items by
commit\r\n\r\n**[Timeline ui alignment
fix]**\r\nhttps://github.com/elastic/kibana/issues/149017
-\r\n01281497dc\r\n**[Saving
empty eql query]**\r\nhttps://github.com/elastic/kibana/issues/148950**
-\r\nb9715cb5e5\r\n**[Re-add
alert count to top
n]**\r\nhttps://github.com/elastic/kibana/issues/148631
-\r\n4c8d1e6021","sha":"1f6de13232dd1fbc6d1dcbd887ce66cdc0496544","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Threat
Hunting","Team:Threat
Hunting:Investigations","v8.7.0","v8.8.0"],"number":152284,"url":"https://github.com/elastic/kibana/pull/152284","mergeCommit":{"message":"[Security
Solution][Investigations] - 8.7 minor fixes (#152284)\n\n##
Summary\r\n\r\nThis PR includes minor fixes for the following items by
commit\r\n\r\n**[Timeline ui alignment
fix]**\r\nhttps://github.com/elastic/kibana/issues/149017
-\r\n01281497dc\r\n**[Saving
empty eql query]**\r\nhttps://github.com/elastic/kibana/issues/148950**
-\r\nb9715cb5e5\r\n**[Re-add
alert count to top
n]**\r\nhttps://github.com/elastic/kibana/issues/148631
-\r\n4c8d1e6021","sha":"1f6de13232dd1fbc6d1dcbd887ce66cdc0496544"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152284","number":152284,"mergeCommit":{"message":"[Security
Solution][Investigations] - 8.7 minor fixes (#152284)\n\n##
Summary\r\n\r\nThis PR includes minor fixes for the following items by
commit\r\n\r\n**[Timeline ui alignment
fix]**\r\nhttps://github.com/elastic/kibana/issues/149017
-\r\n01281497dc\r\n**[Saving
empty eql query]**\r\nhttps://github.com/elastic/kibana/issues/148950**
-\r\nb9715cb5e5\r\n**[Re-add
alert count to top
n]**\r\nhttps://github.com/elastic/kibana/issues/148631
-\r\n4c8d1e6021","sha":"1f6de13232dd1fbc6d1dcbd887ce66cdc0496544"}}]}]
BACKPORT-->

Co-authored-by: Michael Olorunnisola <michael.olorunnisola@elastic.co>
2023-03-07 09:00:09 -07:00
Kibana Machine
a74084da7d
[8.7] [performance] use journey own ftr config to run scalability test (#152596) (#152806)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[performance] use journey own ftr config to run scalability test
(#152596)](https://github.com/elastic/kibana/pull/152596)

<!--- 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-03-07T12:20:21Z","message":"[performance]
use journey own ftr config to run scalability test (#152596)\n\nWhile
debugging scalability testing failure for\r\n`cloud_security_dashboard`
journey, I found that we hardcoded base FTR\r\nconfig to
`x-pack/performance/journeys/login.ts` and main issue is that\r\nKibana
is not started properly.\r\n\r\nThis PR makes few changes:\r\n- update
`kbn-performance-testing-dataset-extractor` to save journey\r\npath as
`configPath` so it can be later used to start ES/Kibana in
the\r\nscalability run with the same configuration it was run for the
single\r\nuser journey run.\r\n- update scalability entry configuration
to read base FTR config from\r\ngenerated scalability json file
(`configPath` property)\r\n\r\nHow to test:\r\n- make sure to clone the
latest\r\n[kibana-load-testing](https://github.com/elastic/kibana-load-testing)\r\nrepo
and build it `mvn clean test-compile`\r\n- from kibana root directory
run any api capacity test\r\n```\r\nnode scripts/run_scalability.js
--journey-path
x-pack/test/scalability/apis/api.core.capabilities.json\r\n```\r\nExpected
result: logs should display\r\n```\r\ndebg Loading config file from
x-pack/performance/journeys/login.ts\r\n```\r\n- download the latest
artifacts
from\r\n[buildkite](https://buildkite.com/elastic/kibana-performance-data-set-extraction/builds/171#0186a342-9dea-4a9b-bbe4-c96449563269),\r\nfind
`cloud_security_dashboard-<uuid>.json`\r\n- from kibana root directory
run scalability test for\r\n`cloud_security_dashboard`
journey\r\n```\r\nnode scripts/run_scalability.js --journey-path <path
to cloud_security_dashboard-<uuid>.json>\r\n```\r\nExpected result: logs
should display \r\n```\r\ndebg Loading config file from
x-pack/performance/journeys/cloud_security_dashboard.ts\r\n```\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"bc44f524ac547f0211486c125b999fdd94bb03bf","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","wg:performance","v8.8.0","v8.6.3","v8.7.1"],"number":152596,"url":"https://github.com/elastic/kibana/pull/152596","mergeCommit":{"message":"[performance]
use journey own ftr config to run scalability test (#152596)\n\nWhile
debugging scalability testing failure for\r\n`cloud_security_dashboard`
journey, I found that we hardcoded base FTR\r\nconfig to
`x-pack/performance/journeys/login.ts` and main issue is that\r\nKibana
is not started properly.\r\n\r\nThis PR makes few changes:\r\n- update
`kbn-performance-testing-dataset-extractor` to save journey\r\npath as
`configPath` so it can be later used to start ES/Kibana in
the\r\nscalability run with the same configuration it was run for the
single\r\nuser journey run.\r\n- update scalability entry configuration
to read base FTR config from\r\ngenerated scalability json file
(`configPath` property)\r\n\r\nHow to test:\r\n- make sure to clone the
latest\r\n[kibana-load-testing](https://github.com/elastic/kibana-load-testing)\r\nrepo
and build it `mvn clean test-compile`\r\n- from kibana root directory
run any api capacity test\r\n```\r\nnode scripts/run_scalability.js
--journey-path
x-pack/test/scalability/apis/api.core.capabilities.json\r\n```\r\nExpected
result: logs should display\r\n```\r\ndebg Loading config file from
x-pack/performance/journeys/login.ts\r\n```\r\n- download the latest
artifacts
from\r\n[buildkite](https://buildkite.com/elastic/kibana-performance-data-set-extraction/builds/171#0186a342-9dea-4a9b-bbe4-c96449563269),\r\nfind
`cloud_security_dashboard-<uuid>.json`\r\n- from kibana root directory
run scalability test for\r\n`cloud_security_dashboard`
journey\r\n```\r\nnode scripts/run_scalability.js --journey-path <path
to cloud_security_dashboard-<uuid>.json>\r\n```\r\nExpected result: logs
should display \r\n```\r\ndebg Loading config file from
x-pack/performance/journeys/cloud_security_dashboard.ts\r\n```\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"bc44f524ac547f0211486c125b999fdd94bb03bf"}},"sourceBranch":"main","suggestedTargetBranches":["8.6","8.7"],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152596","number":152596,"mergeCommit":{"message":"[performance]
use journey own ftr config to run scalability test (#152596)\n\nWhile
debugging scalability testing failure for\r\n`cloud_security_dashboard`
journey, I found that we hardcoded base FTR\r\nconfig to
`x-pack/performance/journeys/login.ts` and main issue is that\r\nKibana
is not started properly.\r\n\r\nThis PR makes few changes:\r\n- update
`kbn-performance-testing-dataset-extractor` to save journey\r\npath as
`configPath` so it can be later used to start ES/Kibana in
the\r\nscalability run with the same configuration it was run for the
single\r\nuser journey run.\r\n- update scalability entry configuration
to read base FTR config from\r\ngenerated scalability json file
(`configPath` property)\r\n\r\nHow to test:\r\n- make sure to clone the
latest\r\n[kibana-load-testing](https://github.com/elastic/kibana-load-testing)\r\nrepo
and build it `mvn clean test-compile`\r\n- from kibana root directory
run any api capacity test\r\n```\r\nnode scripts/run_scalability.js
--journey-path
x-pack/test/scalability/apis/api.core.capabilities.json\r\n```\r\nExpected
result: logs should display\r\n```\r\ndebg Loading config file from
x-pack/performance/journeys/login.ts\r\n```\r\n- download the latest
artifacts
from\r\n[buildkite](https://buildkite.com/elastic/kibana-performance-data-set-extraction/builds/171#0186a342-9dea-4a9b-bbe4-c96449563269),\r\nfind
`cloud_security_dashboard-<uuid>.json`\r\n- from kibana root directory
run scalability test for\r\n`cloud_security_dashboard`
journey\r\n```\r\nnode scripts/run_scalability.js --journey-path <path
to cloud_security_dashboard-<uuid>.json>\r\n```\r\nExpected result: logs
should display \r\n```\r\ndebg Loading config file from
x-pack/performance/journeys/cloud_security_dashboard.ts\r\n```\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"bc44f524ac547f0211486c125b999fdd94bb03bf"}},{"branch":"8.6","label":"v8.6.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.7","label":"v8.7.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2023-03-07 06:30:23 -07:00
Kibana Machine
84356afd13
[8.7] [Profiling] Fine-tune mappings (#152799) (#152804)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Profiling] Fine-tune mappings
(#152799)](https://github.com/elastic/kibana/pull/152799)

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

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

<!--BACKPORT [{"author":{"name":"Daniel
Mitterdorfer","email":"danielmitterdorfer@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-07T11:53:58Z","message":"[Profiling]
Fine-tune mappings (#152799)\n\nWith this commit we avoid storing doc
values for\r\n`stackframe.function.name` to save disk space as doc
values are not\r\nneeded due to our access pattern. We also sort stack
traces by stack\r\nframe ids to improve disk
layout.","sha":"e97f488a1ac883c7ba9291e0537bdab8d0d8f66d","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","v8.7.0","v8.8.0"],"number":152799,"url":"https://github.com/elastic/kibana/pull/152799","mergeCommit":{"message":"[Profiling]
Fine-tune mappings (#152799)\n\nWith this commit we avoid storing doc
values for\r\n`stackframe.function.name` to save disk space as doc
values are not\r\nneeded due to our access pattern. We also sort stack
traces by stack\r\nframe ids to improve disk
layout.","sha":"e97f488a1ac883c7ba9291e0537bdab8d0d8f66d"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152799","number":152799,"mergeCommit":{"message":"[Profiling]
Fine-tune mappings (#152799)\n\nWith this commit we avoid storing doc
values for\r\n`stackframe.function.name` to save disk space as doc
values are not\r\nneeded due to our access pattern. We also sort stack
traces by stack\r\nframe ids to improve disk
layout.","sha":"e97f488a1ac883c7ba9291e0537bdab8d0d8f66d"}}]}]
BACKPORT-->

Co-authored-by: Daniel Mitterdorfer <danielmitterdorfer@users.noreply.github.com>
2023-03-07 06:27:01 -07:00
Kibana Machine
541e274d83
[8.7] [Security Solution] Narrow skipped endpoint list and policy tests (#150499) (#152805)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution] Narrow skipped endpoint list and policy tests
(#150499)](https://github.com/elastic/kibana/pull/150499)

<!--- 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-03-07T12:15:31Z","message":"[Security
Solution] Narrow skipped endpoint list and policy tests (#150499)\n\n##
Summary\r\n\r\nNarrows some skipped tests in Endpoint list and Policy
details as we\r\naddress the flakiness.\r\n\r\nFlaky test
runner:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1989\r\n\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"4f5037f985b15c896d4fa2a1ba606f886a7468a0","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","v8.7.0","v8.8.0"],"number":150499,"url":"https://github.com/elastic/kibana/pull/150499","mergeCommit":{"message":"[Security
Solution] Narrow skipped endpoint list and policy tests (#150499)\n\n##
Summary\r\n\r\nNarrows some skipped tests in Endpoint list and Policy
details as we\r\naddress the flakiness.\r\n\r\nFlaky test
runner:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1989\r\n\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"4f5037f985b15c896d4fa2a1ba606f886a7468a0"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150499","number":150499,"mergeCommit":{"message":"[Security
Solution] Narrow skipped endpoint list and policy tests (#150499)\n\n##
Summary\r\n\r\nNarrows some skipped tests in Endpoint list and Policy
details as we\r\naddress the flakiness.\r\n\r\nFlaky test
runner:\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1989\r\n\r\n\r\n###
Checklist\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"4f5037f985b15c896d4fa2a1ba606f886a7468a0"}}]}]
BACKPORT-->

Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
2023-03-07 06:11:19 -07:00
Marco Liberati
0e2c874664
[8.7] [Lens] Reinstate config errors in embeddable (#150650) (#152798)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Lens] Reinstate config errors in embeddable
(#150650)](https://github.com/elastic/kibana/pull/150650)

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

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

<!--BACKPORT [{"author":{"name":"Drew
Tate","email":"drew.tate@elastic.co"},"sourceCommit":{"committedDate":"2023-02-13T17:07:23Z","message":"[Lens]
Reinstate config errors in embeddable
(#150650)","sha":"6e3551d9dad5fc15be91b37b2632064a69d491b4","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","Feature:Lens","backport:prev-minor","v8.8.0"],"number":150650,"url":"https://github.com/elastic/kibana/pull/150650","mergeCommit":{"message":"[Lens]
Reinstate config errors in embeddable
(#150650)","sha":"6e3551d9dad5fc15be91b37b2632064a69d491b4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150650","number":150650,"mergeCommit":{"message":"[Lens]
Reinstate config errors in embeddable
(#150650)","sha":"6e3551d9dad5fc15be91b37b2632064a69d491b4"}},{"url":"https://github.com/elastic/kibana/pull/151049","number":151049,"branch":"8.7","state":"OPEN"}]}]
BACKPORT-->

---------

Co-authored-by: Drew Tate <drew.tate@elastic.co>
2023-03-07 04:33:05 -07:00
Kibana Machine
c843c37efc
[8.7] [APM] Show logs for all environments (#152722) (#152779)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[APM] Show logs for all environments
(#152722)](https://github.com/elastic/kibana/pull/152722)

<!--- 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-03-07T07:47:09Z","message":"[APM]
Show logs for all environments (#152722)\n\nThis fixes a bug where no
logs would be shown if the user selected\r\n`Environment: All` (which is
the default selection)\r\n\r\nFollow-up to
https://github.com/elastic/kibana/pull/150065","sha":"88a2afbc5a1e92baa2b2fd0564fff73d21ee3d46","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:APM","release_note:skip","v8.7.0","v8.8.0"],"number":152722,"url":"https://github.com/elastic/kibana/pull/152722","mergeCommit":{"message":"[APM]
Show logs for all environments (#152722)\n\nThis fixes a bug where no
logs would be shown if the user selected\r\n`Environment: All` (which is
the default selection)\r\n\r\nFollow-up to
https://github.com/elastic/kibana/pull/150065","sha":"88a2afbc5a1e92baa2b2fd0564fff73d21ee3d46"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152722","number":152722,"mergeCommit":{"message":"[APM]
Show logs for all environments (#152722)\n\nThis fixes a bug where no
logs would be shown if the user selected\r\n`Environment: All` (which is
the default selection)\r\n\r\nFollow-up to
https://github.com/elastic/kibana/pull/150065","sha":"88a2afbc5a1e92baa2b2fd0564fff73d21ee3d46"}}]}]
BACKPORT-->

Co-authored-by: Søren Louv-Jansen <soren.louv@elastic.co>
2023-03-07 01:55:38 -07:00
Kibana Machine
f37e3ec87e
[8.7] [Security Solution][Exceptions] - Fix value list import button label (#152281) (#152776)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution][Exceptions] - Fix value list import button label
(#152281)](https://github.com/elastic/kibana/pull/152281)

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

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

<!--BACKPORT [{"author":{"name":"Yara
Tercero","email":"yctercero@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-07T04:09:24Z","message":"[Security
Solution][Exceptions] - Fix value list import button label
(#152281)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/149801","sha":"4c9e3b43494b867f8747a1eff4ce36415f8ea85d","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:
SecuritySolution","Team:Security Solution
Platform","v8.7.0","v8.8.0"],"number":152281,"url":"https://github.com/elastic/kibana/pull/152281","mergeCommit":{"message":"[Security
Solution][Exceptions] - Fix value list import button label
(#152281)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/149801","sha":"4c9e3b43494b867f8747a1eff4ce36415f8ea85d"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152281","number":152281,"mergeCommit":{"message":"[Security
Solution][Exceptions] - Fix value list import button label
(#152281)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/149801","sha":"4c9e3b43494b867f8747a1eff4ce36415f8ea85d"}}]}]
BACKPORT-->

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2023-03-06 22:53:51 -07:00
christineweng
82fa5fb396
[8.7] [Security Solution] Fix empty fields and tab titles on Alerts page charts (#152402) (#152769)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution] Fix empty fields and tab titles on Alerts page
charts (#152402)](https://github.com/elastic/kibana/pull/152402)

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

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

<!--BACKPORT
[{"author":{"name":"christineweng","email":"18648970+christineweng@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-06T22:44:57Z","message":"[Security
Solution] Fix empty fields and tab titles on Alerts page charts
(#152402)\n\n## Summary\r\n\r\nThis PR contains fixes/enhancements on
charts section on Alerts Page:\r\n\r\n1. Updated tab
names\r\n\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/18648970/222000232-e8681a19-3986-4b7a-a7f1-e92b805ad965.png)\r\n
\r\n\r\n2. Updated inspect modal titles to match actual tab name
(from\r\nhttps://github.com/elastic/kibana/issues/151842)\r\n\r\n-
`Counts` (used to be `Aggregations` on alerts page and `Table`
in\r\ninspect modal, they are both `Counts`
now)\r\n\r\n![image](https://user-images.githubusercontent.com/18648970/222000544-575b33ee-dddd-4e8b-b7f6-8bc2b2c67545.png)\r\n\r\n3.
Updated `querySkip` in `Trend`, `Counts`, and `Summary` as
mentioned\r\non https://github.com/elastic/kibana/issues/150382\r\n-
`querySkip` followed the same pattern of `toggleStatus` that
each\r\nchart keeps track of its own `querySkip` based on toggle status
(skip\r\nquery if charts is collapsed). This is no longer necessary
because\r\ntoggle is now managed at a higher level.\r\n \r\n4. Fixed a
bug that the top alerts chart was calculating percentages\r\nbased on
available fields\r\n- For instance, there are 100 alerts, 20 has
`host.name=\"host-1\"`, 30\r\nhas `host.name=\"host-2\"`, the bars will
show 40% and 60% for each, and\r\nit adds up to 100%. This does not
factor in the 50 alerts with\r\nempty/null fields.\r\n- This PR added an
info button that shows the percentage of available\r\nfields, as well as
on-click action to add a filter to show alerts with\r\nempty fields\r\n
\r\n\r\n![image](222000307-764b1e90-ac88-40c7-9f26-a9372e8592a8.mov\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","sha":"012ec798f7c9b512478b55aec2dc686a37c8347c","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Threat
Hunting","Team: SecuritySolution","release_note:feature","Team:Threat
Hunting:Investigations","v8.7.0","v8.8.0"],"number":152402,"url":"https://github.com/elastic/kibana/pull/152402","mergeCommit":{"message":"[Security
Solution] Fix empty fields and tab titles on Alerts page charts
(#152402)\n\n## Summary\r\n\r\nThis PR contains fixes/enhancements on
charts section on Alerts Page:\r\n\r\n1. Updated tab
names\r\n\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/18648970/222000232-e8681a19-3986-4b7a-a7f1-e92b805ad965.png)\r\n
\r\n\r\n2. Updated inspect modal titles to match actual tab name
(from\r\nhttps://github.com/elastic/kibana/issues/151842)\r\n\r\n-
`Counts` (used to be `Aggregations` on alerts page and `Table`
in\r\ninspect modal, they are both `Counts`
now)\r\n\r\n![image](https://user-images.githubusercontent.com/18648970/222000544-575b33ee-dddd-4e8b-b7f6-8bc2b2c67545.png)\r\n\r\n3.
Updated `querySkip` in `Trend`, `Counts`, and `Summary` as
mentioned\r\non https://github.com/elastic/kibana/issues/150382\r\n-
`querySkip` followed the same pattern of `toggleStatus` that
each\r\nchart keeps track of its own `querySkip` based on toggle status
(skip\r\nquery if charts is collapsed). This is no longer necessary
because\r\ntoggle is now managed at a higher level.\r\n \r\n4. Fixed a
bug that the top alerts chart was calculating percentages\r\nbased on
available fields\r\n- For instance, there are 100 alerts, 20 has
`host.name=\"host-1\"`, 30\r\nhas `host.name=\"host-2\"`, the bars will
show 40% and 60% for each, and\r\nit adds up to 100%. This does not
factor in the 50 alerts with\r\nempty/null fields.\r\n- This PR added an
info button that shows the percentage of available\r\nfields, as well as
on-click action to add a filter to show alerts with\r\nempty fields\r\n
\r\n\r\n![image](222000307-764b1e90-ac88-40c7-9f26-a9372e8592a8.mov\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","sha":"012ec798f7c9b512478b55aec2dc686a37c8347c"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/152402","number":152402,"mergeCommit":{"message":"[Security
Solution] Fix empty fields and tab titles on Alerts page charts
(#152402)\n\n## Summary\r\n\r\nThis PR contains fixes/enhancements on
charts section on Alerts Page:\r\n\r\n1. Updated tab
names\r\n\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/18648970/222000232-e8681a19-3986-4b7a-a7f1-e92b805ad965.png)\r\n
\r\n\r\n2. Updated inspect modal titles to match actual tab name
(from\r\nhttps://github.com/elastic/kibana/issues/151842)\r\n\r\n-
`Counts` (used to be `Aggregations` on alerts page and `Table`
in\r\ninspect modal, they are both `Counts`
now)\r\n\r\n![image](https://user-images.githubusercontent.com/18648970/222000544-575b33ee-dddd-4e8b-b7f6-8bc2b2c67545.png)\r\n\r\n3.
Updated `querySkip` in `Trend`, `Counts`, and `Summary` as
mentioned\r\non https://github.com/elastic/kibana/issues/150382\r\n-
`querySkip` followed the same pattern of `toggleStatus` that
each\r\nchart keeps track of its own `querySkip` based on toggle status
(skip\r\nquery if charts is collapsed). This is no longer necessary
because\r\ntoggle is now managed at a higher level.\r\n \r\n4. Fixed a
bug that the top alerts chart was calculating percentages\r\nbased on
available fields\r\n- For instance, there are 100 alerts, 20 has
`host.name=\"host-1\"`, 30\r\nhas `host.name=\"host-2\"`, the bars will
show 40% and 60% for each, and\r\nit adds up to 100%. This does not
factor in the 50 alerts with\r\nempty/null fields.\r\n- This PR added an
info button that shows the percentage of available\r\nfields, as well as
on-click action to add a filter to show alerts with\r\nempty fields\r\n
\r\n\r\n![image](222000307-764b1e90-ac88-40c7-9f26-a9372e8592a8.mov\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","sha":"012ec798f7c9b512478b55aec2dc686a37c8347c"}}]}]
BACKPORT-->
2023-03-06 18:27:18 -07:00