Commit graph

892 commits

Author SHA1 Message Date
Pierre Gayvallet
010e2fa100
[7.17] Add custom representation for request objects (#171155) (#171173)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Add custom representation for request objects
(#171155)](https://github.com/elastic/kibana/pull/171155)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Pierre
Gayvallet","email":"pierre.gayvallet@elastic.co"},"sourceCommit":{"committedDate":"2023-11-14T11:16:32Z","message":"Add
custom representation for request objects (#171155)\n\n##
Summary\r\n\r\nAdd custom string/json/inspect representations for
`KibanaRequest`,\r\n`hapi.Request` and
`http.IncomingMessage`","sha":"4aa9ed52fd01ab25fe97bbd917f873e6da273ed0","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","v8.12.0","v8.11.2"],"number":171155,"url":"https://github.com/elastic/kibana/pull/171155","mergeCommit":{"message":"Add
custom representation for request objects (#171155)\n\n##
Summary\r\n\r\nAdd custom string/json/inspect representations for
`KibanaRequest`,\r\n`hapi.Request` and
`http.IncomingMessage`","sha":"4aa9ed52fd01ab25fe97bbd917f873e6da273ed0"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/171155","number":171155,"mergeCommit":{"message":"Add
custom representation for request objects (#171155)\n\n##
Summary\r\n\r\nAdd custom string/json/inspect representations for
`KibanaRequest`,\r\n`hapi.Request` and
`http.IncomingMessage`","sha":"4aa9ed52fd01ab25fe97bbd917f873e6da273ed0"}},{"branch":"8.11","label":"v8.11.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2023-11-14 14:04:49 -07:00
Tiago Costa
67535a2211
[7.17] chore(NA): upgrade typescript into v4.7.4 (#162738) (#164765)
# Backport

This will backport the following commits from `main` to `7.17`:
- [chore(NA): upgrade typescript into v4.7.4
(#162738)](https://github.com/elastic/kibana/pull/162738)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Tiago
Costa","email":"tiago.costa@elastic.co"},"sourceCommit":{"committedDate":"2023-08-24T16:27:13Z","message":"chore(NA):
upgrade typescript into v4.7.4 (#162738)\n\nThis PR bumps the Typescript
version used on Kibana into v4.7.4.\r\n\r\nDuring the upgrade I got the
impression the majority of the failures\r\nwere too specific to the
codebase so instead of making assumptions I\r\nchoose to marked a lot of
them with `@ts-expect-error` and let each team\r\ndecide how to handle
it.\r\n\r\nNext you can find a list of files with those comments and the
teams to\r\nwho they belong to. I would appreciate the collaboration
from each team\r\non fixing those. I'm not opposed on fixing those in
subsequent PRs after\r\nthis one have been merged, just wanted to
elaborate that list for a good\r\nfollow up:\r\n\r\n@elastic/kibana-core
\r\n-
[x]\r\n[packages/core/http/core-http-router-server-internal/src/request.ts](https://github.com/elastic/kibana/pull/162738/files#diff-c1f4a8c013c6ff9c5170803322414cb002f70331b23e45c55f075258c678410a)\r\n\r\n@elastic/kibana-data-discovery
\r\n-
[x]\r\n[src/plugins/discover/public/components/doc_table/components/table_row.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-9106b254a57e73fc6f0b2e01f9aff1abbd26f1a0999e6fa998f1b45d3013038f)\r\n\r\n@elastic/kibana-visualizations
\r\n-
[x]\r\n[src/plugins/expressions/common/execution/execution.ts](https://github.com/elastic/kibana/pull/162738/files#diff-47bf3af7472c08ede90f86575ee7db4b8a2c949b1fb61400410ed16a8d819667)\r\n-
[x]\r\n[src/plugins/expressions/common/expression_functions/expression_function_parameter.ts](https://github.com/elastic/kibana/pull/162738/files#diff-3bcaa3c50f2297ff990c7ac83a1c2d36a79e6706a09082c3c48a911713afe950)\r\n-
[x]\r\n[src/plugins/vis_types/heatmap/public/editor/components/labels_panel.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-345db24d53f4158414480b890fa43d1f8a454b67313de79602fda081279cbc4f)\r\n-
[x]\r\n[src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/label_options.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-1c346b41cf025ff4f4e07b6d6dcdd1451cbaa758f9a9e8c72a9801d3fbbdfda2)\r\n\r\n@elastic/kibana-presentation
\r\n-
[x]\r\n[x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts](https://github.com/elastic/kibana/pull/162738/files#diff-56858ed9be77830ab218eab1960337240926609c5a1593b3960b35660ef81359)\r\n\r\n@elastic/response-ops
\r\n-
[x]\r\n[x-pack/plugins/cases/public/components/create/form.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-c5c415f1f56ca986f4bb59e65490b5e0fc77a86092240c0c1a26c141dba07818)\r\n-
[x]\r\n[x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-ab038916f6fed59e18b0a72ce8e823e88d115afdb2704010d0fa8656b66702df)\r\n-
[x]\r\n[x-pack/plugins/rule_registry/server/alert_data_client/browser_fields/index.ts](https://github.com/elastic/kibana/pull/162738/files#diff-3f91aa93f7e6514c0479a37a76d6e9a53646d4eaf5dcd0db64437eadf1eee6b6)\r\n-
[x]\r\n[x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-fbf1d6d0104c11c3f3690d29edf06000b5a63a858bb22b7d04d1f96a45133b07)\r\n-
[x]\r\n[x-pack/plugins/triggers_actions_ui/common/experimental_features.ts](https://github.com/elastic/kibana/pull/162738/files#diff-8e2ca70700895b17125532779945a1d0ab9076b4d4db304c065b47f82b6628a5)\r\n-
[x]\r\n[x-pack/plugins/triggers_actions_ui/public/common/get_experimental_features.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-8e2ca70700895b17125532779945a1d0ab9076b4d4db304c065b47f82b6628a5)\r\n\r\n@elastic/fleet
\r\n-
[x]\r\n[x-pack/plugins/fleet/common/experimental_features.ts](https://github.com/elastic/kibana/pull/162738/files#diff-a852b157b5ff1d6dbf321ea8a25f0020d8f88cd458378cc9de8ef25ce28c9414)\r\n-
[x]\r\n[x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-9eea0be0f9341dd6369720ce7b11bff69dda51230337ebbae921f6abde187bd2)\r\n-
[x]\r\n[x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/index.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-844d5f9707b739d25f2b73bd34c45c21e2e5d573b3238c13130a0d1c1db092dc)\r\n-
[x]\r\n[x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/index.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-f88d92abbc549ddc95d693bf3a3bc9752613cf74f1e859a01ca61d572e031b11)\r\n-
[x]\r\n[x-pack/plugins/fleet/server/mocks/index.ts](https://github.com/elastic/kibana/pull/162738/files#diff-d3f3e436b158ac2d877b7be9d57642855f89b0149cc28735811443da45bb079f)\r\n\r\n@elastic/security-detection-engine\r\n-
[x]\r\n[x-pack/plugins/lists/server/services/extension_points/extension_point_storage_client.ts](https://github.com/elastic/kibana/pull/162738/files#diff-dbbf5a8541e06fd977c66e44d9ef59f738d953bdfda679ac838e098742c92f50)\r\n-
[x]\r\n[x-pack/plugins/lists/server/services/extension_points/types.ts](https://github.com/elastic/kibana/pull/162738/files#diff-31186826bea8fdb286a25878fa06eeacad8f7a6c384d617fed905d4625821eef)\r\n\r\n@elastic/security-defend-workflows
@gergoabraham \r\n-
[x]\r\n[x-pack/plugins/security_solution/public/detection_engine/rule_response_actions/osquery/osquery_response_action.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-049eeedef2a403ade7c636418e17fc9a3ffc7030eec2f3e013f459721c076470)\r\n\r\n@elastic/infra-monitoring-ui
\r\n-
[x]\r\n[x-pack/plugins/monitoring/public/application/pages/apm/overview.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-4ab4fa150247d8f522741ae5ea1ea71c102c72f5439410ea869ec1c9dc9878ad)\r\n-
[x]\r\n[x-pack/plugins/monitoring/public/application/pages/enterprise_search/overview.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-285a67d9ec93651206608d308e5d1d20ccc98ccccb9bcbf3ee31fe35c1844b42)\r\n\r\n@elastic/kibana-security
\r\n-
[x]\r\n[x-pack/plugins/security/server/authentication/authenticator.ts](https://github.com/elastic/kibana/pull/162738/files#diff-bd369002fdfd0986f1ce3bf16263fb8b765e01a86832ccf5b4e521811d502038)\r\n-
[x]\r\n[x-pack/plugins/security/server/session_management/session_index.ts](https://github.com/elastic/kibana/pull/162738/files#diff-10b76eb52a0e17564ad864def8270bb84a4eb87eb35851309bc36601086cbcd7)\r\n\r\n@elastic/security-threat-hunting-explore
@gergoabraham \r\n-
[x]\r\n[x-pack/plugins/security_solution/public/common/mock/endpoint/app_context_render.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-7f130bdc9a954330d188aa25324910cf2f72baf76d1329bd36584f5bb153856b)\r\n\r\n@elastic/security-solution
@gergoabraham \r\n-
[x]\r\n[x-pack/plugins/security_solution/public/management/components/page_overlay/page_overlay.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-e68a2799df17238257a86ce965369c525be901f6f882e518bde9e8c9bd7cd2c8)\r\n-
[x]\r\n[x-pack/plugins/security_solution/public/management/pages/policy/view/policy_settings_form/components/event_collection_card.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-edc756f655792f7dcaca0c707f35c6c022981be1873712f460ccb1d611e42568)\r\n-
[x]\r\n[x-pack/plugins/security_solution/tsconfig.json](https://github.com/elastic/kibana/pull/162738/files#diff-844dde79a96b9e6c2bfdf21f8c80feb8b687577e21326da6bd15c6b95d8ec918)\r\n\r\n@elastic/uptime
\r\n-
[x]\r\n[x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/duration_anomaly.test.ts](https://github.com/elastic/kibana/pull/162738/files#diff-6c7b63ce65aa17a2fe3219e1747ae051be88fb02edbe2f198ad6fd418a2bcc57)\r\n\r\n@elastic/security-detections-response-alerts
@gergoabraham \r\n-
[x]\r\n[x-pack/test/detection_engine_api_integration/security_and_spaces/group8/exception_operators_data_types/keyword_array.ts](https://github.com/elastic/kibana/pull/162738/files#diff-472ba2c7fe43448c8a4d04406703f755f71f6e60146bb2f090b4ca0f19ad0a0f)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Michael Dokolin <dokmic@gmail.com>\r\nCo-authored-by: Stratoula
Kalafateli <stratoula1@gmail.com>\r\nCo-authored-by: Rudolf Meijering
<skaapgif@gmail.com>\r\nCo-authored-by: Devon Thomson
<devon.thomson@elastic.co>","sha":"2d652e1313a64f55bae994833324ad8116738254","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","Feature:ExpressionLanguage","release_note:skip","Team:Fleet","auto-backport","v8.10.0","v7.17.13","v8.11.0","v8.9.2"],"number":162738,"url":"https://github.com/elastic/kibana/pull/162738","mergeCommit":{"message":"chore(NA):
upgrade typescript into v4.7.4 (#162738)\n\nThis PR bumps the Typescript
version used on Kibana into v4.7.4.\r\n\r\nDuring the upgrade I got the
impression the majority of the failures\r\nwere too specific to the
codebase so instead of making assumptions I\r\nchoose to marked a lot of
them with `@ts-expect-error` and let each team\r\ndecide how to handle
it.\r\n\r\nNext you can find a list of files with those comments and the
teams to\r\nwho they belong to. I would appreciate the collaboration
from each team\r\non fixing those. I'm not opposed on fixing those in
subsequent PRs after\r\nthis one have been merged, just wanted to
elaborate that list for a good\r\nfollow up:\r\n\r\n@elastic/kibana-core
\r\n-
[x]\r\n[packages/core/http/core-http-router-server-internal/src/request.ts](https://github.com/elastic/kibana/pull/162738/files#diff-c1f4a8c013c6ff9c5170803322414cb002f70331b23e45c55f075258c678410a)\r\n\r\n@elastic/kibana-data-discovery
\r\n-
[x]\r\n[src/plugins/discover/public/components/doc_table/components/table_row.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-9106b254a57e73fc6f0b2e01f9aff1abbd26f1a0999e6fa998f1b45d3013038f)\r\n\r\n@elastic/kibana-visualizations
\r\n-
[x]\r\n[src/plugins/expressions/common/execution/execution.ts](https://github.com/elastic/kibana/pull/162738/files#diff-47bf3af7472c08ede90f86575ee7db4b8a2c949b1fb61400410ed16a8d819667)\r\n-
[x]\r\n[src/plugins/expressions/common/expression_functions/expression_function_parameter.ts](https://github.com/elastic/kibana/pull/162738/files#diff-3bcaa3c50f2297ff990c7ac83a1c2d36a79e6706a09082c3c48a911713afe950)\r\n-
[x]\r\n[src/plugins/vis_types/heatmap/public/editor/components/labels_panel.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-345db24d53f4158414480b890fa43d1f8a454b67313de79602fda081279cbc4f)\r\n-
[x]\r\n[src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/label_options.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-1c346b41cf025ff4f4e07b6d6dcdd1451cbaa758f9a9e8c72a9801d3fbbdfda2)\r\n\r\n@elastic/kibana-presentation
\r\n-
[x]\r\n[x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts](https://github.com/elastic/kibana/pull/162738/files#diff-56858ed9be77830ab218eab1960337240926609c5a1593b3960b35660ef81359)\r\n\r\n@elastic/response-ops
\r\n-
[x]\r\n[x-pack/plugins/cases/public/components/create/form.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-c5c415f1f56ca986f4bb59e65490b5e0fc77a86092240c0c1a26c141dba07818)\r\n-
[x]\r\n[x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-ab038916f6fed59e18b0a72ce8e823e88d115afdb2704010d0fa8656b66702df)\r\n-
[x]\r\n[x-pack/plugins/rule_registry/server/alert_data_client/browser_fields/index.ts](https://github.com/elastic/kibana/pull/162738/files#diff-3f91aa93f7e6514c0479a37a76d6e9a53646d4eaf5dcd0db64437eadf1eee6b6)\r\n-
[x]\r\n[x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-fbf1d6d0104c11c3f3690d29edf06000b5a63a858bb22b7d04d1f96a45133b07)\r\n-
[x]\r\n[x-pack/plugins/triggers_actions_ui/common/experimental_features.ts](https://github.com/elastic/kibana/pull/162738/files#diff-8e2ca70700895b17125532779945a1d0ab9076b4d4db304c065b47f82b6628a5)\r\n-
[x]\r\n[x-pack/plugins/triggers_actions_ui/public/common/get_experimental_features.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-8e2ca70700895b17125532779945a1d0ab9076b4d4db304c065b47f82b6628a5)\r\n\r\n@elastic/fleet
\r\n-
[x]\r\n[x-pack/plugins/fleet/common/experimental_features.ts](https://github.com/elastic/kibana/pull/162738/files#diff-a852b157b5ff1d6dbf321ea8a25f0020d8f88cd458378cc9de8ef25ce28c9414)\r\n-
[x]\r\n[x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-9eea0be0f9341dd6369720ce7b11bff69dda51230337ebbae921f6abde187bd2)\r\n-
[x]\r\n[x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/index.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-844d5f9707b739d25f2b73bd34c45c21e2e5d573b3238c13130a0d1c1db092dc)\r\n-
[x]\r\n[x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/index.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-f88d92abbc549ddc95d693bf3a3bc9752613cf74f1e859a01ca61d572e031b11)\r\n-
[x]\r\n[x-pack/plugins/fleet/server/mocks/index.ts](https://github.com/elastic/kibana/pull/162738/files#diff-d3f3e436b158ac2d877b7be9d57642855f89b0149cc28735811443da45bb079f)\r\n\r\n@elastic/security-detection-engine\r\n-
[x]\r\n[x-pack/plugins/lists/server/services/extension_points/extension_point_storage_client.ts](https://github.com/elastic/kibana/pull/162738/files#diff-dbbf5a8541e06fd977c66e44d9ef59f738d953bdfda679ac838e098742c92f50)\r\n-
[x]\r\n[x-pack/plugins/lists/server/services/extension_points/types.ts](https://github.com/elastic/kibana/pull/162738/files#diff-31186826bea8fdb286a25878fa06eeacad8f7a6c384d617fed905d4625821eef)\r\n\r\n@elastic/security-defend-workflows
@gergoabraham \r\n-
[x]\r\n[x-pack/plugins/security_solution/public/detection_engine/rule_response_actions/osquery/osquery_response_action.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-049eeedef2a403ade7c636418e17fc9a3ffc7030eec2f3e013f459721c076470)\r\n\r\n@elastic/infra-monitoring-ui
\r\n-
[x]\r\n[x-pack/plugins/monitoring/public/application/pages/apm/overview.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-4ab4fa150247d8f522741ae5ea1ea71c102c72f5439410ea869ec1c9dc9878ad)\r\n-
[x]\r\n[x-pack/plugins/monitoring/public/application/pages/enterprise_search/overview.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-285a67d9ec93651206608d308e5d1d20ccc98ccccb9bcbf3ee31fe35c1844b42)\r\n\r\n@elastic/kibana-security
\r\n-
[x]\r\n[x-pack/plugins/security/server/authentication/authenticator.ts](https://github.com/elastic/kibana/pull/162738/files#diff-bd369002fdfd0986f1ce3bf16263fb8b765e01a86832ccf5b4e521811d502038)\r\n-
[x]\r\n[x-pack/plugins/security/server/session_management/session_index.ts](https://github.com/elastic/kibana/pull/162738/files#diff-10b76eb52a0e17564ad864def8270bb84a4eb87eb35851309bc36601086cbcd7)\r\n\r\n@elastic/security-threat-hunting-explore
@gergoabraham \r\n-
[x]\r\n[x-pack/plugins/security_solution/public/common/mock/endpoint/app_context_render.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-7f130bdc9a954330d188aa25324910cf2f72baf76d1329bd36584f5bb153856b)\r\n\r\n@elastic/security-solution
@gergoabraham \r\n-
[x]\r\n[x-pack/plugins/security_solution/public/management/components/page_overlay/page_overlay.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-e68a2799df17238257a86ce965369c525be901f6f882e518bde9e8c9bd7cd2c8)\r\n-
[x]\r\n[x-pack/plugins/security_solution/public/management/pages/policy/view/policy_settings_form/components/event_collection_card.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-edc756f655792f7dcaca0c707f35c6c022981be1873712f460ccb1d611e42568)\r\n-
[x]\r\n[x-pack/plugins/security_solution/tsconfig.json](https://github.com/elastic/kibana/pull/162738/files#diff-844dde79a96b9e6c2bfdf21f8c80feb8b687577e21326da6bd15c6b95d8ec918)\r\n\r\n@elastic/uptime
\r\n-
[x]\r\n[x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/duration_anomaly.test.ts](https://github.com/elastic/kibana/pull/162738/files#diff-6c7b63ce65aa17a2fe3219e1747ae051be88fb02edbe2f198ad6fd418a2bcc57)\r\n\r\n@elastic/security-detections-response-alerts
@gergoabraham \r\n-
[x]\r\n[x-pack/test/detection_engine_api_integration/security_and_spaces/group8/exception_operators_data_types/keyword_array.ts](https://github.com/elastic/kibana/pull/162738/files#diff-472ba2c7fe43448c8a4d04406703f755f71f6e60146bb2f090b4ca0f19ad0a0f)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Michael Dokolin <dokmic@gmail.com>\r\nCo-authored-by: Stratoula
Kalafateli <stratoula1@gmail.com>\r\nCo-authored-by: Rudolf Meijering
<skaapgif@gmail.com>\r\nCo-authored-by: Devon Thomson
<devon.thomson@elastic.co>","sha":"2d652e1313a64f55bae994833324ad8116738254"}},"sourceBranch":"main","suggestedTargetBranches":["8.10","7.17","8.9"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"7.17","label":"v7.17.13","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/162738","number":162738,"mergeCommit":{"message":"chore(NA):
upgrade typescript into v4.7.4 (#162738)\n\nThis PR bumps the Typescript
version used on Kibana into v4.7.4.\r\n\r\nDuring the upgrade I got the
impression the majority of the failures\r\nwere too specific to the
codebase so instead of making assumptions I\r\nchoose to marked a lot of
them with `@ts-expect-error` and let each team\r\ndecide how to handle
it.\r\n\r\nNext you can find a list of files with those comments and the
teams to\r\nwho they belong to. I would appreciate the collaboration
from each team\r\non fixing those. I'm not opposed on fixing those in
subsequent PRs after\r\nthis one have been merged, just wanted to
elaborate that list for a good\r\nfollow up:\r\n\r\n@elastic/kibana-core
\r\n-
[x]\r\n[packages/core/http/core-http-router-server-internal/src/request.ts](https://github.com/elastic/kibana/pull/162738/files#diff-c1f4a8c013c6ff9c5170803322414cb002f70331b23e45c55f075258c678410a)\r\n\r\n@elastic/kibana-data-discovery
\r\n-
[x]\r\n[src/plugins/discover/public/components/doc_table/components/table_row.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-9106b254a57e73fc6f0b2e01f9aff1abbd26f1a0999e6fa998f1b45d3013038f)\r\n\r\n@elastic/kibana-visualizations
\r\n-
[x]\r\n[src/plugins/expressions/common/execution/execution.ts](https://github.com/elastic/kibana/pull/162738/files#diff-47bf3af7472c08ede90f86575ee7db4b8a2c949b1fb61400410ed16a8d819667)\r\n-
[x]\r\n[src/plugins/expressions/common/expression_functions/expression_function_parameter.ts](https://github.com/elastic/kibana/pull/162738/files#diff-3bcaa3c50f2297ff990c7ac83a1c2d36a79e6706a09082c3c48a911713afe950)\r\n-
[x]\r\n[src/plugins/vis_types/heatmap/public/editor/components/labels_panel.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-345db24d53f4158414480b890fa43d1f8a454b67313de79602fda081279cbc4f)\r\n-
[x]\r\n[src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/label_options.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-1c346b41cf025ff4f4e07b6d6dcdd1451cbaa758f9a9e8c72a9801d3fbbdfda2)\r\n\r\n@elastic/kibana-presentation
\r\n-
[x]\r\n[x-pack/plugins/canvas/public/components/workpad_page/workpad_interactive_page/event_handlers.ts](https://github.com/elastic/kibana/pull/162738/files#diff-56858ed9be77830ab218eab1960337240926609c5a1593b3960b35660ef81359)\r\n\r\n@elastic/response-ops
\r\n-
[x]\r\n[x-pack/plugins/cases/public/components/create/form.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-c5c415f1f56ca986f4bb59e65490b5e0fc77a86092240c0c1a26c141dba07818)\r\n-
[x]\r\n[x-pack/plugins/cases/public/components/markdown_editor/editable_markdown_renderer.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-ab038916f6fed59e18b0a72ce8e823e88d115afdb2704010d0fa8656b66702df)\r\n-
[x]\r\n[x-pack/plugins/rule_registry/server/alert_data_client/browser_fields/index.ts](https://github.com/elastic/kibana/pull/162738/files#diff-3f91aa93f7e6514c0479a37a76d6e9a53646d4eaf5dcd0db64437eadf1eee6b6)\r\n-
[x]\r\n[x-pack/plugins/triggers_actions_ui/.storybook/decorator.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-fbf1d6d0104c11c3f3690d29edf06000b5a63a858bb22b7d04d1f96a45133b07)\r\n-
[x]\r\n[x-pack/plugins/triggers_actions_ui/common/experimental_features.ts](https://github.com/elastic/kibana/pull/162738/files#diff-8e2ca70700895b17125532779945a1d0ab9076b4d4db304c065b47f82b6628a5)\r\n-
[x]\r\n[x-pack/plugins/triggers_actions_ui/public/common/get_experimental_features.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-8e2ca70700895b17125532779945a1d0ab9076b4d4db304c065b47f82b6628a5)\r\n\r\n@elastic/fleet
\r\n-
[x]\r\n[x-pack/plugins/fleet/common/experimental_features.ts](https://github.com/elastic/kibana/pull/162738/files#diff-a852b157b5ff1d6dbf321ea8a25f0020d8f88cd458378cc9de8ef25ce28c9414)\r\n-
[x]\r\n[x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/components/agent_policy_advanced_fields/index.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-9eea0be0f9341dd6369720ce7b11bff69dda51230337ebbae921f6abde187bd2)\r\n-
[x]\r\n[x-pack/plugins/fleet/public/applications/fleet/sections/agent_policy/list_page/index.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-844d5f9707b739d25f2b73bd34c45c21e2e5d573b3238c13130a0d1c1db092dc)\r\n-
[x]\r\n[x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_list_page/index.test.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-f88d92abbc549ddc95d693bf3a3bc9752613cf74f1e859a01ca61d572e031b11)\r\n-
[x]\r\n[x-pack/plugins/fleet/server/mocks/index.ts](https://github.com/elastic/kibana/pull/162738/files#diff-d3f3e436b158ac2d877b7be9d57642855f89b0149cc28735811443da45bb079f)\r\n\r\n@elastic/security-detection-engine\r\n-
[x]\r\n[x-pack/plugins/lists/server/services/extension_points/extension_point_storage_client.ts](https://github.com/elastic/kibana/pull/162738/files#diff-dbbf5a8541e06fd977c66e44d9ef59f738d953bdfda679ac838e098742c92f50)\r\n-
[x]\r\n[x-pack/plugins/lists/server/services/extension_points/types.ts](https://github.com/elastic/kibana/pull/162738/files#diff-31186826bea8fdb286a25878fa06eeacad8f7a6c384d617fed905d4625821eef)\r\n\r\n@elastic/security-defend-workflows
@gergoabraham \r\n-
[x]\r\n[x-pack/plugins/security_solution/public/detection_engine/rule_response_actions/osquery/osquery_response_action.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-049eeedef2a403ade7c636418e17fc9a3ffc7030eec2f3e013f459721c076470)\r\n\r\n@elastic/infra-monitoring-ui
\r\n-
[x]\r\n[x-pack/plugins/monitoring/public/application/pages/apm/overview.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-4ab4fa150247d8f522741ae5ea1ea71c102c72f5439410ea869ec1c9dc9878ad)\r\n-
[x]\r\n[x-pack/plugins/monitoring/public/application/pages/enterprise_search/overview.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-285a67d9ec93651206608d308e5d1d20ccc98ccccb9bcbf3ee31fe35c1844b42)\r\n\r\n@elastic/kibana-security
\r\n-
[x]\r\n[x-pack/plugins/security/server/authentication/authenticator.ts](https://github.com/elastic/kibana/pull/162738/files#diff-bd369002fdfd0986f1ce3bf16263fb8b765e01a86832ccf5b4e521811d502038)\r\n-
[x]\r\n[x-pack/plugins/security/server/session_management/session_index.ts](https://github.com/elastic/kibana/pull/162738/files#diff-10b76eb52a0e17564ad864def8270bb84a4eb87eb35851309bc36601086cbcd7)\r\n\r\n@elastic/security-threat-hunting-explore
@gergoabraham \r\n-
[x]\r\n[x-pack/plugins/security_solution/public/common/mock/endpoint/app_context_render.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-7f130bdc9a954330d188aa25324910cf2f72baf76d1329bd36584f5bb153856b)\r\n\r\n@elastic/security-solution
@gergoabraham \r\n-
[x]\r\n[x-pack/plugins/security_solution/public/management/components/page_overlay/page_overlay.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-e68a2799df17238257a86ce965369c525be901f6f882e518bde9e8c9bd7cd2c8)\r\n-
[x]\r\n[x-pack/plugins/security_solution/public/management/pages/policy/view/policy_settings_form/components/event_collection_card.tsx](https://github.com/elastic/kibana/pull/162738/files#diff-edc756f655792f7dcaca0c707f35c6c022981be1873712f460ccb1d611e42568)\r\n-
[x]\r\n[x-pack/plugins/security_solution/tsconfig.json](https://github.com/elastic/kibana/pull/162738/files#diff-844dde79a96b9e6c2bfdf21f8c80feb8b687577e21326da6bd15c6b95d8ec918)\r\n\r\n@elastic/uptime
\r\n-
[x]\r\n[x-pack/plugins/uptime/server/legacy_uptime/lib/alerts/duration_anomaly.test.ts](https://github.com/elastic/kibana/pull/162738/files#diff-6c7b63ce65aa17a2fe3219e1747ae051be88fb02edbe2f198ad6fd418a2bcc57)\r\n\r\n@elastic/security-detections-response-alerts
@gergoabraham \r\n-
[x]\r\n[x-pack/test/detection_engine_api_integration/security_and_spaces/group8/exception_operators_data_types/keyword_array.ts](https://github.com/elastic/kibana/pull/162738/files#diff-472ba2c7fe43448c8a4d04406703f755f71f6e60146bb2f090b4ca0f19ad0a0f)\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
Michael Dokolin <dokmic@gmail.com>\r\nCo-authored-by: Stratoula
Kalafateli <stratoula1@gmail.com>\r\nCo-authored-by: Rudolf Meijering
<skaapgif@gmail.com>\r\nCo-authored-by: Devon Thomson
<devon.thomson@elastic.co>","sha":"2d652e1313a64f55bae994833324ad8116738254"}},{"branch":"8.9","label":"v8.9.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
2023-08-30 23:08:35 +01:00
Tiago Costa
98332dbbb0
[7.17] Upgrade Typescript to 4.3.5 (#104470) (#158788)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Upgrade Typescript to 4.3.5
(#104470)](https://github.com/elastic/kibana/pull/104470)

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

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

<!--BACKPORT [{"author":{"name":"Tyler
Smalley","email":"tyler.smalley@elastic.co"},"sourceCommit":{"committedDate":"2021-12-03T00:27:41Z","message":"Upgrade
Typescript to 4.3.5 (#104470)\n\nCo-authored-by: Mikhail Shustov
<restrry@gmail.com>\r\nCo-authored-by: Dario Gieselaar
<dario.gieselaar@elastic.co>\r\nCo-authored-by: CJ Cenizal
<cj@cenizal.com>\r\nCo-authored-by: Justin Kambic
<justin.kambic@elastic.co>\r\nCo-authored-by: Stratoula Kalafateli
<efstratia.kalafateli@elastic.co>\r\nCo-authored-by: Jean-Louis Leysens
<jloleysens@gmail.com>\r\nCo-authored-by: Kyle Pollich
<kpollich1@gmail.com>\r\nCo-authored-by: Xavier Mouligneau
<189600+XavierM@users.noreply.github.com>\r\nCo-authored-by: Kevin
Qualters <kevin.qualters@elastic.co>\r\nCo-authored-by: Candace Park
<candace.park@elastic.co>\r\nCo-authored-by: Brian Seeders
<brian.seeders@elastic.co>\r\nCo-authored-by: spalger
<spencer@elastic.co>","sha":"92a8636f0ff63ab072527574e96e6616327b2ea4","branchLabelMapping":{"^v8.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","Feature:Embedding","Team:APM","Feature:ExpressionLanguage","Team:uptime","release_note:skip","backport:skip","Feature:Drilldowns","Team:Fleet","v8.1.0","ci:all-cypress-suites"],"number":104470,"url":"https://github.com/elastic/kibana/pull/104470","mergeCommit":{"message":"Upgrade
Typescript to 4.3.5 (#104470)\n\nCo-authored-by: Mikhail Shustov
<restrry@gmail.com>\r\nCo-authored-by: Dario Gieselaar
<dario.gieselaar@elastic.co>\r\nCo-authored-by: CJ Cenizal
<cj@cenizal.com>\r\nCo-authored-by: Justin Kambic
<justin.kambic@elastic.co>\r\nCo-authored-by: Stratoula Kalafateli
<efstratia.kalafateli@elastic.co>\r\nCo-authored-by: Jean-Louis Leysens
<jloleysens@gmail.com>\r\nCo-authored-by: Kyle Pollich
<kpollich1@gmail.com>\r\nCo-authored-by: Xavier Mouligneau
<189600+XavierM@users.noreply.github.com>\r\nCo-authored-by: Kevin
Qualters <kevin.qualters@elastic.co>\r\nCo-authored-by: Candace Park
<candace.park@elastic.co>\r\nCo-authored-by: Brian Seeders
<brian.seeders@elastic.co>\r\nCo-authored-by: spalger
<spencer@elastic.co>","sha":"92a8636f0ff63ab072527574e96e6616327b2ea4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.1.0","labelRegex":"^v8.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/104470","number":104470,"mergeCommit":{"message":"Upgrade
Typescript to 4.3.5 (#104470)\n\nCo-authored-by: Mikhail Shustov
<restrry@gmail.com>\r\nCo-authored-by: Dario Gieselaar
<dario.gieselaar@elastic.co>\r\nCo-authored-by: CJ Cenizal
<cj@cenizal.com>\r\nCo-authored-by: Justin Kambic
<justin.kambic@elastic.co>\r\nCo-authored-by: Stratoula Kalafateli
<efstratia.kalafateli@elastic.co>\r\nCo-authored-by: Jean-Louis Leysens
<jloleysens@gmail.com>\r\nCo-authored-by: Kyle Pollich
<kpollich1@gmail.com>\r\nCo-authored-by: Xavier Mouligneau
<189600+XavierM@users.noreply.github.com>\r\nCo-authored-by: Kevin
Qualters <kevin.qualters@elastic.co>\r\nCo-authored-by: Candace Park
<candace.park@elastic.co>\r\nCo-authored-by: Brian Seeders
<brian.seeders@elastic.co>\r\nCo-authored-by: spalger
<spencer@elastic.co>","sha":"92a8636f0ff63ab072527574e96e6616327b2ea4"}}]}]
BACKPORT-->

---------

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2023-06-01 02:35:54 +01:00
Pierre Gayvallet
11239dfc11
Add validation for the /api/core/capabilities endpoint (#129564) (#129748)
* Add validation for the /api/core/capabilities endpoint

* update doc for app.id

* also allow `:`

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit ae31d2a07b)

# Conflicts:
#	docs/development/core/public/kibana-plugin-core-public.applicationstart.navigatetourl.md
#	src/core/public/application/types.ts
2022-04-07 08:31:23 -07:00
Joe Portner
f6972e420a
[7.17] Avoid loading all plugins on anonymous pages (#129555) (#129743)
* Avoid loading all plugins on anonymous pages (#129555)

(cherry picked from commit 6acf7c0481)

# Conflicts:
#	src/core/server/server.api.md
#	x-pack/plugins/security/kibana.json
#	x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx
#	x-pack/plugins/security/public/plugin.tsx

* node scripts/check_published_api_changes.js --accept
2022-04-07 08:11:13 -07:00
Pierre Gayvallet
1f756dc166
[7.17] Allow nested declaration for exposeToBrowser (#128864) (#128927)
* Allow nested declaration for `exposeToBrowser` (#128864)

* Allow nested declaration for `exposeToBrowser`

* update generated doc

* add utest

(cherry picked from commit dd0a19033f)

# Conflicts:
#	src/core/server/plugins/plugins_service.ts
#	src/core/server/server.api.md

* update generated odc
2022-03-30 10:42:53 -07:00
Christiane (Tina) Heiligers
3148a1dd11
Appends the saved objects documents count to the CoreUsageData service (#124308) (#124563)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit ad7c8de75a)

# Conflicts:
#	docs/development/core/server/kibana-plugin-core-server.md
#	docs/development/core/server/kibana-plugin-core-server.mergesavedobjectmigrationmaps.md
2022-02-03 12:19:44 -07:00
Alison Goryachev
da12a45ec7
[Upgrade Assistant] Update upgrade guide doc links (#123953) 2022-01-27 17:49:07 -05:00
Sébastien Loix
2f3d47f1cc
[7.16] [Mappings editor] Add support for the _size parameter (#119365) (#120742)
* [Mappings editor] Add support for the _size parameter (#119365)

# Conflicts:
#	x-pack/plugins/index_management/public/application/components/mappings_editor/components/load_mappings/load_mappings_provider.tsx
#	x-pack/plugins/index_management/public/application/components/mappings_editor/mappings_editor.tsx
#	x-pack/plugins/index_management/public/application/services/api.ts

* Fix import to @kbn/i18n/react

* Fix linting issue

* Fix constant rename
2021-12-08 12:23:36 -07:00
Mark Hopkin
5d0cdd4a8e
[Fleet] Revert "Add link to integration data retention documentation (#115353)" (#119015) (#119438)
* Revert "[Fleet] Add link to integration data retention documentation (#115353)"

This reverts commit a266b2d426.

* remove unused translations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	docs/development/core/public/kibana-plugin-core-public.doclinksstart.md
2021-11-23 05:04:08 -07:00
Tiago Costa
68bf460764
chore(NA): upgrades @microsoft-api-* deps to most recent version (#118382) (#118449)
* chore(NA): upgrades @microsoft-api-* deps to most recent version

* chore(NA): update docs

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	docs/development/core/public/kibana-plugin-core-public.appnavoptions.md
#	docs/development/core/public/kibana-plugin-core-public.doclinksstart.md
#	docs/development/core/public/kibana-plugin-core-public.httpsetup.md
#	docs/development/core/public/kibana-plugin-core-public.ihttpfetcherror.md
#	docs/development/core/public/kibana-plugin-core-public.overlayflyoutopenoptions.md
#	docs/development/core/public/kibana-plugin-core-public.responseerrorbody.md
#	docs/development/core/server/kibana-plugin-core-server.cspconfig.md
#	docs/development/core/server/kibana-plugin-core-server.elasticsearcherrordetails.md
#	docs/development/core/server/kibana-plugin-core-server.icspconfig.md
#	docs/development/core/server/kibana-plugin-core-server.savedobjectsservicesetup.md
#	package.json
#	src/core/public/public.api.md
#	src/core/server/server.api.md
2021-11-11 22:35:31 -05:00
Kibana Machine
7ca4a3a666
[7.16] [Fleet] Show callout when EPR unavailable (#117598) (#118082)
* [Fleet] Show callout when EPR unavailable (#117598)

* Update src/core/public/doc_links/doc_links_service.ts

Co-authored-by: Thomas Neirynck <thomas@elastic.co>
2021-11-10 16:17:37 -05:00
Kibana Machine
8c18684be4
[Security Solution] show correct failed transform on failed transform banner (#117608) (#117739)
Co-authored-by: Joey F. Poon <joey.poon@elastic.co>
2021-11-08 17:45:03 +00:00
Tyler Smalley
fe908bae95
Updates Github link references from master to main (#116789) (#116792)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
# Conflicts:
#	.github/ISSUE_TEMPLATE/v8_breaking_change.md
#	.github/PULL_REQUEST_TEMPLATE.md
#	dev_docs/contributing/best_practices.mdx
#	dev_docs/key_concepts/anatomy_of_a_plugin.mdx
#	docs/developer/contributing/interpreting-ci-failures.asciidoc
#	examples/routing_example/public/app.tsx
#	legacy_rfcs/text/0005_route_handler.md
#	legacy_rfcs/text/0006_management_section_service.md
#	legacy_rfcs/text/0015_bazel.md
#	packages/kbn-spec-to-console/README.md
#	src/dev/code_coverage/docs/team_assignment/README.md
#	src/plugins/embeddable/README.asciidoc
2021-10-29 10:08:30 -07:00
Kibana Machine
938ae8af15
[Fleet] Add missing documentation link on integrations page (#116453) (#116601)
* add missing doc link

* node scripts/check_published_api_changes.js --accept

Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
2021-10-28 15:07:54 +01:00
Kibana Machine
6d5f595003
[Fleet] Add link to integration data retention documentation (#115353) (#116198)
* add ILM policy help text

* update API docs

* change link

* regen api docs

Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
2021-10-25 22:31:06 +01:00
CJ Cenizal
4c86ad27d9
Refine Upgrade Assistant copy. (#115472) 2021-10-19 21:31:33 -07:00
Mike Côté
20742a8720
Remove TLS requirement for alerting when security is enabled (#115234) (#115622)
* Initial commit

* Fix CI failures

* Fix test label

* Update messages

* Cleanup translations

* Fix type check

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	docs/user/alerting/alerting-setup.asciidoc
2021-10-19 16:49:36 -04:00
Yulia Čech
1151c85e70
[Upgrade Assistant] Swapped reindexing flyouts order (#115046)
* [Upgrade Assistant] Changed reindexing steps order, replaced a warning callout with a text element

* [Upgrade Assistant] Fixed reindex flyout test and changed warning callout from danger color to warning color

* [Upgrade Assistant] Fixed the correct status to show warnings

* [Upgrade Assistant] Fixed i18n strings

* [Upgrade Assistant] Moved reindex with warnings logic into a function

* [Upgrade Assistant] Updated reindex flyout copy

* [Upgrade Assistant] Also added a trailing period to the reindex step 3

* [Upgrade Assistant] Fixed i18n strings and step 3 wording

* [Upgrade Assistant] Added docs changes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-19 16:20:08 -04:00
DeDe Morton
f1467bd563
Update UI links to Fleet and Agent docs (#115295) (#115587)
* Update UI links to Fleet and Agent docs

* Update link service

* Fix merge problem

* Update link service

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-19 13:43:40 -04:00
Pierre Gayvallet
26b5ef8e35
[7.x] Add deprecation.skip_deprecated_settings config setting (#114751) (#115164)
* Add `deprecation.skip_deprecated_settings` config setting (#114751)

* Add `deprecation.skip_deprecated_settings` config setting

* fix deprecation from service

* fix existing config deprecations

* fix kbn-config unit tests

* adapt deprecation types

* fix more deprecations

* add filtering and adapt unit tests

* add service unit tests

* update generated doc

* fix telemetry unit tests

* address review comments

* add missing deprecation titles
# Conflicts:
#	src/core/server/elasticsearch/elasticsearch_config.ts
#	x-pack/plugins/maps/server/index.ts
#	x-pack/plugins/spaces/server/config.ts

* add configPath for core deprecations

* add configPath for csp deprecation

* add configPath for kibana.defaultAppId deprecation

* add configPath for plugins deprecations

* fix test deprecation
2021-10-15 09:54:52 -04:00
Thomas Neirynck
328b69daf9
[fleet] Tweak Header UI (#114704) (#115079)
Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
2021-10-14 17:02:16 -04:00
Kibana Machine
01a13a22cc
[fleet][integrations] Provide Deployment Details on Cloud (#114287) (#114877)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
2021-10-13 16:25:46 -04:00
Candace Park
e7cb806f59
[7.x] [Security Solution][Endpoint][TA] Trusted Apps license downgrade experience (#113048) (#114715)
* [Security Solution][Endpoint][TA] Trusted Apps license downgrade experience (#113048)

# Conflicts:
#	docs/development/core/public/kibana-plugin-core-public.doclinksstart.md
#	x-pack/plugins/security_solution/public/common/components/user_privileges/use_endpoint_privileges.test.ts

* remove duplicate import
2021-10-13 14:26:53 -04:00
Kibana Machine
460d2410c1
[Security Solution][Detections] Updates Indexing/Query Time columns in Rule Monitoring table to be SUM instead of MAX (#114023) (#114380)
## Summary

Updates the `Indexing Time` & `Query Time` columns in the `Rule Monitoring` table to be `SUM` instead of `MAX`, thus showing the total duration of indexing/querying phases within a Rule's execution rather than just the phase that took the longest. Also adds tooltips to columns for better understanding these metrics.

~Note: Wanted to add a link to documentation for `Last Gap` column, but cannot add links within `EuiToolTip` and didn't want to mis-align design of other column tooltips by introducing a popover. @elastic/security-design please advise on desired action or copy changes here -- thanks!~ 🙂 

Update: As guided by design, changed `Last Gap` tooltip to be `EuiPopover` and added link to docs.

##### Indexing Time:
<p align="center">
  <img width="700" src="https://user-images.githubusercontent.com/2946766/136475361-cedd7c6a-6a0e-4a86-8467-c929aed0f16e.png" />
</p>


##### Query Time:
<p align="center">
  <img width="700" src="https://user-images.githubusercontent.com/2946766/136475378-1228dfcf-a921-4c0e-8f1e-7594e9c220d4.png" />
</p>

##### Last Gap:
<p align="center">
  <img width="700" src="https://user-images.githubusercontent.com/2946766/136475412-b54f2419-ced8-43d8-8643-09c8e2cacc44.png" />
</p>



### Checklist

Delete any items that are not applicable to this PR.

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

Co-authored-by: Garrett Spong <spong@users.noreply.github.com>
2021-10-13 13:53:55 +00:00
Kibana Machine
f6e5093c45
[Core][Deprecations] omit deprecationDetails if needed it in the reques (#114399) (#114574)
* omit deprecationDetails if needed it

* review I

* doc update

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
2021-10-11 20:58:01 -04:00
Joe Portner
7053f5b16b
Legacy url conflict UI improvements (#114172) (#114382)
# Conflicts:
#	docs/development/core/public/kibana-plugin-core-public.doclinksstart.md

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-09 18:50:51 -04:00
Kibana Machine
c854dfdbf8
[Fleet] Add installed integration callouts (#113893) (#114409)
Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Thomas Neirynck <thomas@elastic.co>
Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>
2021-10-09 05:15:04 -04:00
Lisa Cawley
1e8f59a88c
[7.x] Add client URLs to documentation link service (#114047) 2021-10-06 15:45:06 -04:00
Pierre Gayvallet
7693195341
[7.x] Expose current branch and version to config deprecation providers (#113600) (#114067)
* Expose current `branch` and `version` to config deprecation providers (#113600)

* Expose deprecation context to config deprecations

* fix import

* add correct doc annotations

* fix another test file

* update generated doc

* fix yet another test file

* fix more types

* add proper mock

* fix import

* lint ?

* restore changes to files removed in master
2021-10-06 08:06:17 -04:00
Pierre Gayvallet
102822f4fd
[7.x] add SavedObjectType.management.displayName (#113091) (#113249)
* add `SavedObjectType.management.displayName` (#113091)

* add `SavedObjectType.management.displayName`

* fix unit tests

* add FTR test

* update generated doc

* also update labels

* fix unit tests
# Conflicts:
#	src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.test.tsx
#	src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx
#	src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.test.tsx
#	src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx
#	src/plugins/saved_objects_management/public/management_section/saved_objects_table_page.tsx

* fix types

* fix allowedTypes usage

* fix unit tests
2021-09-28 16:03:09 -04:00
Yulia Čech
a85f7a5361
[Upgrade Assistant] Batch reindex docs (#112960)
* [UA] Added batch reindexing docs link to the ES deprecations page. Added a link from "batch reindexing" docs page to "start or resume reindex" docs page and from there to ES reindexing docs page. Also renamed "reindexing operation" to "reindexing task" for consistency.

* [Upgrade Assistant] Added docs build files

* Update x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/es_deprecations.tsx

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

* Update x-pack/plugins/upgrade_assistant/public/application/components/es_deprecations/es_deprecations.tsx

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

* [Upgrade Assistant] Added review suggestions and fixed eslint issues

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-28 10:26:49 +02:00
Kibana Machine
2937c7d2c3
[SOM] Add visibleInManagement option to management metadata (#112073) (#112639)
* implement SavedObjectsTypeManagementDefinition.visibleInManagement

* update generated doc

* improve FTR tests

* fix FTR test

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@gmail.com>
2021-09-21 07:51:22 -04:00
Tyler Smalley
c16480e849
[7.x][DX] Upgrade prettier to v2.4.0 (#112359) (#112524)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-19 22:34:46 -07:00
Kibana Machine
b34f98695a
[7.x] Add SavedObjectsClient.bulkResolve (#112025) (#112486)
* Add SavedObjectsClient.bulkResolve (#112025)

* Fix type error

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-09-16 23:54:56 +00:00
Kibana Machine
28b32b0aa1
[core.metrics] Add support for multiple processes in ops metrics & stats API; deprecate process field (#109820) (#112108)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Ahmad Bamieh <ahmadbamieh@gmail.com>
2021-09-14 12:13:17 -04:00
Uladzislau Lasitsa
7c49a2d7b7
[7.x] Timelion App removal (#110255) (#111851)
* Timelion App removal (#110255)

* Remove timelion app and stuff which related to it

* Fix CI

* Fix lint

* Fix tests

* Fix tests

* Fis tests

* Fix some comments

* Clean up

* fix CI

* fix some comments

* Fix deprecation examples

* Return `enabled` property in config for timelion vis

* Remove unused angular lib

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>

* Fix CI

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-09-10 15:57:40 -04:00
Lisa Cawley
5b88ab7661
Replace hard-coded links in infra alerting (#111072) (#111786) 2021-09-09 16:37:56 -04:00
Lisa Cawley
56cb2fdd36
[7.x] Replace hard-coded doc links in uptime #111075 (#111576) 2021-09-08 12:57:33 -07:00
Kibana Machine
43d55d95dd
add hasHeaderBanner$ API to chrome (#111248) (#111391)
* add hasHeaderBanner$ API to chrome

* update generated doc

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@gmail.com>
2021-09-07 12:15:29 -04:00
István Zoltán Szabó
e7aef42036
[APM] Uses doc link service instead of ElasticDocsLink for linking custom links (#111149) (#111334) 2021-09-07 07:28:42 -04:00
István Zoltán Szabó
c9e42c92ea
[APM] Uses doc link service instead of ElasticDocsLink for linking dropped transaction spans (#110964) (#111315) 2021-09-07 04:50:39 -04:00
István Zoltán Szabó
2cace2f7ec
[APM] Uses doc link service instead of ElasticDocsLink for linking upgrading info (#111155) (#111293) 2021-09-06 13:35:12 -04:00
István Zoltán Szabó
17d06c8a07
[APM] Uses doc link service instead of ElasticDocsLink for linking metadata (#110992) (#111282) 2021-09-06 11:15:17 -04:00
Lisa Cawley
7b30aec2e2
[APM] Use doc link service instead of ElasticDocsLink (#109027) (#110873) 2021-09-01 17:37:05 -04:00
Ahmad Bamieh
f85a7b9e7e
[7.x] [Core deprecations] Add title field to deprecation info (#109840) (#110776)
* merge conflicts

* fix snapshot
2021-09-01 12:06:21 -04:00
Sergi Massaneda
9e6a2821c9
[7.x] [RAC] Remove rbac on security solution side (#110472) (#110765)
* [RAC] Remove rbac on security solution side (#110472)

* wip to remove rbac

* Revert "[Cases] Include rule registry client for updating alert statuses (#108588)"

This reverts commit 1fd7038b34.

This leaves the rule registry mock changes

* remove rbac on Trend/Count alert

* update detection api for status

* remove @kbn-alerts packages

* fix leftover

* Switching cases to leverage update by query for alert status

* Adding missed files

* fix bad logic

* updating tests for use_alerts_privileges

* remove index alias/fields

* fix types

* fix plugin to get the right index names

* left over of alis on template

* forget to use current user for create/read route index

* updated alerts page to not show table when no privileges and updates to tests

* fix bug when switching between o11y and security solution

* updates tests and move to use privileges page when user tries to access alerts without proper access

* updating jest tests

* pairing with yara

* bring back kbn-alerts after discussion with the team

* fix types

* fix index field for o11y

* fix bug with updating index priv state

* fix i18n issue and update api docs

* fix refresh on alerts

* fix render view on alerts

* updating tests and checking for null in alerts page to not show no privileges page before load

* fix details rules

Co-authored-by: Jonathan Buttner <jonathan.buttner@elastic.co>
Co-authored-by: Yara Tercero <yara.tercero@elastic.co>
# Conflicts:
#	x-pack/plugins/security_solution/cypress/integration/detection_alerts/alerts_details.spec.ts

* skip test

Co-authored-by: Xavier Mouligneau <189600+XavierM@users.noreply.github.com>
2021-09-01 10:31:01 -04:00
Stacey Gammon
e7dbd91d3d
[7.x] Make owner attribute required on kibana.json (#108231) (#110215)
* Make owner attribute required on kibana.json (#108231)

* make owner attribute required

* Add owner properties in more places

* add test for owner attribute

* add error check too in the test

* Fix tests

* fix tests and update docs

* wip

* More test fixes

* Fix All The Errorz

* Adding more owner attributes

* Update x-pack/test/saved_object_api_integration/common/fixtures/saved_object_test_plugin/kibana.json

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

* Update x-pack/test/ui_capabilities/common/fixtures/plugins/foo_plugin/kibana.json

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

* commeeeooonnnn

* Update docs

* soooo many kibanajsons

* adjust plugin generator to add an owner

* Add owner to the plugin generator scripts

* update snapshot

* Fix snapshot

* review updates

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	dev_docs/tutorials/building_a_plugin.mdx
#	src/dev/code_coverage/ingest_coverage/integration_tests/fixtures/test_plugin/kibana.json
#	test/common/fixtures/plugins/coverage/kibana.json

* Update kibana.json

Add owner attribute

* Remove this json file. It was deleted.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 16:19:52 -04:00
Matthew Kime
3d3cb0c46f
Turn off api changes for app services and remove legacy docs for App Services plugins (#109927) (#110378)
* Turn off legacy docs build script for app services plugins

* Remove legacy docs

* remove all *.api.md (minus core)

Co-authored-by: Stacey Gammon <gammon@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-27 11:54:23 -04:00
Kibana Machine
247f6102b2
bulkGet saved objects across spaces (#109967) (#110270)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2021-08-26 13:56:29 -04:00