Commit graph

59077 commits

Author SHA1 Message Date
Mark Hopkin
1c89d27ff7
[8.6] [Fleet] Bugfix: count agent policies not agent policy revisions in telemetry (#149858) (#150036)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Fleet] Bugfix: count agent policies not agent policy revisions in
telemetry (#149858)](https://github.com/elastic/kibana/pull/149858)

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

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

<!--BACKPORT [{"author":{"name":"Mark
Hopkin","email":"mark.hopkin@elastic.co"},"sourceCommit":{"committedDate":"2023-01-31T09:51:23Z","message":"[Fleet]
Bugfix: count agent policies not agent policy revisions in telemetry
(#149858)\n\n## Summary\r\n\r\nPreviously we were counting all agent
policy revisions + even if the\r\nagent policy had been deleted. I have
moved to using the saved object\r\nclient to get the agent
policies.","sha":"7006c7a02d7ec213b1e4cb16c2711d05159a864a","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","backport:prev-minor","v8.7.0"],"number":149858,"url":"https://github.com/elastic/kibana/pull/149858","mergeCommit":{"message":"[Fleet]
Bugfix: count agent policies not agent policy revisions in telemetry
(#149858)\n\n## Summary\r\n\r\nPreviously we were counting all agent
policy revisions + even if the\r\nagent policy had been deleted. I have
moved to using the saved object\r\nclient to get the agent
policies.","sha":"7006c7a02d7ec213b1e4cb16c2711d05159a864a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149858","number":149858,"mergeCommit":{"message":"[Fleet]
Bugfix: count agent policies not agent policy revisions in telemetry
(#149858)\n\n## Summary\r\n\r\nPreviously we were counting all agent
policy revisions + even if the\r\nagent policy had been deleted. I have
moved to using the saved object\r\nclient to get the agent
policies.","sha":"7006c7a02d7ec213b1e4cb16c2711d05159a864a"}}]}]
BACKPORT-->
2023-02-01 08:04:15 -07:00
Mark Hopkin
daf9cfe5a8
[8.6] [Fleet] Add Agent logs panic messages from last hour to telemetry (#149825) (#150037)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Fleet] Add Agent logs panic messages from last hour to telemetry
(#149825)](https://github.com/elastic/kibana/pull/149825)

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

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

<!--BACKPORT [{"author":{"name":"Mark
Hopkin","email":"mark.hopkin@elastic.co"},"sourceCommit":{"committedDate":"2023-01-30T17:20:08Z","message":"[Fleet]
Add Agent logs panic messages from last hour to telemetry
(#149825)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/ingest-dev/issues/1486\r\n\r\nAdd
`agent_logs_panics_last_hour` telemetry field which contains
the\r\nmessage and timestamp of all log messages containing the word
panic that\r\nocurred in the last hour.\r\n\r\nCapped at 100
messages.","sha":"b9a999f7f831ce968fd57823ce63fbdcef85402d","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:skip","Team:Fleet","v8.7.0"],"number":149825,"url":"https://github.com/elastic/kibana/pull/149825","mergeCommit":{"message":"[Fleet]
Add Agent logs panic messages from last hour to telemetry
(#149825)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/ingest-dev/issues/1486\r\n\r\nAdd
`agent_logs_panics_last_hour` telemetry field which contains
the\r\nmessage and timestamp of all log messages containing the word
panic that\r\nocurred in the last hour.\r\n\r\nCapped at 100
messages.","sha":"b9a999f7f831ce968fd57823ce63fbdcef85402d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149825","number":149825,"mergeCommit":{"message":"[Fleet]
Add Agent logs panic messages from last hour to telemetry
(#149825)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/ingest-dev/issues/1486\r\n\r\nAdd
`agent_logs_panics_last_hour` telemetry field which contains
the\r\nmessage and timestamp of all log messages containing the word
panic that\r\nocurred in the last hour.\r\n\r\nCapped at 100
messages.","sha":"b9a999f7f831ce968fd57823ce63fbdcef85402d"}}]}]
BACKPORT-->
2023-02-01 06:46:26 -07:00
Dzmitry Lemechko
5d8aa894ff
[8.6] [ftr] split 'x-pack/test/functional_basic/config.ts' into small config files (#149617) (#150033)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[ftr] split 'x-pack/test/functional_basic/config.ts' into small
config files (#149617)](https://github.com/elastic/kibana/pull/149617)

<!--- 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-01-31T16:48:56Z","message":"[ftr]
split 'x-pack/test/functional_basic/config.ts' into small config files
(#149617)\n\n## Summary\r\n\r\nThis PR attempts to fix config duration
time warning\r\n\r\n```\r\nThe following \"Functional Tests\" configs
have durations that exceed the maximum amount of time desired for a
single CI job. This is not an error, and if you don't own any of these
configs then you can ignore this warning.If you own any of these configs
please split them up ASAP and ask Operations if you have questions about
how to do that.\r\n\r\nx-pack/test/functional_basic/config.ts: 38.8
minutes\r\n```\r\n\r\n<img width=\"1188\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/10977896/214912243-800a1c80-13fa-406b-93dd-0f5ab208cda9.png\">\r\n\r\n\r\nPR
initially splits original test suite into 3 config files based
on\r\narea: permission, data visualizer and transform.\r\n-
x-pack/test/functional_basic/apps/ml/data_visualizer/config.ts\r\nduration:
**19m 24s** (left for later)\r\n-
x-pack/test/functional_basic/apps/transform/config.ts duration:
**18m\r\n14s** -> let's split in 5 configs\r\n-
x-pack/test/functional_basic/apps/ml/permissions/config.ts.
duration:\r\n5m 10s\r\n\r\n\r\n2nd split
round:\r\n-\r\nx-pack/test/functional_basic/apps/transform/feature_controls/config.ts.\r\nduration:
2m 4s\r\n- x-pack/test/functional_basic/apps/transform/group1/config.ts
duration:\r\n**8m 16s** -> let's split in 2 configs\r\n-
x-pack/test/functional_basic/apps/transform/group2/config.ts.\r\nduration:
5m 20s\r\n-
x-pack/test/functional_basic/apps/transform/group3/config.ts.\r\nduration:
5m 12s\r\n- x-pack/test/functional_basic/apps/ml/permissions/config.ts.
duration:\r\n5m 10s -> let's split in 3 configs (1 test file
each)\r\n\r\n3rd split round:\r\n-
x-pack/test/functional_basic/apps/ml/permissions/group1/config.ts.\r\nduration:
3m 11s\r\n-
x-pack/test/functional_basic/apps/ml/permissions/group2/config.ts\r\nduration:
3m 42s\r\n-
x-pack/test/functional_basic/apps/ml/permissions/group3/config.ts\r\nduration
2m 14s\r\n- x-pack/test/functional_basic/apps/transform/group4/config.ts
duration:\r\n4m 43s\r\n\r\nlets split into 3 configs\r\n-
x-pack/test/functional_basic/apps/ml/data_visualizer/config.ts\r\nduration:
**19m 24s**\r\n\r\n4th split round:\r\n\r\n-
x-pack/test/functional_basic/apps/ml/data_visualizer/group1/config.ts\r\nduration:
4m 42s\r\n-
x-pack/test/functional_basic/apps/ml/data_visualizer/group2/config.ts\r\nduration:
9m 27s\r\n-
x-pack/test/functional_basic/apps/ml/data_visualizer/group3/config.ts\r\nduration:
7m 39s\r\n\r\n\r\n[Build
time\r\n](https://buildkite.com/elastic/kibana-pull-request/builds/103355)
is\r\n49m 26sec (55 FTR groups)\r\n\r\nCurrently on-merge pipeline
for\r\n[main](https://buildkite.com/elastic/kibana-on-merge/builds?branch=main)\r\ntakes
around
1h","sha":"f33568f74e8269c57556d4f4a1651b8a96c395f3","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.7.0","v8.6.2"],"number":149617,"url":"https://github.com/elastic/kibana/pull/149617","mergeCommit":{"message":"[ftr]
split 'x-pack/test/functional_basic/config.ts' into small config files
(#149617)\n\n## Summary\r\n\r\nThis PR attempts to fix config duration
time warning\r\n\r\n```\r\nThe following \"Functional Tests\" configs
have durations that exceed the maximum amount of time desired for a
single CI job. This is not an error, and if you don't own any of these
configs then you can ignore this warning.If you own any of these configs
please split them up ASAP and ask Operations if you have questions about
how to do that.\r\n\r\nx-pack/test/functional_basic/config.ts: 38.8
minutes\r\n```\r\n\r\n<img width=\"1188\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/10977896/214912243-800a1c80-13fa-406b-93dd-0f5ab208cda9.png\">\r\n\r\n\r\nPR
initially splits original test suite into 3 config files based
on\r\narea: permission, data visualizer and transform.\r\n-
x-pack/test/functional_basic/apps/ml/data_visualizer/config.ts\r\nduration:
**19m 24s** (left for later)\r\n-
x-pack/test/functional_basic/apps/transform/config.ts duration:
**18m\r\n14s** -> let's split in 5 configs\r\n-
x-pack/test/functional_basic/apps/ml/permissions/config.ts.
duration:\r\n5m 10s\r\n\r\n\r\n2nd split
round:\r\n-\r\nx-pack/test/functional_basic/apps/transform/feature_controls/config.ts.\r\nduration:
2m 4s\r\n- x-pack/test/functional_basic/apps/transform/group1/config.ts
duration:\r\n**8m 16s** -> let's split in 2 configs\r\n-
x-pack/test/functional_basic/apps/transform/group2/config.ts.\r\nduration:
5m 20s\r\n-
x-pack/test/functional_basic/apps/transform/group3/config.ts.\r\nduration:
5m 12s\r\n- x-pack/test/functional_basic/apps/ml/permissions/config.ts.
duration:\r\n5m 10s -> let's split in 3 configs (1 test file
each)\r\n\r\n3rd split round:\r\n-
x-pack/test/functional_basic/apps/ml/permissions/group1/config.ts.\r\nduration:
3m 11s\r\n-
x-pack/test/functional_basic/apps/ml/permissions/group2/config.ts\r\nduration:
3m 42s\r\n-
x-pack/test/functional_basic/apps/ml/permissions/group3/config.ts\r\nduration
2m 14s\r\n- x-pack/test/functional_basic/apps/transform/group4/config.ts
duration:\r\n4m 43s\r\n\r\nlets split into 3 configs\r\n-
x-pack/test/functional_basic/apps/ml/data_visualizer/config.ts\r\nduration:
**19m 24s**\r\n\r\n4th split round:\r\n\r\n-
x-pack/test/functional_basic/apps/ml/data_visualizer/group1/config.ts\r\nduration:
4m 42s\r\n-
x-pack/test/functional_basic/apps/ml/data_visualizer/group2/config.ts\r\nduration:
9m 27s\r\n-
x-pack/test/functional_basic/apps/ml/data_visualizer/group3/config.ts\r\nduration:
7m 39s\r\n\r\n\r\n[Build
time\r\n](https://buildkite.com/elastic/kibana-pull-request/builds/103355)
is\r\n49m 26sec (55 FTR groups)\r\n\r\nCurrently on-merge pipeline
for\r\n[main](https://buildkite.com/elastic/kibana-on-merge/builds?branch=main)\r\ntakes
around
1h","sha":"f33568f74e8269c57556d4f4a1651b8a96c395f3"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149617","number":149617,"mergeCommit":{"message":"[ftr]
split 'x-pack/test/functional_basic/config.ts' into small config files
(#149617)\n\n## Summary\r\n\r\nThis PR attempts to fix config duration
time warning\r\n\r\n```\r\nThe following \"Functional Tests\" configs
have durations that exceed the maximum amount of time desired for a
single CI job. This is not an error, and if you don't own any of these
configs then you can ignore this warning.If you own any of these configs
please split them up ASAP and ask Operations if you have questions about
how to do that.\r\n\r\nx-pack/test/functional_basic/config.ts: 38.8
minutes\r\n```\r\n\r\n<img width=\"1188\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/10977896/214912243-800a1c80-13fa-406b-93dd-0f5ab208cda9.png\">\r\n\r\n\r\nPR
initially splits original test suite into 3 config files based
on\r\narea: permission, data visualizer and transform.\r\n-
x-pack/test/functional_basic/apps/ml/data_visualizer/config.ts\r\nduration:
**19m 24s** (left for later)\r\n-
x-pack/test/functional_basic/apps/transform/config.ts duration:
**18m\r\n14s** -> let's split in 5 configs\r\n-
x-pack/test/functional_basic/apps/ml/permissions/config.ts.
duration:\r\n5m 10s\r\n\r\n\r\n2nd split
round:\r\n-\r\nx-pack/test/functional_basic/apps/transform/feature_controls/config.ts.\r\nduration:
2m 4s\r\n- x-pack/test/functional_basic/apps/transform/group1/config.ts
duration:\r\n**8m 16s** -> let's split in 2 configs\r\n-
x-pack/test/functional_basic/apps/transform/group2/config.ts.\r\nduration:
5m 20s\r\n-
x-pack/test/functional_basic/apps/transform/group3/config.ts.\r\nduration:
5m 12s\r\n- x-pack/test/functional_basic/apps/ml/permissions/config.ts.
duration:\r\n5m 10s -> let's split in 3 configs (1 test file
each)\r\n\r\n3rd split round:\r\n-
x-pack/test/functional_basic/apps/ml/permissions/group1/config.ts.\r\nduration:
3m 11s\r\n-
x-pack/test/functional_basic/apps/ml/permissions/group2/config.ts\r\nduration:
3m 42s\r\n-
x-pack/test/functional_basic/apps/ml/permissions/group3/config.ts\r\nduration
2m 14s\r\n- x-pack/test/functional_basic/apps/transform/group4/config.ts
duration:\r\n4m 43s\r\n\r\nlets split into 3 configs\r\n-
x-pack/test/functional_basic/apps/ml/data_visualizer/config.ts\r\nduration:
**19m 24s**\r\n\r\n4th split round:\r\n\r\n-
x-pack/test/functional_basic/apps/ml/data_visualizer/group1/config.ts\r\nduration:
4m 42s\r\n-
x-pack/test/functional_basic/apps/ml/data_visualizer/group2/config.ts\r\nduration:
9m 27s\r\n-
x-pack/test/functional_basic/apps/ml/data_visualizer/group3/config.ts\r\nduration:
7m 39s\r\n\r\n\r\n[Build
time\r\n](https://buildkite.com/elastic/kibana-pull-request/builds/103355)
is\r\n49m 26sec (55 FTR groups)\r\n\r\nCurrently on-merge pipeline
for\r\n[main](https://buildkite.com/elastic/kibana-on-merge/builds?branch=main)\r\ntakes
around
1h","sha":"f33568f74e8269c57556d4f4a1651b8a96c395f3"}},{"branch":"8.6","label":"v8.6.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2023-02-01 06:20:32 -07:00
Kibana Machine
97c50cbc8a
[8.6] [@kbn/handlebars] Support custom decorator return value (#149392) (#150023)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[@kbn/handlebars] Support custom decorator return value
(#149392)](https://github.com/elastic/kibana/pull/149392)

<!--- 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-01T10:57:22Z","message":"[@kbn/handlebars]
Support custom decorator return value (#149392)\n\nFixes
#149327","sha":"f296abb6c93de1b98c3dab2dc61c7eef66c691ba","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.7.0"],"number":149392,"url":"https://github.com/elastic/kibana/pull/149392","mergeCommit":{"message":"[@kbn/handlebars]
Support custom decorator return value (#149392)\n\nFixes
#149327","sha":"f296abb6c93de1b98c3dab2dc61c7eef66c691ba"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149392","number":149392,"mergeCommit":{"message":"[@kbn/handlebars]
Support custom decorator return value (#149392)\n\nFixes
#149327","sha":"f296abb6c93de1b98c3dab2dc61c7eef66c691ba"}}]}]
BACKPORT-->

Co-authored-by: Thomas Watson <watson@elastic.co>
2023-02-01 05:02:36 -07:00
Kibana Machine
fd93843e5b
[8.6] [Security Solution][Endpoint] Flx and unskip flaky test (#149839) (#150006)
# Backport

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

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

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

<!--BACKPORT
[{"author":{"name":"Ashokaditya","email":"1849116+ashokaditya@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-02-01T09:00:09Z","message":"[Security
Solution][Endpoint] Flx and unskip flaky test (#149839)\n\n##
Summary\r\n\r\nFixes flaky test
elastic/kibana/issues/145635\r\n\r\nflaky test
runners:\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1816\r\nx
50 (successful on all
50)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1828\r\nx
150 (successful on all
150)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1829\r\nx
200 (failed on a single run for an
[unrelated\r\ntest](92cb000a2f/x-pack/test/security_solution_endpoint/apps/endpoint/responder.ts (L113)))\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1832\r\nx
100 (successful on all 100)\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"511aaf3004aab84ec2f9ae452e3f739a58876dd8","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","test-failure-flaky","Team:Defend
Workflows","OLM
Sprint","v8.6.0","v8.7.0"],"number":149839,"url":"https://github.com/elastic/kibana/pull/149839","mergeCommit":{"message":"[Security
Solution][Endpoint] Flx and unskip flaky test (#149839)\n\n##
Summary\r\n\r\nFixes flaky test
elastic/kibana/issues/145635\r\n\r\nflaky test
runners:\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1816\r\nx
50 (successful on all
50)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1828\r\nx
150 (successful on all
150)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1829\r\nx
200 (failed on a single run for an
[unrelated\r\ntest](92cb000a2f/x-pack/test/security_solution_endpoint/apps/endpoint/responder.ts (L113)))\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1832\r\nx
100 (successful on all 100)\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"511aaf3004aab84ec2f9ae452e3f739a58876dd8"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149839","number":149839,"mergeCommit":{"message":"[Security
Solution][Endpoint] Flx and unskip flaky test (#149839)\n\n##
Summary\r\n\r\nFixes flaky test
elastic/kibana/issues/145635\r\n\r\nflaky test
runners:\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1816\r\nx
50 (successful on all
50)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1828\r\nx
150 (successful on all
150)\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1829\r\nx
200 (failed on a single run for an
[unrelated\r\ntest](92cb000a2f/x-pack/test/security_solution_endpoint/apps/endpoint/responder.ts (L113)))\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1832\r\nx
100 (successful on all 100)\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"511aaf3004aab84ec2f9ae452e3f739a58876dd8"}}]}]
BACKPORT-->

---------

Co-authored-by: Ashokaditya <1849116+ashokaditya@users.noreply.github.com>
Co-authored-by: Ashokaditya <ashokaditya@elastic.co>
2023-02-01 04:56:52 -07:00
Kibana Machine
9702dadc77
[8.6] [Lens] Fix formula validation issue with non-default locale (#149806) (#149972)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Lens] Fix formula validation issue with non-default locale
(#149806)](https://github.com/elastic/kibana/pull/149806)

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

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

<!--BACKPORT [{"author":{"name":"Marco
Liberati","email":"dej611@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-01-31T18:39:01Z","message":"[Lens]
Fix formula validation issue with non-default locale (#149806)\n\n##
Summary\r\n\r\nFix #149803 \r\n\r\nThis PR addresses the problem with
i18n validation on formula's content,\r\ncentralising the default node
type into a locale-based type.\r\n\r\nI've also added some i18n
functional tests as suggested by @stratoula :\r\none for this specific
bug and some smokescreen ones for Lens.\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[ ] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Stratoula Kalafateli
<efstratia.kalafateli@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"7ac74799c4c4f2f5252cf699560f8e8192210b5a","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Visualizations","Feature:Lens","backport:prev-minor","v8.7.0","v8.6.2"],"number":149806,"url":"https://github.com/elastic/kibana/pull/149806","mergeCommit":{"message":"[Lens]
Fix formula validation issue with non-default locale (#149806)\n\n##
Summary\r\n\r\nFix #149803 \r\n\r\nThis PR addresses the problem with
i18n validation on formula's content,\r\ncentralising the default node
type into a locale-based type.\r\n\r\nI've also added some i18n
functional tests as suggested by @stratoula :\r\none for this specific
bug and some smokescreen ones for Lens.\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[ ] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Stratoula Kalafateli
<efstratia.kalafateli@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"7ac74799c4c4f2f5252cf699560f8e8192210b5a"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149806","number":149806,"mergeCommit":{"message":"[Lens]
Fix formula validation issue with non-default locale (#149806)\n\n##
Summary\r\n\r\nFix #149803 \r\n\r\nThis PR addresses the problem with
i18n validation on formula's content,\r\ncentralising the default node
type into a locale-based type.\r\n\r\nI've also added some i18n
functional tests as suggested by @stratoula :\r\none for this specific
bug and some smokescreen ones for Lens.\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[ ] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by:
Stratoula Kalafateli
<efstratia.kalafateli@elastic.co>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"7ac74799c4c4f2f5252cf699560f8e8192210b5a"}},{"branch":"8.6","label":"v8.6.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2023-02-01 02:40:29 -07:00
Lisa Cawley
110fd245c7
[8.6] [DOCS] Clarify preconfigured connectors (#149904) (#149965)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[DOCS] Clarify preconfigured connectors
(#149904)](https://github.com/elastic/kibana/pull/149904)

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

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

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-01-31T17:18:16Z","message":"[DOCS]
Clarify preconfigured connectors
(#149904)","sha":"26a0b8ab060061021f1eecbe4902714695511e6f","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","docs","Feature:Actions/ConnectorsManagement","backport:prev-minor","v8.7.0"],"number":149904,"url":"https://github.com/elastic/kibana/pull/149904","mergeCommit":{"message":"[DOCS]
Clarify preconfigured connectors
(#149904)","sha":"26a0b8ab060061021f1eecbe4902714695511e6f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149904","number":149904,"mergeCommit":{"message":"[DOCS]
Clarify preconfigured connectors
(#149904)","sha":"26a0b8ab060061021f1eecbe4902714695511e6f"}}]}]
BACKPORT-->
2023-01-31 11:56:42 -08:00
Kibana Machine
ec5d92f248
[8.6] [ML] Functional tests - reenable evaluate DFA API tests (#141588) (#149915)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[ML] Functional tests - reenable evaluate DFA API tests
(#141588)](https://github.com/elastic/kibana/pull/141588)

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

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

<!--BACKPORT [{"author":{"name":"Robert
Oskamp","email":"robert.oskamp@elastic.co"},"sourceCommit":{"committedDate":"2023-01-31T09:26:29Z","message":"[ML]
Functional tests - reenable evaluate DFA API tests (#141588)\n\nThis PR
re-enables the API integration tests for the data_frame/_evaluate
endpoint.","sha":"7d00fa6fa8ac6eeb1fa1c64500fcbb692301e315","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","test_ui_functional","release_note:skip","backport:prev-minor","v8.6.0","v8.7.0"],"number":141588,"url":"https://github.com/elastic/kibana/pull/141588","mergeCommit":{"message":"[ML]
Functional tests - reenable evaluate DFA API tests (#141588)\n\nThis PR
re-enables the API integration tests for the data_frame/_evaluate
endpoint.","sha":"7d00fa6fa8ac6eeb1fa1c64500fcbb692301e315"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/141588","number":141588,"mergeCommit":{"message":"[ML]
Functional tests - reenable evaluate DFA API tests (#141588)\n\nThis PR
re-enables the API integration tests for the data_frame/_evaluate
endpoint.","sha":"7d00fa6fa8ac6eeb1fa1c64500fcbb692301e315"}}]}]
BACKPORT-->

Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
2023-01-31 03:19:52 -07:00
Jon
93086e352a
[8.6] Update dependency selenium-webdriver to ^4.8.0 (main) (#149869) (#149894)
#149869

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-30 17:09:24 -06:00
Kibana Machine
1091305205
[8.6] docs: remove xpack.apm.searchAggregatedTransactions (#149896) (#149901)
# Backport

This will backport the following commits from `main` to `8.6`:
- [docs: remove `xpack.apm.searchAggregatedTransactions`
(#149896)](https://github.com/elastic/kibana/pull/149896)

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

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

<!--BACKPORT [{"author":{"name":"Brandon
Morelli","email":"brandon.morelli@elastic.co"},"sourceCommit":{"committedDate":"2023-01-30T22:33:03Z","message":"docs:
remove `xpack.apm.searchAggregatedTransactions` (#149896)\n\n###
Summary\r\n\r\nThis PR reverts
https://github.com/elastic/kibana/pull/82379 and
removes\r\n`xpack.apm.searchAggregatedTransactions` from the
documentation. This is\r\nfor
https://github.com/elastic/apm-server/pull/10140:\r\n\r\n> Removing
transaction metrics config as they are not
officially\r\nsupported.","sha":"b90ddba88244fdf81593737cbdb5211664090a0c","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:APM","release_note:skip","v8.7.0","v7.17.9","v8.6.2"],"number":149896,"url":"https://github.com/elastic/kibana/pull/149896","mergeCommit":{"message":"docs:
remove `xpack.apm.searchAggregatedTransactions` (#149896)\n\n###
Summary\r\n\r\nThis PR reverts
https://github.com/elastic/kibana/pull/82379 and
removes\r\n`xpack.apm.searchAggregatedTransactions` from the
documentation. This is\r\nfor
https://github.com/elastic/apm-server/pull/10140:\r\n\r\n> Removing
transaction metrics config as they are not
officially\r\nsupported.","sha":"b90ddba88244fdf81593737cbdb5211664090a0c"}},"sourceBranch":"main","suggestedTargetBranches":["7.17","8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149896","number":149896,"mergeCommit":{"message":"docs:
remove `xpack.apm.searchAggregatedTransactions` (#149896)\n\n###
Summary\r\n\r\nThis PR reverts
https://github.com/elastic/kibana/pull/82379 and
removes\r\n`xpack.apm.searchAggregatedTransactions` from the
documentation. This is\r\nfor
https://github.com/elastic/apm-server/pull/10140:\r\n\r\n> Removing
transaction metrics config as they are not
officially\r\nsupported.","sha":"b90ddba88244fdf81593737cbdb5211664090a0c"}},{"branch":"7.17","label":"v7.17.9","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"}]}]
BACKPORT-->

Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co>
2023-01-30 17:52:45 -05:00
Kibana Machine
869870bbf2
[8.6] [build] Build canvas runtime before copying source files (#149872) (#149892)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[build] Build canvas runtime before copying source files
(#149872)](https://github.com/elastic/kibana/pull/149872)

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

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

<!--BACKPORT
[{"author":{"name":"Jon","email":"jon@elastic.co"},"sourceCommit":{"committedDate":"2023-01-30T21:00:39Z","message":"[build]
Build canvas runtime before copying source files (#149872)\n\nThe canvas
runtime build needs to be completed before source files are\r\ncopied so
that it's available in the final
distribution.","sha":"d485f2be684d4c5e85303375808bf1e44e24a12b","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:prev-minor","ci:build-canvas-shareable-runtime","v8.7.0"],"number":149872,"url":"https://github.com/elastic/kibana/pull/149872","mergeCommit":{"message":"[build]
Build canvas runtime before copying source files (#149872)\n\nThe canvas
runtime build needs to be completed before source files are\r\ncopied so
that it's available in the final
distribution.","sha":"d485f2be684d4c5e85303375808bf1e44e24a12b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149872","number":149872,"mergeCommit":{"message":"[build]
Build canvas runtime before copying source files (#149872)\n\nThe canvas
runtime build needs to be completed before source files are\r\ncopied so
that it's available in the final
distribution.","sha":"d485f2be684d4c5e85303375808bf1e44e24a12b"}}]}]
BACKPORT-->

Co-authored-by: Jon <jon@elastic.co>
2023-01-30 15:28:58 -07:00
Kibana Machine
48ee21e3e4
[8.6] [DOCS] Fixes formatting in the Osquery manager APIs (#149871) (#149877)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[DOCS] Fixes formatting in the Osquery manager APIs
(#149871)](https://github.com/elastic/kibana/pull/149871)

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

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

<!--BACKPORT [{"author":{"name":"Kaarina
Tungseth","email":"kaarina.tungseth@elastic.co"},"sourceCommit":{"committedDate":"2023-01-30T18:41:10Z","message":"[DOCS]
Fixes formatting in the Osquery manager APIs (#149871)\n\n##
Summary\r\n\r\nFixes the formatting of the rogue `Query parameters`
sections.","sha":"be498a5c581e901885ca1f1241e9a64fb2919b98","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","v8.4.0","v8.5.0","v8.6.0","v8.7.0"],"number":149871,"url":"https://github.com/elastic/kibana/pull/149871","mergeCommit":{"message":"[DOCS]
Fixes formatting in the Osquery manager APIs (#149871)\n\n##
Summary\r\n\r\nFixes the formatting of the rogue `Query parameters`
sections.","sha":"be498a5c581e901885ca1f1241e9a64fb2919b98"}},"sourceBranch":"main","suggestedTargetBranches":["8.4","8.5","8.6"],"targetPullRequestStates":[{"branch":"8.4","label":"v8.4.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.5","label":"v8.5.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149871","number":149871,"mergeCommit":{"message":"[DOCS]
Fixes formatting in the Osquery manager APIs (#149871)\n\n##
Summary\r\n\r\nFixes the formatting of the rogue `Query parameters`
sections.","sha":"be498a5c581e901885ca1f1241e9a64fb2919b98"}}]}]
BACKPORT-->

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2023-01-30 14:00:40 -05:00
Kibana Machine
7abe78945e
[8.6] [Enterprise Search] Fix pagination issue on indices page (#149833) (#149862)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Enterprise Search] Fix pagination issue on indices page
(#149833)](https://github.com/elastic/kibana/pull/149833)

<!--- 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-01-30T17:18:26Z","message":"[Enterprise
Search] Fix pagination issue on indices page (#149833)\n\n##
Summary\r\n\r\nFixes a bug where the fetch indices request was
incorrectly reporting\r\nthe page
size","sha":"8251c7632fe26e12273f7b49e26f1e6d7f3e8cc9","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.7.0","v8.6.2"],"number":149833,"url":"https://github.com/elastic/kibana/pull/149833","mergeCommit":{"message":"[Enterprise
Search] Fix pagination issue on indices page (#149833)\n\n##
Summary\r\n\r\nFixes a bug where the fetch indices request was
incorrectly reporting\r\nthe page
size","sha":"8251c7632fe26e12273f7b49e26f1e6d7f3e8cc9"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149833","number":149833,"mergeCommit":{"message":"[Enterprise
Search] Fix pagination issue on indices page (#149833)\n\n##
Summary\r\n\r\nFixes a bug where the fetch indices request was
incorrectly reporting\r\nthe page
size","sha":"8251c7632fe26e12273f7b49e26f1e6d7f3e8cc9"}},{"branch":"8.6","label":"v8.6.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Sander Philipse <94373878+sphilipse@users.noreply.github.com>
2023-01-30 11:27:13 -07:00
Pete Harverson
f67a21bccc
[8.6] [ML] Fix datafeed of auth_high_count_logon_events_for_a_source_ip anomaly detection job (#149524) (#149859)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[ML] Fix datafeed of auth_high_count_logon_events_for_a_source_ip
anomaly detection job
(#149524)](https://github.com/elastic/kibana/pull/149524)

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

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

<!--BACKPORT [{"author":{"name":"Kirti
Sodhi","email":"109447885+sodhikirti07@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-01-26T15:31:17Z","message":"[ML]
Fix datafeed of auth_high_count_logon_events_for_a_source_ip anomaly
detection job
(#149524)","sha":"da929fc6671be33fa24e939bc68ef2246b028c87","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","Feature:Anomaly
Detection","auto-backport","v8.7.0","v8.6.2"],"number":149524,"url":"https://github.com/elastic/kibana/pull/149524","mergeCommit":{"message":"[ML]
Fix datafeed of auth_high_count_logon_events_for_a_source_ip anomaly
detection job
(#149524)","sha":"da929fc6671be33fa24e939bc68ef2246b028c87"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149524","number":149524,"mergeCommit":{"message":"[ML]
Fix datafeed of auth_high_count_logon_events_for_a_source_ip anomaly
detection job
(#149524)","sha":"da929fc6671be33fa24e939bc68ef2246b028c87"}},{"branch":"8.6","label":"v8.6.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Kirti Sodhi <109447885+sodhikirti07@users.noreply.github.com>
2023-01-30 11:23:08 -07:00
Julia Rechkunova
d162b07f4c
[8.6] [Discover] Unskip flaky a11y tests (#149827) (#149837)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Discover] Unskip flaky a11y tests
(#149827)](https://github.com/elastic/kibana/pull/149827)

<!--- 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-01-30T14:18:24Z","message":"[Discover]
Unskip flaky a11y tests (#149827)\n\nCloses
https://github.com/elastic/kibana/issues/147186\r\n\r\n100x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1811","sha":"86b38a824d3962e1f2d8ee9552bd860e46eb9e00","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:DataDiscovery","backport:prev-minor","v8.7.0"],"number":149827,"url":"https://github.com/elastic/kibana/pull/149827","mergeCommit":{"message":"[Discover]
Unskip flaky a11y tests (#149827)\n\nCloses
https://github.com/elastic/kibana/issues/147186\r\n\r\n100x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1811","sha":"86b38a824d3962e1f2d8ee9552bd860e46eb9e00"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149827","number":149827,"mergeCommit":{"message":"[Discover]
Unskip flaky a11y tests (#149827)\n\nCloses
https://github.com/elastic/kibana/issues/147186\r\n\r\n100x\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1811","sha":"86b38a824d3962e1f2d8ee9552bd860e46eb9e00"}}]}]
BACKPORT-->
2023-01-30 08:34:39 -07:00
Tomasz Ciecierski
810aa0c930
[8.6] [Osquery] Fix styling of Ecs Field and url slash issue (#148719) (#149829) 2023-01-30 15:44:08 +01:00
Kibana Machine
6b0a5c526e
[8.6] [DOCS] Removes legacy plugins (#149545) (#149756)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[DOCS] Removes legacy plugins
(#149545)](https://github.com/elastic/kibana/pull/149545)

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

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

<!--BACKPORT [{"author":{"name":"Kaarina
Tungseth","email":"kaarina.tungseth@elastic.co"},"sourceCommit":{"committedDate":"2023-01-27T20:47:01Z","message":"[DOCS]
Removes legacy plugins (#149545)\n\n## Summary\r\n\r\nRemoves the
outdated legacy plugin docs from the Kibana Developer
Guide.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"1f9eca02a09bbe50624ba69656433dea61c0316e","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","v8.0.0","release_note:skip","v8.1.0","v8.2.0","v8.3.0","v8.4.0","v8.5.0","v8.6.0","v8.7.0"],"number":149545,"url":"https://github.com/elastic/kibana/pull/149545","mergeCommit":{"message":"[DOCS]
Removes legacy plugins (#149545)\n\n## Summary\r\n\r\nRemoves the
outdated legacy plugin docs from the Kibana Developer
Guide.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"1f9eca02a09bbe50624ba69656433dea61c0316e"}},"sourceBranch":"main","suggestedTargetBranches":["8.0","8.1","8.2","8.3","8.4","8.5","8.6"],"targetPullRequestStates":[{"branch":"8.0","label":"v8.0.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.1","label":"v8.1.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.2","label":"v8.2.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.3","label":"v8.3.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.4","label":"v8.4.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.5","label":"v8.5.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149545","number":149545,"mergeCommit":{"message":"[DOCS]
Removes legacy plugins (#149545)\n\n## Summary\r\n\r\nRemoves the
outdated legacy plugin docs from the Kibana Developer
Guide.\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"1f9eca02a09bbe50624ba69656433dea61c0316e"}}]}]
BACKPORT-->

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2023-01-27 16:09:45 -05:00
Kaarina Tungseth
4afa779c72
[DOCS] [8.6] Removes data share statement in Advanced Settings (#149722)
## Summary

Removes `This data will not be shared outside of Elastic.` from Advanced
Settings.
2023-01-27 13:35:44 -05:00
Kibana Machine
5a3be6c3f6
[8.6] [DOCS] Updates telemetry settings (#149651) (#149699)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[DOCS] Updates telemetry settings
(#149651)](https://github.com/elastic/kibana/pull/149651)

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

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

<!--BACKPORT
[{"author":{"name":"gchaps","email":"33642766+gchaps@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-01-27T15:06:16Z","message":"[DOCS]
Updates telemetry settings (#149651)\n\n## Summary\r\n\r\nThis docs
updates the content for the telemetry
settings.","sha":"803c8df07063463de66c32266e6f044f14e9c3fe","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","v8.0.0","release_note:skip","v8.1.0","v7.17.0","v8.2.0","v8.3.0","v8.4.0","v8.5.0","v8.6.0","v8.7.0"],"number":149651,"url":"https://github.com/elastic/kibana/pull/149651","mergeCommit":{"message":"[DOCS]
Updates telemetry settings (#149651)\n\n## Summary\r\n\r\nThis docs
updates the content for the telemetry
settings.","sha":"803c8df07063463de66c32266e6f044f14e9c3fe"}},"sourceBranch":"main","suggestedTargetBranches":["8.0","8.1","7.17","8.2","8.3","8.4","8.5","8.6"],"targetPullRequestStates":[{"branch":"8.0","label":"v8.0.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.1","label":"v8.1.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"7.17","label":"v7.17.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.2","label":"v8.2.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.3","label":"v8.3.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.4","label":"v8.4.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.5","label":"v8.5.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149651","number":149651,"mergeCommit":{"message":"[DOCS]
Updates telemetry settings (#149651)\n\n## Summary\r\n\r\nThis docs
updates the content for the telemetry
settings.","sha":"803c8df07063463de66c32266e6f044f14e9c3fe"}}]}]
BACKPORT-->

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2023-01-27 10:28:47 -05:00
Marco Vettorello
fc4a6b8435
[8.6] [Lens] gracefully handle JS Object method names as field names (#148118) (#149688)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Lens] gracefully handle JS Object method names as field names
(#148118)](https://github.com/elastic/kibana/pull/148118)

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

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

<!--BACKPORT [{"author":{"name":"Marco
Vettorello","email":"marco.vettorello@elastic.co"},"sourceCommit":{"committedDate":"2023-01-27T13:40:51Z","message":"[Lens]
gracefully handle JS Object method names as field names (#148118)\n\nThe
commit fixed the bits of code where we were using directly an index
field name as an object key. This can cause errors if the field name is
a reserved JS keyword.\r\nThe fix reconfigured that part of the code by
replacing plain Objects with `Map` that doesn't suffer from this
issue.","sha":"5a2f51c347425ce34fe99a1824ae47f0c5c56f79","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:Visualizations","Feature:Lens","backport:skip","v8.7.0"],"number":148118,"url":"https://github.com/elastic/kibana/pull/148118","mergeCommit":{"message":"[Lens]
gracefully handle JS Object method names as field names (#148118)\n\nThe
commit fixed the bits of code where we were using directly an index
field name as an object key. This can cause errors if the field name is
a reserved JS keyword.\r\nThe fix reconfigured that part of the code by
replacing plain Objects with `Map` that doesn't suffer from this
issue.","sha":"5a2f51c347425ce34fe99a1824ae47f0c5c56f79"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/148118","number":148118,"mergeCommit":{"message":"[Lens]
gracefully handle JS Object method names as field names (#148118)\n\nThe
commit fixed the bits of code where we were using directly an index
field name as an object key. This can cause errors if the field name is
a reserved JS keyword.\r\nThe fix reconfigured that part of the code by
replacing plain Objects with `Map` that doesn't suffer from this
issue.","sha":"5a2f51c347425ce34fe99a1824ae47f0c5c56f79"}}]}]
BACKPORT-->
2023-01-27 07:52:01 -07:00
Kibana Machine
e65fb36da1 skip failing test suite (#147186) 2023-01-27 09:28:53 -05:00
Kibana Machine
cbe6e6783d
[8.6] [DOCS] Create open API specification for create rule (#149565) (#149654)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[DOCS] Create open API specification for create rule
(#149565)](https://github.com/elastic/kibana/pull/149565)

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

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

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-01-27T02:07:23Z","message":"[DOCS]
Create open API specification for create rule
(#149565)","sha":"7421a9737d79b640991c3338248d0b6139a64a04","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Team:ResponseOps","docs","Feature:Alerting/RuleTypes","backport:prev-minor","v8.7.0"],"number":149565,"url":"https://github.com/elastic/kibana/pull/149565","mergeCommit":{"message":"[DOCS]
Create open API specification for create rule
(#149565)","sha":"7421a9737d79b640991c3338248d0b6139a64a04"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149565","number":149565,"mergeCommit":{"message":"[DOCS]
Create open API specification for create rule
(#149565)","sha":"7421a9737d79b640991c3338248d0b6139a64a04"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-01-26 20:43:05 -07:00
Kibana Machine
48709573fd
[8.6] Fix core app routes (#149462) (#149549)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Fix core app routes
(#149462)](https://github.com/elastic/kibana/pull/149462)

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

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

<!--BACKPORT [{"author":{"name":"Rudolf
Meijering","email":"skaapgif@gmail.com"},"sourceCommit":{"committedDate":"2023-01-25T19:13:34Z","message":"Fix
core app routes (#149462)\n\n## Summary\r\n\r\nSummarize your PR. If it
involves visual changes include a screenshot or\r\ngif.\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[ ] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"201fabc63ffc9c863b8fac1687b506efcbd178c1","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","backport:all-open","v8.7.0"],"number":149462,"url":"https://github.com/elastic/kibana/pull/149462","mergeCommit":{"message":"Fix
core app routes (#149462)\n\n## Summary\r\n\r\nSummarize your PR. If it
involves visual changes include a screenshot or\r\ngif.\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[ ] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"201fabc63ffc9c863b8fac1687b506efcbd178c1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149462","number":149462,"mergeCommit":{"message":"Fix
core app routes (#149462)\n\n## Summary\r\n\r\nSummarize your PR. If it
involves visual changes include a screenshot or\r\ngif.\r\n\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] Any text added follows [EUI's
writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing),
uses\r\nsentence case text and includes
[i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n-
[
]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas
added for features that require explanation or tutorials\r\n- [ ] [Unit
or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] Any UI
touched in this PR is usable by keyboard only (learn more\r\nabout
[keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n-
[ ] Any UI touched in this PR does not create any new axe
failures\r\n(run axe in
browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n-
[ ] If a plugin configuration key changed, check if it needs to
be\r\nallowlisted in the cloud and added to the
[docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n-
[ ] This renders correctly on smaller devices using a
responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[ ] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n\r\n###
Risk Matrix\r\n\r\nDelete this section if it is not applicable to this
PR.\r\n\r\nBefore closing this PR, invite QA, stakeholders, and other
developers to\r\nidentify risks that should be tested prior to the
change/feature\r\nrelease.\r\n\r\nWhen forming the risk matrix, consider
some of the following examples\r\nand how they may potentially impact
the change:\r\n\r\n| Risk | Probability | Severity | Mitigation/Notes
|\r\n\r\n|---------------------------|-------------|----------|-------------------------|\r\n|
Multiple Spaces&mdash;unexpected behavior in non-default Kibana
Space.\r\n| Low | High | Integration tests will verify that all features
are still\r\nsupported in non-default Kibana Space and when user
switches between\r\nspaces. |\r\n| Multiple nodes&mdash;Elasticsearch
polling might have race conditions\r\nwhen multiple Kibana nodes are
polling for the same tasks. | High | Low\r\n| Tasks are idempotent, so
executing them multiple times will not result\r\nin logical error, but
will degrade performance. To test for this case we\r\nadd plenty of unit
tests around this logic and document manual testing\r\nprocedure. |\r\n|
Code should gracefully handle cases when feature X or plugin Y
are\r\ndisabled. | Medium | High | Unit tests will verify that any
feature flag\r\nor plugin combination still results in our service
operational. |\r\n| [See more potential
risk\r\nexamples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx)
|\r\n\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for
breaking API changes and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"201fabc63ffc9c863b8fac1687b506efcbd178c1"}}]}]
BACKPORT-->

Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
2023-01-26 18:49:15 -07:00
Kibana Machine
a617e32c5a
[8.6] Report: various improvements for troubleshooting (#149431) (#149650)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Report: various improvements for troubleshooting
(#149431)](https://github.com/elastic/kibana/pull/149431)

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

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

<!--BACKPORT [{"author":{"name":"Tim
Sullivan","email":"tsullivan@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-01-26T23:51:10Z","message":"Report:
various improvements for troubleshooting (#149431)\n\n##
Summary\r\n\r\nWhen reports are slow to execute or wait in the queue for
a long time, a\r\ncouple of things have added to the difficulty of
troubleshooting based\r\non the logs:\r\n* there is no default-level log
message stating when a job has been\r\nclaimed and is beginning to
execute.\r\n* the report job ID is not shown anywhere in the UI, making
it hard to\r\ncorrelate log messages with the job listing\r\n\r\nThis PR
addresses those both of those things with minor changes.\r\n\r\n**New
log message:**\r\n<img width=\"2022\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/908371/214357980-bfcf7dc5-3bd4-40dd-9065-0ca520a5f859.png\">\r\n\r\n**New
field in the report job info panel:**\r\n<img width=\"1758\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/908371/214356657-344a116e-7d17-4683-b6da-0b868a4dc3ba.png\">","sha":"a791e4c5be447a44cf03566f03366f3e0b7a71a1","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.7.0","v8.6.2"],"number":149431,"url":"https://github.com/elastic/kibana/pull/149431","mergeCommit":{"message":"Report:
various improvements for troubleshooting (#149431)\n\n##
Summary\r\n\r\nWhen reports are slow to execute or wait in the queue for
a long time, a\r\ncouple of things have added to the difficulty of
troubleshooting based\r\non the logs:\r\n* there is no default-level log
message stating when a job has been\r\nclaimed and is beginning to
execute.\r\n* the report job ID is not shown anywhere in the UI, making
it hard to\r\ncorrelate log messages with the job listing\r\n\r\nThis PR
addresses those both of those things with minor changes.\r\n\r\n**New
log message:**\r\n<img width=\"2022\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/908371/214357980-bfcf7dc5-3bd4-40dd-9065-0ca520a5f859.png\">\r\n\r\n**New
field in the report job info panel:**\r\n<img width=\"1758\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/908371/214356657-344a116e-7d17-4683-b6da-0b868a4dc3ba.png\">","sha":"a791e4c5be447a44cf03566f03366f3e0b7a71a1"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149431","number":149431,"mergeCommit":{"message":"Report:
various improvements for troubleshooting (#149431)\n\n##
Summary\r\n\r\nWhen reports are slow to execute or wait in the queue for
a long time, a\r\ncouple of things have added to the difficulty of
troubleshooting based\r\non the logs:\r\n* there is no default-level log
message stating when a job has been\r\nclaimed and is beginning to
execute.\r\n* the report job ID is not shown anywhere in the UI, making
it hard to\r\ncorrelate log messages with the job listing\r\n\r\nThis PR
addresses those both of those things with minor changes.\r\n\r\n**New
log message:**\r\n<img width=\"2022\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/908371/214357980-bfcf7dc5-3bd4-40dd-9065-0ca520a5f859.png\">\r\n\r\n**New
field in the report job info panel:**\r\n<img width=\"1758\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/908371/214356657-344a116e-7d17-4683-b6da-0b868a4dc3ba.png\">","sha":"a791e4c5be447a44cf03566f03366f3e0b7a71a1"}},{"branch":"8.6","label":"v8.6.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>
2023-01-26 17:57:49 -07:00
Tiago Costa
343b95e8c3
chore(NA): bump version to 8.6.2 (#149597)
Usually bump from 8.6.1 to 8.6.2
2023-01-26 23:44:51 +00:00
Emily S
696f786258
Update documentation of PHP APM agent support for service maps (#149584)
## Summary

The PHP APM agent has supported service maps since version 1.2 so this
PR updates the services maps table.


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
2023-01-26 14:04:25 -08:00
Kibana Machine
3206fa8900
[8.6] [DOCS] Create open API specification for run connector (#149274) (#149614)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[DOCS] Create open API specification for run connector
(#149274)](https://github.com/elastic/kibana/pull/149274)

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

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

<!--BACKPORT [{"author":{"name":"Lisa
Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2023-01-26T16:53:47Z","message":"[DOCS]
Create open API specification for run connector
(#149274)","sha":"f78236a2e4c1532a9a135444bea95a0f89d1047e","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Team:ResponseOps","docs","Feature:Actions/ConnectorsManagement","backport:prev-minor","v8.7.0"],"number":149274,"url":"https://github.com/elastic/kibana/pull/149274","mergeCommit":{"message":"[DOCS]
Create open API specification for run connector
(#149274)","sha":"f78236a2e4c1532a9a135444bea95a0f89d1047e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149274","number":149274,"mergeCommit":{"message":"[DOCS]
Create open API specification for run connector
(#149274)","sha":"f78236a2e4c1532a9a135444bea95a0f89d1047e"}}]}]
BACKPORT-->

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-01-26 11:27:54 -07:00
Elastic Machine
0dbc120be6
[8.6] Sync bundled packages with Package Storage (#149613)
Automated by
https://internal-ci.elastic.co/job/package_storage/job/sync-bundled-packages-job/job/main/1532/

Co-authored-by: apmmachine <infra-root+apmmachine@elastic.co>
2023-01-26 10:52:52 -07:00
Kibana Machine
b744988d28
[8.6] [Fleet] Fix add fleet server flow from agent policy page (#149507) (#149605)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Fleet] Fix add fleet server flow from agent policy page
(#149507)](https://github.com/elastic/kibana/pull/149507)

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

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

<!--BACKPORT [{"author":{"name":"Nicolas
Chaulet","email":"nicolas.chaulet@elastic.co"},"sourceCommit":{"committedDate":"2023-01-26T15:55:36Z","message":"[Fleet]
Fix add fleet server flow from agent policy page
(#149507)","sha":"da83d96ff65a3ad5f56d350576e6c4811e5f26af","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v8.7.0","v8.6.1"],"number":149507,"url":"https://github.com/elastic/kibana/pull/149507","mergeCommit":{"message":"[Fleet]
Fix add fleet server flow from agent policy page
(#149507)","sha":"da83d96ff65a3ad5f56d350576e6c4811e5f26af"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149507","number":149507,"mergeCommit":{"message":"[Fleet]
Fix add fleet server flow from agent policy page
(#149507)","sha":"da83d96ff65a3ad5f56d350576e6c4811e5f26af"}},{"branch":"8.6","label":"v8.6.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Nicolas Chaulet <nicolas.chaulet@elastic.co>
2023-01-26 09:59:12 -07:00
Kaarina Tungseth
a37bf49288
[DOCS] Removes tag from 8.6.1 release notes (#149465)
## Summary

Removes the `coming` tag from the 8.6.1 release notes.
2023-01-26 09:01:29 -06:00
Cristina Amico
e4c7353b43
[8.6] [Fleet] Add check for legacy managed_by field in datastream mappings (#149504) (#149583)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Fleet] Add check for legacy managed_by field in datastream mappings
(#149504)](https://github.com/elastic/kibana/pull/149504)

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

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

<!--BACKPORT [{"author":{"name":"Cristina
Amico","email":"criamico@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-01-26T08:15:14Z","message":"[Fleet]
Add check for legacy managed_by field in datastream mappings
(#149504)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/147605\r\n\r\n###
Description\r\nClusters that exist since pre-8.0 might have data streams
that have\r\n`managed_by: ingest_manager` in their` _meta` properties,
instead of the\r\ncurrent value `managed_by: fleet`.\r\nHowever, with
the merge of\r\nhttps://github.com/elastic/kibana/pull/143300, the data
streams view\r\nfilters out any data streams that don't have
`managed_by: fleet`\r\nmetadata, so when updating from 7.x to 8.6.x no
data streams are\r\nreturned.\r\n\r\n### Solution\r\nIt was decided to
simply add an additional check in the data stream\r\nhandler to allow
for \"legacy\" metadata, and to avoid doing migrations\r\nthat can be
dangerous for the users data.\r\n\r\n\r\n### Testing\r\nI'm looking for
a way to reliably test this locally - I've only managed\r\nto reproduce
it on
cloud","sha":"49ff27e2ff109ef28a8640e056db1cda645986ca","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","v8.7.0","v8.6.1"],"number":149504,"url":"https://github.com/elastic/kibana/pull/149504","mergeCommit":{"message":"[Fleet]
Add check for legacy managed_by field in datastream mappings
(#149504)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/147605\r\n\r\n###
Description\r\nClusters that exist since pre-8.0 might have data streams
that have\r\n`managed_by: ingest_manager` in their` _meta` properties,
instead of the\r\ncurrent value `managed_by: fleet`.\r\nHowever, with
the merge of\r\nhttps://github.com/elastic/kibana/pull/143300, the data
streams view\r\nfilters out any data streams that don't have
`managed_by: fleet`\r\nmetadata, so when updating from 7.x to 8.6.x no
data streams are\r\nreturned.\r\n\r\n### Solution\r\nIt was decided to
simply add an additional check in the data stream\r\nhandler to allow
for \"legacy\" metadata, and to avoid doing migrations\r\nthat can be
dangerous for the users data.\r\n\r\n\r\n### Testing\r\nI'm looking for
a way to reliably test this locally - I've only managed\r\nto reproduce
it on
cloud","sha":"49ff27e2ff109ef28a8640e056db1cda645986ca"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149504","number":149504,"mergeCommit":{"message":"[Fleet]
Add check for legacy managed_by field in datastream mappings
(#149504)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/147605\r\n\r\n###
Description\r\nClusters that exist since pre-8.0 might have data streams
that have\r\n`managed_by: ingest_manager` in their` _meta` properties,
instead of the\r\ncurrent value `managed_by: fleet`.\r\nHowever, with
the merge of\r\nhttps://github.com/elastic/kibana/pull/143300, the data
streams view\r\nfilters out any data streams that don't have
`managed_by: fleet`\r\nmetadata, so when updating from 7.x to 8.6.x no
data streams are\r\nreturned.\r\n\r\n### Solution\r\nIt was decided to
simply add an additional check in the data stream\r\nhandler to allow
for \"legacy\" metadata, and to avoid doing migrations\r\nthat can be
dangerous for the users data.\r\n\r\n\r\n### Testing\r\nI'm looking for
a way to reliably test this locally - I've only managed\r\nto reproduce
it on
cloud","sha":"49ff27e2ff109ef28a8640e056db1cda645986ca"}},{"branch":"8.6","label":"v8.6.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2023-01-26 05:31:54 -07:00
Alejandro Fernández Haro
c3ca358e34
[8.6] [FTRs] Execution Context: fix no data flakiness (#149406) (#149425)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[FTRs] Execution Context: fix no data flakiness
(#149406)](https://github.com/elastic/kibana/pull/149406)

<!--- 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-01-24T14:03:37Z","message":"[FTRs]
Execution Context: fix no data flakiness (#149406)\n\nResolves
https://github.com/elastic/kibana/issues/112102","sha":"09c11131271bec1b794d5a472294e6e125116f4d","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","backport:all-open","v8.7.0"],"number":149406,"url":"https://github.com/elastic/kibana/pull/149406","mergeCommit":{"message":"[FTRs]
Execution Context: fix no data flakiness (#149406)\n\nResolves
https://github.com/elastic/kibana/issues/112102","sha":"09c11131271bec1b794d5a472294e6e125116f4d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149406","number":149406,"mergeCommit":{"message":"[FTRs]
Execution Context: fix no data flakiness (#149406)\n\nResolves
https://github.com/elastic/kibana/issues/112102","sha":"09c11131271bec1b794d5a472294e6e125116f4d"}},{"url":"https://github.com/elastic/kibana/pull/149417","number":149417,"branch":"7.17","state":"OPEN"}]}]
BACKPORT-->
2023-01-26 02:50:29 -07:00
Muhammad Ibragimov
923a6abc9d
[Console] Update autocomplete route configuration to include proxy headers (#149498)
### Summary

This PR updates the autocomplete route configuration to include missing
proxy headers such as `x-forwarded-for`,
`x-forwarded-host`, `x-forwarded-port`, and `x-forwarded-proto` to
ensure that remote headers are forwarded to the Elasticsearch server.
And also adds a check to ensure that the `host` header is set to the
hostname if it is not already set. Users reported that the autocomplete
indices were not showing up in the autocomplete dropdown in some cases
due to the misconfiguration in autocomplete route. This PR should fix
that issue.

### Testing

To test this PR, verify that the correct headers are being sent to the
Elasticsearch server when using the autocomplete route. You can use the
`console.log` statement in the
[`getEntity`](https://github.com/elastic/kibana/pull/149498/files#diff-dc97f758bd78991f73f2f928fc59d00923790286e12766dd7c91d148ec40cfeeR118)
function to verify that the headers are being sent correctly.

#### Release note

This PR fixes an issue where the autocomplete indices were not showing
up in the autocomplete dropdown in some cases due to the
misconfiguration in autocomplete route.


### Checklist

Delete any items that are not applicable to this PR.

- [ ] 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
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] 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))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] 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))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)


### Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to
identify risks that should be tested prior to the change/feature
release.

When forming the risk matrix, consider some of the following examples
and how they may potentially impact the change:

| Risk | Probability | Severity | Mitigation/Notes |

|---------------------------|-------------|----------|-------------------------|
| Multiple Spaces&mdash;unexpected behavior in non-default Kibana Space.
| Low | High | Integration tests will verify that all features are still
supported in non-default Kibana Space and when user switches between
spaces. |
| Multiple nodes&mdash;Elasticsearch polling might have race conditions
when multiple Kibana nodes are polling for the same tasks. | High | Low
| Tasks are idempotent, so executing them multiple times will not result
in logical error, but will degrade performance. To test for this case we
add plenty of unit tests around this logic and document manual testing
procedure. |
| Code should gracefully handle cases when feature X or plugin Y are
disabled. | Medium | High | Unit tests will verify that any feature flag
or plugin combination still results in our service operational. |
| [See more potential risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) |


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-01-26 13:30:11 +05:00
Kaarina Tungseth
92c055a00d
[DOCS] Corrects 8.6 breaking changes tags (#149542)
## Summary

Moves the breaking changes tag from 8.6.0 to 8.6.1.
2023-01-25 12:28:49 -06:00
Kurt
6f0d2f50a8
[8.6] Upgrade jsonwebtoken from 8 to 9 (#148128) (#149519)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Upgrade jsonwebtoken from 8 to 9
(#148128)](https://github.com/elastic/kibana/pull/148128)

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

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

<!--BACKPORT
[{"author":{"name":"Kurt","email":"kc13greiner@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-01-24T17:32:44Z","message":"Upgrade
jsonwebtoken from 8 to 9 (#148128)\n\n## Summary\r\n\r\nUpgrading the
`jsonwebtoken` library used in\r\n`cloud_integration/cloud_chat` plugin
from v8.5 to v9.0\r\n\r\n## Migration\r\nAfter reviewing the affected
code it looks like this upgrade shouldn't\r\ncause any breaking changes.
Please see the v8 --> v9 migration
guide\r\n[here](https://github.com/auth0/node-jsonwebtoken/wiki/Migration-Notes:-v8-to-v9)\r\n\r\n##
Questions for reviewers\r\n- What is the size and type of `secret` that
we are passing into\r\n`generateSignedJwt`?\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Clint Andrew Hall
<clint.hall@elastic.co>","sha":"de4e53d712ed8d31ad2bee4065f54d472055511d","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","backport:all-open","ci:cloud-deploy","v8.7.0","v8.6.1"],"number":148128,"url":"https://github.com/elastic/kibana/pull/148128","mergeCommit":{"message":"Upgrade
jsonwebtoken from 8 to 9 (#148128)\n\n## Summary\r\n\r\nUpgrading the
`jsonwebtoken` library used in\r\n`cloud_integration/cloud_chat` plugin
from v8.5 to v9.0\r\n\r\n## Migration\r\nAfter reviewing the affected
code it looks like this upgrade shouldn't\r\ncause any breaking changes.
Please see the v8 --> v9 migration
guide\r\n[here](https://github.com/auth0/node-jsonwebtoken/wiki/Migration-Notes:-v8-to-v9)\r\n\r\n##
Questions for reviewers\r\n- What is the size and type of `secret` that
we are passing into\r\n`generateSignedJwt`?\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Clint Andrew Hall
<clint.hall@elastic.co>","sha":"de4e53d712ed8d31ad2bee4065f54d472055511d"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/148128","number":148128,"mergeCommit":{"message":"Upgrade
jsonwebtoken from 8 to 9 (#148128)\n\n## Summary\r\n\r\nUpgrading the
`jsonwebtoken` library used in\r\n`cloud_integration/cloud_chat` plugin
from v8.5 to v9.0\r\n\r\n## Migration\r\nAfter reviewing the affected
code it looks like this upgrade shouldn't\r\ncause any breaking changes.
Please see the v8 --> v9 migration
guide\r\n[here](https://github.com/auth0/node-jsonwebtoken/wiki/Migration-Notes:-v8-to-v9)\r\n\r\n##
Questions for reviewers\r\n- What is the size and type of `secret` that
we are passing into\r\n`generateSignedJwt`?\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Clint Andrew Hall
<clint.hall@elastic.co>","sha":"de4e53d712ed8d31ad2bee4065f54d472055511d"}},{"branch":"8.6","label":"v8.6.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2023-01-25 08:09:27 -07:00
Julia Bardi
c325e4762c
[8.6] [Fleet] fix updates available when beta integrations are off (#149486) (#149515)
## Summary

Backport https://github.com/elastic/kibana/pull/149486 to 8.6
2023-01-25 15:35:01 +01:00
Aleh Zasypkin
452d2a8d5a
[8.6] Upgrade simple-git dependency (3.15.13.16.0). (#149483) (#149499)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Upgrade `simple-git` dependency (`3.15.1` → `3.16.0`).
(#149483)](https://github.com/elastic/kibana/pull/149483)

<!--- 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-01-25T10:54:02Z","message":"Upgrade
`simple-git` dependency (`3.15.1` → `3.16.0`).
(#149483)","sha":"f3741b7a61204c28121a617bba13a0c4e233773b","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","release_note:skip","backport:all-open","v8.7.0"],"number":149483,"url":"https://github.com/elastic/kibana/pull/149483","mergeCommit":{"message":"Upgrade
`simple-git` dependency (`3.15.1` → `3.16.0`).
(#149483)","sha":"f3741b7a61204c28121a617bba13a0c4e233773b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149483","number":149483,"mergeCommit":{"message":"Upgrade
`simple-git` dependency (`3.15.1` → `3.16.0`).
(#149483)","sha":"f3741b7a61204c28121a617bba13a0c4e233773b"}}]}]
BACKPORT-->
2023-01-25 05:38:15 -07:00
Kibana Machine
16dcc8490d
[8.6] Remove node-fetch package.json resolutions for puppeteer package. (#149398) (#149489)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Remove `node-fetch` package.json resolutions for `puppeteer` package.
(#149398)](https://github.com/elastic/kibana/pull/149398)

<!--- 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-01-25T10:25:02Z","message":"Remove
`node-fetch` package.json resolutions for `puppeteer` package.
(#149398)","sha":"750f28f535c26d90f9662782bfaf8712897b4e11","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Security","release_note:skip","backport:all-open","v8.7.0"],"number":149398,"url":"https://github.com/elastic/kibana/pull/149398","mergeCommit":{"message":"Remove
`node-fetch` package.json resolutions for `puppeteer` package.
(#149398)","sha":"750f28f535c26d90f9662782bfaf8712897b4e11"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149398","number":149398,"mergeCommit":{"message":"Remove
`node-fetch` package.json resolutions for `puppeteer` package.
(#149398)","sha":"750f28f535c26d90f9662782bfaf8712897b4e11"}}]}]
BACKPORT-->

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>
2023-01-25 04:32:11 -07:00
Kibana Machine
0e2c768c0a
[8.6] [Docs] Confirm Kibana checksum with the command line (#148117) (#149494)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Docs] Confirm Kibana checksum with the command line
(#148117)](https://github.com/elastic/kibana/pull/148117)

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

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

<!--BACKPORT [{"author":{"name":"Jorge
Sanz","email":"jorge.sanz@elastic.co"},"sourceCommit":{"committedDate":"2023-01-25T10:46:30Z","message":"[Docs]
Confirm Kibana checksum with the command line (#148117)\n\n##
Summary\r\n\r\nFollowing
this\r\n[recommendation](https://discuss.elastic.co/t/checksum-confirmation-during-kibana-installation-for-rpm/320425)\r\nfrom
a community member, this PR aligns the instructions to install\r\nKibana
from RPM with
[Elasticsearch\r\ndocumentation](b7060bad9a/docs/reference/setup/install/rpm.asciidoc (L114-L117))\r\nto
also download the checksum file and use `shasum` to run the test
and\r\nconfirm the file is correct.\r\n\r\nCo-authored-by: Kibana
Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"6453c6ebd203223dc995c03db6385dc6f4543c3b","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","backport:all-open","v8.7.0"],"number":148117,"url":"https://github.com/elastic/kibana/pull/148117","mergeCommit":{"message":"[Docs]
Confirm Kibana checksum with the command line (#148117)\n\n##
Summary\r\n\r\nFollowing
this\r\n[recommendation](https://discuss.elastic.co/t/checksum-confirmation-during-kibana-installation-for-rpm/320425)\r\nfrom
a community member, this PR aligns the instructions to install\r\nKibana
from RPM with
[Elasticsearch\r\ndocumentation](b7060bad9a/docs/reference/setup/install/rpm.asciidoc (L114-L117))\r\nto
also download the checksum file and use `shasum` to run the test
and\r\nconfirm the file is correct.\r\n\r\nCo-authored-by: Kibana
Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"6453c6ebd203223dc995c03db6385dc6f4543c3b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/148117","number":148117,"mergeCommit":{"message":"[Docs]
Confirm Kibana checksum with the command line (#148117)\n\n##
Summary\r\n\r\nFollowing
this\r\n[recommendation](https://discuss.elastic.co/t/checksum-confirmation-during-kibana-installation-for-rpm/320425)\r\nfrom
a community member, this PR aligns the instructions to install\r\nKibana
from RPM with
[Elasticsearch\r\ndocumentation](b7060bad9a/docs/reference/setup/install/rpm.asciidoc (L114-L117))\r\nto
also download the checksum file and use `shasum` to run the test
and\r\nconfirm the file is correct.\r\n\r\nCo-authored-by: Kibana
Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"6453c6ebd203223dc995c03db6385dc6f4543c3b"}}]}]
BACKPORT-->

Co-authored-by: Jorge Sanz <jorge.sanz@elastic.co>
2023-01-25 06:06:27 -05:00
Kibana Machine
1420ff4f8b
[8.6] Update DELETE request (#127537) (#149492)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Update DELETE request
(#127537)](https://github.com/elastic/kibana/pull/127537)

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

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

<!--BACKPORT [{"author":{"name":"Jorge
Sanz","email":"jorge.sanz@elastic.co"},"sourceCommit":{"committedDate":"2023-01-25T10:45:49Z","message":"Update
DELETE request (#127537)\n\nUpdate the `DELETE` request to use
`<space_name>`.\r\n\r\nThanks @Erni for the
nudge!\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"fc17f49f27d00c1154df710686090d127f383e8c","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","docs","backport:all-open","v8.7.0"],"number":127537,"url":"https://github.com/elastic/kibana/pull/127537","mergeCommit":{"message":"Update
DELETE request (#127537)\n\nUpdate the `DELETE` request to use
`<space_name>`.\r\n\r\nThanks @Erni for the
nudge!\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"fc17f49f27d00c1154df710686090d127f383e8c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/127537","number":127537,"mergeCommit":{"message":"Update
DELETE request (#127537)\n\nUpdate the `DELETE` request to use
`<space_name>`.\r\n\r\nThanks @Erni for the
nudge!\r\n\r\nCo-authored-by: Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"fc17f49f27d00c1154df710686090d127f383e8c"}}]}]
BACKPORT-->

Co-authored-by: Jorge Sanz <jorge.sanz@elastic.co>
2023-01-25 06:04:44 -05:00
Dominique Clarke
22383ac3e0
[8.6] [Synthetics] Omit or include ssl keys when appropriate for project monitors and private locations (#149298) (#149447)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Synthetics] Omit or include `ssl` keys when appropriate for project
monitors and private locations
(#149298)](https://github.com/elastic/kibana/pull/149298)

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

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

<!--BACKPORT [{"author":{"name":"Dominique
Clarke","email":"dominique.clarke@elastic.co"},"sourceCommit":{"committedDate":"2023-01-24T19:56:38Z","message":"[Synthetics]
Omit or include `ssl` keys when appropriate for project monitors and
private locations (#149298)\n\n## Summary\r\n\r\nResolves
https://github.com/elastic/kibana/issues/149083\r\n\r\n1. [Prevents tls
fields from
being\r\nsaved](https://github.com/elastic/kibana/pull/149298/files#diff-56296f634bf379eb71629f426c670cd030d2a15263a59964847c0d10af09a767R14)\r\non
the Synthetics Integration policy when `is_tls_enabled` is false\r\n2.
Ensures `is_tls_enabled` is set properly for project
monitors\r\n([http](https://github.com/elastic/kibana/pull/149298/files#diff-0f42bb3b11a6ab864dee3488d5e9f7282adc009a261b3caee743a880b825c766R73)\r\nand\r\n[tcp](https://github.com/elastic/kibana/pull/149298/files#diff-3ad87e629abc6f17c395e8435c94f0f1a6274c9efea7d24ab81b7635ef0e43dfR69)).\r\nThis
ensures that when a monitor is sent to a public location or a\r\nprivate
location, the `ssl` fields are sent or stripped
appropriately.\r\n\r\n### Testing\r\n\r\n1. Create a private
location\r\n2. Create 2 lightweight project monitors using the
following\r\nconfiguration\r\n```\r\n- type: tcp\r\n id:
'tls-enabled'\r\n name: 'TLS-Enabled'\r\n hosts: [\"8.8.8.8:80\"]\r\n
ssl:\r\n verification_mode: 'strict'\r\n```\r\n```\r\n- type: tcp\r\n
id: 'tls-disabled'\r\n name: 'TLS-Disabled'\r\n hosts:
[\"8.8.8.8:80\"]\r\n```\r\n3. Set these monitors to execute from both a
private and public location\r\nvia the `monitor` key in your
`synthetics.config.ts` file.\r\n```\r\n monitor: {\r\n schedule: 3,\r\n
privateLocations: [\"YOUR PRIVATE LOCATION\"],\r\n locations:
[\"us_central\"], // to test against dev environment\r\n },\r\n```\r\n4.
Navigate to the agent policy for the private location and inspect
the\r\nfull policy. Ensure the Synthetics policy on the agent package
policy\r\ndoes not have `ssl` fields set for ssl disabled monitor.
Ensure the\r\n`ssl` fields are set for the ssl enabled
monitor.","sha":"0592abdab5c2d074468465380066b3dbeea89f4a","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:uptime","v8.7.0","v8.6.1"],"number":149298,"url":"https://github.com/elastic/kibana/pull/149298","mergeCommit":{"message":"[Synthetics]
Omit or include `ssl` keys when appropriate for project monitors and
private locations (#149298)\n\n## Summary\r\n\r\nResolves
https://github.com/elastic/kibana/issues/149083\r\n\r\n1. [Prevents tls
fields from
being\r\nsaved](https://github.com/elastic/kibana/pull/149298/files#diff-56296f634bf379eb71629f426c670cd030d2a15263a59964847c0d10af09a767R14)\r\non
the Synthetics Integration policy when `is_tls_enabled` is false\r\n2.
Ensures `is_tls_enabled` is set properly for project
monitors\r\n([http](https://github.com/elastic/kibana/pull/149298/files#diff-0f42bb3b11a6ab864dee3488d5e9f7282adc009a261b3caee743a880b825c766R73)\r\nand\r\n[tcp](https://github.com/elastic/kibana/pull/149298/files#diff-3ad87e629abc6f17c395e8435c94f0f1a6274c9efea7d24ab81b7635ef0e43dfR69)).\r\nThis
ensures that when a monitor is sent to a public location or a\r\nprivate
location, the `ssl` fields are sent or stripped
appropriately.\r\n\r\n### Testing\r\n\r\n1. Create a private
location\r\n2. Create 2 lightweight project monitors using the
following\r\nconfiguration\r\n```\r\n- type: tcp\r\n id:
'tls-enabled'\r\n name: 'TLS-Enabled'\r\n hosts: [\"8.8.8.8:80\"]\r\n
ssl:\r\n verification_mode: 'strict'\r\n```\r\n```\r\n- type: tcp\r\n
id: 'tls-disabled'\r\n name: 'TLS-Disabled'\r\n hosts:
[\"8.8.8.8:80\"]\r\n```\r\n3. Set these monitors to execute from both a
private and public location\r\nvia the `monitor` key in your
`synthetics.config.ts` file.\r\n```\r\n monitor: {\r\n schedule: 3,\r\n
privateLocations: [\"YOUR PRIVATE LOCATION\"],\r\n locations:
[\"us_central\"], // to test against dev environment\r\n },\r\n```\r\n4.
Navigate to the agent policy for the private location and inspect
the\r\nfull policy. Ensure the Synthetics policy on the agent package
policy\r\ndoes not have `ssl` fields set for ssl disabled monitor.
Ensure the\r\n`ssl` fields are set for the ssl enabled
monitor.","sha":"0592abdab5c2d074468465380066b3dbeea89f4a"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149298","number":149298,"mergeCommit":{"message":"[Synthetics]
Omit or include `ssl` keys when appropriate for project monitors and
private locations (#149298)\n\n## Summary\r\n\r\nResolves
https://github.com/elastic/kibana/issues/149083\r\n\r\n1. [Prevents tls
fields from
being\r\nsaved](https://github.com/elastic/kibana/pull/149298/files#diff-56296f634bf379eb71629f426c670cd030d2a15263a59964847c0d10af09a767R14)\r\non
the Synthetics Integration policy when `is_tls_enabled` is false\r\n2.
Ensures `is_tls_enabled` is set properly for project
monitors\r\n([http](https://github.com/elastic/kibana/pull/149298/files#diff-0f42bb3b11a6ab864dee3488d5e9f7282adc009a261b3caee743a880b825c766R73)\r\nand\r\n[tcp](https://github.com/elastic/kibana/pull/149298/files#diff-3ad87e629abc6f17c395e8435c94f0f1a6274c9efea7d24ab81b7635ef0e43dfR69)).\r\nThis
ensures that when a monitor is sent to a public location or a\r\nprivate
location, the `ssl` fields are sent or stripped
appropriately.\r\n\r\n### Testing\r\n\r\n1. Create a private
location\r\n2. Create 2 lightweight project monitors using the
following\r\nconfiguration\r\n```\r\n- type: tcp\r\n id:
'tls-enabled'\r\n name: 'TLS-Enabled'\r\n hosts: [\"8.8.8.8:80\"]\r\n
ssl:\r\n verification_mode: 'strict'\r\n```\r\n```\r\n- type: tcp\r\n
id: 'tls-disabled'\r\n name: 'TLS-Disabled'\r\n hosts:
[\"8.8.8.8:80\"]\r\n```\r\n3. Set these monitors to execute from both a
private and public location\r\nvia the `monitor` key in your
`synthetics.config.ts` file.\r\n```\r\n monitor: {\r\n schedule: 3,\r\n
privateLocations: [\"YOUR PRIVATE LOCATION\"],\r\n locations:
[\"us_central\"], // to test against dev environment\r\n },\r\n```\r\n4.
Navigate to the agent policy for the private location and inspect
the\r\nfull policy. Ensure the Synthetics policy on the agent package
policy\r\ndoes not have `ssl` fields set for ssl disabled monitor.
Ensure the\r\n`ssl` fields are set for the ssl enabled
monitor.","sha":"0592abdab5c2d074468465380066b3dbeea89f4a"}},{"branch":"8.6","label":"v8.6.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-01-24 18:17:37 -07:00
Kaarina Tungseth
e62d092461
[DOCS] Adds the 8.6.1 release notes (#149421)
## Summary

Adds the release notes for the 8.6.1 release.

Co-authored-by: DeDe Morton <dede.morton@elastic.co>
2023-01-24 18:10:46 -05:00
Kibana Machine
c72752ac69
[8.6] [APM] docs: SDH documentation updates (#149359) (#149463)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[APM] docs: SDH documentation updates
(#149359)](https://github.com/elastic/kibana/pull/149359)

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

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

<!--BACKPORT [{"author":{"name":"Brandon
Morelli","email":"brandon.morelli@elastic.co"},"sourceCommit":{"committedDate":"2023-01-24T22:30:18Z","message":"[APM]
docs: SDH documentation updates (#149359)\n\n## Summary\r\n\r\nTwo small
documentation updates based on feedback in recent
SDHs.","sha":"2228086ae654d52a1748fc6960d74f6f034f6867","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","Team:APM","v8.6.0","v8.7.0"],"number":149359,"url":"https://github.com/elastic/kibana/pull/149359","mergeCommit":{"message":"[APM]
docs: SDH documentation updates (#149359)\n\n## Summary\r\n\r\nTwo small
documentation updates based on feedback in recent
SDHs.","sha":"2228086ae654d52a1748fc6960d74f6f034f6867"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149359","number":149359,"mergeCommit":{"message":"[APM]
docs: SDH documentation updates (#149359)\n\n## Summary\r\n\r\nTwo small
documentation updates based on feedback in recent
SDHs.","sha":"2228086ae654d52a1748fc6960d74f6f034f6867"}}]}] BACKPORT-->

Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co>
2023-01-24 17:49:13 -05:00
Kibana Machine
4c2492450a
[8.6] Remove uglify-js package.json resolutions. (#149395) (#149426)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Remove `uglify-js` package.json resolutions.
(#149395)](https://github.com/elastic/kibana/pull/149395)

<!--- 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-01-24T15:56:36Z","message":"Remove
`uglify-js` package.json resolutions.
(#149395)","sha":"6bf81356c8cc730e1d3d99eb0f46b656ed43944a","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Security","release_note:skip","backport:all-open","v8.7.0"],"number":149395,"url":"https://github.com/elastic/kibana/pull/149395","mergeCommit":{"message":"Remove
`uglify-js` package.json resolutions.
(#149395)","sha":"6bf81356c8cc730e1d3d99eb0f46b656ed43944a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149395","number":149395,"mergeCommit":{"message":"Remove
`uglify-js` package.json resolutions.
(#149395)","sha":"6bf81356c8cc730e1d3d99eb0f46b656ed43944a"}}]}]
BACKPORT-->

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>
2023-01-24 10:05:27 -07:00
Kibana Machine
b76e760c95
[8.6] Unskip Execution Context FTRs (#149070) (#149373)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Unskip Execution Context FTRs
(#149070)](https://github.com/elastic/kibana/pull/149070)

<!--- 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-01-24T01:33:53Z","message":"Unskip
Execution Context FTRs (#149070)\n\nResolves
https://github.com/elastic/kibana/issues/112102","sha":"4c626f16c0bfc333bf0591f586b082f6c09dd3b1","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","backport:all-open","v8.7.0"],"number":149070,"url":"https://github.com/elastic/kibana/pull/149070","mergeCommit":{"message":"Unskip
Execution Context FTRs (#149070)\n\nResolves
https://github.com/elastic/kibana/issues/112102","sha":"4c626f16c0bfc333bf0591f586b082f6c09dd3b1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149070","number":149070,"mergeCommit":{"message":"Unskip
Execution Context FTRs (#149070)\n\nResolves
https://github.com/elastic/kibana/issues/112102","sha":"4c626f16c0bfc333bf0591f586b082f6c09dd3b1"}}]}]
BACKPORT-->

Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2023-01-24 08:53:33 -07:00
Kibana Machine
3b020352a5
[8.6] [Security Solution] Add host.name and host.hostname to exceptionable Endpoint fields (#148920) (#149364)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Security Solution] Add host.name and host.hostname to exceptionable
Endpoint fields
(#148920)](https://github.com/elastic/kibana/pull/148920)

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

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

<!--BACKPORT [{"author":{"name":"Kevin
Logan","email":"56395104+kevinlog@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-01-23T22:37:22Z","message":"[Security
Solution] Add host.name and host.hostname to exceptionable Endpoint
fields (#148920)\n\n## Summary\r\n\r\nAddresses this ticket:
https://github.com/elastic/kibana/issues/148779\r\n\r\nAllows
`host.name` and `host.hostname` to be selected from the list
of\r\navailable Endpoint fields.\r\n\r\n<img width=\"1725\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/56395104/212412004-0fd1bcbc-39f7-4c29-8016-7d6e8d418fb7.png\">\r\n\r\n<img
width=\"1728\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/56395104/212412048-826dccf1-131e-4dc2-a34d-c9f586e9e8a0.png\">\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ace3de1504a9c46c13d5dcd4377697d4b52f0a31","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","v8.7.0","v8.6.1"],"number":148920,"url":"https://github.com/elastic/kibana/pull/148920","mergeCommit":{"message":"[Security
Solution] Add host.name and host.hostname to exceptionable Endpoint
fields (#148920)\n\n## Summary\r\n\r\nAddresses this ticket:
https://github.com/elastic/kibana/issues/148779\r\n\r\nAllows
`host.name` and `host.hostname` to be selected from the list
of\r\navailable Endpoint fields.\r\n\r\n<img width=\"1725\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/56395104/212412004-0fd1bcbc-39f7-4c29-8016-7d6e8d418fb7.png\">\r\n\r\n<img
width=\"1728\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/56395104/212412048-826dccf1-131e-4dc2-a34d-c9f586e9e8a0.png\">\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ace3de1504a9c46c13d5dcd4377697d4b52f0a31"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/148920","number":148920,"mergeCommit":{"message":"[Security
Solution] Add host.name and host.hostname to exceptionable Endpoint
fields (#148920)\n\n## Summary\r\n\r\nAddresses this ticket:
https://github.com/elastic/kibana/issues/148779\r\n\r\nAllows
`host.name` and `host.hostname` to be selected from the list
of\r\navailable Endpoint fields.\r\n\r\n<img width=\"1725\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/56395104/212412004-0fd1bcbc-39f7-4c29-8016-7d6e8d418fb7.png\">\r\n\r\n<img
width=\"1728\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/56395104/212412048-826dccf1-131e-4dc2-a34d-c9f586e9e8a0.png\">\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ace3de1504a9c46c13d5dcd4377697d4b52f0a31"}},{"branch":"8.6","label":"v8.6.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
2023-01-23 17:01:32 -07:00
Kibana Machine
91347ed68a
[8.6] Upgrade cookiejar dependency (2.1.12.1.4). (#149323) (#149341)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Upgrade `cookiejar` dependency (`2.1.1` → `2.1.4`).
(#149323)](https://github.com/elastic/kibana/pull/149323)

<!--- 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-01-23T16:20:38Z","message":"Upgrade
`cookiejar` dependency (`2.1.1` → `2.1.4`).
(#149323)","sha":"422e9444b1ec1893775dfee2e23cedd088e777b4","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","release_note:skip","backport:all-open","v8.7.0"],"number":149323,"url":"https://github.com/elastic/kibana/pull/149323","mergeCommit":{"message":"Upgrade
`cookiejar` dependency (`2.1.1` → `2.1.4`).
(#149323)","sha":"422e9444b1ec1893775dfee2e23cedd088e777b4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149323","number":149323,"mergeCommit":{"message":"Upgrade
`cookiejar` dependency (`2.1.1` → `2.1.4`).
(#149323)","sha":"422e9444b1ec1893775dfee2e23cedd088e777b4"}}]}]
BACKPORT-->

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>
2023-01-23 13:12:46 -07:00
Kevin Logan
0e7423a3de
[8.6] [Security Solution] Reduce scope of osquery update fix to only update the package (#149325) (#149340)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Security Solution] Reduce scope of osquery update fix to only update
the package (#149325)](https://github.com/elastic/kibana/pull/149325)

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

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

<!--BACKPORT [{"author":{"name":"Kevin
Logan","email":"56395104+kevinlog@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-01-23T15:23:11Z","message":"[Security
Solution] Reduce scope of osquery update fix to only update the package
(#149325)\n\n## Summary\r\n\r\nReduce the scope of the OSQuery start
task to only update the OSQuery\r\nintegration package to 1.6.0.
Originally, we had a check to also\r\nrollover indices to fix a bug on a
potentially small subset of users who\r\ntried OSQuery for the first
time in the first few days of release in\r\n8.6.0. However, this check
is potentially expensive and risky since it\r\nis in the start of
Kibana/OSQuery plugin.\r\n\r\nHere, we reduce the risk by only upgrade
the OSQuery integration package\r\nautomatically which should fix the
issue for most users. It is also less\r\nrisky/expensive as searching
over all existing data.\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"e5df1b8bc068094cabf74062212ca07559aff748","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Defend
Workflows","auto-backport","v8.6.0","v8.7.0","v8.6.1"],"number":149325,"url":"https://github.com/elastic/kibana/pull/149325","mergeCommit":{"message":"[Security
Solution] Reduce scope of osquery update fix to only update the package
(#149325)\n\n## Summary\r\n\r\nReduce the scope of the OSQuery start
task to only update the OSQuery\r\nintegration package to 1.6.0.
Originally, we had a check to also\r\nrollover indices to fix a bug on a
potentially small subset of users who\r\ntried OSQuery for the first
time in the first few days of release in\r\n8.6.0. However, this check
is potentially expensive and risky since it\r\nis in the start of
Kibana/OSQuery plugin.\r\n\r\nHere, we reduce the risk by only upgrade
the OSQuery integration package\r\nautomatically which should fix the
issue for most users. It is also less\r\nrisky/expensive as searching
over all existing data.\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"e5df1b8bc068094cabf74062212ca07559aff748"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149325","number":149325,"mergeCommit":{"message":"[Security
Solution] Reduce scope of osquery update fix to only update the package
(#149325)\n\n## Summary\r\n\r\nReduce the scope of the OSQuery start
task to only update the OSQuery\r\nintegration package to 1.6.0.
Originally, we had a check to also\r\nrollover indices to fix a bug on a
potentially small subset of users who\r\ntried OSQuery for the first
time in the first few days of release in\r\n8.6.0. However, this check
is potentially expensive and risky since it\r\nis in the start of
Kibana/OSQuery plugin.\r\n\r\nHere, we reduce the risk by only upgrade
the OSQuery integration package\r\nautomatically which should fix the
issue for most users. It is also less\r\nrisky/expensive as searching
over all existing data.\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"e5df1b8bc068094cabf74062212ca07559aff748"}}]}]
BACKPORT-->

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-01-23 10:33:12 -07:00
Kibana Machine
bd3d9648d0
[8.6] Update dependency require-in-the-middle to v6 (main) (#149292) (#149312)
# Backport

This will backport the following commits from `main` to `8.6`:
- [Update dependency require-in-the-middle to v6 (main)
(#149292)](https://github.com/elastic/kibana/pull/149292)

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

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

<!--BACKPORT
[{"author":{"name":"renovate[bot]","email":"29139614+renovate[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-01-23T11:42:43Z","message":"Update
dependency require-in-the-middle to v6 (main)
(#149292)","sha":"57fd55bf85691a439c6be78fe9bc6062150d9338","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","backport:all-open","v8.7.0"],"number":149292,"url":"https://github.com/elastic/kibana/pull/149292","mergeCommit":{"message":"Update
dependency require-in-the-middle to v6 (main)
(#149292)","sha":"57fd55bf85691a439c6be78fe9bc6062150d9338"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149292","number":149292,"mergeCommit":{"message":"Update
dependency require-in-the-middle to v6 (main)
(#149292)","sha":"57fd55bf85691a439c6be78fe9bc6062150d9338"}}]}]
BACKPORT-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-23 05:52:47 -07:00
Kibana Machine
6ddf28d837
[8.6] [Fleet] Fix missing policyId in cloud integrations install url (#149243) (#149307)
# Backport

This will backport the following commits from `main` to `8.6`:
- [[Fleet] Fix missing policyId in cloud integrations install url
(#149243)](https://github.com/elastic/kibana/pull/149243)

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

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

<!--BACKPORT [{"author":{"name":"Cristina
Amico","email":"criamico@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-01-23T10:31:20Z","message":"[Fleet]
Fix missing policyId in cloud integrations install url (#149243)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/148272\r\n\r\n### Repro
steps\r\nThis bug is only happening in cloud, to get into the same state
in the\r\nlocal change
[this\r\nline](a31d844318/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx (LL129C12-L129C12))\r\nto
`true`\r\n\r\n- Setup a fresh version of kibana (since we need to show
the \"Ready to\r\nadd your first integration?\" splash screen)\r\n-
Create a new agent policy, select the integrations tab and add a
new\r\nintegration\r\n- The splash screen should appear with
url\r\n`app/fleet/integrations/endpoint-8.6.1/add-integration?policyId=fleet-first-agent-policy&useMultiPageLayout`\r\n-
Click on the link `Add integration only (skip agent installation)
on\r\nthe bottom\r\n- It will navigate to the integration install form
and the url should\r\nhave the policy id (previously
missing)\r\n`app/fleet/integrations/endpoint-8.6.1/add-integration?policyId=fleet-first-agent-policy`.\r\nThe
form should also be pre-filled with the correct agent policy in
the\r\n`Existing hosts`
section\r\n\r\n\r\nhttps://user-images.githubusercontent.com/16084106/213503514-97fd17b4-9559-49ec-a142-40c8df612002.mov\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"861df2d31196ef443c4da7435c718b58f94ca9a5","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","backport:prev-minor","v8.7.0"],"number":149243,"url":"https://github.com/elastic/kibana/pull/149243","mergeCommit":{"message":"[Fleet]
Fix missing policyId in cloud integrations install url (#149243)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/148272\r\n\r\n### Repro
steps\r\nThis bug is only happening in cloud, to get into the same state
in the\r\nlocal change
[this\r\nline](a31d844318/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx (LL129C12-L129C12))\r\nto
`true`\r\n\r\n- Setup a fresh version of kibana (since we need to show
the \"Ready to\r\nadd your first integration?\" splash screen)\r\n-
Create a new agent policy, select the integrations tab and add a
new\r\nintegration\r\n- The splash screen should appear with
url\r\n`app/fleet/integrations/endpoint-8.6.1/add-integration?policyId=fleet-first-agent-policy&useMultiPageLayout`\r\n-
Click on the link `Add integration only (skip agent installation)
on\r\nthe bottom\r\n- It will navigate to the integration install form
and the url should\r\nhave the policy id (previously
missing)\r\n`app/fleet/integrations/endpoint-8.6.1/add-integration?policyId=fleet-first-agent-policy`.\r\nThe
form should also be pre-filled with the correct agent policy in
the\r\n`Existing hosts`
section\r\n\r\n\r\nhttps://user-images.githubusercontent.com/16084106/213503514-97fd17b4-9559-49ec-a142-40c8df612002.mov\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"861df2d31196ef443c4da7435c718b58f94ca9a5"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/149243","number":149243,"mergeCommit":{"message":"[Fleet]
Fix missing policyId in cloud integrations install url (#149243)\n\n##
Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/148272\r\n\r\n### Repro
steps\r\nThis bug is only happening in cloud, to get into the same state
in the\r\nlocal change
[this\r\nline](a31d844318/x-pack/plugins/fleet/public/applications/integrations/sections/epm/screens/detail/index.tsx (LL129C12-L129C12))\r\nto
`true`\r\n\r\n- Setup a fresh version of kibana (since we need to show
the \"Ready to\r\nadd your first integration?\" splash screen)\r\n-
Create a new agent policy, select the integrations tab and add a
new\r\nintegration\r\n- The splash screen should appear with
url\r\n`app/fleet/integrations/endpoint-8.6.1/add-integration?policyId=fleet-first-agent-policy&useMultiPageLayout`\r\n-
Click on the link `Add integration only (skip agent installation)
on\r\nthe bottom\r\n- It will navigate to the integration install form
and the url should\r\nhave the policy id (previously
missing)\r\n`app/fleet/integrations/endpoint-8.6.1/add-integration?policyId=fleet-first-agent-policy`.\r\nThe
form should also be pre-filled with the correct agent policy in
the\r\n`Existing hosts`
section\r\n\r\n\r\nhttps://user-images.githubusercontent.com/16084106/213503514-97fd17b4-9559-49ec-a142-40c8df612002.mov\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"861df2d31196ef443c4da7435c718b58f94ca9a5"}}]}]
BACKPORT-->

Co-authored-by: Cristina Amico <criamico@users.noreply.github.com>
2023-01-23 04:37:56 -07:00