Commit graph

2972 commits

Author SHA1 Message Date
Kibana Machine
fe42d07b10
[8.6] [@kbn/handlebars] Refactor internal context handling (#148029) (#148035)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[@kbn/handlebars] Refactor internal context handling
(#148029)](https://github.com/elastic/kibana/pull/148029)

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

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2022-12-22T21:23:43Z","message":"[@kbn/handlebars]
Refactor internal context handling
(#148029)","sha":"0d2e8156bf8c0e5d38a40fb02f94662348e9377a","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.7.0"],"number":148029,"url":"https://github.com/elastic/kibana/pull/148029","mergeCommit":{"message":"[@kbn/handlebars]
Refactor internal context handling
(#148029)","sha":"0d2e8156bf8c0e5d38a40fb02f94662348e9377a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/148029","number":148029,"mergeCommit":{"message":"[@kbn/handlebars]
Refactor internal context handling
(#148029)","sha":"0d2e8156bf8c0e5d38a40fb02f94662348e9377a"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-12-22 15:28:02 -07:00
Kibana Machine
67a0f935d1
[8.6] [@kbn/handlebars] Improve types (#147800) (#148026)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[@kbn/handlebars] Improve types
(#147800)](https://github.com/elastic/kibana/pull/147800)

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

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2022-12-22T17:27:56Z","message":"[@kbn/handlebars]
Improve types
(#147800)","sha":"41fd68b7193d9ea160692124345a64ac7aba410a","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.7.0"],"number":147800,"url":"https://github.com/elastic/kibana/pull/147800","mergeCommit":{"message":"[@kbn/handlebars]
Improve types
(#147800)","sha":"41fd68b7193d9ea160692124345a64ac7aba410a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/147800","number":147800,"mergeCommit":{"message":"[@kbn/handlebars]
Improve types
(#147800)","sha":"41fd68b7193d9ea160692124345a64ac7aba410a"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-12-22 11:32:44 -07:00
Kibana Machine
1a94e763a7
[8.6] [@kbn/handlebars] Ensure only decorators have an options.args property (#147791) (#147799)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[@kbn/handlebars] Ensure only decorators have an `options.args`
property (#147791)](https://github.com/elastic/kibana/pull/147791)

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

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2022-12-19T19:40:18Z","message":"[@kbn/handlebars]
Ensure only decorators have an `options.args` property
(#147791)\n\nAfter adding support for decorators an `args` property has
added to\r\n`HelperOptions` (which is shared with decorators). To not
leak this into\r\nregular helpers and to align with the upstream
handlebars, this PR\r\nremoves the `args` property from regular helpers
so that it's only\r\nvisible to
decorators.","sha":"800f45180cb1706a67f264ba5cee95c1a2031b8a","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.7.0"],"number":147791,"url":"https://github.com/elastic/kibana/pull/147791","mergeCommit":{"message":"[@kbn/handlebars]
Ensure only decorators have an `options.args` property
(#147791)\n\nAfter adding support for decorators an `args` property has
added to\r\n`HelperOptions` (which is shared with decorators). To not
leak this into\r\nregular helpers and to align with the upstream
handlebars, this PR\r\nremoves the `args` property from regular helpers
so that it's only\r\nvisible to
decorators.","sha":"800f45180cb1706a67f264ba5cee95c1a2031b8a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/147791","number":147791,"mergeCommit":{"message":"[@kbn/handlebars]
Ensure only decorators have an `options.args` property
(#147791)\n\nAfter adding support for decorators an `args` property has
added to\r\n`HelperOptions` (which is shared with decorators). To not
leak this into\r\nregular helpers and to align with the upstream
handlebars, this PR\r\nremoves the `args` property from regular helpers
so that it's only\r\nvisible to
decorators.","sha":"800f45180cb1706a67f264ba5cee95c1a2031b8a"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-12-19 13:45:03 -07:00
Kibana Machine
18e8c0c45c
[8.6] [@kbn/handlebars] Code cleanup (#147425) (#147789)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[@kbn/handlebars] Code cleanup
(#147425)](https://github.com/elastic/kibana/pull/147425)

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

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2022-12-19T17:24:26Z","message":"[@kbn/handlebars]
Code cleanup
(#147425)","sha":"b00a2643cd7a2980902ee693d67cc6b801daacab","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.7.0"],"number":147425,"url":"https://github.com/elastic/kibana/pull/147425","mergeCommit":{"message":"[@kbn/handlebars]
Code cleanup
(#147425)","sha":"b00a2643cd7a2980902ee693d67cc6b801daacab"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/147425","number":147425,"mergeCommit":{"message":"[@kbn/handlebars]
Code cleanup
(#147425)","sha":"b00a2643cd7a2980902ee693d67cc6b801daacab"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-12-19 11:31:30 -07:00
Kibana Machine
c9ca8486c0
[8.6] Do not skip UPDATE_TARGET_MAPPINGS if upgrading to a newer stack version (#147503) (#147522)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Do not skip UPDATE_TARGET_MAPPINGS if upgrading to a newer stack
version (#147503)](https://github.com/elastic/kibana/pull/147503)

<!--- 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":"2022-12-14T13:39:47Z","message":"Do
not skip UPDATE_TARGET_MAPPINGS if upgrading to a newer stack version
(#147503)\n\nFixes
https://github.com/elastic/kibana/issues/147450","sha":"4f72a2eb5beded9a3086de7766021d9b65a197f3","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Team:Core","release_note:skip","Feature:Migrations","backport:prev-minor","v8.6.0","v8.7.0","v8.6.1"],"number":147503,"url":"https://github.com/elastic/kibana/pull/147503","mergeCommit":{"message":"Do
not skip UPDATE_TARGET_MAPPINGS if upgrading to a newer stack version
(#147503)\n\nFixes
https://github.com/elastic/kibana/issues/147450","sha":"4f72a2eb5beded9a3086de7766021d9b65a197f3"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/147503","number":147503,"mergeCommit":{"message":"Do
not skip UPDATE_TARGET_MAPPINGS if upgrading to a newer stack version
(#147503)\n\nFixes
https://github.com/elastic/kibana/issues/147450","sha":"4f72a2eb5beded9a3086de7766021d9b65a197f3"}}]}]
BACKPORT-->

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
2022-12-14 07:45:35 -07:00
Kibana Machine
fb98bca516
[8.6] [RAM] Fix docLink for Connectors (#147395) (#147487)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[RAM] Fix docLink for Connectors
(#147395)](https://github.com/elastic/kibana/pull/147395)

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

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

<!--BACKPORT [{"author":{"name":"Zacqary Adam
Xeper","email":"Zacqary@users.noreply.github.com"},"sourceCommit":{"committedDate":"2022-12-13T23:39:42Z","message":"[RAM]
Fix docLink for Connectors (#147395)\n\n## Summary\r\n\r\nFixes #146164
\r\n\r\nDocumentation for Connectors didn't make it into the PR that
added the\r\nnew page. This fixes the broken link.\r\n\r\n\r\n###
Checklist\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\nCo-authored-by: Lisa Cawley
<lcawley@elastic.co>","sha":"cbcc675811a7089ffc8779e52d740c2065528209","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:ResponseOps","Feature:Alerting/RulesManagement","v8.7.0","v8.6.1"],"number":147395,"url":"https://github.com/elastic/kibana/pull/147395","mergeCommit":{"message":"[RAM]
Fix docLink for Connectors (#147395)\n\n## Summary\r\n\r\nFixes #146164
\r\n\r\nDocumentation for Connectors didn't make it into the PR that
added the\r\nnew page. This fixes the broken link.\r\n\r\n\r\n###
Checklist\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\nCo-authored-by: Lisa Cawley
<lcawley@elastic.co>","sha":"cbcc675811a7089ffc8779e52d740c2065528209"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/147395","number":147395,"mergeCommit":{"message":"[RAM]
Fix docLink for Connectors (#147395)\n\n## Summary\r\n\r\nFixes #146164
\r\n\r\nDocumentation for Connectors didn't make it into the PR that
added the\r\nnew page. This fixes the broken link.\r\n\r\n\r\n###
Checklist\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\nCo-authored-by: Lisa Cawley
<lcawley@elastic.co>","sha":"cbcc675811a7089ffc8779e52d740c2065528209"}},{"branch":"8.6","label":"v8.6.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
2022-12-13 17:48:42 -07:00
Kibana Machine
6ff092cf76
[8.6] [@kbn/handlebars] Improve print_ast.js script (#147086) (#147363)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[@kbn/handlebars] Improve print_ast.js script
(#147086)](https://github.com/elastic/kibana/pull/147086)

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

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2022-12-12T15:09:01Z","message":"[@kbn/handlebars]
Improve print_ast.js script
(#147086)","sha":"e5d02f5b9718bf1afce16c271869d455f0b95119","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.7.0"],"number":147086,"url":"https://github.com/elastic/kibana/pull/147086","mergeCommit":{"message":"[@kbn/handlebars]
Improve print_ast.js script
(#147086)","sha":"e5d02f5b9718bf1afce16c271869d455f0b95119"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/147086","number":147086,"mergeCommit":{"message":"[@kbn/handlebars]
Improve print_ast.js script
(#147086)","sha":"e5d02f5b9718bf1afce16c271869d455f0b95119"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-12-12 09:13:45 -07:00
Kibana Machine
f67c20d32f
[8.6] Add custom Buildkite pipeline for @kbn/handlebars (#146964) (#147275)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Add custom Buildkite pipeline for @kbn/handlebars
(#146964)](https://github.com/elastic/kibana/pull/146964)

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

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2022-12-08T17:28:33Z","message":"Add
custom Buildkite pipeline for @kbn/handlebars (#146964)\n\nCloses
#146963","sha":"39d27bb868ba5e0d544a0fa17afb19abf650c7bf","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.7.0"],"number":146964,"url":"https://github.com/elastic/kibana/pull/146964","mergeCommit":{"message":"Add
custom Buildkite pipeline for @kbn/handlebars (#146964)\n\nCloses
#146963","sha":"39d27bb868ba5e0d544a0fa17afb19abf650c7bf"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146964","number":146964,"mergeCommit":{"message":"Add
custom Buildkite pipeline for @kbn/handlebars (#146964)\n\nCloses
#146963","sha":"39d27bb868ba5e0d544a0fa17afb19abf650c7bf"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-12-12 03:30:09 -07:00
Kibana Machine
5fdada7819
[8.6] [Security Solution]: List details page fix Linked Rules max height (#147039) (#147054)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Security Solution]: List details page fix Linked Rules max height
(#147039)](https://github.com/elastic/kibana/pull/147039)

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

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

<!--BACKPORT [{"author":{"name":"Wafaa
Nasr","email":"wafaa.nasr@elastic.co"},"sourceCommit":{"committedDate":"2022-12-05T21:02:05Z","message":"[Security
Solution]: List details page fix Linked Rules max height (#147039)\n\n##
Summary\r\n\r\n- Applying a max-height to the `Linked Rules` combobox in
the List\r\nShared details as well as in the Add Exception
Items","sha":"81635fca7300ca81b9fc87c2c3a754e7851a5c30","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","ci:cloud-deploy","v8.7.0"],"number":147039,"url":"https://github.com/elastic/kibana/pull/147039","mergeCommit":{"message":"[Security
Solution]: List details page fix Linked Rules max height (#147039)\n\n##
Summary\r\n\r\n- Applying a max-height to the `Linked Rules` combobox in
the List\r\nShared details as well as in the Add Exception
Items","sha":"81635fca7300ca81b9fc87c2c3a754e7851a5c30"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/147039","number":147039,"mergeCommit":{"message":"[Security
Solution]: List details page fix Linked Rules max height (#147039)\n\n##
Summary\r\n\r\n- Applying a max-height to the `Linked Rules` combobox in
the List\r\nShared details as well as in the Add Exception
Items","sha":"81635fca7300ca81b9fc87c2c3a754e7851a5c30"}}]}] BACKPORT-->

Co-authored-by: Wafaa Nasr <wafaa.nasr@elastic.co>
2022-12-05 15:37:45 -07:00
Kibana Machine
5b2ce19c9c
[8.6] [@kbn/handlebars] add support for decorators (#146181) (#146960)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[@kbn/handlebars] add support for decorators
(#146181)](https://github.com/elastic/kibana/pull/146181)

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

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2022-12-05T07:45:23Z","message":"[@kbn/handlebars]
add support for decorators (#146181)\n\nCloses
#145322","sha":"aa344928d81250235733987a63281c2629806ba0","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","backport:prev-minor","v8.7.0"],"number":146181,"url":"https://github.com/elastic/kibana/pull/146181","mergeCommit":{"message":"[@kbn/handlebars]
add support for decorators (#146181)\n\nCloses
#145322","sha":"aa344928d81250235733987a63281c2629806ba0"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146181","number":146181,"mergeCommit":{"message":"[@kbn/handlebars]
add support for decorators (#146181)\n\nCloses
#145322","sha":"aa344928d81250235733987a63281c2629806ba0"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-12-05 01:52:55 -07:00
Kibana Machine
502fed4c91
[8.6] [Security Solution][Exception]: Add to shared lists fixes (#146750) (#146887)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Security Solution][Exception]: Add to shared lists fixes
(#146750)](https://github.com/elastic/kibana/pull/146750)

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

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

<!--BACKPORT [{"author":{"name":"Wafaa
Nasr","email":"wafaa.nasr@elastic.co"},"sourceCommit":{"committedDate":"2022-12-02T14:02:33Z","message":"[Security
Solution][Exception]: Add to shared lists fixes (#146750)\n\n##
Summary\r\n\r\n- Continuing from
[PR](https://github.com/elastic/kibana/pull/146121) to\r\napply the same
changes to the `Add to Shared Lists`.\r\n- Fix showing the number of
Linked rules correctly => in `route.ts` use\r\nthe `list.namespaceType`
instead of namespaceTypes array\r\n- Apply docs comment on the text\r\n-
Use the HeaderMenu item from the `kbn` package for the `Number
of\r\nLinked rules` menu\r\n- Allow displaying the HeaderMenu without
iconType\r\n- Update snapshots and add tests in
HeaderMenu","sha":"78b4851a214e5018c8ea6535477ca9374ffb377f","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","auto-backport","Team:Security
Solution
Platform","ci:cloud-deploy","v8.6.0"],"number":146750,"url":"https://github.com/elastic/kibana/pull/146750","mergeCommit":{"message":"[Security
Solution][Exception]: Add to shared lists fixes (#146750)\n\n##
Summary\r\n\r\n- Continuing from
[PR](https://github.com/elastic/kibana/pull/146121) to\r\napply the same
changes to the `Add to Shared Lists`.\r\n- Fix showing the number of
Linked rules correctly => in `route.ts` use\r\nthe `list.namespaceType`
instead of namespaceTypes array\r\n- Apply docs comment on the text\r\n-
Use the HeaderMenu item from the `kbn` package for the `Number
of\r\nLinked rules` menu\r\n- Allow displaying the HeaderMenu without
iconType\r\n- Update snapshots and add tests in
HeaderMenu","sha":"78b4851a214e5018c8ea6535477ca9374ffb377f"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Wafaa Nasr <wafaa.nasr@elastic.co>
2022-12-02 11:49:00 -07:00
Kibana Machine
63473d511c
[8.6] [Security Solution] Update docs link for es connection errors (#146827) (#146882)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Security Solution] Update docs link for es connection errors
(#146827)](https://github.com/elastic/kibana/pull/146827)

<!--- 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":"2022-12-02T12:42:51Z","message":"[Security
Solution] Update docs link for es connection errors (#146827)\n\n##
Summary\r\n\r\nUpdates the docs link we need to provide for Endpoint ES
connection\r\nerrors\r\n\r\n### Checklist\r\n\r\n- [x] Any text added
follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ecc165c4870f3e27bedf08f9d11066340d1b3819","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Onboarding
and Lifecycle
Mgt","auto-backport","v8.6.0","v8.7.0"],"number":146827,"url":"https://github.com/elastic/kibana/pull/146827","mergeCommit":{"message":"[Security
Solution] Update docs link for es connection errors (#146827)\n\n##
Summary\r\n\r\nUpdates the docs link we need to provide for Endpoint ES
connection\r\nerrors\r\n\r\n### Checklist\r\n\r\n- [x] Any text added
follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ecc165c4870f3e27bedf08f9d11066340d1b3819"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146827","number":146827,"mergeCommit":{"message":"[Security
Solution] Update docs link for es connection errors (#146827)\n\n##
Summary\r\n\r\nUpdates the docs link we need to provide for Endpoint ES
connection\r\nerrors\r\n\r\n### Checklist\r\n\r\n- [x] Any text added
follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ecc165c4870f3e27bedf08f9d11066340d1b3819"}}]}]
BACKPORT-->

Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
2022-12-02 07:44:28 -07:00
Kibana Machine
28991d49d8
[8.6] [Infrastructure UI] Improve metrics settings error handling (#146272) (#146675)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Infrastructure UI] Improve metrics settings error handling
(#146272)](https://github.com/elastic/kibana/pull/146272)

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

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

<!--BACKPORT [{"author":{"name":"Marco Antonio
Ghiani","email":"marcoantonio.ghiani01@gmail.com"},"sourceCommit":{"committedDate":"2022-11-30T10:54:37Z","message":"[Infrastructure
UI] Improve metrics settings error handling (#146272)\n\nCloses
[#145238](https://github.com/elastic/kibana/issues/145238)\r\n\r\n##
Summary\r\n\r\nThese changes add validation to the Metric Indices passed
into the\r\nMetrics settings page.\r\nNew validation is added both in
the UI and in the endpoint, performing\r\nthe following checks:\r\n-
Index pattern is not an empty string\r\n- Index pattern does not contain
empty spaces (start, middle, end) (the\r\npattern is not trimmed)\r\n-
Index pattern does not contain empty entries, comma-separated
values\r\nshould have an acceptable value.\r\n\r\nIn case the value is
not valid, the UI will render an appropriate error\r\nmessage.\r\nIf the
`PATCH /api/metrics/source/{sourceId}` request to update the\r\nvalue is
manually sent with an invalid value, the server will respond\r\nwith a
400 status code and an error message.\r\n\r\nAlso, for retro
compatibility and to not block the user when the\r\nconfiguration can't
be successfully retrieved, in case of internal error\r\nthe `GET
/api/metrics/source/{sourceId}` will return a 404 and on the\r\nUI,
instead of rendering a blank page, the user will see the empty
form\r\nand will be able to re-insert the right values.\r\n\r\n##
Testing\r\n\r\nNavigate to `Inventory`-> Click on `Settings` on the
topbar -> Start\r\nwriting different metric indices in the Metric
Indices field.\r\n\r\n### Editing Metric Indices
validation\r\n\r\n\r\nhttps://user-images.githubusercontent.com/34506779/203763021-0f4d8926-ffa4-448a-a038-696732158f4e.mov\r\n\r\n###
Missing/Broken configuration
response\r\n\r\n\r\nhttps://user-images.githubusercontent.com/34506779/203763120-ffc91cd3-9bf4-43da-a04f-5561ceabf591.mov\r\n\r\nCo-authored-by:
Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ddcbf73284d48b1f1f6eb9322f6f108f312f8e02","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Metrics
UI","Team:Infra Monitoring
UI","release_note:skip","backport:all-open","v8.7.0"],"number":146272,"url":"https://github.com/elastic/kibana/pull/146272","mergeCommit":{"message":"[Infrastructure
UI] Improve metrics settings error handling (#146272)\n\nCloses
[#145238](https://github.com/elastic/kibana/issues/145238)\r\n\r\n##
Summary\r\n\r\nThese changes add validation to the Metric Indices passed
into the\r\nMetrics settings page.\r\nNew validation is added both in
the UI and in the endpoint, performing\r\nthe following checks:\r\n-
Index pattern is not an empty string\r\n- Index pattern does not contain
empty spaces (start, middle, end) (the\r\npattern is not trimmed)\r\n-
Index pattern does not contain empty entries, comma-separated
values\r\nshould have an acceptable value.\r\n\r\nIn case the value is
not valid, the UI will render an appropriate error\r\nmessage.\r\nIf the
`PATCH /api/metrics/source/{sourceId}` request to update the\r\nvalue is
manually sent with an invalid value, the server will respond\r\nwith a
400 status code and an error message.\r\n\r\nAlso, for retro
compatibility and to not block the user when the\r\nconfiguration can't
be successfully retrieved, in case of internal error\r\nthe `GET
/api/metrics/source/{sourceId}` will return a 404 and on the\r\nUI,
instead of rendering a blank page, the user will see the empty
form\r\nand will be able to re-insert the right values.\r\n\r\n##
Testing\r\n\r\nNavigate to `Inventory`-> Click on `Settings` on the
topbar -> Start\r\nwriting different metric indices in the Metric
Indices field.\r\n\r\n### Editing Metric Indices
validation\r\n\r\n\r\nhttps://user-images.githubusercontent.com/34506779/203763021-0f4d8926-ffa4-448a-a038-696732158f4e.mov\r\n\r\n###
Missing/Broken configuration
response\r\n\r\n\r\nhttps://user-images.githubusercontent.com/34506779/203763120-ffc91cd3-9bf4-43da-a04f-5561ceabf591.mov\r\n\r\nCo-authored-by:
Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ddcbf73284d48b1f1f6eb9322f6f108f312f8e02"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146272","number":146272,"mergeCommit":{"message":"[Infrastructure
UI] Improve metrics settings error handling (#146272)\n\nCloses
[#145238](https://github.com/elastic/kibana/issues/145238)\r\n\r\n##
Summary\r\n\r\nThese changes add validation to the Metric Indices passed
into the\r\nMetrics settings page.\r\nNew validation is added both in
the UI and in the endpoint, performing\r\nthe following checks:\r\n-
Index pattern is not an empty string\r\n- Index pattern does not contain
empty spaces (start, middle, end) (the\r\npattern is not trimmed)\r\n-
Index pattern does not contain empty entries, comma-separated
values\r\nshould have an acceptable value.\r\n\r\nIn case the value is
not valid, the UI will render an appropriate error\r\nmessage.\r\nIf the
`PATCH /api/metrics/source/{sourceId}` request to update the\r\nvalue is
manually sent with an invalid value, the server will respond\r\nwith a
400 status code and an error message.\r\n\r\nAlso, for retro
compatibility and to not block the user when the\r\nconfiguration can't
be successfully retrieved, in case of internal error\r\nthe `GET
/api/metrics/source/{sourceId}` will return a 404 and on the\r\nUI,
instead of rendering a blank page, the user will see the empty
form\r\nand will be able to re-insert the right values.\r\n\r\n##
Testing\r\n\r\nNavigate to `Inventory`-> Click on `Settings` on the
topbar -> Start\r\nwriting different metric indices in the Metric
Indices field.\r\n\r\n### Editing Metric Indices
validation\r\n\r\n\r\nhttps://user-images.githubusercontent.com/34506779/203763021-0f4d8926-ffa4-448a-a038-696732158f4e.mov\r\n\r\n###
Missing/Broken configuration
response\r\n\r\n\r\nhttps://user-images.githubusercontent.com/34506779/203763120-ffc91cd3-9bf4-43da-a04f-5561ceabf591.mov\r\n\r\nCo-authored-by:
Marco Antonio Ghiani <marcoantonio.ghiani@elastic.co>\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ddcbf73284d48b1f1f6eb9322f6f108f312f8e02"}}]}]
BACKPORT-->

Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani01@gmail.com>
2022-11-30 05:00:48 -07:00
Gerard Soldevila
42bf33f146
[8.6] Reduce startup time by skipping update mappings step when possible (#145604) (#146637)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Reduce startup time by skipping update mappings step when possible
(#145604)](https://github.com/elastic/kibana/pull/145604)

<!--- 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":"2022-11-28T14:34:58Z","message":"Reduce
startup time by skipping update mappings step when possible
(#145604)\n\nThe goal of this PR is to reduce the startup times of
Kibana server by\r\nimproving the migration logic.\r\n\r\nFixes
https://github.com/elastic/kibana/issues/145743\r\nRelated
https://github.com/elastic/kibana/issues/144035)\r\n\r\nThe migration
logic is run systematically at startup, whether the\r\ncustomers are
upgrading or not.\r\nHistorically, these steps have been very quick, but
we recently found\r\nout about some customers that have more than **one
million** Saved\r\nObjects stored, making the overall startup process
slow, even when there\r\nare no migrations to perform.\r\n\r\nThis PR
specifically targets the case where there are no migrations
to\r\nperform, aka a Kibana node is started against an ES cluster that
is\r\nalready up to date wrt stack version and list of
plugins.\r\n\r\nIn this scenario, we aim at skipping the
`UPDATE_TARGET_MAPPINGS` step\r\nof the migration logic, which
internally runs the\r\n`updateAndPickupMappings` method, which turns out
to be expensive if the\r\nsystem indices contain lots of
SO.\r\n\r\n\r\nI locally tested the following scenarios too:\r\n\r\n-
**Fresh install.** The step is not even run, as the `.kibana`
index\r\ndid not exist \r\n- **Stack version + list of plugins up to
date.** Simply restarting\r\nKibana after the fresh install. The step is
run and leads to `DONE`, as\r\nthe md5 hashes match those stored in
`.kibana._mapping._meta` \r\n- **Faking re-enabling an old plugin.** I
manually removed one of the\r\nMD5 hashes from the stored
.kibana._mapping._meta through `curl`, and\r\nthen restarted Kibana. The
step is run and leads to\r\n`UPDATE_TARGET_MAPPINGS` as it used to
before the PR \r\n- **Faking updating a plugin.** Same as the previous
one, but altering\r\nan existing md5 stored in the metas. \r\n\r\nAnd
that is the curl command used to tamper with the stored
_meta:\r\n```bash\r\ncurl -X PUT
\"kibana:changeme@localhost:9200/.kibana/_mapping?pretty\" -H
'Content-Type: application/json' -d'\r\n{\r\n \"_meta\": {\r\n
\"migrationMappingPropertyHashes\": {\r\n \"references\":
\"7997cf5a56cc02bdc9c93361bde732b0\",\r\n }\r\n
}\r\n}\r\n'\r\n```","sha":"b1e18a0414ed99456706119d15173b687c6e7366","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","enhancement","release_note:skip","Feature:Migrations","backport:prev-minor","v8.7.0"],"number":145604,"url":"https://github.com/elastic/kibana/pull/145604","mergeCommit":{"message":"Reduce
startup time by skipping update mappings step when possible
(#145604)\n\nThe goal of this PR is to reduce the startup times of
Kibana server by\r\nimproving the migration logic.\r\n\r\nFixes
https://github.com/elastic/kibana/issues/145743\r\nRelated
https://github.com/elastic/kibana/issues/144035)\r\n\r\nThe migration
logic is run systematically at startup, whether the\r\ncustomers are
upgrading or not.\r\nHistorically, these steps have been very quick, but
we recently found\r\nout about some customers that have more than **one
million** Saved\r\nObjects stored, making the overall startup process
slow, even when there\r\nare no migrations to perform.\r\n\r\nThis PR
specifically targets the case where there are no migrations
to\r\nperform, aka a Kibana node is started against an ES cluster that
is\r\nalready up to date wrt stack version and list of
plugins.\r\n\r\nIn this scenario, we aim at skipping the
`UPDATE_TARGET_MAPPINGS` step\r\nof the migration logic, which
internally runs the\r\n`updateAndPickupMappings` method, which turns out
to be expensive if the\r\nsystem indices contain lots of
SO.\r\n\r\n\r\nI locally tested the following scenarios too:\r\n\r\n-
**Fresh install.** The step is not even run, as the `.kibana`
index\r\ndid not exist \r\n- **Stack version + list of plugins up to
date.** Simply restarting\r\nKibana after the fresh install. The step is
run and leads to `DONE`, as\r\nthe md5 hashes match those stored in
`.kibana._mapping._meta` \r\n- **Faking re-enabling an old plugin.** I
manually removed one of the\r\nMD5 hashes from the stored
.kibana._mapping._meta through `curl`, and\r\nthen restarted Kibana. The
step is run and leads to\r\n`UPDATE_TARGET_MAPPINGS` as it used to
before the PR \r\n- **Faking updating a plugin.** Same as the previous
one, but altering\r\nan existing md5 stored in the metas. \r\n\r\nAnd
that is the curl command used to tamper with the stored
_meta:\r\n```bash\r\ncurl -X PUT
\"kibana:changeme@localhost:9200/.kibana/_mapping?pretty\" -H
'Content-Type: application/json' -d'\r\n{\r\n \"_meta\": {\r\n
\"migrationMappingPropertyHashes\": {\r\n \"references\":
\"7997cf5a56cc02bdc9c93361bde732b0\",\r\n }\r\n
}\r\n}\r\n'\r\n```","sha":"b1e18a0414ed99456706119d15173b687c6e7366"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/145604","number":145604,"mergeCommit":{"message":"Reduce
startup time by skipping update mappings step when possible
(#145604)\n\nThe goal of this PR is to reduce the startup times of
Kibana server by\r\nimproving the migration logic.\r\n\r\nFixes
https://github.com/elastic/kibana/issues/145743\r\nRelated
https://github.com/elastic/kibana/issues/144035)\r\n\r\nThe migration
logic is run systematically at startup, whether the\r\ncustomers are
upgrading or not.\r\nHistorically, these steps have been very quick, but
we recently found\r\nout about some customers that have more than **one
million** Saved\r\nObjects stored, making the overall startup process
slow, even when there\r\nare no migrations to perform.\r\n\r\nThis PR
specifically targets the case where there are no migrations
to\r\nperform, aka a Kibana node is started against an ES cluster that
is\r\nalready up to date wrt stack version and list of
plugins.\r\n\r\nIn this scenario, we aim at skipping the
`UPDATE_TARGET_MAPPINGS` step\r\nof the migration logic, which
internally runs the\r\n`updateAndPickupMappings` method, which turns out
to be expensive if the\r\nsystem indices contain lots of
SO.\r\n\r\n\r\nI locally tested the following scenarios too:\r\n\r\n-
**Fresh install.** The step is not even run, as the `.kibana`
index\r\ndid not exist \r\n- **Stack version + list of plugins up to
date.** Simply restarting\r\nKibana after the fresh install. The step is
run and leads to `DONE`, as\r\nthe md5 hashes match those stored in
`.kibana._mapping._meta` \r\n- **Faking re-enabling an old plugin.** I
manually removed one of the\r\nMD5 hashes from the stored
.kibana._mapping._meta through `curl`, and\r\nthen restarted Kibana. The
step is run and leads to\r\n`UPDATE_TARGET_MAPPINGS` as it used to
before the PR \r\n- **Faking updating a plugin.** Same as the previous
one, but altering\r\nan existing md5 stored in the metas. \r\n\r\nAnd
that is the curl command used to tamper with the stored
_meta:\r\n```bash\r\ncurl -X PUT
\"kibana:changeme@localhost:9200/.kibana/_mapping?pretty\" -H
'Content-Type: application/json' -d'\r\n{\r\n \"_meta\": {\r\n
\"migrationMappingPropertyHashes\": {\r\n \"references\":
\"7997cf5a56cc02bdc9c93361bde732b0\",\r\n }\r\n
}\r\n}\r\n'\r\n```","sha":"b1e18a0414ed99456706119d15173b687c6e7366"}}]}]
BACKPORT-->
2022-11-30 03:26:18 -07:00
Tiago Costa
e4b663a49a
[8.6] chore(NA): updates from lmdb-store to lmdb (#145891) (#146643)
# Backport

This will backport the following commits from `main` to `8.6`:
- [chore(NA): updates from lmdb-store to lmdb
(#145891)](https://github.com/elastic/kibana/pull/145891)

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

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

<!--BACKPORT [{"author":{"name":"Tiago
Costa","email":"tiago.costa@elastic.co"},"sourceCommit":{"committedDate":"2022-11-28T23:48:15Z","message":"chore(NA):
updates from lmdb-store to lmdb (#145891)\n\nThis PR upgrades from
`lbmd-store` into `lmdb` which is the new package\r\nand fully
compatible with node `v18`.\r\nSo far my tests shows the new
implementation is compatible with our\r\nusages and I'm actually seeing
a great performance boost when comparing\r\nwith main specially on
subsequent calls of the same command.\r\n\r\nThis can be tested by
running the following 2 times on main vs this\r\nbranch `time node
scripts/kibana
--config\r\nsrc/cli/serve/integration_tests/__fixtures__/invalid_config.yml\r\n--migrations.skip=true
--verbose`\r\n\r\nI verify the following on my
machine\r\n\r\n**main:**\r\n_1st run:_ 36s\r\n_2nd run:_
34s\r\n\r\n**this branch:**\r\n_1st run:_ 35s\r\n_2nd run:_
6s\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"e65c6526107670689c520bc20c973626c12c636d","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","backport:all-open","v8.7.0"],"number":145891,"url":"https://github.com/elastic/kibana/pull/145891","mergeCommit":{"message":"chore(NA):
updates from lmdb-store to lmdb (#145891)\n\nThis PR upgrades from
`lbmd-store` into `lmdb` which is the new package\r\nand fully
compatible with node `v18`.\r\nSo far my tests shows the new
implementation is compatible with our\r\nusages and I'm actually seeing
a great performance boost when comparing\r\nwith main specially on
subsequent calls of the same command.\r\n\r\nThis can be tested by
running the following 2 times on main vs this\r\nbranch `time node
scripts/kibana
--config\r\nsrc/cli/serve/integration_tests/__fixtures__/invalid_config.yml\r\n--migrations.skip=true
--verbose`\r\n\r\nI verify the following on my
machine\r\n\r\n**main:**\r\n_1st run:_ 36s\r\n_2nd run:_
34s\r\n\r\n**this branch:**\r\n_1st run:_ 35s\r\n_2nd run:_
6s\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"e65c6526107670689c520bc20c973626c12c636d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/145891","number":145891,"mergeCommit":{"message":"chore(NA):
updates from lmdb-store to lmdb (#145891)\n\nThis PR upgrades from
`lbmd-store` into `lmdb` which is the new package\r\nand fully
compatible with node `v18`.\r\nSo far my tests shows the new
implementation is compatible with our\r\nusages and I'm actually seeing
a great performance boost when comparing\r\nwith main specially on
subsequent calls of the same command.\r\n\r\nThis can be tested by
running the following 2 times on main vs this\r\nbranch `time node
scripts/kibana
--config\r\nsrc/cli/serve/integration_tests/__fixtures__/invalid_config.yml\r\n--migrations.skip=true
--verbose`\r\n\r\nI verify the following on my
machine\r\n\r\n**main:**\r\n_1st run:_ 36s\r\n_2nd run:_
34s\r\n\r\n**this branch:**\r\n_1st run:_ 35s\r\n_2nd run:_
6s\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"e65c6526107670689c520bc20c973626c12c636d"}}]}]
BACKPORT-->

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-11-29 18:12:04 -07:00
Kibana Machine
f7bff8e0da
[8.6] [DOCS] Updating value lists URL (#146602) (#146630)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[DOCS] Updating value lists URL
(#146602)](https://github.com/elastic/kibana/pull/146602)

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

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

<!--BACKPORT
[{"author":{"name":"nastasha-solomon","email":"79124755+nastasha-solomon@users.noreply.github.com"},"sourceCommit":{"committedDate":"2022-11-29T20:32:57Z","message":"[DOCS]
Updating value lists URL
(#146602)","sha":"6e0c610570ae8a69fa794309fb873ae84f71e06d","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","docs","v8.6.0","v8.7.0"],"number":146602,"url":"https://github.com/elastic/kibana/pull/146602","mergeCommit":{"message":"[DOCS]
Updating value lists URL
(#146602)","sha":"6e0c610570ae8a69fa794309fb873ae84f71e06d"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146602","number":146602,"mergeCommit":{"message":"[DOCS]
Updating value lists URL
(#146602)","sha":"6e0c610570ae8a69fa794309fb873ae84f71e06d"}}]}]
BACKPORT-->

Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>
2022-11-29 14:40:16 -07:00
Kibana Machine
e32d1dfedd
[8.6] [Security solution] Guided onboarding, security tour copy changes (#146061) (#146600)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Security solution] Guided onboarding, security tour copy changes
(#146061)](https://github.com/elastic/kibana/pull/146061)

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

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

<!--BACKPORT [{"author":{"name":"Steph
Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2022-11-29T17:24:26Z","message":"[Security
solution] Guided onboarding, security tour copy changes
(#146061)","sha":"d1e3430dbc6b93b41cda1d1e4b13aa39b0b5ae0b","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","Team:Threat
Hunting","Team: SecuritySolution","Team:Threat
Hunting:Explore","ui-copy","Team:Journey/Onboarding","v8.6.0","v8.7.0"],"number":146061,"url":"https://github.com/elastic/kibana/pull/146061","mergeCommit":{"message":"[Security
solution] Guided onboarding, security tour copy changes
(#146061)","sha":"d1e3430dbc6b93b41cda1d1e4b13aa39b0b5ae0b"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146061","number":146061,"mergeCommit":{"message":"[Security
solution] Guided onboarding, security tour copy changes
(#146061)","sha":"d1e3430dbc6b93b41cda1d1e4b13aa39b0b5ae0b"}}]}]
BACKPORT-->

Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
2022-11-29 12:21:31 -07:00
Kibana Machine
c406470f7f
[8.6] [Guided onboarding] Address design feedback (#146467) (#146559)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Guided onboarding] Address design feedback
(#146467)](https://github.com/elastic/kibana/pull/146467)

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

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

<!--BACKPORT [{"author":{"name":"Alison
Goryachev","email":"alison.goryachev@elastic.co"},"sourceCommit":{"committedDate":"2022-11-29T14:27:08Z","message":"[Guided
onboarding] Address design feedback
(#146467)","sha":"fa320eb8d98e2ad6ac65c6233ae0558a9098f603","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","Team:Journey/Onboarding","v8.6.0","v8.7.0"],"number":146467,"url":"https://github.com/elastic/kibana/pull/146467","mergeCommit":{"message":"[Guided
onboarding] Address design feedback
(#146467)","sha":"fa320eb8d98e2ad6ac65c6233ae0558a9098f603"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146467","number":146467,"mergeCommit":{"message":"[Guided
onboarding] Address design feedback
(#146467)","sha":"fa320eb8d98e2ad6ac65c6233ae0558a9098f603"}}]}]
BACKPORT-->

Co-authored-by: Alison Goryachev <alison.goryachev@elastic.co>
2022-11-29 10:11:47 -07:00
Kibana Machine
5ea653ecf3
[8.6] [Enterprise Search][ML Inference] Improve no models copy (#145772) (#146422)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Enterprise Search][ML Inference] Improve no models copy
(#145772)](https://github.com/elastic/kibana/pull/145772)

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

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

<!--BACKPORT [{"author":{"name":"Rodney
Norris","email":"rodney.norris@elastic.co"},"sourceCommit":{"committedDate":"2022-11-28T15:40:51Z","message":"[Enterprise
Search][ML Inference] Improve no models copy (#145772)\n\n##
Summary\r\n\r\nUpdated the no models learn more to link to the new
machine learning\r\ngetting started guide\r\nUpdated the copy on the no
models modal to be more explicit and provide\r\ninformation on the types
of models that are supported.\r\n\r\n###
Screenshot\r\n\r\n![image](https://user-images.githubusercontent.com/1972968/203351794-260fd7a2-260f-4b8d-ae75-6b7bb41a889f.png)\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"210b2f0f0e1dcb4798b5cd04eea5abe3f6e638f3","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.6.0","v8.7.0"],"number":145772,"url":"https://github.com/elastic/kibana/pull/145772","mergeCommit":{"message":"[Enterprise
Search][ML Inference] Improve no models copy (#145772)\n\n##
Summary\r\n\r\nUpdated the no models learn more to link to the new
machine learning\r\ngetting started guide\r\nUpdated the copy on the no
models modal to be more explicit and provide\r\ninformation on the types
of models that are supported.\r\n\r\n###
Screenshot\r\n\r\n![image](https://user-images.githubusercontent.com/1972968/203351794-260fd7a2-260f-4b8d-ae75-6b7bb41a889f.png)\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"210b2f0f0e1dcb4798b5cd04eea5abe3f6e638f3"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/145772","number":145772,"mergeCommit":{"message":"[Enterprise
Search][ML Inference] Improve no models copy (#145772)\n\n##
Summary\r\n\r\nUpdated the no models learn more to link to the new
machine learning\r\ngetting started guide\r\nUpdated the copy on the no
models modal to be more explicit and provide\r\ninformation on the types
of models that are supported.\r\n\r\n###
Screenshot\r\n\r\n![image](https://user-images.githubusercontent.com/1972968/203351794-260fd7a2-260f-4b8d-ae75-6b7bb41a889f.png)\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)","sha":"210b2f0f0e1dcb4798b5cd04eea5abe3f6e638f3"}}]}]
BACKPORT-->

Co-authored-by: Rodney Norris <rodney.norris@elastic.co>
2022-11-28 10:03:22 -07:00
Kibana Machine
e1a755107c
[8.6] Fix typos in @kbn/handlebars package (#146385) (#146392)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Fix typos in @kbn/handlebars package
(#146385)](https://github.com/elastic/kibana/pull/146385)

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

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2022-11-28T13:39:55Z","message":"Fix
typos in @kbn/handlebars package (#146385)\n\nAs a follow up to #146174
here's a PR containing the typo-fixes found
by\r\n@azasypkin.","sha":"185993c4b903062100cdb95f7cc73c2d17007dca","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","backport:prev-minor","v8.7.0"],"number":146385,"url":"https://github.com/elastic/kibana/pull/146385","mergeCommit":{"message":"Fix
typos in @kbn/handlebars package (#146385)\n\nAs a follow up to #146174
here's a PR containing the typo-fixes found
by\r\n@azasypkin.","sha":"185993c4b903062100cdb95f7cc73c2d17007dca"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146385","number":146385,"mergeCommit":{"message":"Fix
typos in @kbn/handlebars package (#146385)\n\nAs a follow up to #146174
here's a PR containing the typo-fixes found
by\r\n@azasypkin.","sha":"185993c4b903062100cdb95f7cc73c2d17007dca"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-11-28 08:08:29 -07:00
Kibana Machine
8a08b52dc9
[8.6] [@kbn/handlebars] housekeeping (#146174) (#146293)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[@kbn/handlebars] housekeeping
(#146174)](https://github.com/elastic/kibana/pull/146174)

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

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2022-11-24T14:11:20Z","message":"[@kbn/handlebars]
housekeeping (#146174)\n\nJust a few housekeeping commits to improve the
README and tests of the\r\n`@kbn/handlebars`
package.","sha":"89bf8d8f83137eb9fa193e02576eb37d5ffad1cc","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","backport:prev-minor","v8.7.0"],"number":146174,"url":"https://github.com/elastic/kibana/pull/146174","mergeCommit":{"message":"[@kbn/handlebars]
housekeeping (#146174)\n\nJust a few housekeeping commits to improve the
README and tests of the\r\n`@kbn/handlebars`
package.","sha":"89bf8d8f83137eb9fa193e02576eb37d5ffad1cc"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146174","number":146174,"mergeCommit":{"message":"[@kbn/handlebars]
housekeeping (#146174)\n\nJust a few housekeeping commits to improve the
README and tests of the\r\n`@kbn/handlebars`
package.","sha":"89bf8d8f83137eb9fa193e02576eb37d5ffad1cc"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-11-24 08:26:28 -07:00
Gloria Hornero
f00647f7de
[8.6] [Security Solution] [Platform] Adds 'Optional' to the default description message when editing (#146108) (#146216)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Security Solution] [Platform] Adds 'Optional' to the default
description message when editing
(#146108)](https://github.com/elastic/kibana/pull/146108)

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

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

<!--BACKPORT [{"author":{"name":"Gloria
Hornero","email":"gloria.hornero@elastic.co"},"sourceCommit":{"committedDate":"2022-11-23T19:31:56Z","message":"[Security
Solution] [Platform] Adds 'Optional' to the default description message
when editing
(#146108)","sha":"efe6967a4ccdc0beed1db648aebf866199ef78f9","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Detections
and Resp","Team: SecuritySolution","Team:Security Solution
Platform","v8.6.0","v8.7.0"],"number":146108,"url":"https://github.com/elastic/kibana/pull/146108","mergeCommit":{"message":"[Security
Solution] [Platform] Adds 'Optional' to the default description message
when editing
(#146108)","sha":"efe6967a4ccdc0beed1db648aebf866199ef78f9"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146108","number":146108,"mergeCommit":{"message":"[Security
Solution] [Platform] Adds 'Optional' to the default description message
when editing
(#146108)","sha":"efe6967a4ccdc0beed1db648aebf866199ef78f9"}}]}]
BACKPORT-->
2022-11-23 13:32:35 -07:00
Kibana Machine
7b6d34c7d0
[8.6] [Security Solution][List details page]: Sort Manage rules table based on selection (#146003) (#146123)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Security Solution][List details page]: Sort Manage rules table based
on selection (#146003)](https://github.com/elastic/kibana/pull/146003)

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

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

<!--BACKPORT [{"author":{"name":"Wafaa
Nasr","email":"wafaa.nasr@elastic.co"},"sourceCommit":{"committedDate":"2022-11-23T10:28:36Z","message":"[Security
Solution][List details page]: Sort Manage rules table based on selection
(#146003)\n\n## Summary\r\n\r\n- Addresses
https://github.com/elastic/kibana/issues/145807\r\n\r\n- Sort table
based on the `initiallySelectedRules` so it renders the\r\nselected on
the first
page","sha":"8ded29a18abc958d36ab3ab5e2488628fb20f353","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Security
Solution
Platform","backport:prev-minor","ci:cloud-deploy","v8.6.0","v8.7.0"],"number":146003,"url":"https://github.com/elastic/kibana/pull/146003","mergeCommit":{"message":"[Security
Solution][List details page]: Sort Manage rules table based on selection
(#146003)\n\n## Summary\r\n\r\n- Addresses
https://github.com/elastic/kibana/issues/145807\r\n\r\n- Sort table
based on the `initiallySelectedRules` so it renders the\r\nselected on
the first
page","sha":"8ded29a18abc958d36ab3ab5e2488628fb20f353"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146003","number":146003,"mergeCommit":{"message":"[Security
Solution][List details page]: Sort Manage rules table based on selection
(#146003)\n\n## Summary\r\n\r\n- Addresses
https://github.com/elastic/kibana/issues/145807\r\n\r\n- Sort table
based on the `initiallySelectedRules` so it renders the\r\nselected on
the first page","sha":"8ded29a18abc958d36ab3ab5e2488628fb20f353"}}]}]
BACKPORT-->

Co-authored-by: Wafaa Nasr <wafaa.nasr@elastic.co>
2022-11-23 05:02:20 -07:00
Kibana Machine
367192b3d7
[8.6] [Enterprise Search] Rename filtering to sync rules (#146013) (#146040)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Enterprise Search] Rename filtering to sync rules
(#146013)](https://github.com/elastic/kibana/pull/146013)

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

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

<!--BACKPORT [{"author":{"name":"Sander
Philipse","email":"94373878+sphilipse@users.noreply.github.com"},"sourceCommit":{"committedDate":"2022-11-22T17:38:49Z","message":"[Enterprise
Search] Rename filtering to sync rules (#146013)\n\nThis renames
'Filter(ing) Rules' to Sync rules across the Enterprise\r\nSearch
Content application. Also adds docs links for these
rules.","sha":"9c6272c1f24f9b9ac128ac655233ad098ed7ce3d","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.6.0","v8.7.0"],"number":146013,"url":"https://github.com/elastic/kibana/pull/146013","mergeCommit":{"message":"[Enterprise
Search] Rename filtering to sync rules (#146013)\n\nThis renames
'Filter(ing) Rules' to Sync rules across the Enterprise\r\nSearch
Content application. Also adds docs links for these
rules.","sha":"9c6272c1f24f9b9ac128ac655233ad098ed7ce3d"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146013","number":146013,"mergeCommit":{"message":"[Enterprise
Search] Rename filtering to sync rules (#146013)\n\nThis renames
'Filter(ing) Rules' to Sync rules across the Enterprise\r\nSearch
Content application. Also adds docs links for these
rules.","sha":"9c6272c1f24f9b9ac128ac655233ad098ed7ce3d"}}]}]
BACKPORT-->

Co-authored-by: Sander Philipse <94373878+sphilipse@users.noreply.github.com>
2022-11-22 11:44:55 -07:00
Pierre Gayvallet
a06f55b8af
[8.6] Fix SO service status when migration is disabled (#145693) (#145974)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Fix SO service status when migration is disabled
(#145693)](https://github.com/elastic/kibana/pull/145693)

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

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

<!--BACKPORT [{"author":{"name":"Pierre
Gayvallet","email":"pierre.gayvallet@elastic.co"},"sourceCommit":{"committedDate":"2022-11-21T08:02:52Z","message":"Fix
SO service status when migration is disabled (#145693)\n\n##
Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/145558\r\n\r\nhave the SO
service status properly be green instead of being stuck to\r\nred when
the SO migration was skipped using `migration.skip:
true`.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"75100868427f10ec8ed19a2bae811263c0ded311","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","backport:prev-minor","v8.6.0","v8.7.0"],"number":145693,"url":"https://github.com/elastic/kibana/pull/145693","mergeCommit":{"message":"Fix
SO service status when migration is disabled (#145693)\n\n##
Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/145558\r\n\r\nhave the SO
service status properly be green instead of being stuck to\r\nred when
the SO migration was skipped using `migration.skip:
true`.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"75100868427f10ec8ed19a2bae811263c0ded311"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/145693","number":145693,"mergeCommit":{"message":"Fix
SO service status when migration is disabled (#145693)\n\n##
Summary\r\n\r\nFix
https://github.com/elastic/kibana/issues/145558\r\n\r\nhave the SO
service status properly be green instead of being stuck to\r\nred when
the SO migration was skipped using `migration.skip:
true`.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"75100868427f10ec8ed19a2bae811263c0ded311"}}]}]
BACKPORT-->
2022-11-22 05:55:22 -07:00
Kibana Machine
210cde75fe
[8.6] Endpoint fixes (#145834) (#145901)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Endpoint fixes
(#145834)](https://github.com/elastic/kibana/pull/145834)

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

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

<!--BACKPORT [{"author":{"name":"Khristinin
Nikita","email":"nikita.khristinin@elastic.co"},"sourceCommit":{"committedDate":"2022-11-21T17:37:35Z","message":"Endpoint
fixes (#145834)\n\n## Summary\r\n\r\nAddress:
\r\n[145806](https://github.com/elastic/kibana/issues/145806),
\r\n[145535](https://github.com/elastic/kibana/issues/145535),
\r\n[145541](https://github.com/elastic/kibana/issues/145541),
\r\n[145676](https://github.com/elastic/kibana/issues/145676),
\r\n[145673](https://github.com/elastic/kibana/issues/145673),
\r\n\r\n\r\n\r\n\r\n\r\nhttps://user-images.githubusercontent.com/7609147/203031829-bcbd5db2-e9af-4ef6-ad8d-0016c33b785b.mov\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"f24e75d3920d71806d588d281d433737012373c9","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Security
Solution
Platform","backport:prev-minor","v8.7.0"],"number":145834,"url":"https://github.com/elastic/kibana/pull/145834","mergeCommit":{"message":"Endpoint
fixes (#145834)\n\n## Summary\r\n\r\nAddress:
\r\n[145806](https://github.com/elastic/kibana/issues/145806),
\r\n[145535](https://github.com/elastic/kibana/issues/145535),
\r\n[145541](https://github.com/elastic/kibana/issues/145541),
\r\n[145676](https://github.com/elastic/kibana/issues/145676),
\r\n[145673](https://github.com/elastic/kibana/issues/145673),
\r\n\r\n\r\n\r\n\r\n\r\nhttps://user-images.githubusercontent.com/7609147/203031829-bcbd5db2-e9af-4ef6-ad8d-0016c33b785b.mov\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"f24e75d3920d71806d588d281d433737012373c9"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/145834","number":145834,"mergeCommit":{"message":"Endpoint
fixes (#145834)\n\n## Summary\r\n\r\nAddress:
\r\n[145806](https://github.com/elastic/kibana/issues/145806),
\r\n[145535](https://github.com/elastic/kibana/issues/145535),
\r\n[145541](https://github.com/elastic/kibana/issues/145541),
\r\n[145676](https://github.com/elastic/kibana/issues/145676),
\r\n[145673](https://github.com/elastic/kibana/issues/145673),
\r\n\r\n\r\n\r\n\r\n\r\nhttps://user-images.githubusercontent.com/7609147/203031829-bcbd5db2-e9af-4ef6-ad8d-0016c33b785b.mov\r\n\r\n\r\n\r\n###
Checklist\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"f24e75d3920d71806d588d281d433737012373c9"}}]}]
BACKPORT-->

Co-authored-by: Khristinin Nikita <nikita.khristinin@elastic.co>
2022-11-21 13:24:37 -07:00
Kibana Machine
68bd9a95e7
[8.6] [Security Solution] [Exceptions] Fix edit the exception while adding new comment. (#145575) (#145724)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Security Solution] [Exceptions] Fix edit the exception while adding
new comment. (#145575)](https://github.com/elastic/kibana/pull/145575)

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

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

<!--BACKPORT [{"author":{"name":"Wafaa
Nasr","email":"wafaa.nasr@elastic.co"},"sourceCommit":{"committedDate":"2022-11-18T13:35:03Z","message":"[Security
Solution] [Exceptions] Fix edit the exception while adding new comment.
(#145575)\n\n## Summary\r\n\r\nAddress
https://github.com/elastic/kibana/issues/144523\r\n\r\n1. Fix type
schema check to use `updateExceptionListItemSchema` instead\r\nof
`exceptionListItemSchema` as the comments array could be empty
when\r\nthe user adds the Exceptions and in Editing with adding a new
comment(s)\r\nit will contain only (comment and id) in the newly created
comment\r\n\r\n2. Add `removeCreatedAtCreatedByFromCommentsOnUpdate` to
remove the\r\n`createdAt`, and `createdBy` from the updated exception
Item if a\r\ncomment was added before to fix the `400 Schema
validations` as per the\r\nbelow
Schema\r\n\r\nThe\r\n`packages/kbn-securitysolution-io-ts-list-types/src/common/update_comment/index.ts`\r\n
\r\n ```\r\n export const updateComment = t.intersection([\r\n
t.exact(\r\n t.type({\r\n comment: NonEmptyString,\r\n })\r\n ),\r\n
t.exact(\r\n t.partial({\r\n id,\r\n })\r\n ),\r\n ]);\r\n ```\r\n3.
Moving tests and mocks to the `hooks` package as well add new
tests\r\nfor the new
`removeCreatedAtCreatedByFromCommentsOnUpdate`\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"2bd2226cb259312b90ad32b1cd5618a0cc2e8b49","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:
SecuritySolution","Team:Security Solution
Platform","v8.6.0","v8.7.0"],"number":145575,"url":"https://github.com/elastic/kibana/pull/145575","mergeCommit":{"message":"[Security
Solution] [Exceptions] Fix edit the exception while adding new comment.
(#145575)\n\n## Summary\r\n\r\nAddress
https://github.com/elastic/kibana/issues/144523\r\n\r\n1. Fix type
schema check to use `updateExceptionListItemSchema` instead\r\nof
`exceptionListItemSchema` as the comments array could be empty
when\r\nthe user adds the Exceptions and in Editing with adding a new
comment(s)\r\nit will contain only (comment and id) in the newly created
comment\r\n\r\n2. Add `removeCreatedAtCreatedByFromCommentsOnUpdate` to
remove the\r\n`createdAt`, and `createdBy` from the updated exception
Item if a\r\ncomment was added before to fix the `400 Schema
validations` as per the\r\nbelow
Schema\r\n\r\nThe\r\n`packages/kbn-securitysolution-io-ts-list-types/src/common/update_comment/index.ts`\r\n
\r\n ```\r\n export const updateComment = t.intersection([\r\n
t.exact(\r\n t.type({\r\n comment: NonEmptyString,\r\n })\r\n ),\r\n
t.exact(\r\n t.partial({\r\n id,\r\n })\r\n ),\r\n ]);\r\n ```\r\n3.
Moving tests and mocks to the `hooks` package as well add new
tests\r\nfor the new
`removeCreatedAtCreatedByFromCommentsOnUpdate`\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"2bd2226cb259312b90ad32b1cd5618a0cc2e8b49"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/145575","number":145575,"mergeCommit":{"message":"[Security
Solution] [Exceptions] Fix edit the exception while adding new comment.
(#145575)\n\n## Summary\r\n\r\nAddress
https://github.com/elastic/kibana/issues/144523\r\n\r\n1. Fix type
schema check to use `updateExceptionListItemSchema` instead\r\nof
`exceptionListItemSchema` as the comments array could be empty
when\r\nthe user adds the Exceptions and in Editing with adding a new
comment(s)\r\nit will contain only (comment and id) in the newly created
comment\r\n\r\n2. Add `removeCreatedAtCreatedByFromCommentsOnUpdate` to
remove the\r\n`createdAt`, and `createdBy` from the updated exception
Item if a\r\ncomment was added before to fix the `400 Schema
validations` as per the\r\nbelow
Schema\r\n\r\nThe\r\n`packages/kbn-securitysolution-io-ts-list-types/src/common/update_comment/index.ts`\r\n
\r\n ```\r\n export const updateComment = t.intersection([\r\n
t.exact(\r\n t.type({\r\n comment: NonEmptyString,\r\n })\r\n ),\r\n
t.exact(\r\n t.partial({\r\n id,\r\n })\r\n ),\r\n ]);\r\n ```\r\n3.
Moving tests and mocks to the `hooks` package as well add new
tests\r\nfor the new
`removeCreatedAtCreatedByFromCommentsOnUpdate`\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"2bd2226cb259312b90ad32b1cd5618a0cc2e8b49"}}]}]
BACKPORT-->

Co-authored-by: Wafaa Nasr <wafaa.nasr@elastic.co>
2022-11-18 08:11:25 -07:00
Constance
fa3a62e5a5
Upgrade EUI to v67.1.9 (#145490)
## Summary
`eui@67.1.8`  `eui@67.1.9`

This backport fixes bugs affecting Maps that were found in the latest
EUI upgrade
(https://github.com/elastic/kibana/pull/144845#issuecomment-1317653081).
It is meant to go directly into 8.6

## [`67.1.9`](https://github.com/elastic/eui/tree/v67.1.9)

- `EuiButton` now accepts `minWidth={false}`
([#6373](https://github.com/elastic/eui/pull/6373))

**Bug fixes**

- Fixed the shadow sizes of `.eui-yScrollWithShadows` and
`.eui-xScrollWithShadows`
([#6374](https://github.com/elastic/eui/pull/6374))
- `EuiButton` no longer outputs unnecessary inline styles for
`minWidth={0}` or `minWidth={false}`
([#6373](https://github.com/elastic/eui/pull/6373))
- `EuiFacetButton` no longer reports type issues when passing props
accepted by `EuiButton`
([#6373](https://github.com/elastic/eui/pull/6373))

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-11-17 14:53:30 -08:00
Kibana Machine
a9f7ba61f1
[8.6] Add CSP header to all requests, including api requests (#144902) (#145449)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Add CSP header to all requests, including api requests
(#144902)](https://github.com/elastic/kibana/pull/144902)

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

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2022-11-16T20:45:10Z","message":"Add
CSP header to all requests, including api requests
(#144902)\n\nPreviously `/api/*` requests didn't include a
`Content-Security-Policy`\r\nheader, now they do.\r\n\r\nCloses
#143871","sha":"5550ab6cb10fbfddf437a74900103bb33dd1afa4","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","backport:all-open","v8.7.0"],"number":144902,"url":"https://github.com/elastic/kibana/pull/144902","mergeCommit":{"message":"Add
CSP header to all requests, including api requests
(#144902)\n\nPreviously `/api/*` requests didn't include a
`Content-Security-Policy`\r\nheader, now they do.\r\n\r\nCloses
#143871","sha":"5550ab6cb10fbfddf437a74900103bb33dd1afa4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/144902","number":144902,"mergeCommit":{"message":"Add
CSP header to all requests, including api requests
(#144902)\n\nPreviously `/api/*` requests didn't include a
`Content-Security-Policy`\r\nheader, now they do.\r\n\r\nCloses
#143871","sha":"5550ab6cb10fbfddf437a74900103bb33dd1afa4"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-11-16 14:51:50 -07:00
spalger
cfdfda85b6
[optimizer] fix snapshot 2022-11-16 11:40:54 -06:00
spalger
db48448800
[optimizer] fix limits config path 2022-11-16 10:23:20 -06:00
Alejandro Fernández Haro
a5f5d8682e
[EBT] Add flush method and call it during stop (#144925)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Resolves https://github.com/elastic/kibana/issues/140521
2022-11-16 14:48:11 +01:00
Jonathan Buttner
2180a8a6b0
[ResponseOps][Rules] Adding rule.url variable (#145035)
This PR adds a new actions variable for linking back the stack
management rule page. In a future PR we will require the rule type to
specify the plugin's path when registering the rule type that way we can
link back to the specific plugin that created the rule.

Issue: https://github.com/elastic/kibana/issues/145132

<details><summary>Mustache variable</summary>


![image](https://user-images.githubusercontent.com/56361221/201212197-48577715-954b-463d-9164-5d2ebfc18cb4.png)


![image](https://user-images.githubusercontent.com/56361221/201212231-23319658-0b21-469b-a272-7c59f5caa618.png)


</details>

<details><summary>Constructed URL</summary>


![image](https://user-images.githubusercontent.com/56361221/201212322-6a4eab78-88ef-4cef-aa41-e34792a8148b.png)


</details>

Co-authored-by: Xavier Mouligneau <xavier.mouligneau@elastic.co>
2022-11-15 16:05:32 -07:00
Jonathan Budzenski
5ee2172547 skip flaky suite. #145267 2022-11-15 16:08:03 -06:00
Khristinin Nikita
35e02bcf64
Add sorting for exceptions cards (#145070)
## Add sorting for shared exceptions

Currently is possible to sort by Name, Created At, Created By


https://user-images.githubusercontent.com/7609147/201640150-dc9d53e4-0d34-4da1-8522-9899d35e7359.mov

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Devin W. Hurley <snowmiser111@gmail.com>
2022-11-15 13:55:38 -07:00
Marshall Main
a2647ab67c
[Security Solution][Alerts] Alert suppression per rule execution (#142686)
## Summary

Addresses https://github.com/elastic/kibana/issues/130699

This PR implements alert throttling per rule execution for query and
saved query rules. The implementation is very similar in concept to
threshold rules. We allow users to pick one or more fields to group
source documents by and use a composite aggregation to collect documents
bucketed by those fields. We create 1 alert for each bucket based on the
first document in the bucket and add metadata to the alert that
represents how to retrieve the rest of the documents in the bucket.

The metadata fields are:
- `kibana.alert.suppression.terms`: `{field: string; value: Array<string
| number>}` An array of objects, each object represents one of the terms
used to group these alerts
- `kibana.alert.suppression.start`: `Date` The timestamp of the first
document in the bucket
- `kibana.alert.suppression.end`: `Date` The timestamp of the last
document in the bucket
- `kibana.alert.suppression.docs_count`: `number` The number of
suppressed alerts

There is one new rule parameter, currently implemented at the solution
level, to enable this feature: `alertSuppression.groupBy`: `string[]`.

Similar to threshold rules, the throttled query rules keep track of
created alerts in the rule state in order to filter out duplicate
documents in subsequent rule executions. When a throttled alert is
created, we store the bucket information including field names, values,
and end date in the rule state. Subsequent rule executions convert this
state into a filter that excludes documents that have already been
covered by existing alerts. This is necessary because consecutive rule
executions will typically query overlapping time ranges.

## Screenshots
### Rule Create/Edit With License
<details>


![image](https://user-images.githubusercontent.com/55718608/201762013-c973b121-e85a-4163-a645-24beaa738add.png)
</details>

### Rule Details With License
<details>


![image](https://user-images.githubusercontent.com/55718608/201970156-6e64fe01-e7b2-43c0-a740-45f72ad21863.png)
</details>

### Rule Create, or Rule Edit of a rule without existing suppression
configuration, Without License
<details>


![image](https://user-images.githubusercontent.com/55718608/201763392-20364d77-809b-46a0-b3c0-9ca7fe04f636.png)
</details>

### Editing a rule that has existing suppression configuration, but
without the correct license, still allows changing the configuration (to
allow removing the params)
<details>


![image](https://user-images.githubusercontent.com/55718608/201763671-afb2e7b8-6c8f-4a5e-8947-99ad21dd92f9.png)
</details>

### Rule Details Without License
<details>


![image](https://user-images.githubusercontent.com/55718608/201970472-8e69267d-7c53-4172-9b45-b8b46ebd67bc.png)
</details>

### Alerts table
<details>


![image](https://user-images.githubusercontent.com/55718608/201968736-e0165387-bb08-45ce-a92f-5e2b428c7426.png)
</details>

### Known issues
- The layers icon in the rule name for suppressed alerts does not show
up in the rule preview table

Co-authored-by: Madi Caldwell <madison.caldwell@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-11-15 11:08:41 -08:00
Wafaa Nasr
b33acd0fe6
[Security Solution][Exceptions] -Feature Add Exception list details page 132862 (#143041)
## Summary

Add *Exceptions List Details* page, addresses
(https://github.com/elastic/kibana/issues/132862)

**1. Search with no results**

<img width="1440" alt="image"
src="https://user-images.githubusercontent.com/12671903/195093683-a49aae90-1604-4d8b-931e-e6e75347d348.png">



**2. List with exceptions**

<img width="1450" alt="image"
src="https://user-images.githubusercontent.com/12671903/195093569-0ceb4e91-e7dc-47ba-975f-eaa060529614.png">

**3. Empty Exceptions**


![image](https://user-images.githubusercontent.com/12671903/195383665-eda7a5f8-fbcd-4f7d-a6b3-9a53a2bd7877.png)
  
**4. Update List Name and Description**


![image](https://user-images.githubusercontent.com/12671903/195384842-cf31751d-de47-4350-b2c3-79dff6669dfa.png)

**5. Export List**

![image](https://user-images.githubusercontent.com/12671903/195385602-e0b18a2b-ff55-4636-ba7f-145700c80a46.png)

**6. Manage Rules**
<img width="1227" alt="image"
src="https://user-images.githubusercontent.com/12671903/195641742-e70a46ed-d692-4536-a57c-6a56653efbd5.png">

**7. Linked Rules**
<img width="1186" alt="image"
src="https://user-images.githubusercontent.com/12671903/195641889-51c9b1db-8371-4455-b7b7-759c8e2adeca.png">

**8. ReadOnly mode when list is empty**

![image](https://user-images.githubusercontent.com/12671903/197999965-a379bc47-c6ca-45c3-ad95-a0581de37d90.png)

### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ] [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
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-11-15 16:23:00 +01:00
Gergő Ábrahám
ff09e8098a
[Security Solution] Add Endpoint RBAC documentation url to NoPrivileges page (#145084)
## Summary

When a user doesn't have the needed Kibana Privileges, more precisely
the sub-feature privileges for Security Management pages, they will see
a _Privileges Required_ page. It is already merged, see
https://github.com/elastic/security-team/issues/5222

What is missing is the correct URL for the documentation page. The goal
of this PR is to add this link.
2022-11-15 12:14:16 +01:00
Pierre Gayvallet
a16c2ac56a
Migrate server-side Root and Server to packages (#144990)
## Summary

Fix https://github.com/elastic/kibana/issues/144255

Create the `@kbn/core-root-server-internal` package, and move `Root`,
`Server` and `bootstrap` to it.

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-11-15 03:11:37 -07:00
Yulia Čech
879b101669
[Guided onboarding] Update header button logic (#144634)
## Summary
Fixes https://github.com/elastic/kibana/issues/141129
Fixes https://github.com/elastic/kibana/issues/144515

This PR introduces a new state to the guided onboarding plugin. The
state keeps track of the `creationDate` and of the overall `status` of
the plugin. The creation date allows us to detect an "active" period
during which the header button will be displayed more prominently in the
header. Currently, the active period is set to 30 days. During this
time, if the user has not started any guide, has quit a guide before
completion or skipped the guide on the landing page, the header button
will be displayed and when clicked, redirect the user to the landing
page to start/continue a guide.
Also this PR adds a check for Cloud deployments and prevents the code
from sending any API requests when not on Cloud, because guided
onboarding is disabled on prem.

#### Screenshot 
<img width="298" alt="Screenshot 2022-11-10 at 18 42 18"
src="https://user-images.githubusercontent.com/6585477/201168414-391a7cd4-0709-492b-9001-1432b5bed3c8.png">



### Checklist

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-11-14 16:50:10 -07:00
Sébastien Loix
a67776b365
[TableListView] Enhance tag filtering (#142108) 2022-11-14 14:25:19 -07:00
Spencer
565ccacf6b
[customIntegrations] async load all components (#145166) 2022-11-14 13:50:39 -07:00
Gerard Soldevila
46522d76da
Remove non-essential ES-client stats from /api/stats (#145120)
[PR #141434](https://github.com/elastic/kibana/pull/141434) exposes a
bunch of metrics related to the Elasticsearch Client in the `/api/stats`
endpoint.
While all these stats are interesting, some of them might be less
relevant than others right now.

Let's start by exposing only those stats that are more critical from a
monitoring standpoint.

<img width="440" alt="image"
src="https://user-images.githubusercontent.com/25349407/201688243-4e33cd88-5fa2-48b7-b8ca-2fd175271adc.png">
2022-11-14 10:11:46 -07:00
Muhammad Ibragimov
94437f8add
[Guided onboarding] Fix card footer button markup (#145050) 2022-11-14 10:10:53 -05:00
Yngrid Coello
9c27f3d798
[APM] Agent explorer (PoC) (#143844)
Closes [142218](https://github.com/elastic/kibana/issues/142218)

- Introducing the Agent explorer view



https://user-images.githubusercontent.com/1313018/198403801-bd9aab9c-1f7e-4775-b3ed-e0e488eef513.mov

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-11-14 15:40:49 +01:00
Brandon Kobel
10fcf61d56
Fix Health Gateway Checks (#144985)
This PR has a few changes that are needed after learning that the
existing control plane container health check uses `/` as opposed to
`/api/status`:
1. The health gateway server now listens at `/` as opposed to
`/api/status`
2. The health gateway now calls Kibana's `/` not `/api/status`
3. The health gateway will treat a 200-299 or 302 response code OR a 401
response code with a `www-authenticate` response header as healthy

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-11-14 08:29:36 -05:00
Devin W. Hurley
ec849e5bd8
[Security Solution] [Exceptions] Adds a new react route for viewing details about an individual exception list (#144754)
## Summary

Clicking on the link for an individual exception list will route users
to the detail view. Currently only displays the list id on the detail
view.

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-11-14 07:32:52 -05:00
Stratoula Kalafateli
4a4bc55127
Move appservices plugins to visualizations team (#144991)
## Summary

Moves the ownership for some of the appservices code to the
visualizations team:

- expressions plugin
- unified search
- data plugin, we decided for now to co-own it with the
@elastic/kibana-data-discovery team
2022-11-14 11:53:42 +02:00
Miriam Eid
8619d513b0
Add implementation of the Elasticsearch Python client integration (#144967) 2022-11-14 11:14:01 +02:00
Wafaa Nasr
47f38bc3df
[Security Solution] [Exceptions] Add ListExceptionItem Component and its components with implementing the logic + restructuring exceptions under security (#144622)
## Summary

**Shared List Collapsed**
<img width="1226" alt="image"
src="https://user-images.githubusercontent.com/12671903/200085472-ba638911-af4e-4e6d-85a3-7692b174fad5.png">

**One Shared list expanded**
<img width="1442" alt="image"
src="https://user-images.githubusercontent.com/12671903/200085548-2b6ef100-8587-47c5-b08d-9727bd2c25c0.png">

**Shared List with no Exceptions**

<img width="1180" alt="image"
src="https://user-images.githubusercontent.com/12671903/200531307-4b3d0d02-a7c7-4232-98cc-7d0f1b4e48c5.png">

**Add Exceptions from Shared List Card**
<img width="1461" alt="image"
src="https://user-images.githubusercontent.com/12671903/200531393-833173ea-c5a8-4ab3-b947-257154f6aa90.png">

**Exit Exception from Shared List Card**
<img width="1463" alt="image"
src="https://user-images.githubusercontent.com/12671903/200531750-e888a0fa-d95c-4994-8ead-f119611fc561.png">



**Delete Endpoint is disabled**
<img width="1186" alt="image"
src="https://user-images.githubusercontent.com/12671903/200531542-773348c2-c2e2-4062-94e1-12340756ebc3.png">




1. **New components**
a. `list_details_link_anchor` => This component should be removed and
moved to @kbn/securitysolution-exception-list-components once all the
building components get moved
b. `exceptions_utility` => This component should be removed and moved to
@kbn/securitysolution-exception-list-components once all the building
components get moved
c. `list_exception_items ` a wrapper over the ExceptionItem from the
`@kbn/securitysolution-exception-list-components` added to pass the
missing above components, should be removed soon once everything gets
moved to the kbn package

2.  **New Hooks** 
a. `use_list_exception_items` => holds all the Exceptions' items' logic
  b. `use_exceptions_list.card` => hold all the exception card logic

4. Apply Designs to the Shared Lists

5. **Restructure folders under the
`x-pack=>security_solution=>exceptions`**
    a.  components
    b. hooks
    c. pages
    d. translations
    e. utils

6. Added excluded files in `jest.config`

7. Renamed the `shared_list` components in `routes`


### Checklist

Delete any items that are not applicable to this PR.

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

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-11-09 20:59:50 +01:00