Commit graph

3236 commits

Author SHA1 Message Date
Kibana Machine
3692688d01
[8.7] [performance] enable journey run against cloud deployments (#156720) (#157122)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[performance] enable journey run against cloud deployments
(#156720)](https://github.com/elastic/kibana/pull/156720)

<!--- 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-05-09T03:35:43Z","message":"[performance]
enable journey run against cloud deployments (#156720)\n\n##
Summary\r\n\r\nThis PR adds changes and instructions how to run existing
performance\r\njourneys against ESS instances.\r\n\r\nAs previously
discussed with @pheyos , there are few manual steps to be\r\ndone before
running the actual journey:\r\n1. Create cloud deployment and
re-configure it the way APM traces are\r\nreported the monitoring
cluster\r\n2. Check out the branch matching deployment version (main
->\r\n8.9.0-SNAPSHOT), create user with `superuser` role (we don't
test\r\nfunctional features, only performance metrics)\r\n\r\nThen you
can run the journey like a regular cloud test suite:\r\n```\r\nexport
TEST_KIBANA_URL=https://<username>:<password>@<kibana_url>\r\nexport
TEST_ES_URL=https://<username>:<password>@j<elasticsearch_url>:<port>\r\nexport
TEST_CLOUD=1\r\nnode scripts/functional_test_runner.js --config
x-pack/performance/journeys/$YOUR_JOURNEY_NAME.ts\r\n```\r\n\r\n<img
width=\"1357\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/10977896/236499836-2738fecb-a5a9-4e58-a10b-915b962af037.png\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Jon
<jon@budzenski.me>","sha":"e55a92eab0ae28799b51238fb76efa6026673e6e","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","wg:performance","v8.7.2","v8.9.0","v8.8.1"],"number":156720,"url":"https://github.com/elastic/kibana/pull/156720","mergeCommit":{"message":"[performance]
enable journey run against cloud deployments (#156720)\n\n##
Summary\r\n\r\nThis PR adds changes and instructions how to run existing
performance\r\njourneys against ESS instances.\r\n\r\nAs previously
discussed with @pheyos , there are few manual steps to be\r\ndone before
running the actual journey:\r\n1. Create cloud deployment and
re-configure it the way APM traces are\r\nreported the monitoring
cluster\r\n2. Check out the branch matching deployment version (main
->\r\n8.9.0-SNAPSHOT), create user with `superuser` role (we don't
test\r\nfunctional features, only performance metrics)\r\n\r\nThen you
can run the journey like a regular cloud test suite:\r\n```\r\nexport
TEST_KIBANA_URL=https://<username>:<password>@<kibana_url>\r\nexport
TEST_ES_URL=https://<username>:<password>@j<elasticsearch_url>:<port>\r\nexport
TEST_CLOUD=1\r\nnode scripts/functional_test_runner.js --config
x-pack/performance/journeys/$YOUR_JOURNEY_NAME.ts\r\n```\r\n\r\n<img
width=\"1357\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/10977896/236499836-2738fecb-a5a9-4e58-a10b-915b962af037.png\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Jon
<jon@budzenski.me>","sha":"e55a92eab0ae28799b51238fb76efa6026673e6e"}},"sourceBranch":"main","suggestedTargetBranches":["8.7","8.8"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156720","number":156720,"mergeCommit":{"message":"[performance]
enable journey run against cloud deployments (#156720)\n\n##
Summary\r\n\r\nThis PR adds changes and instructions how to run existing
performance\r\njourneys against ESS instances.\r\n\r\nAs previously
discussed with @pheyos , there are few manual steps to be\r\ndone before
running the actual journey:\r\n1. Create cloud deployment and
re-configure it the way APM traces are\r\nreported the monitoring
cluster\r\n2. Check out the branch matching deployment version (main
->\r\n8.9.0-SNAPSHOT), create user with `superuser` role (we don't
test\r\nfunctional features, only performance metrics)\r\n\r\nThen you
can run the journey like a regular cloud test suite:\r\n```\r\nexport
TEST_KIBANA_URL=https://<username>:<password>@<kibana_url>\r\nexport
TEST_ES_URL=https://<username>:<password>@j<elasticsearch_url>:<port>\r\nexport
TEST_CLOUD=1\r\nnode scripts/functional_test_runner.js --config
x-pack/performance/journeys/$YOUR_JOURNEY_NAME.ts\r\n```\r\n\r\n<img
width=\"1357\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/10977896/236499836-2738fecb-a5a9-4e58-a10b-915b962af037.png\">\r\n\r\n---------\r\n\r\nCo-authored-by:
Jon
<jon@budzenski.me>","sha":"e55a92eab0ae28799b51238fb76efa6026673e6e"}},{"branch":"8.8","label":"v8.8.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2023-05-08 21:43:31 -07:00
Kibana Machine
b1e400d36c
[8.7] [ftr] fix scripts/functional_tests to respect cli flags (#155734) (#155907)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[ftr] fix scripts/functional_tests to respect cli flags
(#155734)](https://github.com/elastic/kibana/pull/155734)

<!--- 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-04-26T16:33:54Z","message":"[ftr]
fix scripts/functional_tests to respect cli flags (#155734)\n\n##
Summary\r\n\r\nThis\r\n[failure](https://buildkite.com/elastic/kibana-on-merge/builds/29091#01879988-ecd2-4e4f-bfb4-108939f145a1)\r\nclearly
shows that `--bail` flag is ignored when passed
to\r\n`scripts/functional_tests.js` script, and
since\r\n`scripts/functional_tests.js --help` list these flags I think
we need to\r\nfix it:\r\n\r\n```\r\n --include-tag Tags that suites must
include to be run, can be included multiple times\r\n --exclude-tag Tags
that suites must NOT include to be run, can be included multiple
times\r\n --include Files that must included to be run, can be included
multiple times\r\n --exclude Files that must NOT be included to be run,
can be included multiple times\r\n --grep Pattern to select which tests
to run\r\n --bail Stop the test run at the first failure\r\n --dry-run
Report tests without executing them\r\n --updateBaselines Replace
baseline screenshots with whatever is generated from the test\r\n
--updateSnapshots Replace inline and file snapshots with whatever is
generated from the test\r\n```\r\n\r\nI was able to reproduce it
locally:\r\n1.
Break\r\n[test/functional/apps/console/_console.ts](test/functional/apps/console/_console.ts)\r\nby
adding `expect(1).to.be(2);` in the first `it` function\r\n2. Run `node
scripts/functional_tests.js --bail
--config\r\ntest/functional/apps/console/config.ts`\r\nActual: Tests
continue to run after failure\r\nExpected: Stop tests after first
failure\r\n\r\nIt turned out `scripts/functional_test_runner.js`
respects the flags so\r\nI just copied the logic
from\r\n[packages/kbn-test/src/functional_test_runner/cli.ts](https://github.com/elastic/kibana/blob/main/packages/kbn-test/src/functional_test_runner/cli.ts#L41-L63)\r\n\r\nLet
me know if you think we need to add jest
tests.\r\n\r\n\r\nTested:\r\n\r\n```\r\nnode scripts/functional_tests.js
--bail --config test/functional/apps/console/config.ts --grep \"multiple
requests
output\"\r\n```","sha":"4211e03a5f7651afeea492e44116eb614b54f00c","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v7.17.10","v8.8.0","v8.7.2"],"number":155734,"url":"https://github.com/elastic/kibana/pull/155734","mergeCommit":{"message":"[ftr]
fix scripts/functional_tests to respect cli flags (#155734)\n\n##
Summary\r\n\r\nThis\r\n[failure](https://buildkite.com/elastic/kibana-on-merge/builds/29091#01879988-ecd2-4e4f-bfb4-108939f145a1)\r\nclearly
shows that `--bail` flag is ignored when passed
to\r\n`scripts/functional_tests.js` script, and
since\r\n`scripts/functional_tests.js --help` list these flags I think
we need to\r\nfix it:\r\n\r\n```\r\n --include-tag Tags that suites must
include to be run, can be included multiple times\r\n --exclude-tag Tags
that suites must NOT include to be run, can be included multiple
times\r\n --include Files that must included to be run, can be included
multiple times\r\n --exclude Files that must NOT be included to be run,
can be included multiple times\r\n --grep Pattern to select which tests
to run\r\n --bail Stop the test run at the first failure\r\n --dry-run
Report tests without executing them\r\n --updateBaselines Replace
baseline screenshots with whatever is generated from the test\r\n
--updateSnapshots Replace inline and file snapshots with whatever is
generated from the test\r\n```\r\n\r\nI was able to reproduce it
locally:\r\n1.
Break\r\n[test/functional/apps/console/_console.ts](test/functional/apps/console/_console.ts)\r\nby
adding `expect(1).to.be(2);` in the first `it` function\r\n2. Run `node
scripts/functional_tests.js --bail
--config\r\ntest/functional/apps/console/config.ts`\r\nActual: Tests
continue to run after failure\r\nExpected: Stop tests after first
failure\r\n\r\nIt turned out `scripts/functional_test_runner.js`
respects the flags so\r\nI just copied the logic
from\r\n[packages/kbn-test/src/functional_test_runner/cli.ts](https://github.com/elastic/kibana/blob/main/packages/kbn-test/src/functional_test_runner/cli.ts#L41-L63)\r\n\r\nLet
me know if you think we need to add jest
tests.\r\n\r\n\r\nTested:\r\n\r\n```\r\nnode scripts/functional_tests.js
--bail --config test/functional/apps/console/config.ts --grep \"multiple
requests
output\"\r\n```","sha":"4211e03a5f7651afeea492e44116eb614b54f00c"}},"sourceBranch":"main","suggestedTargetBranches":["7.17","8.7"],"targetPullRequestStates":[{"branch":"7.17","label":"v7.17.10","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/155734","number":155734,"mergeCommit":{"message":"[ftr]
fix scripts/functional_tests to respect cli flags (#155734)\n\n##
Summary\r\n\r\nThis\r\n[failure](https://buildkite.com/elastic/kibana-on-merge/builds/29091#01879988-ecd2-4e4f-bfb4-108939f145a1)\r\nclearly
shows that `--bail` flag is ignored when passed
to\r\n`scripts/functional_tests.js` script, and
since\r\n`scripts/functional_tests.js --help` list these flags I think
we need to\r\nfix it:\r\n\r\n```\r\n --include-tag Tags that suites must
include to be run, can be included multiple times\r\n --exclude-tag Tags
that suites must NOT include to be run, can be included multiple
times\r\n --include Files that must included to be run, can be included
multiple times\r\n --exclude Files that must NOT be included to be run,
can be included multiple times\r\n --grep Pattern to select which tests
to run\r\n --bail Stop the test run at the first failure\r\n --dry-run
Report tests without executing them\r\n --updateBaselines Replace
baseline screenshots with whatever is generated from the test\r\n
--updateSnapshots Replace inline and file snapshots with whatever is
generated from the test\r\n```\r\n\r\nI was able to reproduce it
locally:\r\n1.
Break\r\n[test/functional/apps/console/_console.ts](test/functional/apps/console/_console.ts)\r\nby
adding `expect(1).to.be(2);` in the first `it` function\r\n2. Run `node
scripts/functional_tests.js --bail
--config\r\ntest/functional/apps/console/config.ts`\r\nActual: Tests
continue to run after failure\r\nExpected: Stop tests after first
failure\r\n\r\nIt turned out `scripts/functional_test_runner.js`
respects the flags so\r\nI just copied the logic
from\r\n[packages/kbn-test/src/functional_test_runner/cli.ts](https://github.com/elastic/kibana/blob/main/packages/kbn-test/src/functional_test_runner/cli.ts#L41-L63)\r\n\r\nLet
me know if you think we need to add jest
tests.\r\n\r\n\r\nTested:\r\n\r\n```\r\nnode scripts/functional_tests.js
--bail --config test/functional/apps/console/config.ts --grep \"multiple
requests
output\"\r\n```","sha":"4211e03a5f7651afeea492e44116eb614b54f00c"}},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2023-04-26 10:49:13 -07:00
Kibana Machine
598b3ef2d7
[8.7] [kbn-failed-test-reporter-cli] truncate report message to fix github api call failure (#155141) (#155286)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[kbn-failed-test-reporter-cli] truncate report message to fix github
api call failure
(#155141)](https://github.com/elastic/kibana/pull/155141)

<!--- 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-04-19T14:39:35Z","message":"[kbn-failed-test-reporter-cli]
truncate report message to fix github api call failure (#155141)\n\n##
Summary\r\n\r\nWe recently had
a\r\n[failure](https://buildkite.com/elastic/kibana-on-merge/builds/29020#018792bc-498a-46d1-9343-fb791823d92e)\r\nwhile
calling Github API to open new issue:\r\n\r\n```\r\n2023-04-18 07:56:26
CEST\tERROR Error: [post
https://api.github.com/repos/elastic/kibana/issues] 422 Unprocessable
Entity Error: {\"message\":\"Validation
Failed\",\"errors\":[{\"resource\":\"Issue\",\"code\":\"custom\",\"field\":\"body\",\"message\":\"body
is too
long\"},{\"resource\":\"Issue\",\"code\":\"custom\",\"field\":\"body\",\"message\":\"body
is too long (maximum is 65536
characters)\"}],\"documentation_url\":\"https://docs.github.com/rest/reference/issues#create-an-issue\"}\r\n2023-04-18
07:56:26 CEST\t at GithubApi.request
(github_api.ts:177:17)\r\n2023-04-18 07:56:26 CEST\t at
processTicksAndRejections
(node:internal/process/task_queues:96:5)\r\n2023-04-18 07:56:26 CEST\t
at GithubApi.createIssue (github_api.ts:106:18)\r\n2023-04-18 07:56:26
CEST\t at createFailureIssue (report_failure.ts:39:10)\r\n2023-04-18
07:56:26 CEST\t at description
(failed_tests_reporter_cli.ts:153:28)\r\n2023-04-18 07:56:26 CEST\t at
run.ts:70:7\r\n2023-04-18 07:56:26 CEST\t at withProcRunner
(with_proc_runner.ts:29:5)\r\n2023-04-18 07:56:26 CEST\t at run
(run.ts:69:5)\r\n```\r\n\r\nIt seems like some test might have a very
long failure message that\r\nreaches Github body length limit and causes
a failure.\r\n\r\nSince mocha truncates failure message to 8192 chars, I
thought it might\r\nbe a good option for Github issues as well (Having
too long message is\r\nnot very useful
anyway)","sha":"271d9aa68cf93ae9a3d398e909a0c4fb06a409b5","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v7.17.10","v8.8.0","v8.7.2"],"number":155141,"url":"https://github.com/elastic/kibana/pull/155141","mergeCommit":{"message":"[kbn-failed-test-reporter-cli]
truncate report message to fix github api call failure (#155141)\n\n##
Summary\r\n\r\nWe recently had
a\r\n[failure](https://buildkite.com/elastic/kibana-on-merge/builds/29020#018792bc-498a-46d1-9343-fb791823d92e)\r\nwhile
calling Github API to open new issue:\r\n\r\n```\r\n2023-04-18 07:56:26
CEST\tERROR Error: [post
https://api.github.com/repos/elastic/kibana/issues] 422 Unprocessable
Entity Error: {\"message\":\"Validation
Failed\",\"errors\":[{\"resource\":\"Issue\",\"code\":\"custom\",\"field\":\"body\",\"message\":\"body
is too
long\"},{\"resource\":\"Issue\",\"code\":\"custom\",\"field\":\"body\",\"message\":\"body
is too long (maximum is 65536
characters)\"}],\"documentation_url\":\"https://docs.github.com/rest/reference/issues#create-an-issue\"}\r\n2023-04-18
07:56:26 CEST\t at GithubApi.request
(github_api.ts:177:17)\r\n2023-04-18 07:56:26 CEST\t at
processTicksAndRejections
(node:internal/process/task_queues:96:5)\r\n2023-04-18 07:56:26 CEST\t
at GithubApi.createIssue (github_api.ts:106:18)\r\n2023-04-18 07:56:26
CEST\t at createFailureIssue (report_failure.ts:39:10)\r\n2023-04-18
07:56:26 CEST\t at description
(failed_tests_reporter_cli.ts:153:28)\r\n2023-04-18 07:56:26 CEST\t at
run.ts:70:7\r\n2023-04-18 07:56:26 CEST\t at withProcRunner
(with_proc_runner.ts:29:5)\r\n2023-04-18 07:56:26 CEST\t at run
(run.ts:69:5)\r\n```\r\n\r\nIt seems like some test might have a very
long failure message that\r\nreaches Github body length limit and causes
a failure.\r\n\r\nSince mocha truncates failure message to 8192 chars, I
thought it might\r\nbe a good option for Github issues as well (Having
too long message is\r\nnot very useful
anyway)","sha":"271d9aa68cf93ae9a3d398e909a0c4fb06a409b5"}},"sourceBranch":"main","suggestedTargetBranches":["7.17","8.7"],"targetPullRequestStates":[{"branch":"7.17","label":"v7.17.10","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/155141","number":155141,"mergeCommit":{"message":"[kbn-failed-test-reporter-cli]
truncate report message to fix github api call failure (#155141)\n\n##
Summary\r\n\r\nWe recently had
a\r\n[failure](https://buildkite.com/elastic/kibana-on-merge/builds/29020#018792bc-498a-46d1-9343-fb791823d92e)\r\nwhile
calling Github API to open new issue:\r\n\r\n```\r\n2023-04-18 07:56:26
CEST\tERROR Error: [post
https://api.github.com/repos/elastic/kibana/issues] 422 Unprocessable
Entity Error: {\"message\":\"Validation
Failed\",\"errors\":[{\"resource\":\"Issue\",\"code\":\"custom\",\"field\":\"body\",\"message\":\"body
is too
long\"},{\"resource\":\"Issue\",\"code\":\"custom\",\"field\":\"body\",\"message\":\"body
is too long (maximum is 65536
characters)\"}],\"documentation_url\":\"https://docs.github.com/rest/reference/issues#create-an-issue\"}\r\n2023-04-18
07:56:26 CEST\t at GithubApi.request
(github_api.ts:177:17)\r\n2023-04-18 07:56:26 CEST\t at
processTicksAndRejections
(node:internal/process/task_queues:96:5)\r\n2023-04-18 07:56:26 CEST\t
at GithubApi.createIssue (github_api.ts:106:18)\r\n2023-04-18 07:56:26
CEST\t at createFailureIssue (report_failure.ts:39:10)\r\n2023-04-18
07:56:26 CEST\t at description
(failed_tests_reporter_cli.ts:153:28)\r\n2023-04-18 07:56:26 CEST\t at
run.ts:70:7\r\n2023-04-18 07:56:26 CEST\t at withProcRunner
(with_proc_runner.ts:29:5)\r\n2023-04-18 07:56:26 CEST\t at run
(run.ts:69:5)\r\n```\r\n\r\nIt seems like some test might have a very
long failure message that\r\nreaches Github body length limit and causes
a failure.\r\n\r\nSince mocha truncates failure message to 8192 chars, I
thought it might\r\nbe a good option for Github issues as well (Having
too long message is\r\nnot very useful
anyway)","sha":"271d9aa68cf93ae9a3d398e909a0c4fb06a409b5"}},{"branch":"8.7","label":"v8.7.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2023-04-19 08:48:44 -07:00
Kibana Machine
73d9e928b0
[8.7] [FullStory] Update snippet (#153570) (#155138)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[FullStory] Update snippet
(#153570)](https://github.com/elastic/kibana/pull/153570)

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

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

<!--BACKPORT [{"author":{"name":"Alejandro Fernández
Haro","email":"alejandro.haro@elastic.co"},"sourceCommit":{"committedDate":"2023-04-18T11:06:05Z","message":"[FullStory]
Update snippet (#153570)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"7de4733f7255c976bf6503669e31e939cb9f485f","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Telemetry","release_note:skip","backport:prev-minor","Team:Journey/Onboarding","v8.8.0"],"number":153570,"url":"https://github.com/elastic/kibana/pull/153570","mergeCommit":{"message":"[FullStory]
Update snippet (#153570)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"7de4733f7255c976bf6503669e31e939cb9f485f"}},"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/153570","number":153570,"mergeCommit":{"message":"[FullStory]
Update snippet (#153570)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"7de4733f7255c976bf6503669e31e939cb9f485f"}}]}]
BACKPORT-->

Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2023-04-18 05:10:38 -07:00
Kibana Machine
e33260d701
[8.7] [Security Solution][Exceptions] - Fix exception operator logic when mapping conflict (#155071) (#155094)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution][Exceptions] - Fix exception operator logic when
mapping conflict
(#155071)](https://github.com/elastic/kibana/pull/155071)

<!--- 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-04-17T21:05:55Z","message":"[Security
Solution][Exceptions] - Fix exception operator logic when mapping
conflict (#155071)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/154962
.","sha":"9a095602f87c945dcfd832451e0f6136ec9df5df","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:
SecuritySolution","Team:Security Solution
Platform","v8.8.0","v8.7.1"],"number":155071,"url":"https://github.com/elastic/kibana/pull/155071","mergeCommit":{"message":"[Security
Solution][Exceptions] - Fix exception operator logic when mapping
conflict (#155071)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/154962
.","sha":"9a095602f87c945dcfd832451e0f6136ec9df5df"}},"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/155071","number":155071,"mergeCommit":{"message":"[Security
Solution][Exceptions] - Fix exception operator logic when mapping
conflict (#155071)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/154962
.","sha":"9a095602f87c945dcfd832451e0f6136ec9df5df"}},{"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-04-17 18:50:06 -07:00
Rudolf Meijering
d9fbe142bf
[8.7] Config loader: remove unecessary properties (#154902) (#155006)
# Backport

This will backport the following commits from `main` to `8.7`:
- [Config loader: remove unecessary properties
(#154902)](https://github.com/elastic/kibana/pull/154902)

<!--- 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":"2023-04-13T16:16:51Z","message":"Config
loader: remove unecessary properties (#154902)\n\n- Updates the logic of
`ensureDeepObject` to remove unnecessary\r\nproperties when expanding
the object\r\n- We had three versions of this helper, centralized it
within `@kbn/std`\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b75d89a2d86c976d60144f8c57b1d415b2f35ac3","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","backport:prev-minor","v8.8.0"],"number":154902,"url":"https://github.com/elastic/kibana/pull/154902","mergeCommit":{"message":"Config
loader: remove unecessary properties (#154902)\n\n- Updates the logic of
`ensureDeepObject` to remove unnecessary\r\nproperties when expanding
the object\r\n- We had three versions of this helper, centralized it
within `@kbn/std`\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b75d89a2d86c976d60144f8c57b1d415b2f35ac3"}},"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/154902","number":154902,"mergeCommit":{"message":"Config
loader: remove unecessary properties (#154902)\n\n- Updates the logic of
`ensureDeepObject` to remove unnecessary\r\nproperties when expanding
the object\r\n- We had three versions of this helper, centralized it
within `@kbn/std`\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b75d89a2d86c976d60144f8c57b1d415b2f35ac3"}}]}]
BACKPORT-->

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
2023-04-17 01:34:53 -07:00
Kibana Machine
34f6c4e5e8
[8.7] [APM] Make sure scoring is applied by ES (#154627) (#154724)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[APM] Make sure scoring is applied by ES
(#154627)](https://github.com/elastic/kibana/pull/154627)

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

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

<!--BACKPORT [{"author":{"name":"Dario
Gieselaar","email":"dario.gieselaar@elastic.co"},"sourceCommit":{"committedDate":"2023-04-11T13:02:36Z","message":"[APM]
Make sure scoring is applied by ES
(#154627)","sha":"79c493c69ae2ac44172630114cd2f232629da755","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:APM","v8.8.0","v8.7.1"],"number":154627,"url":"https://github.com/elastic/kibana/pull/154627","mergeCommit":{"message":"[APM]
Make sure scoring is applied by ES
(#154627)","sha":"79c493c69ae2ac44172630114cd2f232629da755"}},"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/154627","number":154627,"mergeCommit":{"message":"[APM]
Make sure scoring is applied by ES
(#154627)","sha":"79c493c69ae2ac44172630114cd2f232629da755"}},{"branch":"8.7","label":"v8.7.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2023-04-12 03:47:41 -07:00
Kibana Machine
d718350ef4
[8.7] [Cloud Security] fixed onboarding link directs to cspm integration (#153268) (#154205)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Cloud Security] fixed onboarding link directs to cspm integration
(#153268)](https://github.com/elastic/kibana/pull/153268)

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

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

<!--BACKPORT [{"author":{"name":"Kfir
Peled","email":"61654899+kfirpeled@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-20T16:53:49Z","message":"[Cloud
Security] fixed onboarding link directs to cspm integration
(#153268)","sha":"2b5c537e117fe488da85603baf4526e9abadbe87","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","auto-backport","Team:Journey/Onboarding","v8.8.0","v8.7.1"],"number":153268,"url":"https://github.com/elastic/kibana/pull/153268","mergeCommit":{"message":"[Cloud
Security] fixed onboarding link directs to cspm integration
(#153268)","sha":"2b5c537e117fe488da85603baf4526e9abadbe87"}},"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/153268","number":153268,"mergeCommit":{"message":"[Cloud
Security] fixed onboarding link directs to cspm integration
(#153268)","sha":"2b5c537e117fe488da85603baf4526e9abadbe87"}},{"branch":"8.7","label":"v8.7.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Kfir Peled <61654899+kfirpeled@users.noreply.github.com>
2023-04-02 15:39:28 -07:00
Kibana Machine
85a8f79b88
[8.7] [Unified search] Fixes the comma delimeter copy paste on multifields (#153772) (#153918)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Unified search] Fixes the comma delimeter copy paste on multifields
(#153772)](https://github.com/elastic/kibana/pull/153772)

<!--- 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-29T08:00:15Z","message":"[Unified
search] Fixes the comma delimeter copy paste on multifields
(#153772)\n\n## Summary\r\n\r\nIt fixes the problem with copying pasting
comma delimeter values on the\r\nunified search
fiters.\r\n\r\n\r\n![uni](https://user-images.githubusercontent.com/17003240/228158378-44c768d3-967f-4131-a01f-2fb5707fd026.gif)","sha":"c48098d8da3e4832b70d84156fafcb8fcf364cb5","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Feature:Unified
search","backport:prev-minor","v8.8.0","v8.7.1"],"number":153772,"url":"https://github.com/elastic/kibana/pull/153772","mergeCommit":{"message":"[Unified
search] Fixes the comma delimeter copy paste on multifields
(#153772)\n\n## Summary\r\n\r\nIt fixes the problem with copying pasting
comma delimeter values on the\r\nunified search
fiters.\r\n\r\n\r\n![uni](https://user-images.githubusercontent.com/17003240/228158378-44c768d3-967f-4131-a01f-2fb5707fd026.gif)","sha":"c48098d8da3e4832b70d84156fafcb8fcf364cb5"}},"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/153772","number":153772,"mergeCommit":{"message":"[Unified
search] Fixes the comma delimeter copy paste on multifields
(#153772)\n\n## Summary\r\n\r\nIt fixes the problem with copying pasting
comma delimeter values on the\r\nunified search
fiters.\r\n\r\n\r\n![uni](https://user-images.githubusercontent.com/17003240/228158378-44c768d3-967f-4131-a01f-2fb5707fd026.gif)","sha":"c48098d8da3e4832b70d84156fafcb8fcf364cb5"}},{"branch":"8.7","label":"v8.7.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2023-03-29 02:11:19 -07:00
Kibana Machine
f6f061e47a
[8.7] [ML] Adds function reference help text to advanced wiz (#153009) (#153434)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[ML] Adds function reference help text to advanced wiz
(#153009)](https://github.com/elastic/kibana/pull/153009)

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

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

<!--BACKPORT [{"author":{"name":"István Zoltán
Szabó","email":"szabosteve@gmail.com"},"sourceCommit":{"committedDate":"2023-03-22T11:25:19Z","message":"[ML]
Adds function reference help text to advanced wiz (#153009)\n\n##
Summary\r\n\r\nThis PR adds helper text about the different kinds of
anomaly detection\r\nfunctions to the advanced job wizard. The function
help is in a separate\r\nfile and referenced in the
`descriptions.tsx`.\r\n\r\nCo-authored-by: Lisa Cawley
<lcawley@elastic.co>\r\nCo-authored-by: James Gowdy
<jgowdy@elastic.co>","sha":"68bdf30ed6bc09be2da060be456d7667ea850898","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","ui-copy","v8.8.0","v8.7.1"],"number":153009,"url":"https://github.com/elastic/kibana/pull/153009","mergeCommit":{"message":"[ML]
Adds function reference help text to advanced wiz (#153009)\n\n##
Summary\r\n\r\nThis PR adds helper text about the different kinds of
anomaly detection\r\nfunctions to the advanced job wizard. The function
help is in a separate\r\nfile and referenced in the
`descriptions.tsx`.\r\n\r\nCo-authored-by: Lisa Cawley
<lcawley@elastic.co>\r\nCo-authored-by: James Gowdy
<jgowdy@elastic.co>","sha":"68bdf30ed6bc09be2da060be456d7667ea850898"}},"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/153009","number":153009,"mergeCommit":{"message":"[ML]
Adds function reference help text to advanced wiz (#153009)\n\n##
Summary\r\n\r\nThis PR adds helper text about the different kinds of
anomaly detection\r\nfunctions to the advanced job wizard. The function
help is in a separate\r\nfile and referenced in the
`descriptions.tsx`.\r\n\r\nCo-authored-by: Lisa Cawley
<lcawley@elastic.co>\r\nCo-authored-by: James Gowdy
<jgowdy@elastic.co>","sha":"68bdf30ed6bc09be2da060be456d7667ea850898"}},{"branch":"8.7","label":"v8.7.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: István Zoltán Szabó <szabosteve@gmail.com>
2023-03-22 05:33:15 -07:00
Alejandro Fernández Haro
16f713d6ff
[8.7] [Elasticsearch] Redact logs from known APIs (#153049) (#153273)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Elasticsearch] Redact logs from known APIs
(#153049)](https://github.com/elastic/kibana/pull/153049)

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

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

<!--BACKPORT [{"author":{"name":"Alejandro Fernández
Haro","email":"alejandro.haro@elastic.co"},"sourceCommit":{"committedDate":"2023-03-18T09:50:09Z","message":"[Elasticsearch]
Redact logs from known APIs (#153049)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5142d7324399fcd41f7d11a657cec1371e1bdc3c","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:elasticsearch","Team:Core","Team:Security","technical
debt","release_note:skip","Feature:Logging","backport:prev-minor","v8.8.0"],"number":153049,"url":"https://github.com/elastic/kibana/pull/153049","mergeCommit":{"message":"[Elasticsearch]
Redact logs from known APIs (#153049)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5142d7324399fcd41f7d11a657cec1371e1bdc3c"}},"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/153049","number":153049,"mergeCommit":{"message":"[Elasticsearch]
Redact logs from known APIs (#153049)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5142d7324399fcd41f7d11a657cec1371e1bdc3c"}}]}]
BACKPORT-->
2023-03-18 04:02:24 -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
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
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
3340aefa15
[8.7] [Security Solution][Exceptions] - Fix breadcrumbs text for shared exception list (#152629) (#152764)
# Backport

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

<!--- 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-06T21:11:32Z","message":"[Security
Solution][Exceptions] - Fix breadcrumbs text for shared exception list
(#152629)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/152540","sha":"4c682c71d810ca91ea409ed0855efa1b4b5e37df","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":152629,"url":"https://github.com/elastic/kibana/pull/152629","mergeCommit":{"message":"[Security
Solution][Exceptions] - Fix breadcrumbs text for shared exception list
(#152629)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/152540","sha":"4c682c71d810ca91ea409ed0855efa1b4b5e37df"}},"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/152629","number":152629,"mergeCommit":{"message":"[Security
Solution][Exceptions] - Fix breadcrumbs text for shared exception list
(#152629)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/152540","sha":"4c682c71d810ca91ea409ed0855efa1b4b5e37df"}}]}]
BACKPORT-->

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2023-03-06 15:50:06 -07:00
Kibana Machine
78a3f432d3
[8.7] [Security Solution][Alerts] Update mapping conflicts warning message (#152726) (#152755)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution][Alerts] Update mapping conflicts warning message
(#152726)](https://github.com/elastic/kibana/pull/152726)

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

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

<!--BACKPORT [{"author":{"name":"Ievgen
Sorokopud","email":"ievgen.sorokopud@elastic.co"},"sourceCommit":{"committedDate":"2023-03-06T18:23:26Z","message":"[Security
Solution][Alerts] Update mapping conflicts warning message
(#152726)\n\n## Summary\r\n\r\nThese changes update warning message that
we show to user to indicate\r\nindex mapping conflicts while selecting a
field to build a Rule\r\nException.\r\n\r\nNew tooltip
message:\r\n\r\n<img width=\"829\" alt=\"Screenshot 2023-03-06 at 16 18
51\"\r\nsrc=\"https://user-images.githubusercontent.com/2700761/223154197-ee4ed680-5cc1-4b48-82d8-e225aa24519b.png\">\r\n\r\n[Main
ticket](https://github.com/elastic/kibana/issues/146845)\r\nAddition to
[this PR](https://github.com/elastic/kibana/pull/149149)\r\n\r\n\r\ncc
@nastasha-solomon","sha":"ce9631850d8631eb72b52687fb5ed0b7645f207d","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:
SecuritySolution","Team:Security Solution Platform","Team:Detection
Alerts","backport:prev-minor","ci:cloud-deploy","v8.8.0"],"number":152726,"url":"https://github.com/elastic/kibana/pull/152726","mergeCommit":{"message":"[Security
Solution][Alerts] Update mapping conflicts warning message
(#152726)\n\n## Summary\r\n\r\nThese changes update warning message that
we show to user to indicate\r\nindex mapping conflicts while selecting a
field to build a Rule\r\nException.\r\n\r\nNew tooltip
message:\r\n\r\n<img width=\"829\" alt=\"Screenshot 2023-03-06 at 16 18
51\"\r\nsrc=\"https://user-images.githubusercontent.com/2700761/223154197-ee4ed680-5cc1-4b48-82d8-e225aa24519b.png\">\r\n\r\n[Main
ticket](https://github.com/elastic/kibana/issues/146845)\r\nAddition to
[this PR](https://github.com/elastic/kibana/pull/149149)\r\n\r\n\r\ncc
@nastasha-solomon","sha":"ce9631850d8631eb72b52687fb5ed0b7645f207d"}},"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/152726","number":152726,"mergeCommit":{"message":"[Security
Solution][Alerts] Update mapping conflicts warning message
(#152726)\n\n## Summary\r\n\r\nThese changes update warning message that
we show to user to indicate\r\nindex mapping conflicts while selecting a
field to build a Rule\r\nException.\r\n\r\nNew tooltip
message:\r\n\r\n<img width=\"829\" alt=\"Screenshot 2023-03-06 at 16 18
51\"\r\nsrc=\"https://user-images.githubusercontent.com/2700761/223154197-ee4ed680-5cc1-4b48-82d8-e225aa24519b.png\">\r\n\r\n[Main
ticket](https://github.com/elastic/kibana/issues/146845)\r\nAddition to
[this PR](https://github.com/elastic/kibana/pull/149149)\r\n\r\n\r\ncc
@nastasha-solomon","sha":"ce9631850d8631eb72b52687fb5ed0b7645f207d"}}]}]
BACKPORT-->

Co-authored-by: Ievgen Sorokopud <ievgen.sorokopud@elastic.co>
2023-03-06 13:02:41 -07:00
Kibana Machine
bf9e01784b
[8.7] Upgrade vega dependency (5.22.15.23.0). (#152541) (#152700) (#152724)
# Backport

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

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

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

<!--BACKPORT [{"author":{"name":"Aleh
Zasypkin","email":"aleh.zasypkin@elastic.co"},"sourceCommit":{"committedDate":"2023-03-06T15:00:26Z","message":"Upgrade
`vega` dependency (`5.22.1` → `5.23.0`). (#152541)
(#152700)","sha":"0bf0a40b90223c7fb42fde04ea021ee9ef8594fe","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","release_note:skip","backport:all-open","ci:build-storybooks","ci:cloud-deploy","v8.8.0"],"number":152700,"url":"https://github.com/elastic/kibana/pull/152700","mergeCommit":{"message":"Upgrade
`vega` dependency (`5.22.1` → `5.23.0`). (#152541)
(#152700)","sha":"0bf0a40b90223c7fb42fde04ea021ee9ef8594fe"}},"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/152700","number":152700,"mergeCommit":{"message":"Upgrade
`vega` dependency (`5.22.1` → `5.23.0`). (#152541)
(#152700)","sha":"0bf0a40b90223c7fb42fde04ea021ee9ef8594fe"}}]}]
BACKPORT-->

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>
2023-03-06 09:07:06 -07:00
Kibana Machine
729dcc026f
[8.7] [Security Solution] Exceptions TTL Follow-up (#151952) (#152645)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution] Exceptions TTL Follow-up
(#151952)](https://github.com/elastic/kibana/pull/151952)

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

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

<!--BACKPORT [{"author":{"name":"Davis
Plumlee","email":"56367316+dplumlee@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-03-03T23:56:39Z","message":"[Security
Solution] Exceptions TTL Follow-up
(#151952)","sha":"203fa3a9552bdcef37cf62473af5792cc8d23a79","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Detection
Alerts","v8.7.0","v8.8.0"],"number":151952,"url":"https://github.com/elastic/kibana/pull/151952","mergeCommit":{"message":"[Security
Solution] Exceptions TTL Follow-up
(#151952)","sha":"203fa3a9552bdcef37cf62473af5792cc8d23a79"}},"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/151952","number":151952,"mergeCommit":{"message":"[Security
Solution] Exceptions TTL Follow-up
(#151952)","sha":"203fa3a9552bdcef37cf62473af5792cc8d23a79"}}]}]
BACKPORT-->

---------

Co-authored-by: Davis Plumlee <56367316+dplumlee@users.noreply.github.com>
Co-authored-by: Davis Plumlee <davis.plumlee@elastic.co>
2023-03-03 19:25:07 -07:00
Kibana Machine
d854b43d0a
[8.7] [Security Solution] [Exceptions] change 'manage rules' to 'link rules' on exceptions pages (#151905) (#152615)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution] [Exceptions] change 'manage rules' to 'link
rules' on exceptions pages
(#151905)](https://github.com/elastic/kibana/pull/151905)

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

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

<!--BACKPORT [{"author":{"name":"Devin W.
Hurley","email":"devin.hurley@elastic.co"},"sourceCommit":{"committedDate":"2023-03-02T19:40:57Z","message":"[Security
Solution] [Exceptions] change 'manage rules' to 'link rules' on
exceptions pages (#151905)\n\nRef:
https://github.com/elastic/kibana/issues/146268","sha":"f95d4eae7f401791984b6e7fc72dfb51329f83f6","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["review","release_note:skip","Feature:Rule
Exceptions","Team:Security Solution
Platform","v8.7.0","v8.8.0"],"number":151905,"url":"https://github.com/elastic/kibana/pull/151905","mergeCommit":{"message":"[Security
Solution] [Exceptions] change 'manage rules' to 'link rules' on
exceptions pages (#151905)\n\nRef:
https://github.com/elastic/kibana/issues/146268","sha":"f95d4eae7f401791984b6e7fc72dfb51329f83f6"}},"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/151905","number":151905,"mergeCommit":{"message":"[Security
Solution] [Exceptions] change 'manage rules' to 'link rules' on
exceptions pages (#151905)\n\nRef:
https://github.com/elastic/kibana/issues/146268","sha":"f95d4eae7f401791984b6e7fc72dfb51329f83f6"}}]}]
BACKPORT-->

Co-authored-by: Devin W. Hurley <devin.hurley@elastic.co>
2023-03-02 14:22:00 -07:00
Jonathan Budzenski
4188fb877c Revert "[8.7] Upgrade vega dependency (5.22.15.23.0). (#152541) (#152606)"
This reverts commit 6dec3bf0f5.
2023-03-02 14:03:34 -06:00
Kibana Machine
6dec3bf0f5
[8.7] Upgrade vega dependency (5.22.15.23.0). (#152541) (#152606)
# Backport

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

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

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

<!--BACKPORT [{"author":{"name":"Aleh
Zasypkin","email":"aleh.zasypkin@elastic.co"},"sourceCommit":{"committedDate":"2023-03-02T18:32:10Z","message":"Upgrade
`vega` dependency (`5.22.1` → `5.23.0`).
(#152541)","sha":"54d632124695fb48089a42d2ee9ce2d273aad9ad","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","release_note:skip","backport:all-open","v8.8.0"],"number":152541,"url":"https://github.com/elastic/kibana/pull/152541","mergeCommit":{"message":"Upgrade
`vega` dependency (`5.22.1` → `5.23.0`).
(#152541)","sha":"54d632124695fb48089a42d2ee9ce2d273aad9ad"}},"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/152541","number":152541,"mergeCommit":{"message":"Upgrade
`vega` dependency (`5.22.1` → `5.23.0`).
(#152541)","sha":"54d632124695fb48089a42d2ee9ce2d273aad9ad"}}]}]
BACKPORT-->

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>
2023-03-02 12:39:29 -07:00
Gerard Soldevila
5bbaa55756
[8.7] Introduce CLEANUP_UNKNOWN_AND_EXCLUDED step (#149931) (#152216)
# Backport

This will backport the following commits from `main` to `8.7`:
- [Introduce CLEANUP_UNKNOWN_AND_EXCLUDED step
(#149931)](https://github.com/elastic/kibana/pull/149931)

<!--- 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-02-27T10:43:13Z","message":"Introduce
CLEANUP_UNKNOWN_AND_EXCLUDED step (#149931)\n\nIn the context of
migrations,\r\nhttps://github.com/elastic/kibana/pull/147371 avoids
reindexing during\r\nan upgrade, provided that `diffMappings ===
false`.\r\n\r\nThis _alternative path_ skips some key steps that are
performed before\r\nreindexing:\r\n* `CHECK_UNKNOWN_DOCUMENTS`\r\n*
`CALCULATE_EXCLUDE_FILTERS`\r\n\r\nThese steps enrich a search query
that is used during reindexing,\r\neffectively filtering out undesired
documents.\r\n\r\nIf the mappings
[match](https://github.com/elastic/kibana/pull/147371)\r\n(or they
are\r\n[compatible](https://github.com/elastic/kibana/pull/149326)) and
we _no\r\nlonger reindex_, this cleanup operation does not happen,
leaving\r\nundesired documents in our system indices.\r\n\r\nThe goal of
this PR is to add an extra step in the state
machine\r\n(`CLEANUP_UNKNOWN_AND_EXCLUDED`), which will actively cleanup
a system\r\nindex if we're going the _skip reindexing_
path.\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/25349407/216979691-fef40638-f990-4850-bac8-ee3e58330a7f.png)\r\n\r\nFixes
https://github.com/elastic/kibana/issues/150299\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"754e8682d45196e519720693e036017c915c0379","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Team:Core","release_note:skip","Feature:Migrations","backport:prev-minor","v8.7.0","v8.8.0"],"number":149931,"url":"https://github.com/elastic/kibana/pull/149931","mergeCommit":{"message":"Introduce
CLEANUP_UNKNOWN_AND_EXCLUDED step (#149931)\n\nIn the context of
migrations,\r\nhttps://github.com/elastic/kibana/pull/147371 avoids
reindexing during\r\nan upgrade, provided that `diffMappings ===
false`.\r\n\r\nThis _alternative path_ skips some key steps that are
performed before\r\nreindexing:\r\n* `CHECK_UNKNOWN_DOCUMENTS`\r\n*
`CALCULATE_EXCLUDE_FILTERS`\r\n\r\nThese steps enrich a search query
that is used during reindexing,\r\neffectively filtering out undesired
documents.\r\n\r\nIf the mappings
[match](https://github.com/elastic/kibana/pull/147371)\r\n(or they
are\r\n[compatible](https://github.com/elastic/kibana/pull/149326)) and
we _no\r\nlonger reindex_, this cleanup operation does not happen,
leaving\r\nundesired documents in our system indices.\r\n\r\nThe goal of
this PR is to add an extra step in the state
machine\r\n(`CLEANUP_UNKNOWN_AND_EXCLUDED`), which will actively cleanup
a system\r\nindex if we're going the _skip reindexing_
path.\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/25349407/216979691-fef40638-f990-4850-bac8-ee3e58330a7f.png)\r\n\r\nFixes
https://github.com/elastic/kibana/issues/150299\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"754e8682d45196e519720693e036017c915c0379"}},"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/149931","number":149931,"mergeCommit":{"message":"Introduce
CLEANUP_UNKNOWN_AND_EXCLUDED step (#149931)\n\nIn the context of
migrations,\r\nhttps://github.com/elastic/kibana/pull/147371 avoids
reindexing during\r\nan upgrade, provided that `diffMappings ===
false`.\r\n\r\nThis _alternative path_ skips some key steps that are
performed before\r\nreindexing:\r\n* `CHECK_UNKNOWN_DOCUMENTS`\r\n*
`CALCULATE_EXCLUDE_FILTERS`\r\n\r\nThese steps enrich a search query
that is used during reindexing,\r\neffectively filtering out undesired
documents.\r\n\r\nIf the mappings
[match](https://github.com/elastic/kibana/pull/147371)\r\n(or they
are\r\n[compatible](https://github.com/elastic/kibana/pull/149326)) and
we _no\r\nlonger reindex_, this cleanup operation does not happen,
leaving\r\nundesired documents in our system indices.\r\n\r\nThe goal of
this PR is to add an extra step in the state
machine\r\n(`CLEANUP_UNKNOWN_AND_EXCLUDED`), which will actively cleanup
a system\r\nindex if we're going the _skip reindexing_
path.\r\n\r\n\r\n![image](https://user-images.githubusercontent.com/25349407/216979691-fef40638-f990-4850-bac8-ee3e58330a7f.png)\r\n\r\nFixes
https://github.com/elastic/kibana/issues/150299\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"754e8682d45196e519720693e036017c915c0379"}}]}]
BACKPORT-->
2023-02-27 10:46:48 -07:00
Kibana Machine
551ed12704
[8.7] [core][http] add response file method (#151130) (#152069)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[core][http] add response `file` method
(#151130)](https://github.com/elastic/kibana/pull/151130)

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

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

<!--BACKPORT [{"author":{"name":"Ahmad
Bamieh","email":"ahmad.bamyeh@elastic.co"},"sourceCommit":{"committedDate":"2023-02-24T09:06:37Z","message":"[core][http]
add response `file` method (#151130)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"dc927d98baa30c0e63a464ff02a2dca46ce251bb","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.7.0","v8.6.2","v8.8.0"],"number":151130,"url":"https://github.com/elastic/kibana/pull/151130","mergeCommit":{"message":"[core][http]
add response `file` method (#151130)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"dc927d98baa30c0e63a464ff02a2dca46ce251bb"}},"sourceBranch":"main","suggestedTargetBranches":["8.7","8.6"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.6","label":"v8.6.2","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/151130","number":151130,"mergeCommit":{"message":"[core][http]
add response `file` method (#151130)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"dc927d98baa30c0e63a464ff02a2dca46ce251bb"}}]}]
BACKPORT-->

Co-authored-by: Ahmad Bamieh <ahmad.bamyeh@elastic.co>
2023-02-24 03:18:30 -07:00
Kibana Machine
99f41e39e4
[8.7] [Security Solution][Exceptions] - Fix bug displaying empty view when no exception list search results found (#151530) (#151970)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution][Exceptions] - Fix bug displaying empty view when
no exception list search results found
(#151530)](https://github.com/elastic/kibana/pull/151530)

<!--- 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-02-23T08:01:32Z","message":"[Security
Solution][Exceptions] - Fix bug displaying empty view when no exception
list search results found (#151530)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/145717\r\n\r\nUpdated the all
exceptions lists view to account for different possible\r\nstates (empty
search, loading, no lists) using an existing
component.","sha":"56777859bf8bbee17e11f669300465ec775cd28d","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Feature:Rule
Exceptions","auto-backport","Team:Security Solution
Platform","backport:prev-minor","v8.7.0","v8.8.0"],"number":151530,"url":"https://github.com/elastic/kibana/pull/151530","mergeCommit":{"message":"[Security
Solution][Exceptions] - Fix bug displaying empty view when no exception
list search results found (#151530)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/145717\r\n\r\nUpdated the all
exceptions lists view to account for different possible\r\nstates (empty
search, loading, no lists) using an existing
component.","sha":"56777859bf8bbee17e11f669300465ec775cd28d"}},"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/151530","number":151530,"mergeCommit":{"message":"[Security
Solution][Exceptions] - Fix bug displaying empty view when no exception
list search results found (#151530)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/145717\r\n\r\nUpdated the all
exceptions lists view to account for different possible\r\nstates (empty
search, loading, no lists) using an existing
component.","sha":"56777859bf8bbee17e11f669300465ec775cd28d"}}]}]
BACKPORT-->

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2023-02-23 02:40:16 -07:00
Kibana Machine
5573b3aa0f
[8.7] [Security Solution][Exceptions] - Fix empty combo box entry option for exception item condition (#151398) (#151959)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Security Solution][Exceptions] - Fix empty combo box entry option
for exception item condition
(#151398)](https://github.com/elastic/kibana/pull/151398)

<!--- 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-02-23T02:10:38Z","message":"[Security
Solution][Exceptions] - Fix empty combo box entry option for exception
item condition (#151398)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/145540\r\n\r\nFilters out the
empty default entry item from combo box
option.","sha":"28f4f1b457e5e15100b51b26f76d7c13bad3dc90","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","auto-backport","Team:Security
Solution
Platform","backport:prev-minor","v8.7.0","v8.8.0"],"number":151398,"url":"https://github.com/elastic/kibana/pull/151398","mergeCommit":{"message":"[Security
Solution][Exceptions] - Fix empty combo box entry option for exception
item condition (#151398)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/145540\r\n\r\nFilters out the
empty default entry item from combo box
option.","sha":"28f4f1b457e5e15100b51b26f76d7c13bad3dc90"}},"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/151398","number":151398,"mergeCommit":{"message":"[Security
Solution][Exceptions] - Fix empty combo box entry option for exception
item condition (#151398)\n\n## Summary\r\n\r\nAddresses
https://github.com/elastic/kibana/issues/145540\r\n\r\nFilters out the
empty default entry item from combo box
option.","sha":"28f4f1b457e5e15100b51b26f76d7c13bad3dc90"}}]}]
BACKPORT-->

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2023-02-22 20:52:29 -07:00
Kibana Machine
0337ee3225
[8.7] [kbn-journeys] add optional beforeSteps hook (#151717) (#151918)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[kbn-journeys] add optional beforeSteps hook
(#151717)](https://github.com/elastic/kibana/pull/151717)

<!--- 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-02-22T17:53:00Z","message":"[kbn-journeys]
add optional beforeSteps hook (#151717)\n\n## Summary\r\n\r\nRelated to
#151613\r\n\r\nThere might be cases when we need to add extra wait for
Kibana plugin to\r\nbe ready before starting loading test data with
`esArchiver` /\r\n`kbnArchiver`.\r\n\r\nCurrently journey lifecycle
looks like this:\r\n\r\n- `onSetup` wrapped with mocha `before` hook\r\n
- in parallel \r\n - `setupBrowserAndPage` (including EBT tracker
setup)\r\n - load ES data / Kibana saved objects\r\n - `setupApm`\r\n-
steps execution (each step wrapped with mocha `it` function)\r\n-
`onTeardown` wrapped with mocha `after` hook\r\n -
`tearDownBrowserAndPage` (including closing EBT tracker)\r\n -
`teardownApm`\r\n - load ES data / Kibana saved
objects\r\n\r\nbeforeSteps hook purpose is to make sure Kibana/ES state
is ready for\r\njourney execution and not load test data, since it won't
be unloaded\r\nduring `after` hook:\r\n\r\n- `onSetup` wrapped with
mocha `before` hook\r\n - `setupBrowserAndPage` (including EBT tracker
setup)\r\n- run beforeSteps hook -> prepare Kibana/ES for data ingestion
/ steps\r\nexecution\r\n - load ES data / Kibana saved objects\r\n -
`setupApm`\r\n\r\nHow to use:\r\n\r\n```\r\nexport const journey = new
Journey({\r\n beforeSteps: async ({ kibanaServer, retry }) => {\r\n
retry.try(async () => {\r\n const response = await
kibanaServer.request({\r\n path:
'/internal/cloud_security_posture/status?check=init',\r\n method:
'GET',\r\n });\r\n return response.status === 200;\r\n });\r\n },\r\n
esArchives: [...],\r\n kbnArchives: [...],\r\n})\r\n .step({...})\r\n
.step({...})\r\n```","sha":"6c33644b5324df412acd71d2a6433e93c6e17904","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","wg:performance","v8.7.0","v8.8.0","v8.6.3"],"number":151717,"url":"https://github.com/elastic/kibana/pull/151717","mergeCommit":{"message":"[kbn-journeys]
add optional beforeSteps hook (#151717)\n\n## Summary\r\n\r\nRelated to
#151613\r\n\r\nThere might be cases when we need to add extra wait for
Kibana plugin to\r\nbe ready before starting loading test data with
`esArchiver` /\r\n`kbnArchiver`.\r\n\r\nCurrently journey lifecycle
looks like this:\r\n\r\n- `onSetup` wrapped with mocha `before` hook\r\n
- in parallel \r\n - `setupBrowserAndPage` (including EBT tracker
setup)\r\n - load ES data / Kibana saved objects\r\n - `setupApm`\r\n-
steps execution (each step wrapped with mocha `it` function)\r\n-
`onTeardown` wrapped with mocha `after` hook\r\n -
`tearDownBrowserAndPage` (including closing EBT tracker)\r\n -
`teardownApm`\r\n - load ES data / Kibana saved
objects\r\n\r\nbeforeSteps hook purpose is to make sure Kibana/ES state
is ready for\r\njourney execution and not load test data, since it won't
be unloaded\r\nduring `after` hook:\r\n\r\n- `onSetup` wrapped with
mocha `before` hook\r\n - `setupBrowserAndPage` (including EBT tracker
setup)\r\n- run beforeSteps hook -> prepare Kibana/ES for data ingestion
/ steps\r\nexecution\r\n - load ES data / Kibana saved objects\r\n -
`setupApm`\r\n\r\nHow to use:\r\n\r\n```\r\nexport const journey = new
Journey({\r\n beforeSteps: async ({ kibanaServer, retry }) => {\r\n
retry.try(async () => {\r\n const response = await
kibanaServer.request({\r\n path:
'/internal/cloud_security_posture/status?check=init',\r\n method:
'GET',\r\n });\r\n return response.status === 200;\r\n });\r\n },\r\n
esArchives: [...],\r\n kbnArchives: [...],\r\n})\r\n .step({...})\r\n
.step({...})\r\n```","sha":"6c33644b5324df412acd71d2a6433e93c6e17904"}},"sourceBranch":"main","suggestedTargetBranches":["8.7","8.6"],"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/151717","number":151717,"mergeCommit":{"message":"[kbn-journeys]
add optional beforeSteps hook (#151717)\n\n## Summary\r\n\r\nRelated to
#151613\r\n\r\nThere might be cases when we need to add extra wait for
Kibana plugin to\r\nbe ready before starting loading test data with
`esArchiver` /\r\n`kbnArchiver`.\r\n\r\nCurrently journey lifecycle
looks like this:\r\n\r\n- `onSetup` wrapped with mocha `before` hook\r\n
- in parallel \r\n - `setupBrowserAndPage` (including EBT tracker
setup)\r\n - load ES data / Kibana saved objects\r\n - `setupApm`\r\n-
steps execution (each step wrapped with mocha `it` function)\r\n-
`onTeardown` wrapped with mocha `after` hook\r\n -
`tearDownBrowserAndPage` (including closing EBT tracker)\r\n -
`teardownApm`\r\n - load ES data / Kibana saved
objects\r\n\r\nbeforeSteps hook purpose is to make sure Kibana/ES state
is ready for\r\njourney execution and not load test data, since it won't
be unloaded\r\nduring `after` hook:\r\n\r\n- `onSetup` wrapped with
mocha `before` hook\r\n - `setupBrowserAndPage` (including EBT tracker
setup)\r\n- run beforeSteps hook -> prepare Kibana/ES for data ingestion
/ steps\r\nexecution\r\n - load ES data / Kibana saved objects\r\n -
`setupApm`\r\n\r\nHow to use:\r\n\r\n```\r\nexport const journey = new
Journey({\r\n beforeSteps: async ({ kibanaServer, retry }) => {\r\n
retry.try(async () => {\r\n const response = await
kibanaServer.request({\r\n path:
'/internal/cloud_security_posture/status?check=init',\r\n method:
'GET',\r\n });\r\n return response.status === 200;\r\n });\r\n },\r\n
esArchives: [...],\r\n kbnArchives: [...],\r\n})\r\n .step({...})\r\n
.step({...})\r\n```","sha":"6c33644b5324df412acd71d2a6433e93c6e17904"}},{"branch":"8.6","label":"v8.6.3","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2023-02-22 11:59:09 -07:00
Kibana Machine
693f803940
[8.7] Csp aws text updates (#151237) (#151785)
# Backport

This will backport the following commits from `main` to `8.7`:
- [Csp aws text updates
(#151237)](https://github.com/elastic/kibana/pull/151237)

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

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

<!--BACKPORT
[{"author":{"name":"Lola","email":"omolola.akinleye@elastic.co"},"sourceCommit":{"committedDate":"2023-02-21T19:40:55Z","message":"Csp
aws text updates (#151237)\n\n## Summary\r\n\r\nUpdating CSP aws texts
in CSPM/KSPM Integration\r\nUpdates Security Solution Snapshot for
Security Solutions Dashboards.\r\n - Security-threat-hunting-team please
review text
change\r\n\r\n`xpack/plugins/security_solution/public/common/components/navigation/use_security_solution_navigation/__snapshots__/index.test.tsx.snap`\r\n\r\n
Updates Cloud Security text in the guided card component. \r\n-
platform-onboarding please review text
change\r\n\r\n`packages/kbn-guided-onboarding/src/components/landing_page/guide_cards.constants.tsx`\r\n\r\n\r\n##
Elastic setup
guide\r\n\r\n**Before**\r\n\r\n\r\n![Image](https://user-images.githubusercontent.com/53792284/218277681-f02a1ddd-2e95-4195-94b3-fd1e030dcc2d.png)\r\n\r\n**After**\r\n\r\n<img
width=\"1728\"
alt=\"csp-setup-guides-after\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892507-0b785ba0-bafa-4a37-8afb-b030fb58bfa8.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Update text on the elastic setup guide on the home page from
\"Secure my cloud assets with posture management\" to \"Secure my cloud
assets with cloud security posture management (CSPM)\"\r\n```\r\n##
Security Dashboards\r\n\r\nBefore\r\n<img width=\"1715\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/219459184-39b3d97d-96a8-446d-a2f1-fa871f8a2d5d.png\">\r\n\r\nAfter\r\n<img
width=\"1724\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/219458775-8ece8c84-c40e-481a-9454-648025f0fdbc.png\">\r\n```[tasklist]\r\n-
[x] Update text Cloud Security to `Cloud security
Posture`\r\n```\r\n\r\n## Empty States \r\n\r\n### Main empty state
\r\n\r\n**Before**\r\n\r\n\r\n![Image](https://user-images.githubusercontent.com/53792284/218278787-32ab4c82-9c49-416b-8c83-36aca6345139.png)\r\n\r\n**After**\r\n\r\n<img
width=\"865\"
alt=\"main-empty-state-after\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892539-1170c435-ffbf-488f-a924-9afd96c80968.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Update placeholder text on the main empty state using the copy
provided above\r\n- [x] Update the \"Learn more\" hyperlink so that it
navigates users to https://ela.st/cspm instead of
https://ela.st/getting-started-with-kspm\r\n```\r\n\r\n### No agent
installed empty state
\r\n**Before**\r\n\r\n\r\n![Image](https://user-images.githubusercontent.com/53792284/218279865-89723988-8d63-4eee-ae73-a07bc2c74aca.png)\r\n\r\n**After**\r\n\r\n<img
width=\"1729\"
alt=\"no-agents-empty-state\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892571-513c9bef-9e30-4a77-bcbc-29c850f20c08.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Update placeholder text on the \"No Agents Installed\" empty state
using the copy provided above \r\n```\r\n\r\n## C/KSPM empty state
\r\nBefore\r\n\r\n\r\n![Image](https://user-images.githubusercontent.com/53792284/218280334-261b1251-ae1e-4ecb-9395-f26f10677d74.png)\r\n\r\nAfter
\r\nkspm\r\n<img width=\"1479\" alt=\"kspm empty
state\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/219456479-6a30028b-d128-4781-8e8e-8d2038cbfd96.png\">\r\n\r\ncspm\r\n<img
width=\"1440\"
alt=\"cspm_dashboard_empty_state\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/219456576-e79d8f7c-6c3e-4ceb-87b7-4405ff526f6f.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Update placeholder text for the empty state on the Cloud and
Kubernetes tabs\r\n- [x] The hyperlink on the Cloud tab should direct
users to https://ela.st/cspm, while the hyperlink on the Kubernetes tab
should direct users to https://ela.st/kspm\r\n```\r\n\r\n\r\n## Posture
Score / Compliance Score
\r\n**Before**\r\n\r\n\r\n![Image](218281131-c99e19e1-7498-4f66-b8df-f23db369daf2.png)\r\n\r\n**After**\r\n\r\n<img
width=\"1667\"
alt=\"Posture_score_column_dashboard\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892597-1aa1c60e-e22b-493f-9dba-0b73a70c6193.png\">\r\n<img
width=\"1909\"
alt=\"Posture_score_column_grouped_by_findings\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892619-41b9e357-81b9-4c21-9c09-929797e3c7b0.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Change the `Compliance Score` column name to `Posture Score` on both
the Cloud & Kubernetes tabs in the table where we list individual
clusters and cloud accounts. \r\n- [x] Change the `Compliance Score`
column name to `Posture Score` on the grouped-by-resource view of the
findings page. \r\n```\r\n\r\n\r\n## Posture Dashboard
\r\n\r\n**Before**\r\n\r\n\r\n![Image](218281612-bad25428-9996-4983-b62f-74768d6560f1.png)\r\n\r\n**After**\r\n\r\n<img
width=\"953\"
alt=\"KSPM_Posture_Dasboard_Title_rename\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892915-fc38ec31-ad7c-467e-9173-7b27e402771f.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Update posture dashboard title from `Cloud Posture` to `Cloud
Security Posture`\r\n- [x] Update the `Cloud Posture Score` title in the
overall score section to `Overall Cloud Posture Score` on the Cloud tab
and `Overall Kubernetes Posture Score` on the Kubernetes tab. \r\n- [x]
Update Dashboard tile card title from `Cloud Posture` to `Cloud Security
Posture`\r\n- [x] Update Breadcrumbs text from `Cloud Posture` to `Cloud
Security Posture`\r\n```\r\n\r\n## Integration
\r\n\r\n**Before**\r\n\r\n\r\n![Image](218282684-c51ef857-333f-4cd9-805e-c60ed5f5cf6d.png)\r\n\r\n**After**\r\n\r\nCSPM
Integration setup info text updates\r\n<img width=\"810\"
alt=\"cspm-aws-integraion-setup\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892958-31e3263a-e6c0-40d4-a82f-92e93b932e22.png\">\r\n\r\n**KSPM
Integeration setup info text updates**\r\n<img width=\"959\"
alt=\"kspm-aws-integration-setup\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218893048-6a850355-05ef-486f-8d96-1455adece779.png\">\r\n\r\n**CSPM
removal link**\r\n<img width=\"1707\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218893469-58c65d28-b2fb-48e3-bd87-07a2b02a5665.png\">\r\n\r\n\r\n**KSPM
removal link**\r\n<img width=\"959\"
alt=\"kspm-docs-link-removal\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218893196-d0e9ed6a-4be6-4d33-8a68-271e2a11d2e6.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Update Setup Access description for both CSPM & KSPM\r\n- [x]
Include KSPM, and CSPM specific getting-started links in the description
above (https://ela.st/kspm-get-started and
https://ela.st/cspm-get-started)\r\n- [x] Remove our hyperlink to AWS
docs from the setup access section
\r\n```\r\n=\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"27f2eee64f176fc1e627cb8d2ed72b628ccaa1fd","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Cloud
Security","ci:cloud-deploy","ci:cloud-redeploy","v8.7.0","v8.8.0"],"number":151237,"url":"https://github.com/elastic/kibana/pull/151237","mergeCommit":{"message":"Csp
aws text updates (#151237)\n\n## Summary\r\n\r\nUpdating CSP aws texts
in CSPM/KSPM Integration\r\nUpdates Security Solution Snapshot for
Security Solutions Dashboards.\r\n - Security-threat-hunting-team please
review text
change\r\n\r\n`xpack/plugins/security_solution/public/common/components/navigation/use_security_solution_navigation/__snapshots__/index.test.tsx.snap`\r\n\r\n
Updates Cloud Security text in the guided card component. \r\n-
platform-onboarding please review text
change\r\n\r\n`packages/kbn-guided-onboarding/src/components/landing_page/guide_cards.constants.tsx`\r\n\r\n\r\n##
Elastic setup
guide\r\n\r\n**Before**\r\n\r\n\r\n![Image](https://user-images.githubusercontent.com/53792284/218277681-f02a1ddd-2e95-4195-94b3-fd1e030dcc2d.png)\r\n\r\n**After**\r\n\r\n<img
width=\"1728\"
alt=\"csp-setup-guides-after\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892507-0b785ba0-bafa-4a37-8afb-b030fb58bfa8.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Update text on the elastic setup guide on the home page from
\"Secure my cloud assets with posture management\" to \"Secure my cloud
assets with cloud security posture management (CSPM)\"\r\n```\r\n##
Security Dashboards\r\n\r\nBefore\r\n<img width=\"1715\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/219459184-39b3d97d-96a8-446d-a2f1-fa871f8a2d5d.png\">\r\n\r\nAfter\r\n<img
width=\"1724\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/219458775-8ece8c84-c40e-481a-9454-648025f0fdbc.png\">\r\n```[tasklist]\r\n-
[x] Update text Cloud Security to `Cloud security
Posture`\r\n```\r\n\r\n## Empty States \r\n\r\n### Main empty state
\r\n\r\n**Before**\r\n\r\n\r\n![Image](https://user-images.githubusercontent.com/53792284/218278787-32ab4c82-9c49-416b-8c83-36aca6345139.png)\r\n\r\n**After**\r\n\r\n<img
width=\"865\"
alt=\"main-empty-state-after\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892539-1170c435-ffbf-488f-a924-9afd96c80968.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Update placeholder text on the main empty state using the copy
provided above\r\n- [x] Update the \"Learn more\" hyperlink so that it
navigates users to https://ela.st/cspm instead of
https://ela.st/getting-started-with-kspm\r\n```\r\n\r\n### No agent
installed empty state
\r\n**Before**\r\n\r\n\r\n![Image](https://user-images.githubusercontent.com/53792284/218279865-89723988-8d63-4eee-ae73-a07bc2c74aca.png)\r\n\r\n**After**\r\n\r\n<img
width=\"1729\"
alt=\"no-agents-empty-state\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892571-513c9bef-9e30-4a77-bcbc-29c850f20c08.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Update placeholder text on the \"No Agents Installed\" empty state
using the copy provided above \r\n```\r\n\r\n## C/KSPM empty state
\r\nBefore\r\n\r\n\r\n![Image](https://user-images.githubusercontent.com/53792284/218280334-261b1251-ae1e-4ecb-9395-f26f10677d74.png)\r\n\r\nAfter
\r\nkspm\r\n<img width=\"1479\" alt=\"kspm empty
state\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/219456479-6a30028b-d128-4781-8e8e-8d2038cbfd96.png\">\r\n\r\ncspm\r\n<img
width=\"1440\"
alt=\"cspm_dashboard_empty_state\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/219456576-e79d8f7c-6c3e-4ceb-87b7-4405ff526f6f.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Update placeholder text for the empty state on the Cloud and
Kubernetes tabs\r\n- [x] The hyperlink on the Cloud tab should direct
users to https://ela.st/cspm, while the hyperlink on the Kubernetes tab
should direct users to https://ela.st/kspm\r\n```\r\n\r\n\r\n## Posture
Score / Compliance Score
\r\n**Before**\r\n\r\n\r\n![Image](218281131-c99e19e1-7498-4f66-b8df-f23db369daf2.png)\r\n\r\n**After**\r\n\r\n<img
width=\"1667\"
alt=\"Posture_score_column_dashboard\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892597-1aa1c60e-e22b-493f-9dba-0b73a70c6193.png\">\r\n<img
width=\"1909\"
alt=\"Posture_score_column_grouped_by_findings\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892619-41b9e357-81b9-4c21-9c09-929797e3c7b0.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Change the `Compliance Score` column name to `Posture Score` on both
the Cloud & Kubernetes tabs in the table where we list individual
clusters and cloud accounts. \r\n- [x] Change the `Compliance Score`
column name to `Posture Score` on the grouped-by-resource view of the
findings page. \r\n```\r\n\r\n\r\n## Posture Dashboard
\r\n\r\n**Before**\r\n\r\n\r\n![Image](218281612-bad25428-9996-4983-b62f-74768d6560f1.png)\r\n\r\n**After**\r\n\r\n<img
width=\"953\"
alt=\"KSPM_Posture_Dasboard_Title_rename\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892915-fc38ec31-ad7c-467e-9173-7b27e402771f.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Update posture dashboard title from `Cloud Posture` to `Cloud
Security Posture`\r\n- [x] Update the `Cloud Posture Score` title in the
overall score section to `Overall Cloud Posture Score` on the Cloud tab
and `Overall Kubernetes Posture Score` on the Kubernetes tab. \r\n- [x]
Update Dashboard tile card title from `Cloud Posture` to `Cloud Security
Posture`\r\n- [x] Update Breadcrumbs text from `Cloud Posture` to `Cloud
Security Posture`\r\n```\r\n\r\n## Integration
\r\n\r\n**Before**\r\n\r\n\r\n![Image](218282684-c51ef857-333f-4cd9-805e-c60ed5f5cf6d.png)\r\n\r\n**After**\r\n\r\nCSPM
Integration setup info text updates\r\n<img width=\"810\"
alt=\"cspm-aws-integraion-setup\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892958-31e3263a-e6c0-40d4-a82f-92e93b932e22.png\">\r\n\r\n**KSPM
Integeration setup info text updates**\r\n<img width=\"959\"
alt=\"kspm-aws-integration-setup\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218893048-6a850355-05ef-486f-8d96-1455adece779.png\">\r\n\r\n**CSPM
removal link**\r\n<img width=\"1707\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218893469-58c65d28-b2fb-48e3-bd87-07a2b02a5665.png\">\r\n\r\n\r\n**KSPM
removal link**\r\n<img width=\"959\"
alt=\"kspm-docs-link-removal\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218893196-d0e9ed6a-4be6-4d33-8a68-271e2a11d2e6.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Update Setup Access description for both CSPM & KSPM\r\n- [x]
Include KSPM, and CSPM specific getting-started links in the description
above (https://ela.st/kspm-get-started and
https://ela.st/cspm-get-started)\r\n- [x] Remove our hyperlink to AWS
docs from the setup access section
\r\n```\r\n=\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"27f2eee64f176fc1e627cb8d2ed72b628ccaa1fd"}},"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/151237","number":151237,"mergeCommit":{"message":"Csp
aws text updates (#151237)\n\n## Summary\r\n\r\nUpdating CSP aws texts
in CSPM/KSPM Integration\r\nUpdates Security Solution Snapshot for
Security Solutions Dashboards.\r\n - Security-threat-hunting-team please
review text
change\r\n\r\n`xpack/plugins/security_solution/public/common/components/navigation/use_security_solution_navigation/__snapshots__/index.test.tsx.snap`\r\n\r\n
Updates Cloud Security text in the guided card component. \r\n-
platform-onboarding please review text
change\r\n\r\n`packages/kbn-guided-onboarding/src/components/landing_page/guide_cards.constants.tsx`\r\n\r\n\r\n##
Elastic setup
guide\r\n\r\n**Before**\r\n\r\n\r\n![Image](https://user-images.githubusercontent.com/53792284/218277681-f02a1ddd-2e95-4195-94b3-fd1e030dcc2d.png)\r\n\r\n**After**\r\n\r\n<img
width=\"1728\"
alt=\"csp-setup-guides-after\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892507-0b785ba0-bafa-4a37-8afb-b030fb58bfa8.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Update text on the elastic setup guide on the home page from
\"Secure my cloud assets with posture management\" to \"Secure my cloud
assets with cloud security posture management (CSPM)\"\r\n```\r\n##
Security Dashboards\r\n\r\nBefore\r\n<img width=\"1715\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/219459184-39b3d97d-96a8-446d-a2f1-fa871f8a2d5d.png\">\r\n\r\nAfter\r\n<img
width=\"1724\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/219458775-8ece8c84-c40e-481a-9454-648025f0fdbc.png\">\r\n```[tasklist]\r\n-
[x] Update text Cloud Security to `Cloud security
Posture`\r\n```\r\n\r\n## Empty States \r\n\r\n### Main empty state
\r\n\r\n**Before**\r\n\r\n\r\n![Image](https://user-images.githubusercontent.com/53792284/218278787-32ab4c82-9c49-416b-8c83-36aca6345139.png)\r\n\r\n**After**\r\n\r\n<img
width=\"865\"
alt=\"main-empty-state-after\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892539-1170c435-ffbf-488f-a924-9afd96c80968.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Update placeholder text on the main empty state using the copy
provided above\r\n- [x] Update the \"Learn more\" hyperlink so that it
navigates users to https://ela.st/cspm instead of
https://ela.st/getting-started-with-kspm\r\n```\r\n\r\n### No agent
installed empty state
\r\n**Before**\r\n\r\n\r\n![Image](https://user-images.githubusercontent.com/53792284/218279865-89723988-8d63-4eee-ae73-a07bc2c74aca.png)\r\n\r\n**After**\r\n\r\n<img
width=\"1729\"
alt=\"no-agents-empty-state\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892571-513c9bef-9e30-4a77-bcbc-29c850f20c08.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Update placeholder text on the \"No Agents Installed\" empty state
using the copy provided above \r\n```\r\n\r\n## C/KSPM empty state
\r\nBefore\r\n\r\n\r\n![Image](https://user-images.githubusercontent.com/53792284/218280334-261b1251-ae1e-4ecb-9395-f26f10677d74.png)\r\n\r\nAfter
\r\nkspm\r\n<img width=\"1479\" alt=\"kspm empty
state\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/219456479-6a30028b-d128-4781-8e8e-8d2038cbfd96.png\">\r\n\r\ncspm\r\n<img
width=\"1440\"
alt=\"cspm_dashboard_empty_state\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/219456576-e79d8f7c-6c3e-4ceb-87b7-4405ff526f6f.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Update placeholder text for the empty state on the Cloud and
Kubernetes tabs\r\n- [x] The hyperlink on the Cloud tab should direct
users to https://ela.st/cspm, while the hyperlink on the Kubernetes tab
should direct users to https://ela.st/kspm\r\n```\r\n\r\n\r\n## Posture
Score / Compliance Score
\r\n**Before**\r\n\r\n\r\n![Image](218281131-c99e19e1-7498-4f66-b8df-f23db369daf2.png)\r\n\r\n**After**\r\n\r\n<img
width=\"1667\"
alt=\"Posture_score_column_dashboard\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892597-1aa1c60e-e22b-493f-9dba-0b73a70c6193.png\">\r\n<img
width=\"1909\"
alt=\"Posture_score_column_grouped_by_findings\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892619-41b9e357-81b9-4c21-9c09-929797e3c7b0.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Change the `Compliance Score` column name to `Posture Score` on both
the Cloud & Kubernetes tabs in the table where we list individual
clusters and cloud accounts. \r\n- [x] Change the `Compliance Score`
column name to `Posture Score` on the grouped-by-resource view of the
findings page. \r\n```\r\n\r\n\r\n## Posture Dashboard
\r\n\r\n**Before**\r\n\r\n\r\n![Image](218281612-bad25428-9996-4983-b62f-74768d6560f1.png)\r\n\r\n**After**\r\n\r\n<img
width=\"953\"
alt=\"KSPM_Posture_Dasboard_Title_rename\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892915-fc38ec31-ad7c-467e-9173-7b27e402771f.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Update posture dashboard title from `Cloud Posture` to `Cloud
Security Posture`\r\n- [x] Update the `Cloud Posture Score` title in the
overall score section to `Overall Cloud Posture Score` on the Cloud tab
and `Overall Kubernetes Posture Score` on the Kubernetes tab. \r\n- [x]
Update Dashboard tile card title from `Cloud Posture` to `Cloud Security
Posture`\r\n- [x] Update Breadcrumbs text from `Cloud Posture` to `Cloud
Security Posture`\r\n```\r\n\r\n## Integration
\r\n\r\n**Before**\r\n\r\n\r\n![Image](218282684-c51ef857-333f-4cd9-805e-c60ed5f5cf6d.png)\r\n\r\n**After**\r\n\r\nCSPM
Integration setup info text updates\r\n<img width=\"810\"
alt=\"cspm-aws-integraion-setup\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218892958-31e3263a-e6c0-40d4-a82f-92e93b932e22.png\">\r\n\r\n**KSPM
Integeration setup info text updates**\r\n<img width=\"959\"
alt=\"kspm-aws-integration-setup\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218893048-6a850355-05ef-486f-8d96-1455adece779.png\">\r\n\r\n**CSPM
removal link**\r\n<img width=\"1707\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218893469-58c65d28-b2fb-48e3-bd87-07a2b02a5665.png\">\r\n\r\n\r\n**KSPM
removal link**\r\n<img width=\"959\"
alt=\"kspm-docs-link-removal\"\r\nsrc=\"https://user-images.githubusercontent.com/17135495/218893196-d0e9ed6a-4be6-4d33-8a68-271e2a11d2e6.png\">\r\n\r\n\r\n```[tasklist]\r\n-
[x] Update Setup Access description for both CSPM & KSPM\r\n- [x]
Include KSPM, and CSPM specific getting-started links in the description
above (https://ela.st/kspm-get-started and
https://ela.st/cspm-get-started)\r\n- [x] Remove our hyperlink to AWS
docs from the setup access section
\r\n```\r\n=\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"27f2eee64f176fc1e627cb8d2ed72b628ccaa1fd"}}]}]
BACKPORT-->

Co-authored-by: Lola <omolola.akinleye@elastic.co>
2023-02-21 15:36:47 -07:00
Kibana Machine
dbecc74dea
[8.7] Fix validation for entry fields in exception form (#151654) (#151732)
# Backport

This will backport the following commits from `main` to `8.7`:
- [Fix validation for entry fields in exception form
(#151654)](https://github.com/elastic/kibana/pull/151654)

<!--- 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":"2023-02-21T15:59:54Z","message":"Fix
validation for entry fields in exception form (#151654)\n\n## Change
validation logic for entry exception
field.\r\n\r\nClose:\r\n[https://github.com/elastic/kibana/issues/143051](https://github.com/elastic/kibana/issues/143051)\r\n\r\nPreviously
we didn't keep a validation state per field which caused a\r\nreset of
validation if we still had invalid fields. Or we can have an\r\ninvalid
state for the form, but we removed the invalid field. You can\r\nsee the
videos on the ticket above.\r\n\r\n## Solution:\r\nKeep validation state
per field, like:\r\n```js \r\n{\r\n [entry.id]:
true,\r\n}\r\n```\r\nThis state can keep old fields, which already were
removed, this is why\r\nwe use the selector to get the actual amount of
errors.\r\n\r\n\r\n\r\nhttps://user-images.githubusercontent.com/7609147/220337447-95c1558c-aa85-43d1-87e8-76370aeaf141.mov\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"d93eaa010935518c45fbab1f8d57542f1ac1a83a","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Security
Solution
Platform","backport:prev-minor","v8.8.0"],"number":151654,"url":"https://github.com/elastic/kibana/pull/151654","mergeCommit":{"message":"Fix
validation for entry fields in exception form (#151654)\n\n## Change
validation logic for entry exception
field.\r\n\r\nClose:\r\n[https://github.com/elastic/kibana/issues/143051](https://github.com/elastic/kibana/issues/143051)\r\n\r\nPreviously
we didn't keep a validation state per field which caused a\r\nreset of
validation if we still had invalid fields. Or we can have an\r\ninvalid
state for the form, but we removed the invalid field. You can\r\nsee the
videos on the ticket above.\r\n\r\n## Solution:\r\nKeep validation state
per field, like:\r\n```js \r\n{\r\n [entry.id]:
true,\r\n}\r\n```\r\nThis state can keep old fields, which already were
removed, this is why\r\nwe use the selector to get the actual amount of
errors.\r\n\r\n\r\n\r\nhttps://user-images.githubusercontent.com/7609147/220337447-95c1558c-aa85-43d1-87e8-76370aeaf141.mov\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"d93eaa010935518c45fbab1f8d57542f1ac1a83a"}},"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/151654","number":151654,"mergeCommit":{"message":"Fix
validation for entry fields in exception form (#151654)\n\n## Change
validation logic for entry exception
field.\r\n\r\nClose:\r\n[https://github.com/elastic/kibana/issues/143051](https://github.com/elastic/kibana/issues/143051)\r\n\r\nPreviously
we didn't keep a validation state per field which caused a\r\nreset of
validation if we still had invalid fields. Or we can have an\r\ninvalid
state for the form, but we removed the invalid field. You can\r\nsee the
videos on the ticket above.\r\n\r\n## Solution:\r\nKeep validation state
per field, like:\r\n```js \r\n{\r\n [entry.id]:
true,\r\n}\r\n```\r\nThis state can keep old fields, which already were
removed, this is why\r\nwe use the selector to get the actual amount of
errors.\r\n\r\n\r\n\r\nhttps://user-images.githubusercontent.com/7609147/220337447-95c1558c-aa85-43d1-87e8-76370aeaf141.mov\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"d93eaa010935518c45fbab1f8d57542f1ac1a83a"}}]}]
BACKPORT-->

Co-authored-by: Khristinin Nikita <nikita.khristinin@elastic.co>
2023-02-21 12:32:35 -07:00
Kibana Machine
748dfcb927
[8.7] [Dashboard] fix searchSessionId not updated when pinned filter changes (#151390) (#151742)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Dashboard] fix searchSessionId not updated when pinned filter
changes (#151390)](https://github.com/elastic/kibana/pull/151390)

<!--- 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-02-21T16:31:06Z","message":"[Dashboard]
fix searchSessionId not updated when pinned filter changes
(#151390)\n\nFixes https://github.com/elastic/kibana/issues/151219
and\r\nhttps://github.com/elastic/kibana/issues/151224\r\n\r\nPR
separates shouldRefresh logic from unsavedChanges logic to
account\r\nfor difference in filter check.\r\n\r\nshouldRefresh filter
check:\r\n* includes pinned filters\r\n* excludes disabled filters\r\n*
excludes $state so pinning/unpinning a filter does not cause
a\r\nrefresh.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"cd910bee1cb062111e094c2744f153010e6b2e2c","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Dashboard","release_note:fix","Team:Presentation","loe:hours","impact:medium","auto-backport","v8.7.0","v8.8.0"],"number":151390,"url":"https://github.com/elastic/kibana/pull/151390","mergeCommit":{"message":"[Dashboard]
fix searchSessionId not updated when pinned filter changes
(#151390)\n\nFixes https://github.com/elastic/kibana/issues/151219
and\r\nhttps://github.com/elastic/kibana/issues/151224\r\n\r\nPR
separates shouldRefresh logic from unsavedChanges logic to
account\r\nfor difference in filter check.\r\n\r\nshouldRefresh filter
check:\r\n* includes pinned filters\r\n* excludes disabled filters\r\n*
excludes $state so pinning/unpinning a filter does not cause
a\r\nrefresh.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"cd910bee1cb062111e094c2744f153010e6b2e2c"}},"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/151390","number":151390,"mergeCommit":{"message":"[Dashboard]
fix searchSessionId not updated when pinned filter changes
(#151390)\n\nFixes https://github.com/elastic/kibana/issues/151219
and\r\nhttps://github.com/elastic/kibana/issues/151224\r\n\r\nPR
separates shouldRefresh logic from unsavedChanges logic to
account\r\nfor difference in filter check.\r\n\r\nshouldRefresh filter
check:\r\n* includes pinned filters\r\n* excludes disabled filters\r\n*
excludes $state so pinning/unpinning a filter does not cause
a\r\nrefresh.\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"cd910bee1cb062111e094c2744f153010e6b2e2c"}}]}]
BACKPORT-->

Co-authored-by: Nathan Reese <reese.nathan@elastic.co>
2023-02-21 10:39:00 -07:00
Kibana Machine
0c600fdd5d
[8.7] [Synthetics UI] Correct link in the integration deprecation callout (#150879) (#151706)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Synthetics UI] Correct link in the integration deprecation callout
(#150879)](https://github.com/elastic/kibana/pull/150879)

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

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

<!--BACKPORT [{"author":{"name":"Alejandro Fernández
Gómez","email":"alejandro.fernandez@elastic.co"},"sourceCommit":{"committedDate":"2023-02-21T13:47:46Z","message":"[Synthetics
UI] Correct link in the integration deprecation callout
(#150879)\n\nCloses
#150872","sha":"f1fa5d764f6bd5e25cb9249aeb0a92ade1024de5","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:uptime","release_note:skip","v8.7.0","v8.8.0"],"number":150879,"url":"https://github.com/elastic/kibana/pull/150879","mergeCommit":{"message":"[Synthetics
UI] Correct link in the integration deprecation callout
(#150879)\n\nCloses
#150872","sha":"f1fa5d764f6bd5e25cb9249aeb0a92ade1024de5"}},"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/150879","number":150879,"mergeCommit":{"message":"[Synthetics
UI] Correct link in the integration deprecation callout
(#150879)\n\nCloses
#150872","sha":"f1fa5d764f6bd5e25cb9249aeb0a92ade1024de5"}}]}]
BACKPORT-->

Co-authored-by: Alejandro Fernández Gómez <alejandro.fernandez@elastic.co>
2023-02-21 07:54:26 -07:00
Thomas Watson
4ed6814a5d
[8.7] Fix eslint rule for restricting certain lodash imports (#151023) (#151495)
# Backport

This will backport the following commits from `main` to `8.7`:
- [Fix eslint rule for restricting certain lodash imports
(#151023)](https://github.com/elastic/kibana/pull/151023)

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

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2023-02-16T15:35:09Z","message":"Fix
eslint rule for restricting certain lodash imports (#151023)\n\nFixes
#110422\r\n\r\nTL;DR: The `lodash.set` function is unsafe and shouldn't
be called.\r\n\r\nCause of error: If you specify multiple
`no-restricted-imports` paths\r\nfor the same module, only the last path
is used. Instead you need to\r\ncombine them into a single path as I've
done in this PR.\r\n\r\nThis regression was introduced in
#100277","sha":"fbdeffb48fcc6c23ded1e84e62d3f33dc84de23d","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:APM","Team:uptime","release_note:skip","backport:all-open","v8.8.0"],"number":151023,"url":"https://github.com/elastic/kibana/pull/151023","mergeCommit":{"message":"Fix
eslint rule for restricting certain lodash imports (#151023)\n\nFixes
#110422\r\n\r\nTL;DR: The `lodash.set` function is unsafe and shouldn't
be called.\r\n\r\nCause of error: If you specify multiple
`no-restricted-imports` paths\r\nfor the same module, only the last path
is used. Instead you need to\r\ncombine them into a single path as I've
done in this PR.\r\n\r\nThis regression was introduced in
#100277","sha":"fbdeffb48fcc6c23ded1e84e62d3f33dc84de23d"}},"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/151023","number":151023,"mergeCommit":{"message":"Fix
eslint rule for restricting certain lodash imports (#151023)\n\nFixes
#110422\r\n\r\nTL;DR: The `lodash.set` function is unsafe and shouldn't
be called.\r\n\r\nCause of error: If you specify multiple
`no-restricted-imports` paths\r\nfor the same module, only the last path
is used. Instead you need to\r\ncombine them into a single path as I've
done in this PR.\r\n\r\nThis regression was introduced in
#100277","sha":"fbdeffb48fcc6c23ded1e84e62d3f33dc84de23d"}}]}]
BACKPORT-->
2023-02-17 03:16:52 -07:00
Kibana Machine
84bcbafaa7
[8.7] [ftr/journeys] allow override ftr base config in journey (#151277) (#151401)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[ftr/journeys] allow override ftr base config in journey
(#151277)](https://github.com/elastic/kibana/pull/151277)

<!--- 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-02-16T07:52:05Z","message":"[ftr/journeys]
allow override ftr base config in journey (#151277)\n\n##
Summary\r\n\r\nCurrently journeys use pre-defined base FTR config and
there is no way\r\nto re-configure Kibana to be loaded with extras, e.g.
Fleet
plugin\r\nconfiguration.\r\n\r\nf443109eea/packages/kbn-journeys/journey/journey_ftr_config.ts (L32-L34)\r\n\r\nProbably
the easiest way to address it is to path custom FTR config\r\ndirectly
in the journey.\r\n\r\n```\r\nexport const journey = new Journey({\r\n
ftrConfigPath: 'x-pack/test/cloud_security_posture_api/config.ts',\r\n
...\r\n})\r\n```\r\n\r\n\r\nIt can be also considered as a step towards
using journeys as future\r\nalternative to Webdriver functional
tests.","sha":"b46d25a7ca700b7e4e01970c55dbc25357acf27a","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","wg:performance","v8.7.0","v8.6.2","v8.8.0"],"number":151277,"url":"https://github.com/elastic/kibana/pull/151277","mergeCommit":{"message":"[ftr/journeys]
allow override ftr base config in journey (#151277)\n\n##
Summary\r\n\r\nCurrently journeys use pre-defined base FTR config and
there is no way\r\nto re-configure Kibana to be loaded with extras, e.g.
Fleet
plugin\r\nconfiguration.\r\n\r\nf443109eea/packages/kbn-journeys/journey/journey_ftr_config.ts (L32-L34)\r\n\r\nProbably
the easiest way to address it is to path custom FTR config\r\ndirectly
in the journey.\r\n\r\n```\r\nexport const journey = new Journey({\r\n
ftrConfigPath: 'x-pack/test/cloud_security_posture_api/config.ts',\r\n
...\r\n})\r\n```\r\n\r\n\r\nIt can be also considered as a step towards
using journeys as future\r\nalternative to Webdriver functional
tests.","sha":"b46d25a7ca700b7e4e01970c55dbc25357acf27a"}},"sourceBranch":"main","suggestedTargetBranches":["8.7","8.6"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.6","label":"v8.6.2","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/151277","number":151277,"mergeCommit":{"message":"[ftr/journeys]
allow override ftr base config in journey (#151277)\n\n##
Summary\r\n\r\nCurrently journeys use pre-defined base FTR config and
there is no way\r\nto re-configure Kibana to be loaded with extras, e.g.
Fleet
plugin\r\nconfiguration.\r\n\r\nf443109eea/packages/kbn-journeys/journey/journey_ftr_config.ts (L32-L34)\r\n\r\nProbably
the easiest way to address it is to path custom FTR config\r\ndirectly
in the journey.\r\n\r\n```\r\nexport const journey = new Journey({\r\n
ftrConfigPath: 'x-pack/test/cloud_security_posture_api/config.ts',\r\n
...\r\n})\r\n```\r\n\r\n\r\nIt can be also considered as a step towards
using journeys as future\r\nalternative to Webdriver functional
tests.","sha":"b46d25a7ca700b7e4e01970c55dbc25357acf27a"}}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
2023-02-16 01:56:20 -07:00
Kibana Machine
72125b19e0
[8.7] [@kbn/handlebars] Refactor types (#150520) (#151127)
# Backport

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

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

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2023-02-14T12:37:41Z","message":"[@kbn/handlebars]
Refactor types
(#150520)","sha":"77ed48a75aef947ae4a1a1bb3f58a71538804730","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.8.0"],"number":150520,"url":"https://github.com/elastic/kibana/pull/150520","mergeCommit":{"message":"[@kbn/handlebars]
Refactor types
(#150520)","sha":"77ed48a75aef947ae4a1a1bb3f58a71538804730"}},"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/150520","number":150520,"mergeCommit":{"message":"[@kbn/handlebars]
Refactor types
(#150520)","sha":"77ed48a75aef947ae4a1a1bb3f58a71538804730"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2023-02-14 06:44:59 -07:00
Kibana Machine
7aba553780
[8.7] [@kbn/handlebars] Minor refactor (#150440) (#150679)
# Backport

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

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

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

<!--BACKPORT [{"author":{"name":"Thomas
Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2023-02-09T11:21:32Z","message":"[@kbn/handlebars]
Minor refactor
(#150440)","sha":"5f0b56d3bc470eba4753dfa806154814609deee0","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.8.0"],"number":150440,"url":"https://github.com/elastic/kibana/pull/150440","mergeCommit":{"message":"[@kbn/handlebars]
Minor refactor
(#150440)","sha":"5f0b56d3bc470eba4753dfa806154814609deee0"}},"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/150440","number":150440,"mergeCommit":{"message":"[@kbn/handlebars]
Minor refactor
(#150440)","sha":"5f0b56d3bc470eba4753dfa806154814609deee0"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2023-02-14 05:31:12 -07:00
Kibana Machine
eccd41dca1
[8.7] [APM] adding API test for alert error count threshold (#150764) (#151065)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[APM] adding API test for alert error count threshold
(#150764)](https://github.com/elastic/kibana/pull/150764)

<!--- 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-02-13T19:30:42Z","message":"[APM]
adding API test for alert error count threshold (#150764)\n\nAdd new api
test for error count
threshold\r\n`tests/alerts/error_count_threshold.spec.ts`\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"eb4b92d876376d280c41dc352915e5e6e975cc07","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":150764,"url":"https://github.com/elastic/kibana/pull/150764","mergeCommit":{"message":"[APM]
adding API test for alert error count threshold (#150764)\n\nAdd new api
test for error count
threshold\r\n`tests/alerts/error_count_threshold.spec.ts`\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"eb4b92d876376d280c41dc352915e5e6e975cc07"}},"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/150764","number":150764,"mergeCommit":{"message":"[APM]
adding API test for alert error count threshold (#150764)\n\nAdd new api
test for error count
threshold\r\n`tests/alerts/error_count_threshold.spec.ts`\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"eb4b92d876376d280c41dc352915e5e6e975cc07"}}]}]
BACKPORT-->

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
2023-02-13 13:34:32 -07:00
Kibana Machine
fbf1f0e0cf
[8.7] [Saved Objects] Logs warning when deprecated SO APIs are called (#150775) (#151037)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Saved Objects] Logs warning when deprecated SO APIs are called
(#150775)](https://github.com/elastic/kibana/pull/150775)

<!--- 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-02-13T16:32:08Z","message":"[Saved
Objects] Logs warning when deprecated SO APIs are called
(#150775)\n\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8f4e5c53ff57e7b32d7d52d9ed9528ea216aafd1","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":150775,"url":"https://github.com/elastic/kibana/pull/150775","mergeCommit":{"message":"[Saved
Objects] Logs warning when deprecated SO APIs are called
(#150775)\n\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8f4e5c53ff57e7b32d7d52d9ed9528ea216aafd1"}},"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/150775","number":150775,"mergeCommit":{"message":"[Saved
Objects] Logs warning when deprecated SO APIs are called
(#150775)\n\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8f4e5c53ff57e7b32d7d52d9ed9528ea216aafd1"}}]}]
BACKPORT-->

Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
2023-02-13 10:41:51 -07:00
Kibana Machine
849e8107cc
[8.7] [Enterprise Search] Add docslinks for extraction rules (#150739) (#150909)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[Enterprise Search] Add docslinks for extraction rules
(#150739)](https://github.com/elastic/kibana/pull/150739)

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

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

<!--BACKPORT [{"author":{"name":"Sander
Philipse","email":"94373878+sphilipse@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-02-10T15:55:37Z","message":"[Enterprise
Search] Add docslinks for extraction rules (#150739)\n\n##
Summary\r\n\r\nAdds doclinks for crawler extraction
rules","sha":"4d0de8beb757ca13edc7d54029304f49dc88fd20","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.7.0","v8.8.0"],"number":150739,"url":"https://github.com/elastic/kibana/pull/150739","mergeCommit":{"message":"[Enterprise
Search] Add docslinks for extraction rules (#150739)\n\n##
Summary\r\n\r\nAdds doclinks for crawler extraction
rules","sha":"4d0de8beb757ca13edc7d54029304f49dc88fd20"}},"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/150739","number":150739,"mergeCommit":{"message":"[Enterprise
Search] Add docslinks for extraction rules (#150739)\n\n##
Summary\r\n\r\nAdds doclinks for crawler extraction
rules","sha":"4d0de8beb757ca13edc7d54029304f49dc88fd20"}}]}] BACKPORT-->

Co-authored-by: Sander Philipse <94373878+sphilipse@users.noreply.github.com>
2023-02-10 10:03:18 -07:00
Kibana Machine
e41a2a1f91
[8.7] [SO PIT Finder] Ensure mandatory sort fields (#150574) (#150672)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[SO PIT Finder] Ensure mandatory sort fields
(#150574)](https://github.com/elastic/kibana/pull/150574)

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

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

<!--BACKPORT [{"author":{"name":"Alejandro Fernández
Haro","email":"alejandro.haro@elastic.co"},"sourceCommit":{"committedDate":"2023-02-09T10:23:20Z","message":"[SO
PIT Finder] Ensure mandatory sort fields (#150574)\n\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>\r\nResolves
https://github.com/elastic/kibana/issues/150310","sha":"94085525a9233423d7b3b0164b56c6213078f20a","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","backport:prev-minor","v8.8.0"],"number":150574,"url":"https://github.com/elastic/kibana/pull/150574","mergeCommit":{"message":"[SO
PIT Finder] Ensure mandatory sort fields (#150574)\n\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>\r\nResolves
https://github.com/elastic/kibana/issues/150310","sha":"94085525a9233423d7b3b0164b56c6213078f20a"}},"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/150574","number":150574,"mergeCommit":{"message":"[SO
PIT Finder] Ensure mandatory sort fields (#150574)\n\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>\r\nResolves
https://github.com/elastic/kibana/issues/150310","sha":"94085525a9233423d7b3b0164b56c6213078f20a"}}]}]
BACKPORT-->

Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2023-02-09 11:48:53 -07:00
Kibana Machine
4da5a805cf
[8.7] Address react warnings (#150680) (#150729)
# Backport

This will backport the following commits from `main` to `8.7`:
- [Address react warnings
(#150680)](https://github.com/elastic/kibana/pull/150680)

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

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

<!--BACKPORT [{"author":{"name":"Julia
Rechkunova","email":"julia.rechkunova@elastic.co"},"sourceCommit":{"committedDate":"2023-02-09T15:20:11Z","message":"Address
react warnings (#150680)\n\nThis PR addresses React
warnings:\r\n\r\n<details>\r\n<summary>1. When chart is rendered on
Discover page</summary>\r\n<p>\r\nreact_devtools_backend.js:4012
Warning: Failed prop type: Invalid prop\r\n`children` of type `array`
supplied to `PseudoLocaleWrapper`, expected a\r\nsingle
ReactElement.\r\nat
PseudoLocaleWrapper\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14195:5)\r\nat
I18nProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14126:3)\r\nat
CurrentEuiBreakpointProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:165359:23)\r\nat
EuiThemeProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170451:22)\r\nat
EuiCacheProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:142029:20)\r\nat
EuiProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:142129:25)\r\nat
KibanaThemeProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:4624:3)\r\n</p>\r\n</details>\r\n\r\n<details>\r\n<summary>2.
When Kibana nav is
opened</summary>\r\n<p>\r\nreact_devtools_backend.js:4012 Warning: React
does not recognize the\r\n`dataTestSubj` prop on a DOM element. If you
intentionally want it to\r\nappear in the DOM as a custom attribute,
spell it as lowercase\r\n`datatestsubj` instead. If you accidentally
passed it from a parent\r\ncomponent, remove it from the DOM
element.\r\n at
a\r\nat\r\n9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:174472:73\r\nat
EuiButton\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:80550:25)\r\n
at div\r\n at div\r\nat
EuiCollapsibleNavGroup\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:84295:24)\r\n
at
div\r\nat\r\nhttp://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:174472:73\r\nat
EuiFlexItem\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:111981:23)\r\n
at
nav\r\nat\r\nhttp://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:174472:73\r\n
at
div\r\nat\r\nhttp://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:364444:59\r\nat
FocusLockUI\r\n(9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:361650:60\r\nat
EuiFocusTrap\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:112986:81)\r\nat
EuiPortal\r\n(9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:112245:24\r\nat
EuiCollapsibleNav\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:84156:17)\r\nat
CollapsibleNav\r\n(http://localhost:5601/qoz/9007199254740991/bundles/core/core.entry.js:10856:3)\r\n
at div\r\nat
EuiHeaderSectionItem\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:121458:26)\r\n
at div\r\nat
EuiHeaderSection\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:121399:24)\r\n
at div\r\nat
EuiHeader\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:120782:23)\r\n
at div\r\n at header\r\nat
Header\r\n(http://localhost:5601/qoz/9007199254740991/bundles/core/core.entry.js:11177:3)\r\nat
CurrentEuiBreakpointProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:165359:23)\r\nat
EuiThemeProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170451:22)\r\nat
EuiCacheProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:142029:20)\r\nat
EuiProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:142129:25)\r\nat
CoreThemeProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/core/core.entry.js:21741:3)\r\nat
EuiContext\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:90101:24)\r\nat
PseudoLocaleWrapper\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14195:5)\r\nat
IntlProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149376:5)\r\nat
I18nProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14126:3)\r\nat
I18nContext\r\n(http://localhost:5601/qoz/9007199254740991/bundles/core/core.entry.js:16388:9)\r\nat
CoreContextProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/core/core.entry.js:21669:3)\r\n</p>\r\n</details>\r\n\r\n<details>\r\n<summary>3.
When visiting Home > Try sample data page</summary>\r\n<p>\r\nWarning:
Cannot update a component (`HeaderBreadcrumbs`) while rendering\r\na
different component (`TutorialDirectoryUi`). To locate the
bad\r\nsetState() call inside `TutorialDirectoryUi`, follow the stack
trace as\r\ndescribed in
https://reactjs.org/link/setstate-in-render\r\nat
TutorialDirectoryUi\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/home/1.0.0/home.chunk.0.js:13055:5)\r\nat
InjectIntl\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149015:7)\r\nat
Route\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:365503:29)\r\nat
Switch\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:365709:29)\r\nat
Router\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:365132:30)\r\nat
HashRouter\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:364784:35)\r\nat
PseudoLocaleWrapper\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14195:5)\r\nat
IntlProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149376:5)\r\nat
I18nProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14126:3)\r\nat
HomeApp\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/home/1.0.0/home.chunk.0.js:10827:3)\r\nat
SampleDataCardKibanaProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/home/1.0.0/home.chunk.0.js:6565:3)\r\nat
SampleDataTabKibanaProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/home/1.0.0/home.chunk.0.js:7107:3)\r\nat
Provider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:1794:15)\r\nat
CurrentEuiBreakpointProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:165359:23)\r\nat
EuiThemeProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170451:22)\r\nat
EuiCacheProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:142029:20)\r\nat
EuiProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:142129:25)\r\nat
KibanaThemeProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:4624:3)\r\n
at div\r\nat
RedirectAppLinks\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:1415:3)\r\n</p>\r\n</details>","sha":"3b1ff55ac8f4b8817bd60b7762bc701e838b02b2","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:DataDiscovery",":DataDiscovery/fix-it-week","backport:prev-minor","v8.8.0"],"number":150680,"url":"https://github.com/elastic/kibana/pull/150680","mergeCommit":{"message":"Address
react warnings (#150680)\n\nThis PR addresses React
warnings:\r\n\r\n<details>\r\n<summary>1. When chart is rendered on
Discover page</summary>\r\n<p>\r\nreact_devtools_backend.js:4012
Warning: Failed prop type: Invalid prop\r\n`children` of type `array`
supplied to `PseudoLocaleWrapper`, expected a\r\nsingle
ReactElement.\r\nat
PseudoLocaleWrapper\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14195:5)\r\nat
I18nProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14126:3)\r\nat
CurrentEuiBreakpointProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:165359:23)\r\nat
EuiThemeProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170451:22)\r\nat
EuiCacheProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:142029:20)\r\nat
EuiProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:142129:25)\r\nat
KibanaThemeProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:4624:3)\r\n</p>\r\n</details>\r\n\r\n<details>\r\n<summary>2.
When Kibana nav is
opened</summary>\r\n<p>\r\nreact_devtools_backend.js:4012 Warning: React
does not recognize the\r\n`dataTestSubj` prop on a DOM element. If you
intentionally want it to\r\nappear in the DOM as a custom attribute,
spell it as lowercase\r\n`datatestsubj` instead. If you accidentally
passed it from a parent\r\ncomponent, remove it from the DOM
element.\r\n at
a\r\nat\r\n9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:174472:73\r\nat
EuiButton\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:80550:25)\r\n
at div\r\n at div\r\nat
EuiCollapsibleNavGroup\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:84295:24)\r\n
at
div\r\nat\r\nhttp://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:174472:73\r\nat
EuiFlexItem\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:111981:23)\r\n
at
nav\r\nat\r\nhttp://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:174472:73\r\n
at
div\r\nat\r\nhttp://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:364444:59\r\nat
FocusLockUI\r\n(9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:361650:60\r\nat
EuiFocusTrap\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:112986:81)\r\nat
EuiPortal\r\n(9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:112245:24\r\nat
EuiCollapsibleNav\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:84156:17)\r\nat
CollapsibleNav\r\n(http://localhost:5601/qoz/9007199254740991/bundles/core/core.entry.js:10856:3)\r\n
at div\r\nat
EuiHeaderSectionItem\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:121458:26)\r\n
at div\r\nat
EuiHeaderSection\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:121399:24)\r\n
at div\r\nat
EuiHeader\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:120782:23)\r\n
at div\r\n at header\r\nat
Header\r\n(http://localhost:5601/qoz/9007199254740991/bundles/core/core.entry.js:11177:3)\r\nat
CurrentEuiBreakpointProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:165359:23)\r\nat
EuiThemeProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170451:22)\r\nat
EuiCacheProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:142029:20)\r\nat
EuiProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:142129:25)\r\nat
CoreThemeProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/core/core.entry.js:21741:3)\r\nat
EuiContext\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:90101:24)\r\nat
PseudoLocaleWrapper\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14195:5)\r\nat
IntlProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149376:5)\r\nat
I18nProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14126:3)\r\nat
I18nContext\r\n(http://localhost:5601/qoz/9007199254740991/bundles/core/core.entry.js:16388:9)\r\nat
CoreContextProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/core/core.entry.js:21669:3)\r\n</p>\r\n</details>\r\n\r\n<details>\r\n<summary>3.
When visiting Home > Try sample data page</summary>\r\n<p>\r\nWarning:
Cannot update a component (`HeaderBreadcrumbs`) while rendering\r\na
different component (`TutorialDirectoryUi`). To locate the
bad\r\nsetState() call inside `TutorialDirectoryUi`, follow the stack
trace as\r\ndescribed in
https://reactjs.org/link/setstate-in-render\r\nat
TutorialDirectoryUi\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/home/1.0.0/home.chunk.0.js:13055:5)\r\nat
InjectIntl\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149015:7)\r\nat
Route\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:365503:29)\r\nat
Switch\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:365709:29)\r\nat
Router\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:365132:30)\r\nat
HashRouter\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:364784:35)\r\nat
PseudoLocaleWrapper\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14195:5)\r\nat
IntlProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149376:5)\r\nat
I18nProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14126:3)\r\nat
HomeApp\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/home/1.0.0/home.chunk.0.js:10827:3)\r\nat
SampleDataCardKibanaProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/home/1.0.0/home.chunk.0.js:6565:3)\r\nat
SampleDataTabKibanaProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/home/1.0.0/home.chunk.0.js:7107:3)\r\nat
Provider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:1794:15)\r\nat
CurrentEuiBreakpointProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:165359:23)\r\nat
EuiThemeProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170451:22)\r\nat
EuiCacheProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:142029:20)\r\nat
EuiProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:142129:25)\r\nat
KibanaThemeProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:4624:3)\r\n
at div\r\nat
RedirectAppLinks\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:1415:3)\r\n</p>\r\n</details>","sha":"3b1ff55ac8f4b8817bd60b7762bc701e838b02b2"}},"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/150680","number":150680,"mergeCommit":{"message":"Address
react warnings (#150680)\n\nThis PR addresses React
warnings:\r\n\r\n<details>\r\n<summary>1. When chart is rendered on
Discover page</summary>\r\n<p>\r\nreact_devtools_backend.js:4012
Warning: Failed prop type: Invalid prop\r\n`children` of type `array`
supplied to `PseudoLocaleWrapper`, expected a\r\nsingle
ReactElement.\r\nat
PseudoLocaleWrapper\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14195:5)\r\nat
I18nProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14126:3)\r\nat
CurrentEuiBreakpointProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:165359:23)\r\nat
EuiThemeProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170451:22)\r\nat
EuiCacheProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:142029:20)\r\nat
EuiProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:142129:25)\r\nat
KibanaThemeProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:4624:3)\r\n</p>\r\n</details>\r\n\r\n<details>\r\n<summary>2.
When Kibana nav is
opened</summary>\r\n<p>\r\nreact_devtools_backend.js:4012 Warning: React
does not recognize the\r\n`dataTestSubj` prop on a DOM element. If you
intentionally want it to\r\nappear in the DOM as a custom attribute,
spell it as lowercase\r\n`datatestsubj` instead. If you accidentally
passed it from a parent\r\ncomponent, remove it from the DOM
element.\r\n at
a\r\nat\r\n9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:174472:73\r\nat
EuiButton\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:80550:25)\r\n
at div\r\n at div\r\nat
EuiCollapsibleNavGroup\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:84295:24)\r\n
at
div\r\nat\r\nhttp://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:174472:73\r\nat
EuiFlexItem\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:111981:23)\r\n
at
nav\r\nat\r\nhttp://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:174472:73\r\n
at
div\r\nat\r\nhttp://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:364444:59\r\nat
FocusLockUI\r\n(9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:361650:60\r\nat
EuiFocusTrap\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:112986:81)\r\nat
EuiPortal\r\n(9007199254/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:112245:24\r\nat
EuiCollapsibleNav\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:84156:17)\r\nat
CollapsibleNav\r\n(http://localhost:5601/qoz/9007199254740991/bundles/core/core.entry.js:10856:3)\r\n
at div\r\nat
EuiHeaderSectionItem\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:121458:26)\r\n
at div\r\nat
EuiHeaderSection\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:121399:24)\r\n
at div\r\nat
EuiHeader\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:120782:23)\r\n
at div\r\n at header\r\nat
Header\r\n(http://localhost:5601/qoz/9007199254740991/bundles/core/core.entry.js:11177:3)\r\nat
CurrentEuiBreakpointProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:165359:23)\r\nat
EuiThemeProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170451:22)\r\nat
EuiCacheProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:142029:20)\r\nat
EuiProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:142129:25)\r\nat
CoreThemeProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/core/core.entry.js:21741:3)\r\nat
EuiContext\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:90101:24)\r\nat
PseudoLocaleWrapper\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14195:5)\r\nat
IntlProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149376:5)\r\nat
I18nProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14126:3)\r\nat
I18nContext\r\n(http://localhost:5601/qoz/9007199254740991/bundles/core/core.entry.js:16388:9)\r\nat
CoreContextProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/core/core.entry.js:21669:3)\r\n</p>\r\n</details>\r\n\r\n<details>\r\n<summary>3.
When visiting Home > Try sample data page</summary>\r\n<p>\r\nWarning:
Cannot update a component (`HeaderBreadcrumbs`) while rendering\r\na
different component (`TutorialDirectoryUi`). To locate the
bad\r\nsetState() call inside `TutorialDirectoryUi`, follow the stack
trace as\r\ndescribed in
https://reactjs.org/link/setstate-in-render\r\nat
TutorialDirectoryUi\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/home/1.0.0/home.chunk.0.js:13055:5)\r\nat
InjectIntl\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149015:7)\r\nat
Route\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:365503:29)\r\nat
Switch\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:365709:29)\r\nat
Router\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:365132:30)\r\nat
HashRouter\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:364784:35)\r\nat
PseudoLocaleWrapper\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14195:5)\r\nat
IntlProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:149376:5)\r\nat
I18nProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-src/kbn-ui-shared-deps-src.js:14126:3)\r\nat
HomeApp\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/home/1.0.0/home.chunk.0.js:10827:3)\r\nat
SampleDataCardKibanaProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/home/1.0.0/home.chunk.0.js:6565:3)\r\nat
SampleDataTabKibanaProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/home/1.0.0/home.chunk.0.js:7107:3)\r\nat
Provider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:1794:15)\r\nat
CurrentEuiBreakpointProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:165359:23)\r\nat
EuiThemeProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:170451:22)\r\nat
EuiCacheProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:142029:20)\r\nat
EuiProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:142129:25)\r\nat
KibanaThemeProvider\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:4624:3)\r\n
at div\r\nat
RedirectAppLinks\r\n(http://localhost:5601/qoz/9007199254740991/bundles/plugin/kibanaReact/1.0.0/kibanaReact.plugin.js:1415:3)\r\n</p>\r\n</details>","sha":"3b1ff55ac8f4b8817bd60b7762bc701e838b02b2"}}]}]
BACKPORT-->

Co-authored-by: Julia Rechkunova <julia.rechkunova@elastic.co>
2023-02-09 10:57:20 -07:00
Kibana Machine
4b16719cd4
[8.7] [@kbn/plugin-generator] Skip .i18nrc.json for internal plugins (#150556) (#150695)
# Backport

This will backport the following commits from `main` to `8.7`:
- [[@kbn/plugin-generator] Skip `.i18nrc.json` for internal plugins
(#150556)](https://github.com/elastic/kibana/pull/150556)

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

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

<!--BACKPORT [{"author":{"name":"Alejandro Fernández
Haro","email":"alejandro.haro@elastic.co"},"sourceCommit":{"committedDate":"2023-02-09T13:03:12Z","message":"[@kbn/plugin-generator]
Skip `.i18nrc.json` for internal plugins (#150556)\n\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"90590d0ac5131e4f39ad625d5f7ca8dec09478c9","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Team:Core","Team:Operations","Project:i18n","release_note:skip","backport:all-open","v8.8.0"],"number":150556,"url":"https://github.com/elastic/kibana/pull/150556","mergeCommit":{"message":"[@kbn/plugin-generator]
Skip `.i18nrc.json` for internal plugins (#150556)\n\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"90590d0ac5131e4f39ad625d5f7ca8dec09478c9"}},"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/150556","number":150556,"mergeCommit":{"message":"[@kbn/plugin-generator]
Skip `.i18nrc.json` for internal plugins (#150556)\n\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"90590d0ac5131e4f39ad625d5f7ca8dec09478c9"}}]}]
BACKPORT-->

Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2023-02-09 10:50:14 -07:00
Kyle Pollich
031f67bb49
[Fleet] ON Week - Port Integrations UI to @tanstack/query (#146714)
## Summary

Migrates data fetching in `applications/integrations` to
`@tanstack/query` - https://tanstack.com/query/latest

This migration gives us some powerful tools around data fetching and
state management in React, and follows suit with several other Kibana
plugins that have migrated to `react-query` in the recent months.

I took some time to write up some dev docs around this change in
bf9527a2bf/x-pack/plugins/fleet/dev_docs/react_query.md
that should hopefully represent a good start in explaining the new data
fetching patterns in detail.

Note: I'm reviving this ON week PR from November after a few months, so
there might be non-RQ data fetching changes that have landed in `main`
since I initially filed these changes. If you find anything please let
me know and I'll happily migrate that too.

I'll also be doing some more manual testing of critical integrations UX
flows to make sure there's no regressions here, though everything I can
think of has looked good so far 🙂

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-02-08 10:23:06 -05:00
Pierre Gayvallet
91ff710050
Preliminary DocumentMigrator cleanup (#150529)
Related to https://github.com/elastic/kibana/issues/150301

This PR tend to do some preliminary cleanup before diving into the
actual implementation. I'm mostly extracting things from the (way too
big and hard to read) document migrator, to increase readability,
maintainability and testability (note: I did not add additional unit
test for the extracted files, as I did not change the impl and as we'll
be rewriting them all soon enough - it would just have been a loss of
time)

- Move the document migrator from
`packages/core/saved-objects/core-saved-objects-migration-server-internal/src/core`
to it's dedicated folder `document_migrator` folder
- Extract all the bits not directly performing the document
transformation (e.g building the migration map, validation, utils) to
their dedicated files
- Only moving things around. No concrete code (apart from types) was
modified, to ease managing conflicts with
https://github.com/elastic/kibana/pull/150443
2023-02-08 15:17:39 +01:00
Jean-Louis Leysens
e770455173
[Saved Objects] Update resolve doc comment (#150540)
## Summary

Per title
2023-02-08 05:15:48 -07:00
Xavier Mouligneau
01f07bccf1
[RAM] Bring flapping status and settings in o11y (#150483)
## Summary

Bring shareable components to set the flapping configuration on rule
management in o11y and update the status alert around flapping.

<img width="1697" alt="image"
src="https://user-images.githubusercontent.com/189600/217358288-57eb93ef-94e2-4576-9e99-baee8c2ef2b2.png">

<img width="1696" alt="Screenshot 2023-02-07 at 3 15 01 PM"
src="https://user-images.githubusercontent.com/189600/217356846-441eaf51-f6c9-4afd-9f6b-9c8f5a3531bd.png">


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-02-07 20:52:26 -07:00
Davis Plumlee
92a1689e95
[Security Solution][Exceptions] Rule exceptions TTL - Expiration (#145180) 2023-02-07 16:20:39 -05:00
Dima Arnautov
c8b75b3b72
[ML] Adds change point detection feature (#150308)
## Summary

Part of #145703, adding enhancements to the new Change Point Detection
page for technical preview under the AIOps Labs section in the ML
plugin.

<img width="1406" alt="image"
src="https://user-images.githubusercontent.com/5236598/217035513-86325cd9-17a9-46ed-8aea-77585038a427.png">

- Use the data bounds mode for the Y-axis 
- Add a cardinality check for the split field with a hard limit of
10,000
-  Show series labels above charts 
- Replace fields `select` controls with the `EuiComboBox`
- Add a filter for change point type 
- Display aggregation interval 
- Add a docs link to the Change Point Aggregation 
- Make split field optional 

### Checklist


- [ ] 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)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [ ] [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
- [x] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [x] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [x] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [x] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)
2023-02-07 12:51:02 -07:00
Thomas Watson
6ad7ba3ddb
Fix useless regex escapes (#150043) 2023-02-07 09:58:47 -07:00
Pierre Gayvallet
7136039305
Introduce the SO versionModel API (#150149)
## Summary

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

First step toward managed upgrades

This PR adds the types that will be used for the new SO model version
API, and adds the new properties to the `SavedObjectsType` type.

The implementation is outside of scope of the PR and will be implemented
in a future PR.

The PR also adapt the `check_registered_types` test to trigger a review
when the attributes of `SavedObjectsType` introduced in this PR are
changed.
2023-02-07 09:14:26 -07:00
Dario Gieselaar
b96d46c06b
[APM] Service metrics/continuous rollups follow-up work (#150266)
Co-authored-by: Søren Louv-Jansen <sorenlouv@gmail.com>
Closes https://github.com/elastic/kibana/issues/150265
2023-02-07 15:29:47 +01:00