mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
SKA: Follow-up relocations (#209477)
## Summary * Categorise and move `@kbn/timelines-plugin` as _platform/shared_, target location: `x-pack/platform/plugins/shared/timelines`. This helps reduce the scope of the illegal dependencies from `osquery` plugin towards _security/private_ code. cc @tomsonpl * Simplify path and rename `@kbn/observability-alerting-rule-utils` (platform/shared): ``` # Before @kbn/observability-alerting-rule-utils x-pack/platform/packages/shared/observability/alerting_rule_utils/ # After @kbn/alerting-rule-utils x-pack/platform/packages/shared/alerting_rule_utils/ ``` * Simplify path and rename `@kbn/observability-logs-overview` (platform/shared): ``` # Before @kbn/observability-logs-overview x-pack/platform/packages/shared/observability/logs_overview/ # After @kbn/logs-overview x-pack/platform/packages/shared/logs_overview/ ``` --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
906910c737
commit
7b1c74a7a8
229 changed files with 79 additions and 78 deletions
|
@ -261,7 +261,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
|
|||
/^x-pack\/solutions\/security\/plugins\/security_solution_ess/,
|
||||
/^x-pack\/solutions\/security\/plugins\/security_solution_serverless/,
|
||||
/^x-pack\/platform\/plugins\/shared\/task_manager/,
|
||||
/^x-pack\/solutions\/security\/plugins\/timelines/,
|
||||
/^x-pack\/platform\/plugins\/shared\/timelines/,
|
||||
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/public\/application\/sections\/action_connector_form/,
|
||||
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/public\/application\/context\/actions_connectors_context\.tsx/,
|
||||
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui\/server\/connector_types\/openai/,
|
||||
|
@ -347,7 +347,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
|
|||
/^x-pack\/solutions\/security\/plugins\/security_solution_serverless/,
|
||||
/^x-pack\/platform\/plugins\/shared\/task_manager/,
|
||||
/^x-pack\/solutions\/security\/plugins\/threat_intelligence/,
|
||||
/^x-pack\/solutions\/security\/plugins\/timelines/,
|
||||
/^x-pack\/platform\/plugins\/shared\/timelines/,
|
||||
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui/,
|
||||
/^x-pack\/platform\/plugins\/shared\/usage_collection\/public/,
|
||||
/^x-pack\/test\/functional\/es_archives\/security_solution/,
|
||||
|
|
18
.eslintrc.js
18
.eslintrc.js
|
@ -1117,8 +1117,8 @@ module.exports = {
|
|||
'x-pack/solutions/security/plugins/security_solution/common/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/security_solution_ess/common/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/security_solution_serverless/common/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/timelines/public/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/timelines/common/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/timelines/public/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/timelines/common/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/cases/public/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/cases/common/**/*.{js,mjs,ts,tsx}',
|
||||
'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}',
|
||||
|
@ -1152,7 +1152,7 @@ module.exports = {
|
|||
'x-pack/solutions/security/plugins/security_solution/**/*.{ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/security_solution_ess/**/*.{ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/timelines/**/*.{ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/timelines/**/*.{ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/cases/**/*.{ts,tsx}',
|
||||
'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}',
|
||||
],
|
||||
|
@ -1167,7 +1167,7 @@ module.exports = {
|
|||
'x-pack/solutions/security/plugins/security_solution/**/*.{test,mock,test_helper}.{ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/security_solution_ess/**/*.{test,mock,test_helper}.{ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{test,mock,test_helper}.{ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/timelines/**/*.{test,mock,test_helper}.{ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/timelines/**/*.{test,mock,test_helper}.{ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/cases/**/*.{test,mock,test_helper}.{ts,tsx}',
|
||||
'src/platform/packages/shared/kbn-cell-actions/**/*.{test,mock,test_helper}.{ts,tsx}',
|
||||
],
|
||||
|
@ -1188,7 +1188,7 @@ module.exports = {
|
|||
'x-pack/solutions/security/plugins/security_solution/**/*.{ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/security_solution_ess/**/*.{ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/timelines/**/*.{ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/timelines/**/*.{ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/cases/**/*.{ts,tsx}',
|
||||
'src/platform/packages/shared/kbn-cell-actions/**/*.{ts,tsx}',
|
||||
],
|
||||
|
@ -1222,7 +1222,7 @@ module.exports = {
|
|||
'x-pack/solutions/security/plugins/security_solution/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/security_solution_ess/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/security_solution_serverless/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/timelines/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/timelines/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/platform/plugins/shared/cases/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/security/packages/data-stream-adapter/**/*.{js,mjs,ts,tsx}',
|
||||
'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}',
|
||||
|
@ -2030,10 +2030,10 @@ module.exports = {
|
|||
'src/cli_setup/**', // is importing "@kbn/interactive-setup-plugin" (platform/private)
|
||||
'src/dev/build/tasks/install_chromium.ts', // is importing "@kbn/screenshotting-plugin" (platform/private)
|
||||
|
||||
// FIXME @kbn/osquery-plugin has dependencies on:
|
||||
// - @kbn/timelines-plugin (security/private) https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/osquery/public/types.ts#L20
|
||||
// - @kbn/security-solution-plugin (security/private) this one is “less critical” as it is cypress depending on cypress
|
||||
// FIXME tomsonpl @kbn/osquery-plugin depends on @kbn/security-solution-plugin (security/private) (cypress code => cypress code)
|
||||
'x-pack/platform/plugins/shared/osquery/**',
|
||||
// FIXME PhilippeOberti @kbn/timelines-plugin depends on security-solution-plugin (security/private) (timelines is going to disappear)
|
||||
'x-pack/platform/plugins/shared/timelines/**',
|
||||
|
||||
// For now, we keep the exception to let tests depend on anythying.
|
||||
// Ideally, we need to classify the solution specific ones to reduce CI times
|
||||
|
|
6
.github/CODEOWNERS
vendored
6
.github/CODEOWNERS
vendored
|
@ -801,6 +801,7 @@ x-pack/platform/packages/shared/ai-assistant/icon @elastic/appex-sharedux
|
|||
x-pack/platform/packages/shared/ai-infra/inference-common @elastic/appex-ai-infra
|
||||
x-pack/platform/packages/shared/ai-infra/inference-langchain @elastic/appex-ai-infra
|
||||
x-pack/platform/packages/shared/ai-infra/product-doc-common @elastic/appex-ai-infra
|
||||
x-pack/platform/packages/shared/alerting_rule_utils @elastic/obs-ux-management-team
|
||||
x-pack/platform/packages/shared/file-upload-common @elastic/ml-ui
|
||||
x-pack/platform/packages/shared/index-lifecycle-management/index_lifecycle_management_common_shared @elastic/kibana-management
|
||||
x-pack/platform/packages/shared/index-management/index_management_shared_types @elastic/kibana-management
|
||||
|
@ -817,6 +818,7 @@ x-pack/platform/packages/shared/kbn-inference-endpoint-ui-common @elastic/respon
|
|||
x-pack/platform/packages/shared/kbn-key-value-metadata-table @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team
|
||||
x-pack/platform/packages/shared/kbn-langchain @elastic/security-generative-ai
|
||||
x-pack/platform/packages/shared/kbn-slo-schema @elastic/obs-ux-management-team
|
||||
x-pack/platform/packages/shared/logs_overview @elastic/obs-ux-logs-team
|
||||
x-pack/platform/packages/shared/ml/aiops_common @elastic/ml-ui
|
||||
x-pack/platform/packages/shared/ml/aiops_log_pattern_analysis @elastic/ml-ui
|
||||
x-pack/platform/packages/shared/ml/aiops_log_rate_analysis @elastic/ml-ui
|
||||
|
@ -827,8 +829,6 @@ x-pack/platform/packages/shared/ml/random_sampler_utils @elastic/ml-ui
|
|||
x-pack/platform/packages/shared/ml/response_stream @elastic/ml-ui
|
||||
x-pack/platform/packages/shared/ml/runtime_field_utils @elastic/ml-ui
|
||||
x-pack/platform/packages/shared/ml/trained_models_utils @elastic/ml-ui
|
||||
x-pack/platform/packages/shared/observability/alerting_rule_utils @elastic/obs-ux-management-team
|
||||
x-pack/platform/packages/shared/observability/logs_overview @elastic/obs-ux-logs-team
|
||||
x-pack/platform/packages/shared/security/api_key_management @elastic/kibana-security
|
||||
x-pack/platform/packages/shared/security/form_components @elastic/kibana-security
|
||||
x-pack/platform/packages/shared/security/plugin_types_common @elastic/kibana-security
|
||||
|
@ -911,6 +911,7 @@ x-pack/platform/plugins/shared/spaces @elastic/kibana-security
|
|||
x-pack/platform/plugins/shared/stack_alerts @elastic/response-ops
|
||||
x-pack/platform/plugins/shared/stack_connectors @elastic/response-ops
|
||||
x-pack/platform/plugins/shared/task_manager @elastic/response-ops
|
||||
x-pack/platform/plugins/shared/timelines @elastic/security-threat-hunting-investigations
|
||||
x-pack/platform/plugins/shared/triggers_actions_ui @elastic/response-ops
|
||||
x-pack/solutions/observability/packages/alert_details @elastic/obs-ux-management-team
|
||||
x-pack/solutions/observability/packages/alerting_test_data @elastic/obs-ux-management-team
|
||||
|
@ -1009,7 +1010,6 @@ x-pack/solutions/security/plugins/security_solution_ess @elastic/security-soluti
|
|||
x-pack/solutions/security/plugins/security_solution_serverless @elastic/security-solution
|
||||
x-pack/solutions/security/plugins/session_view @elastic/kibana-cloud-security-posture
|
||||
x-pack/solutions/security/plugins/threat_intelligence @elastic/security-threat-hunting-investigations
|
||||
x-pack/solutions/security/plugins/timelines @elastic/security-threat-hunting-investigations
|
||||
x-pack/test
|
||||
x-pack/test_serverless
|
||||
x-pack/test/alerting_api_integration/common/plugins/aad @elastic/response-ops
|
||||
|
|
|
@ -939,7 +939,7 @@ in their infrastructure.
|
|||
|Elastic Threat Intelligence makes it easy to analyze and investigate potential security threats by aggregating data from multiple sources in one place. You’ll be able to view data from all activated threat intelligence feeds and take action.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/solutions/security/plugins/timelines/README.md[timelines]
|
||||
|{kib-repo}blob/{branch}/x-pack/platform/plugins/shared/timelines/README.md[timelines]
|
||||
|Timelines is a plugin that provides a grid component with accompanying server side apis to help users identify events of interest and perform root cause analysis within Kibana.
|
||||
|
||||
|
||||
|
|
|
@ -174,6 +174,7 @@
|
|||
"@kbn/alerting-example-plugin": "link:x-pack/examples/alerting_example",
|
||||
"@kbn/alerting-fixture-plugin": "link:x-pack/test/functional_with_es_ssl/plugins/alerts",
|
||||
"@kbn/alerting-plugin": "link:x-pack/platform/plugins/shared/alerting",
|
||||
"@kbn/alerting-rule-utils": "link:x-pack/platform/packages/shared/alerting_rule_utils",
|
||||
"@kbn/alerting-state-types": "link:x-pack/platform/packages/private/kbn-alerting-state-types",
|
||||
"@kbn/alerting-types": "link:src/platform/packages/shared/kbn-alerting-types",
|
||||
"@kbn/alerts-as-data-utils": "link:src/platform/packages/shared/kbn-alerts-as-data-utils",
|
||||
|
@ -629,6 +630,7 @@
|
|||
"@kbn/logging-mocks": "link:src/platform/packages/shared/kbn-logging-mocks",
|
||||
"@kbn/logs-data-access-plugin": "link:x-pack/platform/plugins/shared/logs_data_access",
|
||||
"@kbn/logs-explorer-plugin": "link:x-pack/solutions/observability/plugins/logs_explorer",
|
||||
"@kbn/logs-overview": "link:x-pack/platform/packages/shared/logs_overview",
|
||||
"@kbn/logs-shared-plugin": "link:x-pack/platform/plugins/shared/logs_shared",
|
||||
"@kbn/logstash-plugin": "link:x-pack/platform/plugins/private/logstash",
|
||||
"@kbn/managed-content-badge": "link:src/platform/packages/private/kbn-managed-content-badge",
|
||||
|
@ -700,12 +702,10 @@
|
|||
"@kbn/observability-ai-common": "link:x-pack/solutions/observability/packages/observability_ai/observability_ai_common",
|
||||
"@kbn/observability-ai-server": "link:x-pack/solutions/observability/packages/observability_ai/observability_ai_server",
|
||||
"@kbn/observability-alert-details": "link:x-pack/solutions/observability/packages/alert_details",
|
||||
"@kbn/observability-alerting-rule-utils": "link:x-pack/platform/packages/shared/observability/alerting_rule_utils",
|
||||
"@kbn/observability-alerting-test-data": "link:x-pack/solutions/observability/packages/alerting_test_data",
|
||||
"@kbn/observability-fixtures-plugin": "link:x-pack/test/cases_api_integration/common/plugins/observability",
|
||||
"@kbn/observability-get-padded-alert-time-range-util": "link:x-pack/solutions/observability/packages/get_padded_alert_time_range_util",
|
||||
"@kbn/observability-logs-explorer-plugin": "link:x-pack/solutions/observability/plugins/observability_logs_explorer",
|
||||
"@kbn/observability-logs-overview": "link:x-pack/platform/packages/shared/observability/logs_overview",
|
||||
"@kbn/observability-onboarding-plugin": "link:x-pack/solutions/observability/plugins/observability_onboarding",
|
||||
"@kbn/observability-plugin": "link:x-pack/solutions/observability/plugins/observability",
|
||||
"@kbn/observability-shared-plugin": "link:x-pack/solutions/observability/plugins/observability_shared",
|
||||
|
@ -946,7 +946,7 @@
|
|||
"@kbn/third-party-lens-navigation-prompt-plugin": "link:x-pack/examples/third_party_lens_navigation_prompt",
|
||||
"@kbn/third-party-vis-lens-example-plugin": "link:x-pack/examples/third_party_vis_lens_example",
|
||||
"@kbn/threat-intelligence-plugin": "link:x-pack/solutions/security/plugins/threat_intelligence",
|
||||
"@kbn/timelines-plugin": "link:x-pack/solutions/security/plugins/timelines",
|
||||
"@kbn/timelines-plugin": "link:x-pack/platform/plugins/shared/timelines",
|
||||
"@kbn/timelion-grammar": "link:src/platform/packages/private/kbn-timelion-grammar",
|
||||
"@kbn/timerange": "link:src/platform/packages/shared/kbn-timerange",
|
||||
"@kbn/tinymath": "link:src/platform/packages/private/kbn-tinymath",
|
||||
|
|
|
@ -100,6 +100,7 @@ module.exports = {
|
|||
/x-pack[\/\\]platform[\/\\]plugins[\/\\]shared[\/\\]fleet[\/\\]public[\/\\]components[\/\\]manage_agent_policies_modal.tsx/,
|
||||
/x-pack[\/\\]platform[\/\\]plugins[\/\\]shared[\/\\]fleet[\/\\]public[\/\\]components[\/\\]package_icon.tsx/,
|
||||
/x-pack[\/\\]platform[\/\\]plugins[\/\\]shared[\/\\]fleet[\/\\]public[\/\\]layouts[\/\\]without_header.tsx/,
|
||||
/x-pack[\/\\]platform[\/\\]plugins[\/\\]shared[\/\\]timelines[\/\\]public[\/\\]mock[\/\\]test_providers.tsx/,
|
||||
/x-pack[\/\\]platform[\/\\]plugins[\/\\]shared[\/\\]triggers_actions_ui[\/\\]public[\/\\]application[\/\\]sections[\/\\]actions_connectors_list[\/\\]components[\/\\]actions_connectors_list.test.tsx/,
|
||||
/x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]observability[\/\\]public[\/\\]pages[\/\\]overview[\/\\]components[\/\\]news_feed[\/\\]news_feed.tsx/,
|
||||
/x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]observability[\/\\]public[\/\\]pages[\/\\]overview[\/\\]components[\/\\]sections[\/\\]apm[\/\\]apm_section.tsx/,
|
||||
|
@ -514,7 +515,6 @@ module.exports = {
|
|||
/x-pack[\/\\]solutions[\/\\]security[\/\\]plugins[\/\\]security_solution[\/\\]public[\/\\]timelines[\/\\]components[\/\\]timeline[\/\\]unified_components[\/\\]data_table[\/\\]custom_timeline_data_grid_body.tsx/,
|
||||
/x-pack[\/\\]solutions[\/\\]security[\/\\]plugins[\/\\]security_solution[\/\\]public[\/\\]timelines[\/\\]components[\/\\]timeline[\/\\]unified_components[\/\\]index.tsx/,
|
||||
/x-pack[\/\\]solutions[\/\\]security[\/\\]plugins[\/\\]security_solution[\/\\]public[\/\\]timelines[\/\\]components[\/\\]timeline[\/\\]unified_components[\/\\]styles.tsx/,
|
||||
/x-pack[\/\\]solutions[\/\\]security[\/\\]plugins[\/\\]timelines[\/\\]public[\/\\]mock[\/\\]test_providers.tsx/,
|
||||
/x-pack[\/\\]test[\/\\]plugin_functional[\/\\]plugins[\/\\]resolver_test[\/\\]public[\/\\]applications[\/\\]resolver_test[\/\\]index.tsx/,
|
||||
/src[\/\\]platform[\/\\]packages[\/\\]shared[\/\\]react[\/\\]kibana_context[\/\\]styled[\/\\]styled_provider.tsx/,
|
||||
/src[\/\\]platform[\/\\]plugins[\/\\]shared[\/\\]custom_integrations[\/\\]public[\/\\]components[\/\\]fleet_integration[\/\\]elasticsearch_dotnet[\/\\]elasticsearch_dotnet_readme.tsx/,
|
||||
|
|
|
@ -11,6 +11,7 @@ import type { Package } from '../types';
|
|||
|
||||
type TransformFunction = (param: string) => string;
|
||||
const TRANSFORMS: Record<string, string | TransformFunction> = {
|
||||
'x-pack/platform/packages/shared/observability/': 'x-pack/platform/packages/shared/',
|
||||
'src/platform/packages/shared/chart_expressions/common':
|
||||
'src/platform/packages/shared/chart-expressions-common',
|
||||
'x-pack/solutions/search/packages/shared_ui': 'x-pack/solutions/search/packages/shared_ui',
|
||||
|
|
|
@ -48,6 +48,8 @@
|
|||
"@kbn/alerting-fixture-plugin/*": ["x-pack/test/functional_with_es_ssl/plugins/alerts/*"],
|
||||
"@kbn/alerting-plugin": ["x-pack/platform/plugins/shared/alerting"],
|
||||
"@kbn/alerting-plugin/*": ["x-pack/platform/plugins/shared/alerting/*"],
|
||||
"@kbn/alerting-rule-utils": ["x-pack/platform/packages/shared/alerting_rule_utils"],
|
||||
"@kbn/alerting-rule-utils/*": ["x-pack/platform/packages/shared/alerting_rule_utils/*"],
|
||||
"@kbn/alerting-state-types": ["x-pack/platform/packages/private/kbn-alerting-state-types"],
|
||||
"@kbn/alerting-state-types/*": ["x-pack/platform/packages/private/kbn-alerting-state-types/*"],
|
||||
"@kbn/alerting-types": ["src/platform/packages/shared/kbn-alerting-types"],
|
||||
|
@ -1188,6 +1190,8 @@
|
|||
"@kbn/logs-data-access-plugin/*": ["x-pack/platform/plugins/shared/logs_data_access/*"],
|
||||
"@kbn/logs-explorer-plugin": ["x-pack/solutions/observability/plugins/logs_explorer"],
|
||||
"@kbn/logs-explorer-plugin/*": ["x-pack/solutions/observability/plugins/logs_explorer/*"],
|
||||
"@kbn/logs-overview": ["x-pack/platform/packages/shared/logs_overview"],
|
||||
"@kbn/logs-overview/*": ["x-pack/platform/packages/shared/logs_overview/*"],
|
||||
"@kbn/logs-shared-plugin": ["x-pack/platform/plugins/shared/logs_shared"],
|
||||
"@kbn/logs-shared-plugin/*": ["x-pack/platform/plugins/shared/logs_shared/*"],
|
||||
"@kbn/logstash-plugin": ["x-pack/platform/plugins/private/logstash"],
|
||||
|
@ -1342,8 +1346,6 @@
|
|||
"@kbn/observability-ai-server/*": ["x-pack/solutions/observability/packages/observability_ai/observability_ai_server/*"],
|
||||
"@kbn/observability-alert-details": ["x-pack/solutions/observability/packages/alert_details"],
|
||||
"@kbn/observability-alert-details/*": ["x-pack/solutions/observability/packages/alert_details/*"],
|
||||
"@kbn/observability-alerting-rule-utils": ["x-pack/platform/packages/shared/observability/alerting_rule_utils"],
|
||||
"@kbn/observability-alerting-rule-utils/*": ["x-pack/platform/packages/shared/observability/alerting_rule_utils/*"],
|
||||
"@kbn/observability-alerting-test-data": ["x-pack/solutions/observability/packages/alerting_test_data"],
|
||||
"@kbn/observability-alerting-test-data/*": ["x-pack/solutions/observability/packages/alerting_test_data/*"],
|
||||
"@kbn/observability-fixtures-plugin": ["x-pack/test/cases_api_integration/common/plugins/observability"],
|
||||
|
@ -1352,8 +1354,6 @@
|
|||
"@kbn/observability-get-padded-alert-time-range-util/*": ["x-pack/solutions/observability/packages/get_padded_alert_time_range_util/*"],
|
||||
"@kbn/observability-logs-explorer-plugin": ["x-pack/solutions/observability/plugins/observability_logs_explorer"],
|
||||
"@kbn/observability-logs-explorer-plugin/*": ["x-pack/solutions/observability/plugins/observability_logs_explorer/*"],
|
||||
"@kbn/observability-logs-overview": ["x-pack/platform/packages/shared/observability/logs_overview"],
|
||||
"@kbn/observability-logs-overview/*": ["x-pack/platform/packages/shared/observability/logs_overview/*"],
|
||||
"@kbn/observability-onboarding-plugin": ["x-pack/solutions/observability/plugins/observability_onboarding"],
|
||||
"@kbn/observability-onboarding-plugin/*": ["x-pack/solutions/observability/plugins/observability_onboarding/*"],
|
||||
"@kbn/observability-plugin": ["x-pack/solutions/observability/plugins/observability"],
|
||||
|
@ -1946,8 +1946,8 @@
|
|||
"@kbn/third-party-vis-lens-example-plugin/*": ["x-pack/examples/third_party_vis_lens_example/*"],
|
||||
"@kbn/threat-intelligence-plugin": ["x-pack/solutions/security/plugins/threat_intelligence"],
|
||||
"@kbn/threat-intelligence-plugin/*": ["x-pack/solutions/security/plugins/threat_intelligence/*"],
|
||||
"@kbn/timelines-plugin": ["x-pack/solutions/security/plugins/timelines"],
|
||||
"@kbn/timelines-plugin/*": ["x-pack/solutions/security/plugins/timelines/*"],
|
||||
"@kbn/timelines-plugin": ["x-pack/platform/plugins/shared/timelines"],
|
||||
"@kbn/timelines-plugin/*": ["x-pack/platform/plugins/shared/timelines/*"],
|
||||
"@kbn/timelion-grammar": ["src/platform/packages/private/kbn-timelion-grammar"],
|
||||
"@kbn/timelion-grammar/*": ["src/platform/packages/private/kbn-timelion-grammar/*"],
|
||||
"@kbn/timerange": ["src/platform/packages/shared/kbn-timerange"],
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
"xpack.observability_onboarding": "solutions/observability/plugins/observability_onboarding",
|
||||
"xpack.observabilityShared": "solutions/observability/plugins/observability_shared",
|
||||
"xpack.observabilityLogsOverview": [
|
||||
"platform/packages/shared/observability/logs_overview/src/components"
|
||||
"platform/packages/shared/logs_overview/src/components"
|
||||
],
|
||||
"xpack.osquery": [
|
||||
"platform/plugins/shared/osquery"
|
||||
|
@ -163,7 +163,7 @@
|
|||
],
|
||||
"xpack.taskManager": "legacy/platform/plugins/shared/task_manager",
|
||||
"xpack.threatIntelligence": "solutions/security/plugins/threat_intelligence",
|
||||
"xpack.timelines": "solutions/security/plugins/timelines",
|
||||
"xpack.timelines": "platform/plugins/shared/timelines",
|
||||
"xpack.transform": "platform/plugins/private/transform",
|
||||
"xpack.triggersActionsUI": "platform/plugins/shared/triggers_actions_ui",
|
||||
"xpack.upgradeAssistant": "platform/plugins/private/upgrade_assistant",
|
||||
|
|
|
@ -7,6 +7,6 @@
|
|||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../../../../../..',
|
||||
roots: ['<rootDir>/x-pack/platform/packages/shared/observability/logs_overview'],
|
||||
rootDir: '../../../../..',
|
||||
roots: ['<rootDir>/x-pack/platform/packages/shared/alerting_rule_utils'],
|
||||
};
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"type": "shared-common",
|
||||
"id": "@kbn/observability-alerting-rule-utils",
|
||||
"id": "@kbn/alerting-rule-utils",
|
||||
"owner": "@elastic/obs-ux-management-team",
|
||||
// TODO refactor and transfer owner / contents to response-ops / alerting
|
||||
"group": "platform",
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@kbn/observability-alerting-rule-utils",
|
||||
"name": "@kbn/alerting-rule-utils",
|
||||
"description": "Utils shared between observability alerting rules",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"license": "Elastic License 2.0"
|
||||
}
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../../../../../tsconfig.base.json",
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
"types": [
|
|
@ -1,3 +1,3 @@
|
|||
# @kbn/observability-logs-overview
|
||||
# @kbn/logs-overview
|
||||
|
||||
Empty package generated by @kbn/generate
|
|
@ -7,6 +7,6 @@
|
|||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../../../../../..',
|
||||
roots: ['<rootDir>/x-pack/platform/packages/shared/observability/alerting_rule_utils'],
|
||||
rootDir: '../../../../..',
|
||||
roots: ['<rootDir>/x-pack/platform/packages/shared/logs_overview'],
|
||||
};
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"type": "shared-browser",
|
||||
"id": "@kbn/observability-logs-overview",
|
||||
"id": "@kbn/logs-overview",
|
||||
"owner": [
|
||||
"@elastic/obs-ux-logs-team"
|
||||
],
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "@kbn/observability-logs-overview",
|
||||
"name": "@kbn/logs-overview",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"license": "Elastic License 2.0",
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"extends": "../../../../../../tsconfig.base.json",
|
||||
"extends": "../../../../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "target/types",
|
||||
"types": [
|
|
@ -10,23 +10,23 @@ import type {
|
|||
LogsOverviewProps as FullLogsOverviewProps,
|
||||
LogsOverviewDependencies,
|
||||
LogsOverviewErrorContentProps,
|
||||
} from '@kbn/observability-logs-overview';
|
||||
} from '@kbn/logs-overview';
|
||||
import { dynamic } from '@kbn/shared-ux-utility';
|
||||
import React from 'react';
|
||||
import useObservable from 'react-use/lib/useObservable';
|
||||
|
||||
const LazyLogsOverview = dynamic(() =>
|
||||
import('@kbn/observability-logs-overview').then((mod) => ({ default: mod.LogsOverview }))
|
||||
import('@kbn/logs-overview').then((mod) => ({ default: mod.LogsOverview }))
|
||||
);
|
||||
|
||||
const LazyLogsOverviewErrorContent = dynamic(() =>
|
||||
import('@kbn/observability-logs-overview').then((mod) => ({
|
||||
import('@kbn/logs-overview').then((mod) => ({
|
||||
default: mod.LogsOverviewErrorContent,
|
||||
}))
|
||||
);
|
||||
|
||||
const LazyLogsOverviewLoadingContent = dynamic(() =>
|
||||
import('@kbn/observability-logs-overview').then((mod) => ({
|
||||
import('@kbn/logs-overview').then((mod) => ({
|
||||
default: mod.LogsOverviewLoadingContent,
|
||||
}))
|
||||
);
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
"@kbn/core-deprecations-common",
|
||||
"@kbn/core-deprecations-server",
|
||||
"@kbn/management-settings-ids",
|
||||
"@kbn/observability-logs-overview",
|
||||
"@kbn/logs-overview",
|
||||
"@kbn/charts-plugin",
|
||||
"@kbn/core-ui-settings-common",
|
||||
"@kbn/field-formats-plugin",
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
import { sha256 } from 'js-sha256';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { CoreSetup } from '@kbn/core/server';
|
||||
import { getEcsGroups } from '@kbn/observability-alerting-rule-utils';
|
||||
import { getEcsGroups } from '@kbn/alerting-rule-utils';
|
||||
import { isGroupAggregation, UngroupedGroupId } from '@kbn/triggers-actions-ui-plugin/common';
|
||||
import {
|
||||
ALERT_EVALUATION_THRESHOLD,
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
"@kbn/task-manager-plugin",
|
||||
"@kbn/core-logging-server-mocks",
|
||||
"@kbn/core-saved-objects-server",
|
||||
"@kbn/observability-alerting-rule-utils"
|
||||
"@kbn/alerting-rule-utils"
|
||||
],
|
||||
"exclude": [
|
||||
"target/**/*",
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue