diff --git a/.buildkite/scripts/pipelines/pull_request/pipeline.ts b/.buildkite/scripts/pipelines/pull_request/pipeline.ts index 348342a03670b..324254786ccfe 100644 --- a/.buildkite/scripts/pipelines/pull_request/pipeline.ts +++ b/.buildkite/scripts/pipelines/pull_request/pipeline.ts @@ -277,7 +277,7 @@ const SKIPPABLE_PR_MATCHERS = prConfig.skip_ci_on_only_changed!.map((r) => new R /^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\/platform\/plugins\/shared\/timelines/, + /^x-pack\/solutions\/security\/plugins\/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/, @@ -365,7 +365,7 @@ const SKIPPABLE_PR_MATCHERS = prConfig.skip_ci_on_only_changed!.map((r) => new R /^x-pack\/solutions\/security\/plugins\/security_solution_serverless/, /^x-pack\/platform\/plugins\/shared\/task_manager/, /^x-pack\/solutions\/security\/plugins\/threat_intelligence/, - /^x-pack\/platform\/plugins\/shared\/timelines/, + /^x-pack\/solutions\/security\/plugins\/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/, @@ -428,7 +428,7 @@ const SKIPPABLE_PR_MATCHERS = prConfig.skip_ci_on_only_changed!.map((r) => new R /^x-pack\/solutions\/security\/plugins\/security_solution_serverless/, /^x-pack\/platform\/plugins\/shared\/task_manager/, /^x-pack\/solutions\/security\/plugins\/threat_intelligence/, - /^x-pack\/platform\/plugins\/shared\/timelines/, + /^x-pack\/solutions\/security\/plugins\/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/, diff --git a/.eslintrc.js b/.eslintrc.js index cb7b88f622775..61f565a17d80e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1257,8 +1257,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/platform/plugins/shared/timelines/public/**/*.{js,mjs,ts,tsx}', - 'x-pack/platform/plugins/shared/timelines/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/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}', @@ -1299,7 +1299,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/platform/plugins/shared/timelines/**/*.{ts,tsx}', + 'x-pack/solutions/security/plugins/timelines/**/*.{ts,tsx}', 'x-pack/platform/plugins/shared/cases/**/*.{ts,tsx}', 'src/platform/packages/shared/kbn-cell-actions/**/*.{js,mjs,ts,tsx}', ], @@ -1314,7 +1314,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/platform/plugins/shared/timelines/**/*.{test,mock,test_helper}.{ts,tsx}', + 'x-pack/solutions/security/plugins/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}', ], @@ -1335,7 +1335,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/platform/plugins/shared/timelines/**/*.{ts,tsx}', + 'x-pack/solutions/security/plugins/timelines/**/*.{ts,tsx}', 'x-pack/platform/plugins/shared/cases/**/*.{ts,tsx}', 'src/platform/packages/shared/kbn-cell-actions/**/*.{ts,tsx}', ], @@ -1369,7 +1369,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/platform/plugins/shared/timelines/**/*.{js,mjs,ts,tsx}', + 'x-pack/solutions/security/plugins/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}', @@ -2530,10 +2530,7 @@ module.exports = { // TODO @kibana/operations 'scripts/create_observability_rules.js', // is importing "@kbn/observability-alerting-test-data" (observability/private) '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 PhilippeOberti @kbn/timelines-plugin depends on security-solution-plugin (security/private) (timelines is going to disappear) - 'x-pack/platform/plugins/shared/timelines/**', + 'src/dev/build/tasks/install_chromium.ts', // is importing "@kbn/screenshotting-plugin" (platform/private)*', // For now, we keep the exception to let tests depend on anything. // Ideally, we need to classify the solution specific ones to reduce CI times diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7ec5e89a675af..e8d386acb0dde 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1105,7 +1105,6 @@ x-pack/platform/plugins/shared/stack_connectors @elastic/response-ops x-pack/platform/plugins/shared/streams @elastic/obs-onboarding-team @elastic/obs-sig-events-team x-pack/platform/plugins/shared/streams_app @elastic/obs-onboarding-team @elastic/obs-sig-events-team 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/platform/test x-pack/platform/test/alerting_api_integration/common/plugins/aad @elastic/response-ops @@ -1250,6 +1249,7 @@ x-pack/solutions/security/plugins/security_solution @elastic/security-solution x-pack/solutions/security/plugins/security_solution_ess @elastic/security-solution x-pack/solutions/security/plugins/security_solution_serverless @elastic/security-solution x-pack/solutions/security/plugins/session_view @elastic/contextual-security-apps +x-pack/solutions/security/plugins/timelines @elastic/security-threat-hunting-investigations x-pack/solutions/security/test x-pack/solutions/security/test/plugin_functional/plugins/resolver_test @elastic/security-solution x-pack/solutions/security/test/security_solution_api_integration @elastic/security-detection-engine diff --git a/docs/extend/plugin-list.md b/docs/extend/plugin-list.md index 021158aac052b..ca06b4578be29 100644 --- a/docs/extend/plugin-list.md +++ b/docs/extend/plugin-list.md @@ -246,7 +246,7 @@ mapped_pages: | [taskManager](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/task_manager/README.md) | The task manager is a generic system for running background tasks. | | [taskManagerDependencies](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/private/task_manager_dependencies/README.md) | This plugin is used as a temporary sidecar plugin to enable the task manager plugin access to the encrypted saved objects client and the security plugin start contract as there is a circular dependency if the task manager were to require the encrypted saved objects plugin directly. | | [telemetryCollectionXpack](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/private/telemetry_collection_xpack/README.md) | Gathers all usage collection, retrieving them from both: OSS and X-Pack plugins. | -| [timelines](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/timelines/README.md) | 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. | +| [timelines](https://github.com/elastic/kibana/blob/main/x-pack/solutions/security/plugins/timelines/README.md) | 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. | | [transform](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/private/transform/README.md) | This plugin provides access to the transforms features provided by Elasticsearch. It follows Kibana's standard plugin architecture, originally the plugin boilerplate code was taken from the snapshot/restore plugin. | | [translations](translations-plugin.md) | Contains Elastic-supported translations. Owned by the Localizations team. For adding localizations and instrument a ui to support translated content, see https://github.com/elastic/kibana/tree/main/src/platform/packages/shared/kbn-i18n | | [triggersActionsUi](https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/shared/triggers_actions_ui/README.md) | The Kibana alerts and actions UI plugin provides a user interface for managing alerts and actions. As a developer you can reuse and extend built-in alerts and actions UI functionality: | diff --git a/package.json b/package.json index 98ff67dc8a22f..5637f2716463a 100644 --- a/package.json +++ b/package.json @@ -1102,7 +1102,7 @@ "@kbn/testing-embedded-lens-plugin": "link:x-pack/examples/testing_embedded_lens", "@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/timelines-plugin": "link:x-pack/platform/plugins/shared/timelines", + "@kbn/timelines-plugin": "link:x-pack/solutions/security/plugins/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", diff --git a/packages/kbn-babel-preset/styled_components_files.js b/packages/kbn-babel-preset/styled_components_files.js index 75dc1ff875553..8afbbeea649e9 100644 --- a/packages/kbn-babel-preset/styled_components_files.js +++ b/packages/kbn-babel-preset/styled_components_files.js @@ -97,7 +97,6 @@ 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[\/\\]ux[\/\\]core_web_vitals[\/\\]color_palette_flex_item.tsx/, @@ -430,6 +429,7 @@ 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[\/\\]solutions[\/\\]security[\/\\]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/, diff --git a/tsconfig.base.json b/tsconfig.base.json index 5745618a3400e..fd1488ab1bb2c 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -2316,8 +2316,8 @@ "@kbn/third-party-lens-navigation-prompt-plugin/*": ["x-pack/examples/third_party_lens_navigation_prompt/*"], "@kbn/third-party-vis-lens-example-plugin": ["x-pack/examples/third_party_vis_lens_example"], "@kbn/third-party-vis-lens-example-plugin/*": ["x-pack/examples/third_party_vis_lens_example/*"], - "@kbn/timelines-plugin": ["x-pack/platform/plugins/shared/timelines"], - "@kbn/timelines-plugin/*": ["x-pack/platform/plugins/shared/timelines/*"], + "@kbn/timelines-plugin": ["x-pack/solutions/security/plugins/timelines"], + "@kbn/timelines-plugin/*": ["x-pack/solutions/security/plugins/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"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index e75c4fcab65e4..cff3dea251fc5 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -163,7 +163,7 @@ ], "xpack.taskManager": "legacy/platform/plugins/shared/task_manager", "xpack.threatIntelligence": "solutions/security/plugins/threat_intelligence", - "xpack.timelines": "platform/plugins/shared/timelines", + "xpack.timelines": "solutions/security/plugins/timelines", "xpack.transform": "platform/plugins/private/transform", "xpack.triggersActionsUI": "platform/plugins/shared/triggers_actions_ui", "xpack.upgradeAssistant": [ diff --git a/x-pack/solutions/security/plugins/security_solution/public/detections/utils/flatten_alert_type.ts b/x-pack/solutions/security/plugins/security_solution/public/detections/utils/flatten_alert_type.ts index cdf910c534494..8803f6331a5eb 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/detections/utils/flatten_alert_type.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/detections/utils/flatten_alert_type.ts @@ -14,7 +14,7 @@ const nonFlattenedFormatParamsFields = ['related_integrations', 'threat_mapping' /** * Returns true if the field is related to kibana.alert.rule.parameters. - * This code is similar to x-pack/platform/plugins/shared/timelines/common/utils/field_formatters.ts and once + * This code is similar to x-pack/solutions/security/plugins/timelines/common/utils/field_formatters.ts and once * the Security Solution and Timelines plugins are merged we should probably share the code. */ const isRuleParametersFieldOrSubfield = ( @@ -33,7 +33,7 @@ const isRuleParametersFieldOrSubfield = ( /** * Recursive function that processes all the fields from an Alert and returns a flattened object as a Record. * This is used in EASE alert summary page, in the getPromptContext when passing data to the assistant. - * The logic is similar to x-pack/platform/plugins/shared/timelines/common/utils/field_formatters.ts but for an Alert type. + * The logic is similar to x-pack/solutions/security/plugins/timelines/common/utils/field_formatters.ts but for an Alert type. */ export const flattenAlertType = ( /** diff --git a/x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/shared/hooks/use_get_fields_data.ts b/x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/shared/hooks/use_get_fields_data.ts index a527c5f9514aa..35492384f4f4e 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/shared/hooks/use_get_fields_data.ts +++ b/x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/shared/hooks/use_get_fields_data.ts @@ -17,7 +17,7 @@ import type { SearchHit } from '../../../../../common/search_strategy'; * This should be generally fine, but given the flattened nature of the top level key, utilities like `get` or `getOr` won't work since the path isn't actually nested * This utility allows users to not only get simple fields, but if they provide a path like `kibana.alert.parameters.index`, it will return an array of all index values * for each object in the parameters array. As an added note, this work stemmed from a hope to be able to purely use the fields api in place of the data produced by - * `getDataFromFieldsHits` found in `x-pack/platform/plugins/shared/timelines/common/utils/field_formatters.ts` + * `getDataFromFieldsHits` found in `x-pack/solutions/security/plugins/timelines/common/utils/field_formatters.ts` */ const getAllDotIndicesInReverse = (dotField: string): number[] => { const dotRegx = RegExp('[.]', 'g'); diff --git a/x-pack/solutions/security/plugins/security_solution/server/search_strategy/endpoint_fields/index.ts b/x-pack/solutions/security/plugins/security_solution/server/search_strategy/endpoint_fields/index.ts index 349f42b3e9c37..f567d6a6810fe 100644 --- a/x-pack/solutions/security/plugins/security_solution/server/search_strategy/endpoint_fields/index.ts +++ b/x-pack/solutions/security/plugins/security_solution/server/search_strategy/endpoint_fields/index.ts @@ -23,7 +23,7 @@ import { parseRequest } from './parse_request'; import { buildIndexNameWithNamespace } from '../../../common/endpoint/utils/index_name_utilities'; /** - * EndpointFieldProvider mimics indexField provider from timeline plugin: x-pack/platform/plugins/shared/timelines/server/search_strategy/index_fields/index.ts + * EndpointFieldProvider mimics indexField provider from timeline plugin: x-pack/solutions/security/plugins/timelines/server/search_strategy/index_fields/index.ts * but it uses ES internalUser instead to avoid adding extra index privileges for users with event filters permissions. * It is used to retrieve index patterns for event filters form. */ diff --git a/x-pack/platform/plugins/shared/timelines/README.md b/x-pack/solutions/security/plugins/timelines/README.md similarity index 100% rename from x-pack/platform/plugins/shared/timelines/README.md rename to x-pack/solutions/security/plugins/timelines/README.md diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/index.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/index.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/index_fields.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/index_fields.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/index_fields.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/index_fields.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/model/filter_query.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/model/filter_query.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/model/filter_query.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/model/filter_query.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/model/language.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/model/language.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/model/language.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/model/language.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/model/order.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/model/order.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/model/order.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/model/order.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/model/pagination.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/model/pagination.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/model/pagination.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/model/pagination.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/model/runtime_mappings.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/model/runtime_mappings.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/model/runtime_mappings.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/model/runtime_mappings.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/model/sort.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/model/sort.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/model/sort.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/model/sort.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/model/timeline_events_queries.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/model/timeline_events_queries.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/model/timeline_events_queries.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/model/timeline_events_queries.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/model/timerange.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/model/timerange.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/model/timerange.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/model/timerange.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/eql.test.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/eql.test.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/eql.test.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/eql.test.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/eql.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/eql.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/eql.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/eql.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/events_all.test.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/events_all.test.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/events_all.test.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/events_all.test.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/events_all.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/events_all.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/events_all.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/events_all.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/events_details.test.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/events_details.test.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/events_details.test.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/events_details.test.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/events_details.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/events_details.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/events_details.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/events_details.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/events_last_event_time.test.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/events_last_event_time.test.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/events_last_event_time.test.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/events_last_event_time.test.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/events_last_event_time.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/events_last_event_time.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/events_last_event_time.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/events_last_event_time.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/kpi.test.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/kpi.test.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/kpi.test.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/kpi.test.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/kpi.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/kpi.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/kpi.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/kpi.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/mocks/base_timeline_request.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/mocks/base_timeline_request.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/mocks/base_timeline_request.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/mocks/base_timeline_request.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/request_basic.test.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/request_basic.test.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/request_basic.test.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/request_basic.test.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/request_basic.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/request_basic.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/request_basic.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/request_basic.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/request_paginated.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/request_paginated.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/request_paginated.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/request_paginated.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/timeline.ts b/x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/timeline.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/api/search_strategy/timeline/timeline.ts rename to x-pack/solutions/security/plugins/timelines/common/api/search_strategy/timeline/timeline.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/constants.ts b/x-pack/solutions/security/plugins/timelines/common/constants.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/constants.ts rename to x-pack/solutions/security/plugins/timelines/common/constants.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/experimental_features.ts b/x-pack/solutions/security/plugins/timelines/common/experimental_features.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/experimental_features.ts rename to x-pack/solutions/security/plugins/timelines/common/experimental_features.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/index.ts b/x-pack/solutions/security/plugins/timelines/common/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/index.ts rename to x-pack/solutions/security/plugins/timelines/common/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/search_strategy/common/index.ts b/x-pack/solutions/security/plugins/timelines/common/search_strategy/common/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/search_strategy/common/index.ts rename to x-pack/solutions/security/plugins/timelines/common/search_strategy/common/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/search_strategy/eql/index.ts b/x-pack/solutions/security/plugins/timelines/common/search_strategy/eql/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/search_strategy/eql/index.ts rename to x-pack/solutions/security/plugins/timelines/common/search_strategy/eql/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/search_strategy/eql/validation/helpers.mock.ts b/x-pack/solutions/security/plugins/timelines/common/search_strategy/eql/validation/helpers.mock.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/search_strategy/eql/validation/helpers.mock.ts rename to x-pack/solutions/security/plugins/timelines/common/search_strategy/eql/validation/helpers.mock.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/search_strategy/eql/validation/helpers.test.ts b/x-pack/solutions/security/plugins/timelines/common/search_strategy/eql/validation/helpers.test.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/search_strategy/eql/validation/helpers.test.ts rename to x-pack/solutions/security/plugins/timelines/common/search_strategy/eql/validation/helpers.test.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/search_strategy/eql/validation/helpers.ts b/x-pack/solutions/security/plugins/timelines/common/search_strategy/eql/validation/helpers.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/search_strategy/eql/validation/helpers.ts rename to x-pack/solutions/security/plugins/timelines/common/search_strategy/eql/validation/helpers.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/search_strategy/eql/validation/index.ts b/x-pack/solutions/security/plugins/timelines/common/search_strategy/eql/validation/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/search_strategy/eql/validation/index.ts rename to x-pack/solutions/security/plugins/timelines/common/search_strategy/eql/validation/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/search_strategy/index.ts b/x-pack/solutions/security/plugins/timelines/common/search_strategy/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/search_strategy/index.ts rename to x-pack/solutions/security/plugins/timelines/common/search_strategy/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/search_strategy/index_fields/index.ts b/x-pack/solutions/security/plugins/timelines/common/search_strategy/index_fields/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/search_strategy/index_fields/index.ts rename to x-pack/solutions/security/plugins/timelines/common/search_strategy/index_fields/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/search_strategy/timeline/events/all/index.ts b/x-pack/solutions/security/plugins/timelines/common/search_strategy/timeline/events/all/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/search_strategy/timeline/events/all/index.ts rename to x-pack/solutions/security/plugins/timelines/common/search_strategy/timeline/events/all/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/search_strategy/timeline/events/details/index.ts b/x-pack/solutions/security/plugins/timelines/common/search_strategy/timeline/events/details/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/search_strategy/timeline/events/details/index.ts rename to x-pack/solutions/security/plugins/timelines/common/search_strategy/timeline/events/details/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/search_strategy/timeline/events/eql/index.ts b/x-pack/solutions/security/plugins/timelines/common/search_strategy/timeline/events/eql/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/search_strategy/timeline/events/eql/index.ts rename to x-pack/solutions/security/plugins/timelines/common/search_strategy/timeline/events/eql/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/search_strategy/timeline/events/index.ts b/x-pack/solutions/security/plugins/timelines/common/search_strategy/timeline/events/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/search_strategy/timeline/events/index.ts rename to x-pack/solutions/security/plugins/timelines/common/search_strategy/timeline/events/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/search_strategy/timeline/events/last_event_time/index.ts b/x-pack/solutions/security/plugins/timelines/common/search_strategy/timeline/events/last_event_time/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/search_strategy/timeline/events/last_event_time/index.ts rename to x-pack/solutions/security/plugins/timelines/common/search_strategy/timeline/events/last_event_time/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/search_strategy/timeline/index.ts b/x-pack/solutions/security/plugins/timelines/common/search_strategy/timeline/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/search_strategy/timeline/index.ts rename to x-pack/solutions/security/plugins/timelines/common/search_strategy/timeline/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/typed_json.ts b/x-pack/solutions/security/plugins/timelines/common/typed_json.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/typed_json.ts rename to x-pack/solutions/security/plugins/timelines/common/typed_json.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/types/index.ts b/x-pack/solutions/security/plugins/timelines/common/types/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/types/index.ts rename to x-pack/solutions/security/plugins/timelines/common/types/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/types/timeline/actions/index.ts b/x-pack/solutions/security/plugins/timelines/common/types/timeline/actions/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/types/timeline/actions/index.ts rename to x-pack/solutions/security/plugins/timelines/common/types/timeline/actions/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/types/timeline/cells/index.ts b/x-pack/solutions/security/plugins/timelines/common/types/timeline/cells/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/types/timeline/cells/index.ts rename to x-pack/solutions/security/plugins/timelines/common/types/timeline/cells/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/types/timeline/data_provider/index.ts b/x-pack/solutions/security/plugins/timelines/common/types/timeline/data_provider/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/types/timeline/data_provider/index.ts rename to x-pack/solutions/security/plugins/timelines/common/types/timeline/data_provider/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/types/timeline/index.ts b/x-pack/solutions/security/plugins/timelines/common/types/timeline/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/types/timeline/index.ts rename to x-pack/solutions/security/plugins/timelines/common/types/timeline/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/types/timeline/rows/index.ts b/x-pack/solutions/security/plugins/timelines/common/types/timeline/rows/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/types/timeline/rows/index.ts rename to x-pack/solutions/security/plugins/timelines/common/types/timeline/rows/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/utility_types.ts b/x-pack/solutions/security/plugins/timelines/common/utility_types.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/utility_types.ts rename to x-pack/solutions/security/plugins/timelines/common/utility_types.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/utils/accessibility/helpers.test.tsx b/x-pack/solutions/security/plugins/timelines/common/utils/accessibility/helpers.test.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/utils/accessibility/helpers.test.tsx rename to x-pack/solutions/security/plugins/timelines/common/utils/accessibility/helpers.test.tsx diff --git a/x-pack/platform/plugins/shared/timelines/common/utils/accessibility/helpers.ts b/x-pack/solutions/security/plugins/timelines/common/utils/accessibility/helpers.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/utils/accessibility/helpers.ts rename to x-pack/solutions/security/plugins/timelines/common/utils/accessibility/helpers.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/utils/accessibility/index.ts b/x-pack/solutions/security/plugins/timelines/common/utils/accessibility/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/utils/accessibility/index.ts rename to x-pack/solutions/security/plugins/timelines/common/utils/accessibility/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/utils/api.ts b/x-pack/solutions/security/plugins/timelines/common/utils/api.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/utils/api.ts rename to x-pack/solutions/security/plugins/timelines/common/utils/api.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/utils/field_formatters.test.ts b/x-pack/solutions/security/plugins/timelines/common/utils/field_formatters.test.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/utils/field_formatters.test.ts rename to x-pack/solutions/security/plugins/timelines/common/utils/field_formatters.test.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/utils/field_formatters.ts b/x-pack/solutions/security/plugins/timelines/common/utils/field_formatters.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/utils/field_formatters.ts rename to x-pack/solutions/security/plugins/timelines/common/utils/field_formatters.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/utils/index.ts b/x-pack/solutions/security/plugins/timelines/common/utils/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/utils/index.ts rename to x-pack/solutions/security/plugins/timelines/common/utils/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/common/utils/to_array.ts b/x-pack/solutions/security/plugins/timelines/common/utils/to_array.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/common/utils/to_array.ts rename to x-pack/solutions/security/plugins/timelines/common/utils/to_array.ts diff --git a/x-pack/platform/plugins/shared/timelines/jest.config.js b/x-pack/solutions/security/plugins/timelines/jest.config.js similarity index 62% rename from x-pack/platform/plugins/shared/timelines/jest.config.js rename to x-pack/solutions/security/plugins/timelines/jest.config.js index da643eb478247..5ce00c1a0a303 100644 --- a/x-pack/platform/plugins/shared/timelines/jest.config.js +++ b/x-pack/solutions/security/plugins/timelines/jest.config.js @@ -8,11 +8,11 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', - roots: ['/x-pack/platform/plugins/shared/timelines'], + roots: ['/x-pack/solutions/security/plugins/timelines'], coverageDirectory: - '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/timelines', + '/target/kibana-coverage/jest/x-pack/solutions/security/plugins/timelines', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/platform/plugins/shared/timelines/{common,public,server}/**/*.{ts,tsx}', + '/x-pack/solutions/security/plugins/timelines/{common,public,server}/**/*.{ts,tsx}', ], }; diff --git a/x-pack/platform/plugins/shared/timelines/kibana.jsonc b/x-pack/solutions/security/plugins/timelines/kibana.jsonc similarity index 90% rename from x-pack/platform/plugins/shared/timelines/kibana.jsonc rename to x-pack/solutions/security/plugins/timelines/kibana.jsonc index 366567a892032..a67781787758b 100644 --- a/x-pack/platform/plugins/shared/timelines/kibana.jsonc +++ b/x-pack/solutions/security/plugins/timelines/kibana.jsonc @@ -4,8 +4,8 @@ "owner": [ "@elastic/security-threat-hunting-investigations" ], - "group": "platform", - "visibility": "shared", + "group": "security", + "visibility": "private", "plugin": { "id": "timelines", "browser": true, diff --git a/x-pack/platform/plugins/shared/timelines/moon.yml b/x-pack/solutions/security/plugins/timelines/moon.yml similarity index 95% rename from x-pack/platform/plugins/shared/timelines/moon.yml rename to x-pack/solutions/security/plugins/timelines/moon.yml index 254fcbddba91b..d843002dd448f 100644 --- a/x-pack/platform/plugins/shared/timelines/moon.yml +++ b/x-pack/solutions/security/plugins/timelines/moon.yml @@ -16,7 +16,7 @@ project: channel: '' owner: '@elastic/security-threat-hunting-investigations' metadata: - sourceRoot: x-pack/platform/plugins/shared/timelines + sourceRoot: x-pack/solutions/security/plugins/timelines dependsOn: - '@kbn/core' - '@kbn/data-plugin' @@ -46,8 +46,8 @@ dependsOn: tags: - plugin - prod - - group-platform - - shared + - group-security + - private - jest-unit-tests fileGroups: src: diff --git a/x-pack/platform/plugins/shared/timelines/public/assets/illustration_product_no_results_magnifying_glass.svg b/x-pack/solutions/security/plugins/timelines/public/assets/illustration_product_no_results_magnifying_glass.svg similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/assets/illustration_product_no_results_magnifying_glass.svg rename to x-pack/solutions/security/plugins/timelines/public/assets/illustration_product_no_results_magnifying_glass.svg diff --git a/x-pack/platform/plugins/shared/timelines/public/components/clipboard/clipboard.tsx b/x-pack/solutions/security/plugins/timelines/public/components/clipboard/clipboard.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/components/clipboard/clipboard.tsx rename to x-pack/solutions/security/plugins/timelines/public/components/clipboard/clipboard.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/components/clipboard/translations.ts b/x-pack/solutions/security/plugins/timelines/public/components/clipboard/translations.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/components/clipboard/translations.ts rename to x-pack/solutions/security/plugins/timelines/public/components/clipboard/translations.ts diff --git a/x-pack/platform/plugins/shared/timelines/public/components/clipboard/with_copy_to_clipboard.tsx b/x-pack/solutions/security/plugins/timelines/public/components/clipboard/with_copy_to_clipboard.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/components/clipboard/with_copy_to_clipboard.tsx rename to x-pack/solutions/security/plugins/timelines/public/components/clipboard/with_copy_to_clipboard.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/components/hover_actions/actions/add_to_timeline.test.tsx b/x-pack/solutions/security/plugins/timelines/public/components/hover_actions/actions/add_to_timeline.test.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/components/hover_actions/actions/add_to_timeline.test.tsx rename to x-pack/solutions/security/plugins/timelines/public/components/hover_actions/actions/add_to_timeline.test.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/components/hover_actions/actions/add_to_timeline.tsx b/x-pack/solutions/security/plugins/timelines/public/components/hover_actions/actions/add_to_timeline.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/components/hover_actions/actions/add_to_timeline.tsx rename to x-pack/solutions/security/plugins/timelines/public/components/hover_actions/actions/add_to_timeline.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/components/hover_actions/actions/copy.tsx b/x-pack/solutions/security/plugins/timelines/public/components/hover_actions/actions/copy.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/components/hover_actions/actions/copy.tsx rename to x-pack/solutions/security/plugins/timelines/public/components/hover_actions/actions/copy.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/components/hover_actions/actions/filter_for_value.tsx b/x-pack/solutions/security/plugins/timelines/public/components/hover_actions/actions/filter_for_value.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/components/hover_actions/actions/filter_for_value.tsx rename to x-pack/solutions/security/plugins/timelines/public/components/hover_actions/actions/filter_for_value.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/components/hover_actions/actions/filter_out_value.tsx b/x-pack/solutions/security/plugins/timelines/public/components/hover_actions/actions/filter_out_value.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/components/hover_actions/actions/filter_out_value.tsx rename to x-pack/solutions/security/plugins/timelines/public/components/hover_actions/actions/filter_out_value.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/components/hover_actions/actions/translations.tsx b/x-pack/solutions/security/plugins/timelines/public/components/hover_actions/actions/translations.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/components/hover_actions/actions/translations.tsx rename to x-pack/solutions/security/plugins/timelines/public/components/hover_actions/actions/translations.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/components/hover_actions/actions/types.ts b/x-pack/solutions/security/plugins/timelines/public/components/hover_actions/actions/types.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/components/hover_actions/actions/types.ts rename to x-pack/solutions/security/plugins/timelines/public/components/hover_actions/actions/types.ts diff --git a/x-pack/platform/plugins/shared/timelines/public/components/hover_actions/index.tsx b/x-pack/solutions/security/plugins/timelines/public/components/hover_actions/index.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/components/hover_actions/index.tsx rename to x-pack/solutions/security/plugins/timelines/public/components/hover_actions/index.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/components/hover_actions/utils.ts b/x-pack/solutions/security/plugins/timelines/public/components/hover_actions/utils.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/components/hover_actions/utils.ts rename to x-pack/solutions/security/plugins/timelines/public/components/hover_actions/utils.ts diff --git a/x-pack/platform/plugins/shared/timelines/public/components/index.tsx b/x-pack/solutions/security/plugins/timelines/public/components/index.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/components/index.tsx rename to x-pack/solutions/security/plugins/timelines/public/components/index.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/components/last_updated/index.test.tsx b/x-pack/solutions/security/plugins/timelines/public/components/last_updated/index.test.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/components/last_updated/index.test.tsx rename to x-pack/solutions/security/plugins/timelines/public/components/last_updated/index.test.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/components/last_updated/index.tsx b/x-pack/solutions/security/plugins/timelines/public/components/last_updated/index.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/components/last_updated/index.tsx rename to x-pack/solutions/security/plugins/timelines/public/components/last_updated/index.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/components/last_updated/translations.ts b/x-pack/solutions/security/plugins/timelines/public/components/last_updated/translations.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/components/last_updated/translations.ts rename to x-pack/solutions/security/plugins/timelines/public/components/last_updated/translations.ts diff --git a/x-pack/platform/plugins/shared/timelines/public/components/tooltip_with_keyboard_shortcut/index.tsx b/x-pack/solutions/security/plugins/timelines/public/components/tooltip_with_keyboard_shortcut/index.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/components/tooltip_with_keyboard_shortcut/index.tsx rename to x-pack/solutions/security/plugins/timelines/public/components/tooltip_with_keyboard_shortcut/index.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/hooks/use_add_to_timeline.ts b/x-pack/solutions/security/plugins/timelines/public/hooks/use_add_to_timeline.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/hooks/use_add_to_timeline.ts rename to x-pack/solutions/security/plugins/timelines/public/hooks/use_add_to_timeline.ts diff --git a/x-pack/platform/plugins/shared/timelines/public/hooks/use_app_toasts.ts b/x-pack/solutions/security/plugins/timelines/public/hooks/use_app_toasts.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/hooks/use_app_toasts.ts rename to x-pack/solutions/security/plugins/timelines/public/hooks/use_app_toasts.ts diff --git a/x-pack/platform/plugins/shared/timelines/public/hooks/use_selector.tsx b/x-pack/solutions/security/plugins/timelines/public/hooks/use_selector.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/hooks/use_selector.tsx rename to x-pack/solutions/security/plugins/timelines/public/hooks/use_selector.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/index.ts b/x-pack/solutions/security/plugins/timelines/public/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/index.ts rename to x-pack/solutions/security/plugins/timelines/public/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/public/methods/index.tsx b/x-pack/solutions/security/plugins/timelines/public/methods/index.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/methods/index.tsx rename to x-pack/solutions/security/plugins/timelines/public/methods/index.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/mock/browser_fields.ts b/x-pack/solutions/security/plugins/timelines/public/mock/browser_fields.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/mock/browser_fields.ts rename to x-pack/solutions/security/plugins/timelines/public/mock/browser_fields.ts diff --git a/x-pack/platform/plugins/shared/timelines/public/mock/index.ts b/x-pack/solutions/security/plugins/timelines/public/mock/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/mock/index.ts rename to x-pack/solutions/security/plugins/timelines/public/mock/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/public/mock/index_pattern.ts b/x-pack/solutions/security/plugins/timelines/public/mock/index_pattern.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/mock/index_pattern.ts rename to x-pack/solutions/security/plugins/timelines/public/mock/index_pattern.ts diff --git a/x-pack/platform/plugins/shared/timelines/public/mock/kibana_react.mock.ts b/x-pack/solutions/security/plugins/timelines/public/mock/kibana_react.mock.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/mock/kibana_react.mock.ts rename to x-pack/solutions/security/plugins/timelines/public/mock/kibana_react.mock.ts diff --git a/x-pack/platform/plugins/shared/timelines/public/mock/mock_and_providers.tsx b/x-pack/solutions/security/plugins/timelines/public/mock/mock_and_providers.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/mock/mock_and_providers.tsx rename to x-pack/solutions/security/plugins/timelines/public/mock/mock_and_providers.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/mock/mock_data_providers.tsx b/x-pack/solutions/security/plugins/timelines/public/mock/mock_data_providers.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/mock/mock_data_providers.tsx rename to x-pack/solutions/security/plugins/timelines/public/mock/mock_data_providers.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/mock/mock_hover_actions.tsx b/x-pack/solutions/security/plugins/timelines/public/mock/mock_hover_actions.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/mock/mock_hover_actions.tsx rename to x-pack/solutions/security/plugins/timelines/public/mock/mock_hover_actions.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/mock/mock_local_storage.ts b/x-pack/solutions/security/plugins/timelines/public/mock/mock_local_storage.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/mock/mock_local_storage.ts rename to x-pack/solutions/security/plugins/timelines/public/mock/mock_local_storage.ts diff --git a/x-pack/platform/plugins/shared/timelines/public/mock/plugin_mock.tsx b/x-pack/solutions/security/plugins/timelines/public/mock/plugin_mock.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/mock/plugin_mock.tsx rename to x-pack/solutions/security/plugins/timelines/public/mock/plugin_mock.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/mock/test_providers.tsx b/x-pack/solutions/security/plugins/timelines/public/mock/test_providers.tsx similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/mock/test_providers.tsx rename to x-pack/solutions/security/plugins/timelines/public/mock/test_providers.tsx diff --git a/x-pack/platform/plugins/shared/timelines/public/plugin.ts b/x-pack/solutions/security/plugins/timelines/public/plugin.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/plugin.ts rename to x-pack/solutions/security/plugins/timelines/public/plugin.ts diff --git a/x-pack/platform/plugins/shared/timelines/public/store/timeline/actions.ts b/x-pack/solutions/security/plugins/timelines/public/store/timeline/actions.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/store/timeline/actions.ts rename to x-pack/solutions/security/plugins/timelines/public/store/timeline/actions.ts diff --git a/x-pack/platform/plugins/shared/timelines/public/store/timeline/helpers.ts b/x-pack/solutions/security/plugins/timelines/public/store/timeline/helpers.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/store/timeline/helpers.ts rename to x-pack/solutions/security/plugins/timelines/public/store/timeline/helpers.ts diff --git a/x-pack/platform/plugins/shared/timelines/public/store/timeline/index.ts b/x-pack/solutions/security/plugins/timelines/public/store/timeline/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/store/timeline/index.ts rename to x-pack/solutions/security/plugins/timelines/public/store/timeline/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/public/store/timeline/reducer.ts b/x-pack/solutions/security/plugins/timelines/public/store/timeline/reducer.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/store/timeline/reducer.ts rename to x-pack/solutions/security/plugins/timelines/public/store/timeline/reducer.ts diff --git a/x-pack/platform/plugins/shared/timelines/public/types.ts b/x-pack/solutions/security/plugins/timelines/public/types.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/public/types.ts rename to x-pack/solutions/security/plugins/timelines/public/types.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/config.ts b/x-pack/solutions/security/plugins/timelines/server/config.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/config.ts rename to x-pack/solutions/security/plugins/timelines/server/config.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/index.ts b/x-pack/solutions/security/plugins/timelines/server/index.ts similarity index 94% rename from x-pack/platform/plugins/shared/timelines/server/index.ts rename to x-pack/solutions/security/plugins/timelines/server/index.ts index a1b1dc52e4246..0381c0a2a5aae 100644 --- a/x-pack/platform/plugins/shared/timelines/server/index.ts +++ b/x-pack/solutions/security/plugins/timelines/server/index.ts @@ -21,7 +21,7 @@ const configSchema = schema.object({ * For internal use. A list of string values (comma delimited) that will enable experimental * type of functionality that is not yet released. Valid values for this settings need to * be defined in: - * `x-pack/platform/plugins/shared/timelines/common/experimental_features.ts` + * `x-pack/solutions/security/plugins/timelines/common/experimental_features.ts` * under the `allowedExperimentalValues` object * * @example diff --git a/x-pack/platform/plugins/shared/timelines/server/plugin.ts b/x-pack/solutions/security/plugins/timelines/server/plugin.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/plugin.ts rename to x-pack/solutions/security/plugins/timelines/server/plugin.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/index_fields/index.test.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/index_fields/index.test.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/index_fields/index.test.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/index_fields/index.test.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/index_fields/index.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/index_fields/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/index_fields/index.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/index_fields/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/index_fields/mock.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/index_fields/mock.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/index_fields/mock.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/index_fields/mock.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/index_fields/parse_options.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/index_fields/parse_options.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/index_fields/parse_options.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/index_fields/parse_options.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/eql/__mocks__/index.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/eql/__mocks__/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/eql/__mocks__/index.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/eql/__mocks__/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/eql/helpers.test.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/eql/helpers.test.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/eql/helpers.test.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/eql/helpers.test.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/eql/helpers.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/eql/helpers.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/eql/helpers.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/eql/helpers.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/eql/index.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/eql/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/eql/index.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/eql/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/eql/parse_options.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/eql/parse_options.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/eql/parse_options.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/eql/parse_options.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/all/helpers.test.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/all/helpers.test.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/all/helpers.test.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/all/helpers.test.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/all/helpers.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/all/helpers.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/all/helpers.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/all/helpers.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/all/index.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/all/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/all/index.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/all/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/all/query.events_all.dsl.test.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/all/query.events_all.dsl.test.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/all/query.events_all.dsl.test.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/all/query.events_all.dsl.test.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/all/query.events_all.dsl.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/all/query.events_all.dsl.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/all/query.events_all.dsl.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/all/query.events_all.dsl.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/details/index.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/details/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/details/index.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/details/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/details/query.events_details.dsl.test.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/details/query.events_details.dsl.test.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/details/query.events_details.dsl.test.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/details/query.events_details.dsl.test.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/details/query.events_details.dsl.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/details/query.events_details.dsl.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/details/query.events_details.dsl.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/details/query.events_details.dsl.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/index.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/index.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/kpi/index.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/kpi/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/kpi/index.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/kpi/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/kpi/query.kpi.dsl.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/kpi/query.kpi.dsl.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/kpi/query.kpi.dsl.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/kpi/query.kpi.dsl.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/last_event_time/index.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/last_event_time/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/last_event_time/index.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/last_event_time/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/last_event_time/query.events_last_event_time.dsl.test.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/last_event_time/query.events_last_event_time.dsl.test.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/last_event_time/query.events_last_event_time.dsl.test.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/last_event_time/query.events_last_event_time.dsl.test.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/last_event_time/query.events_last_event_time.dsl.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/last_event_time/query.events_last_event_time.dsl.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/events/last_event_time/query.events_last_event_time.dsl.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/events/last_event_time/query.events_last_event_time.dsl.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/build_ecs_objects.test.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/build_ecs_objects.test.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/build_ecs_objects.test.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/build_ecs_objects.test.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/build_ecs_objects.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/build_ecs_objects.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/build_ecs_objects.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/build_ecs_objects.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/build_object_recursive.test.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/build_object_recursive.test.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/build_object_recursive.test.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/build_object_recursive.test.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/build_object_recursive.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/build_object_recursive.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/build_object_recursive.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/build_object_recursive.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/constants.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/constants.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/constants.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/constants.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/format_timeline_data.test.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/format_timeline_data.test.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/format_timeline_data.test.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/format_timeline_data.test.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/format_timeline_data.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/format_timeline_data.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/format_timeline_data.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/format_timeline_data.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/get_nested_parent_path.test.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/get_nested_parent_path.test.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/get_nested_parent_path.test.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/get_nested_parent_path.test.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/get_nested_parent_path.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/get_nested_parent_path.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/get_nested_parent_path.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/get_nested_parent_path.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/get_timestamp.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/get_timestamp.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/get_timestamp.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/get_timestamp.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/is_agg_cardinality_aggregate.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/is_agg_cardinality_aggregate.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/helpers/is_agg_cardinality_aggregate.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/helpers/is_agg_cardinality_aggregate.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/index.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/index.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/types.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/types.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/factory/types.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/factory/types.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/index.ts b/x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/index.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/search_strategy/timeline/index.ts rename to x-pack/solutions/security/plugins/timelines/server/search_strategy/timeline/index.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/types.ts b/x-pack/solutions/security/plugins/timelines/server/types.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/types.ts rename to x-pack/solutions/security/plugins/timelines/server/types.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/utils/beat_schema/fields.json b/x-pack/solutions/security/plugins/timelines/server/utils/beat_schema/fields.json similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/utils/beat_schema/fields.json rename to x-pack/solutions/security/plugins/timelines/server/utils/beat_schema/fields.json diff --git a/x-pack/platform/plugins/shared/timelines/server/utils/beat_schema/fields.json.d.ts b/x-pack/solutions/security/plugins/timelines/server/utils/beat_schema/fields.json.d.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/utils/beat_schema/fields.json.d.ts rename to x-pack/solutions/security/plugins/timelines/server/utils/beat_schema/fields.json.d.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/utils/build_query.ts b/x-pack/solutions/security/plugins/timelines/server/utils/build_query.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/utils/build_query.ts rename to x-pack/solutions/security/plugins/timelines/server/utils/build_query.ts diff --git a/x-pack/platform/plugins/shared/timelines/server/utils/filters.ts b/x-pack/solutions/security/plugins/timelines/server/utils/filters.ts similarity index 100% rename from x-pack/platform/plugins/shared/timelines/server/utils/filters.ts rename to x-pack/solutions/security/plugins/timelines/server/utils/filters.ts diff --git a/x-pack/platform/plugins/shared/timelines/tsconfig.json b/x-pack/solutions/security/plugins/timelines/tsconfig.json similarity index 100% rename from x-pack/platform/plugins/shared/timelines/tsconfig.json rename to x-pack/solutions/security/plugins/timelines/tsconfig.json diff --git a/yarn.lock b/yarn.lock index c5a19e1019922..4f511922755d7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9174,7 +9174,7 @@ version "0.0.0" uid "" -"@kbn/timelines-plugin@link:x-pack/platform/plugins/shared/timelines": +"@kbn/timelines-plugin@link:x-pack/solutions/security/plugins/timelines": version "0.0.0" uid ""