diff --git a/.eslintrc.js b/.eslintrc.js index f98b8524bf36e..8cf08f2819248 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -980,7 +980,7 @@ module.exports = { // front end and common typescript and javascript files only files: [ 'x-pack/plugins/ecs_data_quality_dashboard/common/**/*.{js,mjs,ts,tsx}', - 'x-pack/packages/kbn-ecs-data-quality-dashboard/common/**/*.{js,mjs,ts,tsx}', + 'x-pack/packages/security-solution/**/*.{js,mjs,ts,tsx}', 'x-pack/plugins/security_solution/public/**/*.{js,mjs,ts,tsx}', 'x-pack/plugins/security_solution/common/**/*.{js,mjs,ts,tsx}', 'x-pack/plugins/timelines/public/**/*.{js,mjs,ts,tsx}', @@ -1007,14 +1007,14 @@ module.exports = { // This should be a very small set as most linter rules are useful for tests as well. files: [ 'x-pack/plugins/ecs_data_quality_dashboard/**/*.{ts,tsx}', - 'x-pack/packages/kbn-ecs-data-quality-dashboard/**/*.{ts,tsx}', + 'x-pack/packages/security-solution/**/*.{ts,tsx}', 'x-pack/plugins/security_solution/**/*.{ts,tsx}', 'x-pack/plugins/timelines/**/*.{ts,tsx}', 'x-pack/plugins/cases/**/*.{ts,tsx}', ], excludedFiles: [ 'x-pack/plugins/ecs_data_quality_dashboard/**/*.{test,mock,test_helper}.{ts,tsx}', - 'x-pack/packages/kbn-ecs-data-quality-dashboard/**/*.{test,mock,test_helper}.{ts,tsx}', + 'x-pack/packages/security-solution/**/*.{test,mock,test_helper}.{ts,tsx}', 'x-pack/plugins/security_solution/**/*.{test,mock,test_helper}.{ts,tsx}', 'x-pack/plugins/timelines/**/*.{test,mock,test_helper}.{ts,tsx}', 'x-pack/plugins/cases/**/*.{test,mock,test_helper}.{ts,tsx}', @@ -1027,7 +1027,7 @@ module.exports = { // typescript only for front and back end files: [ 'x-pack/plugins/ecs_data_quality_dashboard/**/*.{ts,tsx}', - 'x-pack/packages/kbn-ecs-data-quality-dashboard/**/*.{ts,tsx}', + 'x-pack/packages/security-solution/**/*.{ts,tsx}', 'x-pack/plugins/security_solution/**/*.{ts,tsx}', 'x-pack/plugins/timelines/**/*.{ts,tsx}', 'x-pack/plugins/cases/**/*.{ts,tsx}', @@ -1059,7 +1059,7 @@ module.exports = { // typescript and javascript for front and back end files: [ 'x-pack/plugins/ecs_data_quality_dashboard/**/*.{js,mjs,ts,tsx}', - 'x-pack/packages/kbn-ecs-data-quality-dashboard/**/*.{js,mjs,ts,tsx}', + 'x-pack/packages/security-solution/**/*.{js,mjs,ts,tsx}', 'x-pack/plugins/security_solution/**/*.{js,mjs,ts,tsx}', 'x-pack/plugins/timelines/**/*.{js,mjs,ts,tsx}', 'x-pack/plugins/cases/**/*.{js,mjs,ts,tsx}', diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 5a58a6099e7c6..dff2737a1cd4c 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -319,7 +319,7 @@ packages/kbn-docs-utils @elastic/kibana-operations packages/kbn-dom-drag-drop @elastic/kibana-visualizations @elastic/kibana-data-discovery packages/kbn-ebt-tools @elastic/kibana-core packages/kbn-ecs @elastic/kibana-core @elastic/security-threat-hunting-investigations -x-pack/packages/kbn-ecs-data-quality-dashboard @elastic/security-threat-hunting-investigations +x-pack/packages/security-solution/ecs_data_quality_dashboard @elastic/security-threat-hunting-investigations x-pack/plugins/ecs_data_quality_dashboard @elastic/security-threat-hunting-investigations test/plugin_functional/plugins/elasticsearch_client_plugin @elastic/kibana-core x-pack/test/plugin_api_integration/plugins/elasticsearch_client @elastic/kibana-core @@ -549,11 +549,11 @@ x-pack/test/security_api_integration/packages/helpers @elastic/kibana-core x-pack/plugins/security @elastic/kibana-security x-pack/test/cases_api_integration/common/plugins/security_solution @elastic/response-ops x-pack/plugins/security_solution @elastic/security-solution -packages/security-solution/side_nav @elastic/security-threat-hunting-explore -packages/security-solution/storybook/config @elastic/security-threat-hunting-explore +x-pack/packages/security-solution/side_nav @elastic/security-threat-hunting-explore +x-pack/packages/security-solution/storybook/config @elastic/security-threat-hunting-explore x-pack/test/security_functional/plugins/test_endpoints @elastic/kibana-security packages/kbn-securitysolution-autocomplete @elastic/security-solution-platform -x-pack/packages/kbn-securitysolution-data-table @elastic/security-threat-hunting-investigations +x-pack/packages/security-solution/data_table @elastic/security-threat-hunting-investigations packages/kbn-securitysolution-ecs @elastic/security-threat-hunting-explore packages/kbn-securitysolution-es-utils @elastic/security-solution-platform packages/kbn-securitysolution-exception-list-components @elastic/security-solution-platform diff --git a/.i18nrc.json b/.i18nrc.json index d64d2989dc44c..31ab7a91e206c 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -17,7 +17,6 @@ "domDragDrop": "packages/kbn-dom-drag-drop", "controls": "src/plugins/controls", "data": "src/plugins/data", - "ecsDataQualityDashboard": "x-pack/packages/kbn-ecs-data-quality-dashboard", "observabilityAlertDetails": "x-pack/packages/observability/alert_details", "dataViews": "src/plugins/data_views", "devTools": "src/plugins/dev_tools", @@ -80,11 +79,10 @@ "savedObjects": "src/plugins/saved_objects", "savedObjectsFinder": "src/plugins/saved_objects_finder", "savedObjectsManagement": "src/plugins/saved_objects_management", - "securitySolutionDataTable": "packages/kbn-securitysolution-data-table", "server": "src/legacy/server", "share": "src/plugins/share", "sharedUXPackages": "packages/shared-ux", - "securitySolutionPackages": "packages/security-solution", + "securitySolutionPackages": "x-pack/packages/security-solution", "coloring": "packages/kbn-coloring/src", "languageDocumentationPopover": "packages/kbn-language-documentation-popover/src", "statusPage": "src/legacy/core_plugins/status_page", diff --git a/package.json b/package.json index bd9cc352f6af7..e6761869fa3c7 100644 --- a/package.json +++ b/package.json @@ -358,7 +358,7 @@ "@kbn/dom-drag-drop": "link:packages/kbn-dom-drag-drop", "@kbn/ebt-tools": "link:packages/kbn-ebt-tools", "@kbn/ecs": "link:packages/kbn-ecs", - "@kbn/ecs-data-quality-dashboard": "link:x-pack/packages/kbn-ecs-data-quality-dashboard", + "@kbn/ecs-data-quality-dashboard": "link:x-pack/packages/security-solution/ecs_data_quality_dashboard", "@kbn/ecs-data-quality-dashboard-plugin": "link:x-pack/plugins/ecs_data_quality_dashboard", "@kbn/elasticsearch-client-plugin": "link:test/plugin_functional/plugins/elasticsearch_client_plugin", "@kbn/elasticsearch-client-xpack-plugin": "link:x-pack/test/plugin_api_integration/plugins/elasticsearch_client", @@ -550,11 +550,11 @@ "@kbn/security-plugin": "link:x-pack/plugins/security", "@kbn/security-solution-fixtures-plugin": "link:x-pack/test/cases_api_integration/common/plugins/security_solution", "@kbn/security-solution-plugin": "link:x-pack/plugins/security_solution", - "@kbn/security-solution-side-nav": "link:packages/security-solution/side_nav", - "@kbn/security-solution-storybook-config": "link:packages/security-solution/storybook/config", + "@kbn/security-solution-side-nav": "link:x-pack/packages/security-solution/side_nav", + "@kbn/security-solution-storybook-config": "link:x-pack/packages/security-solution/storybook/config", "@kbn/security-test-endpoints-plugin": "link:x-pack/test/security_functional/plugins/test_endpoints", "@kbn/securitysolution-autocomplete": "link:packages/kbn-securitysolution-autocomplete", - "@kbn/securitysolution-data-table": "link:x-pack/packages/kbn-securitysolution-data-table", + "@kbn/securitysolution-data-table": "link:x-pack/packages/security-solution/data_table", "@kbn/securitysolution-ecs": "link:packages/kbn-securitysolution-ecs", "@kbn/securitysolution-es-utils": "link:packages/kbn-securitysolution-es-utils", "@kbn/securitysolution-exception-list-components": "link:packages/kbn-securitysolution-exception-list-components", diff --git a/packages/kbn-babel-preset/styled_components_files.js b/packages/kbn-babel-preset/styled_components_files.js index f9b64a5f5804b..7c164cbc2edc1 100644 --- a/packages/kbn-babel-preset/styled_components_files.js +++ b/packages/kbn-babel-preset/styled_components_files.js @@ -12,9 +12,10 @@ module.exports = { * Used by `kbn-babel-preset` and `kbn-eslint-config`. */ USES_STYLED_COMPONENTS: [ - /packages[\/\\](kbn-ui-shared-deps-(npm|src)|kbn-ecs-data-quality-dashboard)[\/\\]/, + /packages[\/\\]kbn-ui-shared-deps-(npm|src)[\/\\]/, /src[\/\\]plugins[\/\\](kibana_react)[\/\\]/, /x-pack[\/\\]plugins[\/\\](apm|beats_management|cases|fleet|infra|lists|observability|observability_shared|exploratory_view|osquery|security_solution|timelines|synthetics|ux)[\/\\]/, /x-pack[\/\\]test[\/\\]plugin_functional[\/\\]plugins[\/\\]resolver_test[\/\\]/, + /x-pack[\/\\]packages[\/\\]security-solution[\/\\]ecs_data_quality_dashboard[\/\\]/, ], }; diff --git a/packages/security-solution/side_nav/jest.config.js b/packages/security-solution/side_nav/jest.config.js deleted file mode 100644 index 84ffd6a1f7720..0000000000000 --- a/packages/security-solution/side_nav/jest.config.js +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/packages/security-solution/side_nav'], -}; diff --git a/packages/security-solution/storybook/config/index.ts b/packages/security-solution/storybook/config/index.ts deleted file mode 100755 index 5a73da614bf27..0000000000000 --- a/packages/security-solution/storybook/config/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -export { TITLE, URL } from './constants'; diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index c612ef05d4b7a..24dc93c33894e 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -45,8 +45,7 @@ export const storybookAliases = { observability: 'x-pack/plugins/observability/.storybook', presentation: 'src/plugins/presentation_util/storybook', security_solution: 'x-pack/plugins/security_solution/.storybook', - security_solution_packages: 'packages/security-solution/storybook/config', - security_solution_data_table: 'x-pack/packages/kbn-securitysolution-data-table/.storybook', + security_solution_packages: 'x-pack/packages/security-solution/storybook/config', shared_ux: 'packages/shared-ux/storybook/config', threat_intelligence: 'x-pack/plugins/threat_intelligence/.storybook', triggers_actions_ui: 'x-pack/plugins/triggers_actions_ui/.storybook', diff --git a/tsconfig.base.json b/tsconfig.base.json index b6f66fe1f806e..a5de10e9f4fe3 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -632,8 +632,8 @@ "@kbn/ebt-tools/*": ["packages/kbn-ebt-tools/*"], "@kbn/ecs": ["packages/kbn-ecs"], "@kbn/ecs/*": ["packages/kbn-ecs/*"], - "@kbn/ecs-data-quality-dashboard": ["x-pack/packages/kbn-ecs-data-quality-dashboard"], - "@kbn/ecs-data-quality-dashboard/*": ["x-pack/packages/kbn-ecs-data-quality-dashboard/*"], + "@kbn/ecs-data-quality-dashboard": ["x-pack/packages/security-solution/ecs_data_quality_dashboard"], + "@kbn/ecs-data-quality-dashboard/*": ["x-pack/packages/security-solution/ecs_data_quality_dashboard/*"], "@kbn/ecs-data-quality-dashboard-plugin": ["x-pack/plugins/ecs_data_quality_dashboard"], "@kbn/ecs-data-quality-dashboard-plugin/*": ["x-pack/plugins/ecs_data_quality_dashboard/*"], "@kbn/elasticsearch-client-plugin": ["test/plugin_functional/plugins/elasticsearch_client_plugin"], @@ -1092,16 +1092,16 @@ "@kbn/security-solution-fixtures-plugin/*": ["x-pack/test/cases_api_integration/common/plugins/security_solution/*"], "@kbn/security-solution-plugin": ["x-pack/plugins/security_solution"], "@kbn/security-solution-plugin/*": ["x-pack/plugins/security_solution/*"], - "@kbn/security-solution-side-nav": ["packages/security-solution/side_nav"], - "@kbn/security-solution-side-nav/*": ["packages/security-solution/side_nav/*"], - "@kbn/security-solution-storybook-config": ["packages/security-solution/storybook/config"], - "@kbn/security-solution-storybook-config/*": ["packages/security-solution/storybook/config/*"], + "@kbn/security-solution-side-nav": ["x-pack/packages/security-solution/side_nav"], + "@kbn/security-solution-side-nav/*": ["x-pack/packages/security-solution/side_nav/*"], + "@kbn/security-solution-storybook-config": ["x-pack/packages/security-solution/storybook/config"], + "@kbn/security-solution-storybook-config/*": ["x-pack/packages/security-solution/storybook/config/*"], "@kbn/security-test-endpoints-plugin": ["x-pack/test/security_functional/plugins/test_endpoints"], "@kbn/security-test-endpoints-plugin/*": ["x-pack/test/security_functional/plugins/test_endpoints/*"], "@kbn/securitysolution-autocomplete": ["packages/kbn-securitysolution-autocomplete"], "@kbn/securitysolution-autocomplete/*": ["packages/kbn-securitysolution-autocomplete/*"], - "@kbn/securitysolution-data-table": ["x-pack/packages/kbn-securitysolution-data-table"], - "@kbn/securitysolution-data-table/*": ["x-pack/packages/kbn-securitysolution-data-table/*"], + "@kbn/securitysolution-data-table": ["x-pack/packages/security-solution/data_table"], + "@kbn/securitysolution-data-table/*": ["x-pack/packages/security-solution/data_table/*"], "@kbn/securitysolution-ecs": ["packages/kbn-securitysolution-ecs"], "@kbn/securitysolution-ecs/*": ["packages/kbn-securitysolution-ecs/*"], "@kbn/securitysolution-es-utils": ["packages/kbn-securitysolution-es-utils"], diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/translations.ts b/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/translations.ts deleted file mode 100644 index 6b8ffed70f8c9..0000000000000 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/translations.ts +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { i18n } from '@kbn/i18n'; - -export const INDICES_TAB_TITLE = i18n.translate( - 'ecsDataQualityDashboard.body.tabs.indicesTabTitle', - { - defaultMessage: 'Indices', - } -); - -export const STORAGE_TAB_TITLE = i18n.translate( - 'ecsDataQualityDashboard.body.tabs.storageTabTitle', - { - defaultMessage: 'Storage', - } -); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/translations.ts b/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/translations.ts deleted file mode 100644 index b8c9bff644803..0000000000000 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/translations.ts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { i18n } from '@kbn/i18n'; - -export const ERROR = i18n.translate('ecsDataQualityDashboard.errorsViewerTable.errorColumn', { - defaultMessage: 'Error', -}); - -export const INDEX = i18n.translate('ecsDataQualityDashboard.errorsViewerTable.indexColumn', { - defaultMessage: 'Index', -}); - -export const PATTERN = i18n.translate('ecsDataQualityDashboard.errorsViewerTable.patternColumn', { - defaultMessage: 'Pattern', -}); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/translations.ts b/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/translations.ts deleted file mode 100644 index 91f06b70a42ff..0000000000000 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/translations.ts +++ /dev/null @@ -1,406 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { i18n } from '@kbn/i18n'; - -export const ADD_TO_NEW_CASE = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.addToNewCaseButton', - { - defaultMessage: 'Add to new case', - } -); - -export const ALL_FIELDS = i18n.translate('ecsDataQualityDashboard.indexProperties.allFieldsLabel', { - defaultMessage: 'All fields', -}); - -export const ALL_CALLOUT = (version: string) => - i18n.translate('ecsDataQualityDashboard.indexProperties.allCallout', { - values: { version }, - defaultMessage: - "All mappings for the fields in this index, including fields that comply with the Elastic Common Schema (ECS), version {version}, and fields that don't", - }); - -export const ALL_CALLOUT_TITLE = (fieldCount: number) => - i18n.translate('ecsDataQualityDashboard.indexProperties.allCalloutTitle', { - values: { fieldCount }, - defaultMessage: - 'All {fieldCount} {fieldCount, plural, =1 {field mapping} other {field mappings}}', - }); - -export const ALL_EMPTY = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.allCalloutEmptyContent', - { - defaultMessage: 'This index does not contain any mappings', - } -); - -export const ALL_EMPTY_TITLE = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.allCalloutEmptyTitle', - { - defaultMessage: 'No mappings', - } -); - -export const ALL_FIELDS_TABLE_TITLE = (indexName: string) => - i18n.translate('ecsDataQualityDashboard.allTab.allFieldsTableTitle', { - values: { indexName }, - defaultMessage: 'All fields - {indexName}', - }); - -export const SUMMARY_MARKDOWN_TITLE = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.summaryMarkdownTitle', - { - defaultMessage: 'Data quality', - } -); - -export const SUMMARY_MARKDOWN_DESCRIPTION = ({ - ecsFieldReferenceUrl, - ecsReferenceUrl, - indexName, - mappingUrl, - version, -}: { - ecsFieldReferenceUrl: string; - ecsReferenceUrl: string; - indexName: string; - mappingUrl: string; - version: string; -}) => - i18n.translate('ecsDataQualityDashboard.indexProperties.summaryMarkdownDescription', { - values: { ecsFieldReferenceUrl, ecsReferenceUrl, indexName, mappingUrl, version }, - defaultMessage: - 'The `{indexName}` index has [mappings]({mappingUrl}) or field values that are different than the [Elastic Common Schema]({ecsReferenceUrl}) (ECS), version `{version}` [definitions]({ecsFieldReferenceUrl}).', - }); - -export const COPY_TO_CLIPBOARD = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.copyToClipboardButton', - { - defaultMessage: 'Copy to clipboard', - } -); - -export const CUSTOM_FIELDS_TABLE_TITLE = (indexName: string) => - i18n.translate('ecsDataQualityDashboard.customTab.customFieldsTableTitle', { - values: { indexName }, - defaultMessage: 'Custom fields - {indexName}', - }); - -export const CUSTOM_DETECTION_ENGINE_RULES_WORK = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.custonDetectionEngineRulesWorkMessage', - { - defaultMessage: '✅ Custom detection engine rules work', - } -); - -export const DOCS = i18n.translate('ecsDataQualityDashboard.indexProperties.docsLabel', { - defaultMessage: 'Docs', -}); - -export const ECS_COMPLIANT_FIELDS = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.ecsCompliantFieldsLabel', - { - defaultMessage: 'ECS compliant fields', - } -); - -export const ECS_COMPLIANT_CALLOUT = ({ - fieldCount, - version, -}: { - fieldCount: number; - version: string; -}) => - i18n.translate('ecsDataQualityDashboard.indexProperties.ecsCompliantCallout', { - values: { fieldCount, version }, - defaultMessage: - 'The {fieldCount, plural, =1 {index mapping type and document values for this field comply} other {index mapping types and document values of these fields comply}} with the Elastic Common Schema (ECS), version {version}', - }); - -export const ECS_COMPLIANT_CALLOUT_TITLE = (fieldCount: number) => - i18n.translate('ecsDataQualityDashboard.indexProperties.ecsCompliantCalloutTitle', { - values: { fieldCount }, - defaultMessage: '{fieldCount} ECS compliant {fieldCount, plural, =1 {field} other {fields}}', - }); - -export const ECS_COMPLIANT_EMPTY = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.ecsCompliantEmptyContent', - { - defaultMessage: - 'None of the field mappings in this index comply with the Elastic Common Schema (ECS). The index must (at least) contain an @timestamp date field.', - } -); - -export const ECS_VERSION_MARKDOWN_COMMENT = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.ecsVersionMarkdownComment', - { - defaultMessage: 'Elastic Common Schema (ECS) version', - } -); - -export const INDEX = i18n.translate('ecsDataQualityDashboard.indexProperties.indexMarkdown', { - defaultMessage: 'Index', -}); - -export const ECS_COMPLIANT_EMPTY_TITLE = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.ecsCompliantEmptyTitle', - { - defaultMessage: 'No ECS compliant Mappings', - } -); - -export const ECS_COMPLIANT_MAPPINGS_ARE_FULLY_SUPPORTED = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.ecsCompliantMappingsAreFullySupportedMessage', - { - defaultMessage: '✅ ECS compliant mappings and field values are fully supported', - } -); - -export const ERROR_LOADING_MAPPINGS_TITLE = i18n.translate( - 'ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMappingsTitle', - { - defaultMessage: 'Unable to load index mappings', - } -); - -export const ERROR_LOADING_MAPPINGS_BODY = (error: string) => - i18n.translate('ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMappingsBody', { - values: { error }, - defaultMessage: 'There was a problem loading mappings: {error}', - }); - -export const ERROR_LOADING_UNALLOWED_VALUES_BODY = (error: string) => - i18n.translate('ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingUnallowedValuesBody', { - values: { error }, - defaultMessage: 'There was a problem loading unallowed values: {error}', - }); - -export const ERROR_LOADING_UNALLOWED_VALUES_TITLE = i18n.translate( - 'ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingUnallowedValuesTitle', - { - defaultMessage: 'Unable to load unallowed values', - } -); - -export const ECS_COMPLIANT_FIELDS_TABLE_TITLE = (indexName: string) => - i18n.translate('ecsDataQualityDashboard.customTab.ecsComplaintFieldsTableTitle', { - values: { indexName }, - defaultMessage: 'ECS complaint fields - {indexName}', - }); - -export const LOADING_MAPPINGS = i18n.translate( - 'ecsDataQualityDashboard.emptyLoadingPrompt.loadingMappingsPrompt', - { - defaultMessage: 'Loading mappings', - } -); - -export const LOADING_UNALLOWED_VALUES = i18n.translate( - 'ecsDataQualityDashboard.emptyLoadingPrompt.loadingUnallowedValuesPrompt', - { - defaultMessage: 'Loading unallowed values', - } -); - -export const SUMMARY = i18n.translate('ecsDataQualityDashboard.indexProperties.summaryTab', { - defaultMessage: 'Summary', -}); - -export const MISSING_TIMESTAMP_CALLOUT = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.missingTimestampCallout', - { - defaultMessage: - 'Consider adding an @timestamp (date) field mapping to this index, as required by the Elastic Common Schema (ECS), because:', - } -); - -export const MISSING_TIMESTAMP_CALLOUT_TITLE = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.missingTimestampCalloutTitle', - { - defaultMessage: 'Missing an @timestamp (date) field mapping for this index', - } -); - -export const CUSTOM_FIELDS = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.customFieldsLabel', - { - defaultMessage: 'Custom fields', - } -); - -export const CUSTOM_CALLOUT = ({ fieldCount, version }: { fieldCount: number; version: string }) => - i18n.translate('ecsDataQualityDashboard.indexProperties.customCallout', { - values: { fieldCount, version }, - defaultMessage: - '{fieldCount, plural, =1 {This field is not} other {These fields are not}} defined by the Elastic Common Schema (ECS), version {version}.', - }); - -export const CUSTOM_CALLOUT_TITLE = (fieldCount: number) => - i18n.translate('ecsDataQualityDashboard.indexProperties.customCalloutTitle', { - values: { fieldCount }, - defaultMessage: - '{fieldCount} Custom {fieldCount, plural, =1 {field mapping} other {field mappings}}', - }); - -export const CUSTOM_EMPTY = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.customEmptyContent', - { - defaultMessage: 'All the field mappings in this index are defined by the Elastic Common Schema', - } -); - -export const CUSTOM_EMPTY_TITLE = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.customEmptyTitle', - { - defaultMessage: 'All field mappings defined by ECS', - } -); - -export const INCOMPATIBLE_FIELDS = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.incompatibleFieldsTab', - { - defaultMessage: 'Incompatible fields', - } -); - -export const INCOMPATIBLE_CALLOUT = ({ - fieldCount, - version, -}: { - fieldCount: number; - version: string; -}) => - i18n.translate('ecsDataQualityDashboard.indexProperties.incompatibleCallout', { - values: { version }, - defaultMessage: - "Fields are incompatible with ECS when index mappings, or the values of the fields in the index, don't conform to the Elastic Common Schema (ECS), version {version}.", - }); - -export const INCOMPATIBLE_FIELDS_WITH = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.incompatibleCallout.incompatibleFieldsWithLabel', - { - defaultMessage: - 'Incompatible fields with mappings in the same family have exactly the same search behavior but may have different space usage or performance characteristics.', - } -); - -export const WHEN_AN_INCOMPATIBLE_FIELD = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.incompatibleCallout.whenAnIncompatibleFieldLabel', - { - defaultMessage: 'When an incompatible field is not in the same family:', - } -); - -export const INCOMPATIBLE_CALLOUT_TITLE = ({ - fieldCount, - fieldsInSameFamily, -}: { - fieldCount: number; - fieldsInSameFamily: number; -}) => - i18n.translate('ecsDataQualityDashboard.indexProperties.incompatibleCalloutTitle', { - values: { fieldCount, fieldsInSameFamily }, - defaultMessage: - '{fieldCount} incompatible {fieldCount, plural, =1 {field} other {fields}}, {fieldsInSameFamily} {fieldsInSameFamily, plural, =1 {field} other {fields}} with {fieldsInSameFamily, plural, =1 {a mapping} other {mappings}} in the same family', - }); - -export const INCOMPATIBLE_EMPTY = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.incompatibleEmptyContent', - { - defaultMessage: - 'All of the field mappings and document values in this index are compliant with the Elastic Common Schema (ECS).', - } -); - -export const INCOMPATIBLE_EMPTY_TITLE = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.incompatibleEmptyTitle', - { - defaultMessage: 'All field mappings and values are ECS compliant', - } -); - -export const DETECTION_ENGINE_RULES_WILL_WORK = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.detectionEngineRulesWillWorkMessage', - { - defaultMessage: '✅ Detection engine rules will work for these fields', - } -); - -export const DETECTION_ENGINE_RULES_MAY_NOT_MATCH = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.detectionEngineRulesWontWorkMessage', - { - defaultMessage: - '❌ Detection engine rules referencing these fields may not match them correctly', - } -); - -export const OTHER_APP_CAPABILITIES_WORK_PROPERLY = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.otherAppCapabilitiesWorkProperlyMessage', - { - defaultMessage: '✅ Other app capabilities work properly', - } -); - -export const PAGES_DISPLAY_EVENTS = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.pagesDisplayEventsMessage', - { - defaultMessage: '✅ Pages display events and fields correctly', - } -); - -export const PAGES_MAY_NOT_DISPLAY_FIELDS = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.pagesMayNotDisplayFieldsMessage', - { - defaultMessage: '🌕 Some pages and features may not display these fields', - } -); - -export const PAGES_MAY_NOT_DISPLAY_EVENTS = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.pagesMayNotDisplayEventsMessage', - { - defaultMessage: - '❌ Pages may not display some events or fields due to unexpected field mappings or values', - } -); - -export const PRE_BUILT_DETECTION_ENGINE_RULES_WORK = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.preBuiltDetectionEngineRulesWorkMessage', - { - defaultMessage: '✅ Pre-built detection engine rules work', - } -); - -export const ECS_IS_A_PERMISSIVE_SCHEMA = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.ecsIsAPermissiveSchemaMessage', - { - defaultMessage: - 'ECS is a permissive schema. If your events have additional data that cannot be mapped to ECS, you can simply add them to your events, using custom field names.', - } -); - -export const SOMETIMES_INDICES_CREATED_BY_OLDER = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.sometimesIndicesCreatedByOlderDescription', - { - defaultMessage: - 'Sometimes, indices created by older integrations will have mappings or values that were, but are no longer compliant.', - } -); - -export const MAPPINGS_THAT_CONFLICT_WITH_ECS = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.mappingThatConflictWithEcsMessage', - { - defaultMessage: "❌ Mappings or field values that don't comply with ECS are not supported", - } -); - -export const UNKNOWN = i18n.translate( - 'ecsDataQualityDashboard.indexProperties.unknownCategoryLabel', - { - defaultMessage: 'Unknown', - } -); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/translations.ts b/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/translations.ts deleted file mode 100644 index 54098d624e0f9..0000000000000 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/translations.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { i18n } from '@kbn/i18n'; - -export const DOCS = i18n.translate('ecsDataQualityDashboard.patternSummary.docsLabel', { - defaultMessage: 'Docs', -}); - -export const INDICES = i18n.translate('ecsDataQualityDashboard.patternSummary.indicesLabel', { - defaultMessage: 'Indices', -}); - -export const PATTERN_OR_INDEX_TOOLTIP = i18n.translate( - 'ecsDataQualityDashboard.patternSummary.patternOrIndexTooltip', - { - defaultMessage: 'A pattern or specific index', - } -); - -export const PATTERN_DOCS_COUNT_TOOLTIP = (pattern: string) => - i18n.translate('ecsDataQualityDashboard.patternDocsCountTooltip', { - values: { pattern }, - defaultMessage: 'The total count from all indices matching: {pattern}', - }); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/translations.ts b/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/translations.ts deleted file mode 100644 index 79375b1956169..0000000000000 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/translations.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { i18n } from '@kbn/i18n'; - -export const ERROR_LOADING_METADATA_TITLE = (pattern: string) => - i18n.translate('ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMetadataTitle', { - values: { pattern }, - defaultMessage: "Indices matching the {pattern} pattern won't be checked", - }); - -export const ERROR_LOADING_METADATA_BODY = ({ - error, - pattern, -}: { - error: string; - pattern: string; -}) => - i18n.translate('ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMetadataBody', { - values: { error, pattern }, - defaultMessage: - "Indices matching the {pattern} pattern won't be checked, because an error occurred: {error}", - }); - -export const LOADING_STATS = i18n.translate( - 'ecsDataQualityDashboard.emptyLoadingPrompt.loadingStatsPrompt', - { - defaultMessage: 'Loading stats', - } -); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/stat_label/translations.ts b/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/stat_label/translations.ts deleted file mode 100644 index 1c52f29858ac4..0000000000000 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/stat_label/translations.ts +++ /dev/null @@ -1,132 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { i18n } from '@kbn/i18n'; - -export const CHECKED = i18n.translate('ecsDataQualityDashboard.statLabels.checkedLabel', { - defaultMessage: 'checked', -}); - -export const CUSTOM = i18n.translate('ecsDataQualityDashboard.statLabels.customLabel', { - defaultMessage: 'Custom', -}); - -export const CUSTOM_INDEX_TOOL_TIP = (indexName: string) => - i18n.translate('ecsDataQualityDashboard.statLabels.customIndexToolTip', { - values: { indexName }, - defaultMessage: 'A count of the custom field mappings in the {indexName} index', - }); - -export const CUSTOM_PATTERN_TOOL_TIP = (pattern: string) => - i18n.translate('ecsDataQualityDashboard.statLabels.customPatternToolTip', { - values: { pattern }, - defaultMessage: - 'The total count of custom field mappings, in indices matching the {pattern} pattern', - }); - -export const DOCS = i18n.translate('ecsDataQualityDashboard.statLabels.docsLabel', { - defaultMessage: 'Docs', -}); - -export const FIELDS = i18n.translate('ecsDataQualityDashboard.statLabels.fieldsLabel', { - defaultMessage: 'fields', -}); - -export const INCOMPATIBLE = i18n.translate('ecsDataQualityDashboard.statLabels.incompatibleLabel', { - defaultMessage: 'Incompatible', -}); - -export const INCOMPATIBLE_INDEX_TOOL_TIP = (indexName: string) => - i18n.translate('ecsDataQualityDashboard.statLabels.incompatibleIndexToolTip', { - values: { indexName }, - defaultMessage: 'Mappings and values incompatible with ECS, in the {indexName} index', - }); - -export const INCOMPATIBLE_PATTERN_TOOL_TIP = (pattern: string) => - i18n.translate('ecsDataQualityDashboard.statLabels.incompatiblePatternToolTip', { - values: { pattern }, - defaultMessage: - 'The total count of fields incompatible with ECS, in indices matching the {pattern} pattern', - }); - -export const INDEX_DOCS_COUNT_TOOL_TIP = (indexName: string) => - i18n.translate('ecsDataQualityDashboard.statLabels.indexDocsCountToolTip', { - values: { indexName }, - defaultMessage: 'A count of the docs in the {indexName} index', - }); - -export const INDEX_DOCS_PATTERN_TOOL_TIP = (pattern: string) => - i18n.translate('ecsDataQualityDashboard.statLabels.indexDocsPatternToolTip', { - values: { pattern }, - defaultMessage: 'The total count of docs, in indices matching the {pattern} pattern', - }); - -export const INDICES = i18n.translate('ecsDataQualityDashboard.statLabels.indicesLabel', { - defaultMessage: 'Indices', -}); - -export const SIZE = i18n.translate('ecsDataQualityDashboard.statLabels.sizeLabel', { - defaultMessage: 'Size', -}); - -export const INDICES_SIZE_PATTERN_TOOL_TIP = (pattern: string) => - i18n.translate('ecsDataQualityDashboard.statLabels.indicesSizePatternToolTip', { - values: { pattern }, - defaultMessage: - 'The total size of the primary indices matching the {pattern} pattern (does not include replicas)', - }); - -export const TOTAL_COUNT_OF_INDICES_CHECKED_MATCHING_PATTERN_TOOL_TIP = (pattern: string) => - i18n.translate( - 'ecsDataQualityDashboard.statLabels.totalCountOfIndicesCheckedMatchingPatternToolTip', - { - values: { pattern }, - defaultMessage: 'The total count of indices checked that match the {pattern} pattern', - } - ); - -export const TOTAL_COUNT_OF_INDICES_MATCHING_PATTERN_TOOL_TIP = (pattern: string) => - i18n.translate('ecsDataQualityDashboard.statLabels.totalCountOfIndicesMatchingPatternToolTip', { - values: { pattern }, - defaultMessage: 'The total count of indices matching the {pattern} pattern', - }); - -export const TOTAL_DOCS_TOOL_TIP = i18n.translate( - 'ecsDataQualityDashboard.statLabels.totalDocsToolTip', - { - defaultMessage: 'The total count of docs, in all indices', - } -); - -export const TOTAL_INCOMPATIBLE_TOOL_TIP = i18n.translate( - 'ecsDataQualityDashboard.statLabels.totalIncompatibleToolTip', - { - defaultMessage: - 'The total count of fields incompatible with ECS, in all indices that were checked', - } -); - -export const TOTAL_INDICES_CHECKED_TOOL_TIP = i18n.translate( - 'ecsDataQualityDashboard.statLabels.totalIndicesCheckedToolTip', - { - defaultMessage: 'The total count of all indices checked', - } -); - -export const TOTAL_INDICES_TOOL_TIP = i18n.translate( - 'ecsDataQualityDashboard.statLabels.totalIndicesToolTip', - { - defaultMessage: 'The total count of all indices', - } -); - -export const TOTAL_SIZE_TOOL_TIP = i18n.translate( - 'ecsDataQualityDashboard.statLabels.totalSizeToolTip', - { - defaultMessage: 'The total size of all primary indices (does not include replicas)', - } -); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/storage_treemap/translations.ts b/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/storage_treemap/translations.ts deleted file mode 100644 index f60cb2366cf36..0000000000000 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/storage_treemap/translations.ts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { i18n } from '@kbn/i18n'; - -export const NO_DATA_LABEL = i18n.translate('ecsDataQualityDashboard.storageTreemap.noDataLabel', { - defaultMessage: 'No data to display', -}); - -export const NO_DATA_REASON_LABEL = (stackByField1: string) => - i18n.translate('ecsDataQualityDashboard.storageTreemap.noDataReasonLabel', { - values: { - stackByField1, - }, - defaultMessage: 'The {stackByField1} field was not present in any groups', - }); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/summary_table/translations.ts b/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/summary_table/translations.ts deleted file mode 100644 index 7f438ce9eab0f..0000000000000 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/summary_table/translations.ts +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { i18n } from '@kbn/i18n'; - -export const COLLAPSE = i18n.translate('ecsDataQualityDashboard.summaryTable.collapseLabel', { - defaultMessage: 'Collapse', -}); - -export const DOCS = i18n.translate('ecsDataQualityDashboard.summaryTable.docsColumn', { - defaultMessage: 'Docs', -}); - -export const EXPAND = i18n.translate('ecsDataQualityDashboard.summaryTable.expandLabel', { - defaultMessage: 'Expand', -}); - -export const EXPAND_ROWS = i18n.translate('ecsDataQualityDashboard.summaryTable.expandRowsColumn', { - defaultMessage: 'Expand rows', -}); - -export const FAILED = i18n.translate('ecsDataQualityDashboard.summaryTable.failedTooltip', { - defaultMessage: 'Failed', -}); - -export const ILM_PHASE = i18n.translate('ecsDataQualityDashboard.summaryTable.ilmPhaseColumn', { - defaultMessage: 'ILM Phase', -}); - -export const INCOMPATIBLE_FIELDS = i18n.translate( - 'ecsDataQualityDashboard.summaryTable.incompatibleFieldsColumn', - { - defaultMessage: 'Incompatible fields', - } -); - -export const INDICES = i18n.translate('ecsDataQualityDashboard.summaryTable.indicesColumn', { - defaultMessage: 'Indices', -}); - -export const INDICES_CHECKED = i18n.translate( - 'ecsDataQualityDashboard.summaryTable.indicesCheckedColumn', - { - defaultMessage: 'Indices checked', - } -); - -export const INDEX = i18n.translate('ecsDataQualityDashboard.summaryTable.indexColumn', { - defaultMessage: 'Index', -}); - -export const INDEX_NAME_LABEL = i18n.translate( - 'ecsDataQualityDashboard.summaryTable.indexesNameLabel', - { - defaultMessage: 'Index name', - } -); - -export const INDEX_TOOL_TIP = (pattern: string) => - i18n.translate('ecsDataQualityDashboard.summaryTable.indexToolTip', { - values: { pattern }, - defaultMessage: 'This index matches the pattern or index name: {pattern}', - }); - -export const PASSED = i18n.translate('ecsDataQualityDashboard.summaryTable.passedTooltip', { - defaultMessage: 'Passed', -}); - -export const RESULT = i18n.translate('ecsDataQualityDashboard.summaryTable.resultColumn', { - defaultMessage: 'Result', -}); - -export const SIZE = i18n.translate('ecsDataQualityDashboard.summaryTable.sizeColumn', { - defaultMessage: 'Size', -}); - -export const THIS_INDEX_HAS_NOT_BEEN_CHECKED = i18n.translate( - 'ecsDataQualityDashboard.summaryTable.thisIndexHasNotBeenCheckedTooltip', - { - defaultMessage: 'This index has not been checked', - } -); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/incompatible_tab/translations.ts b/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/incompatible_tab/translations.ts deleted file mode 100644 index 829aa228e06b4..0000000000000 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/incompatible_tab/translations.ts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { i18n } from '@kbn/i18n'; - -export const INCOMPATIBLE_FIELD_MAPPINGS_TABLE_TITLE = (indexName: string) => - i18n.translate('ecsDataQualityDashboard.incompatibleTab.incompatibleFieldMappingsTableTitle', { - values: { indexName }, - defaultMessage: 'Incompatible field mappings - {indexName}', - }); - -export const INCOMPATIBLE_FIELD_VALUES_TABLE_TITLE = (indexName: string) => - i18n.translate('ecsDataQualityDashboard.incompatibleTab.incompatibleFieldValuesTableTitle', { - values: { indexName }, - defaultMessage: 'Incompatible field values - {indexName}', - }); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ilm_phases_empty_prompt/translations.ts b/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ilm_phases_empty_prompt/translations.ts deleted file mode 100644 index 080669c92c39a..0000000000000 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ilm_phases_empty_prompt/translations.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { i18n } from '@kbn/i18n'; - -export const BODY = i18n.translate('ecsDataQualityDashboard.ilmPhasesEmptyPromptBody', { - defaultMessage: - 'Indices with these Index Lifecycle Management (ILM) phases will be checked for data quality', -}); - -export const COLD = i18n.translate('ecsDataQualityDashboard.ilmPhasesEmptyPromptColdLabel', { - defaultMessage: 'cold', -}); - -export const FROZEN = i18n.translate('ecsDataQualityDashboard.ilmPhasesEmptyPromptFrozenLabel', { - defaultMessage: 'frozen', -}); - -export const HOT = i18n.translate('ecsDataQualityDashboard.ilmPhasesEmptyPromptHotLabel', { - defaultMessage: 'hot', -}); - -export const ILM_PHASES_THAT_CAN_BE_CHECKED = i18n.translate( - 'ecsDataQualityDashboard.ilmPhasesEmptyPromptIlmPhasesThatCanBeCheckedSubtitle', - { - defaultMessage: 'ILM phases that can be checked for data quality', - } -); - -export const ILM_PHASES_THAT_CANNOT_BE_CHECKED = i18n.translate( - 'ecsDataQualityDashboard.ilmPhasesEmptyPromptIlmPhasesThatCannotBeCheckedSubtitle', - { - defaultMessage: 'ILM phases that cannot be checked', - } -); - -export const THE_FOLLOWING_ILM_PHASES = i18n.translate( - 'ecsDataQualityDashboard.ilmPhasesEmptyPromptITheFollowingIlmPhasesLabel', - { - defaultMessage: - 'The following ILM phases cannot be checked for data quality because they are slower to access', - } -); - -export const UNMANAGED = i18n.translate( - 'ecsDataQualityDashboard.ilmPhasesEmptyPromptUnmanagedLabel', - { - defaultMessage: 'unmanaged', - } -); - -export const WARM = i18n.translate('ecsDataQualityDashboard.ilmPhasesEmptyPromptWarmLabel', { - defaultMessage: 'warm', -}); - -export const TITLE = i18n.translate('ecsDataQualityDashboard.ilmPhasesEmptyPromptTitle', { - defaultMessage: 'Select one or more ILM phases', -}); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/translations.ts b/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/translations.ts deleted file mode 100644 index 53bedadd9361d..0000000000000 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/translations.ts +++ /dev/null @@ -1,240 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { i18n } from '@kbn/i18n'; - -export const ADD_TO_NEW_CASE = i18n.translate('ecsDataQualityDashboard.addToNewCaseButton', { - defaultMessage: 'Add to new case', -}); - -export const CANCEL = i18n.translate('ecsDataQualityDashboard.cancelButton', { - defaultMessage: 'Cancel', -}); - -export const CHECK_ALL = i18n.translate('ecsDataQualityDashboard.checkAllButton', { - defaultMessage: 'Check all', -}); - -export const CHECKING = (index: string) => - i18n.translate('ecsDataQualityDashboard.checkingLabel', { - values: { index }, - defaultMessage: 'Checking {index}', - }); - -export const COLD_DESCRIPTION = i18n.translate('ecsDataQualityDashboard.coldDescription', { - defaultMessage: - 'The index is no longer being updated and is queried infrequently. The information still needs to be searchable, but it’s okay if those queries are slower.', -}); - -export const COLD_PATTERN_TOOLTIP = ({ indices, pattern }: { indices: number; pattern: string }) => - i18n.translate('ecsDataQualityDashboard.coldPatternTooltip', { - values: { indices, pattern }, - defaultMessage: - '{indices} {indices, plural, =1 {index} other {indices}} matching the {pattern} pattern {indices, plural, =1 {is} other {are}} cold. Cold indices are no longer being updated and are queried infrequently. The information still needs to be searchable, but it’s okay if those queries are slower.', - }); - -export const COPIED_RESULTS_TOAST_TITLE = i18n.translate( - 'ecsDataQualityDashboard.toasts.copiedResultsToastTitle', - { - defaultMessage: 'Copied results to the clipboard', - } -); - -export const COPY_TO_CLIPBOARD = i18n.translate('ecsDataQualityDashboard.copyToClipboardButton', { - defaultMessage: 'Copy to clipboard', -}); - -/** The subtitle displayed on the Data Quality dashboard */ -export const DATA_QUALITY_SUBTITLE: string = i18n.translate( - 'ecsDataQualityDashboard.ecsDataQualityDashboardSubtitle', - { - defaultMessage: 'Check index mappings and values for compatibility with the', - } -); - -export const DATA_QUALITY_TITLE = i18n.translate( - 'ecsDataQualityDashboard.ecsDataQualityDashboardTitle', - { - defaultMessage: 'Data quality', - } -); - -export const DEFAULT_PANEL_TITLE = i18n.translate('ecsDataQualityDashboard.defaultPanelTitle', { - defaultMessage: 'Check index mappings', -}); - -export const ECS_VERSION = i18n.translate('ecsDataQualityDashboard.ecsVersionStat', { - defaultMessage: 'ECS version', -}); - -export const ERROR_LOADING_ECS_METADATA_TITLE = i18n.translate( - 'ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingEcsMetadataTitle', - { - defaultMessage: 'Unable to load ECS metadata', - } -); - -export const ERROR_LOADING_ECS_VERSION_TITLE = i18n.translate( - 'ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingEcsVersionTitle', - { - defaultMessage: 'Unable to load ECS version', - } -); - -export const ERROR_LOADING_ILM_EXPLAIN = (details: string) => - i18n.translate('ecsDataQualityDashboard.errorLoadingIlmExplainLabel', { - values: { details }, - defaultMessage: 'Error loading ILM Explain: {details}', - }); - -export const ERROR_LOADING_MAPPINGS = ({ - details, - patternOrIndexName, -}: { - details: string; - patternOrIndexName: string; -}) => - i18n.translate('ecsDataQualityDashboard.errorLoadingMappingsLabel', { - values: { details, patternOrIndexName }, - defaultMessage: 'Error loading mappings for {patternOrIndexName}: {details}', - }); - -export const ERROR_LOADING_STATS = (details: string) => - i18n.translate('ecsDataQualityDashboard.errorLoadingStatsLabel', { - values: { details }, - defaultMessage: 'Error loading stats: {details}', - }); - -export const ERROR_LOADING_UNALLOWED_VALUES = ({ - details, - indexName, -}: { - details: string; - indexName: string; -}) => - i18n.translate('ecsDataQualityDashboard.errorLoadingUnallowedValuesLabel', { - values: { details, indexName }, - defaultMessage: 'Error loading unallowed values for index {indexName}: {details}', - }); - -export const FIELDS = i18n.translate('ecsDataQualityDashboard.fieldsLabel', { - defaultMessage: 'Fields', -}); - -export const FROZEN_DESCRIPTION = i18n.translate('ecsDataQualityDashboard.frozenDescription', { - defaultMessage: `The index is no longer being updated and is queried rarely. The information still needs to be searchable, but it's okay if those queries are extremely slow.`, -}); - -export const FROZEN_PATTERN_TOOLTIP = ({ - indices, - pattern, -}: { - indices: number; - pattern: string; -}) => - i18n.translate('ecsDataQualityDashboard.frozenPatternTooltip', { - values: { indices, pattern }, - defaultMessage: `{indices} {indices, plural, =1 {index} other {indices}} matching the {pattern} pattern {indices, plural, =1 {is} other {are}} frozen. Frozen indices are no longer being updated and are queried rarely. The information still needs to be searchable, but it's okay if those queries are extremely slow.`, - }); - -export const HOT_DESCRIPTION = i18n.translate('ecsDataQualityDashboard.hotDescription', { - defaultMessage: 'The index is actively being updated and queried', -}); - -export const HOT_PATTERN_TOOLTIP = ({ indices, pattern }: { indices: number; pattern: string }) => - i18n.translate('ecsDataQualityDashboard.hotPatternTooltip', { - values: { indices, pattern }, - defaultMessage: - '{indices} {indices, plural, =1 {index} other {indices}} matching the {pattern} pattern {indices, plural, =1 {is} other {are}} hot. Hot indices are actively being updated and queried.', - }); - -/** The tooltip for the `ILM phase` combo box on the Data Quality Dashboard */ -export const INDEX_LIFECYCLE_MANAGEMENT_PHASES: string = i18n.translate( - 'ecsDataQualityDashboard.indexLifecycleManagementPhasesTooltip', - { - defaultMessage: - 'Indices with these Index Lifecycle Management (ILM) phases will be checked for data quality', - } -); - -export const INDEX_NAME = i18n.translate('ecsDataQualityDashboard.indexNameLabel', { - defaultMessage: 'Index name', -}); - -/** The label displayed for the `ILM phase` combo box on the Data Quality dashboard */ -export const ILM_PHASE: string = i18n.translate('ecsDataQualityDashboard.ilmPhaseLabel', { - defaultMessage: 'ILM phase', -}); - -export const LAST_CHECKED = i18n.translate('ecsDataQualityDashboard.lastCheckedLabel', { - defaultMessage: 'Last checked', -}); - -export const LOADING_ECS_METADATA = i18n.translate( - 'ecsDataQualityDashboard.emptyLoadingPrompt.loadingEcsMetadataPrompt', - { - defaultMessage: 'Loading ECS metadata', - } -); - -export const SELECT_AN_INDEX = i18n.translate('ecsDataQualityDashboard.selectAnIndexPrompt', { - defaultMessage: 'Select an index to compare it against ECS version', -}); - -/** The placeholder for the `ILM phase` combo box on the Data Quality Dashboard */ -export const SELECT_ONE_OR_MORE_ILM_PHASES: string = i18n.translate( - 'ecsDataQualityDashboard.selectOneOrMorPhasesPlaceholder', - { - defaultMessage: 'Select one or more ILM phases', - } -); - -export const INDEX_SIZE_TOOLTIP = i18n.translate('ecsDataQualityDashboard.indexSizeTooltip', { - defaultMessage: 'The size of the primary index (does not include replicas)', -}); - -export const TECHNICAL_PREVIEW = i18n.translate('ecsDataQualityDashboard.technicalPreviewBadge', { - defaultMessage: 'Technical preview', -}); - -export const TIMESTAMP_DESCRIPTION = i18n.translate( - 'ecsDataQualityDashboard.timestampDescriptionLabel', - { - defaultMessage: - 'Date/time when the event originated. This is the date/time extracted from the event, typically representing when the event was generated by the source. If the event source has no original timestamp, this value is typically populated by the first time the event was received by the pipeline. Required field for all events.', - } -); - -export const UNMANAGED_DESCRIPTION = i18n.translate( - 'ecsDataQualityDashboard.unmanagedDescription', - { - defaultMessage: `The index isn't managed by Index Lifecycle Management (ILM)`, - } -); - -export const UNMANAGED_PATTERN_TOOLTIP = ({ - indices, - pattern, -}: { - indices: number; - pattern: string; -}) => - i18n.translate('ecsDataQualityDashboard.unmanagedPatternTooltip', { - values: { indices, pattern }, - defaultMessage: `{indices} {indices, plural, =1 {index} other {indices}} matching the {pattern} pattern {indices, plural, =1 {is} other {are}} unmanaged by Index Lifecycle Management (ILM)`, - }); - -export const WARM_DESCRIPTION = i18n.translate('ecsDataQualityDashboard.warmDescription', { - defaultMessage: 'The index is no longer being updated but is still being queried', -}); - -export const WARM_PATTERN_TOOLTIP = ({ indices, pattern }: { indices: number; pattern: string }) => - i18n.translate('ecsDataQualityDashboard.warmPatternTooltip', { - values: { indices, pattern }, - defaultMessage: - '{indices} {indices, plural, =1 {index} other {indices}} matching the {pattern} pattern {indices, plural, =1 {is} other {are}} warm. Warm indices are no longer being updated but are still being queried.', - }); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_add_to_new_case/translations.ts b/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_add_to_new_case/translations.ts deleted file mode 100644 index aadb58c56996b..0000000000000 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_add_to_new_case/translations.ts +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { i18n } from '@kbn/i18n'; - -export const ADD_TO_CASE_SUCCESS = i18n.translate('ecsDataQualityDashboard.addToCaseSuccessToast', { - defaultMessage: 'Successfully added data quality results to the case', -}); - -export const CREATE_A_DATA_QUALITY_CASE = i18n.translate( - 'ecsDataQualityDashboard.createADataQualityCaseHeaderText', - { - defaultMessage: 'Create a data quality case', - } -); - -export const CREATE_A_DATA_QUALITY_CASE_FOR_INDEX = (indexName: string) => - i18n.translate('ecsDataQualityDashboard.createADataQualityCaseForIndexHeaderText', { - values: { indexName }, - defaultMessage: 'Create a data quality case for index {indexName}', - }); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/jest.config.js b/x-pack/packages/kbn-ecs-data-quality-dashboard/jest.config.js deleted file mode 100644 index 38ee7689712b5..0000000000000 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/jest.config.js +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - coverageDirectory: - '/target/kibana-coverage/jest/x-pack/packages/kbn-ecs-data-quality-dashboard/impl', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/**/*.{ts,tsx}', - '!/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/{__test__,__snapshots__,__examples__,*mock*,tests,test_helpers,integration_tests,types}/**/*', - '!/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/*mock*.{ts,tsx}', - '!/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/*.test.{ts,tsx}', - '!/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/*.d.ts', - '!/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/*.config.ts', - ], - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/packages/kbn-ecs-data-quality-dashboard'], - setupFilesAfterEnv: ['/x-pack/packages/kbn-ecs-data-quality-dashboard/setup_tests.ts'], -}; diff --git a/packages/security-solution/README.mdx b/x-pack/packages/security-solution/README.mdx similarity index 100% rename from packages/security-solution/README.mdx rename to x-pack/packages/security-solution/README.mdx diff --git a/x-pack/packages/kbn-securitysolution-data-table/README.md b/x-pack/packages/security-solution/data_table/README.md similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/README.md rename to x-pack/packages/security-solution/data_table/README.md diff --git a/x-pack/packages/kbn-securitysolution-data-table/common/constants.ts b/x-pack/packages/security-solution/data_table/common/constants.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/common/constants.ts rename to x-pack/packages/security-solution/data_table/common/constants.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/common/types/data_table/index.ts b/x-pack/packages/security-solution/data_table/common/types/data_table/index.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/common/types/data_table/index.ts rename to x-pack/packages/security-solution/data_table/common/types/data_table/index.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/common/types/detail_panel.ts b/x-pack/packages/security-solution/data_table/common/types/detail_panel.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/common/types/detail_panel.ts rename to x-pack/packages/security-solution/data_table/common/types/detail_panel.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/common/types/header_actions/index.ts b/x-pack/packages/security-solution/data_table/common/types/header_actions/index.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/common/types/header_actions/index.ts rename to x-pack/packages/security-solution/data_table/common/types/header_actions/index.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/common/types/index.ts b/x-pack/packages/security-solution/data_table/common/types/index.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/common/types/index.ts rename to x-pack/packages/security-solution/data_table/common/types/index.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/common/types/risk_scores.ts b/x-pack/packages/security-solution/data_table/common/types/risk_scores.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/common/types/risk_scores.ts rename to x-pack/packages/security-solution/data_table/common/types/risk_scores.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/common/types/session_view/index.ts b/x-pack/packages/security-solution/data_table/common/types/session_view/index.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/common/types/session_view/index.ts rename to x-pack/packages/security-solution/data_table/common/types/session_view/index.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/components/data_table/column_headers/default_headers.ts b/x-pack/packages/security-solution/data_table/components/data_table/column_headers/default_headers.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/components/data_table/column_headers/default_headers.ts rename to x-pack/packages/security-solution/data_table/components/data_table/column_headers/default_headers.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/components/data_table/column_headers/helpers.test.tsx b/x-pack/packages/security-solution/data_table/components/data_table/column_headers/helpers.test.tsx similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/components/data_table/column_headers/helpers.test.tsx rename to x-pack/packages/security-solution/data_table/components/data_table/column_headers/helpers.test.tsx diff --git a/x-pack/packages/kbn-securitysolution-data-table/components/data_table/column_headers/helpers.tsx b/x-pack/packages/security-solution/data_table/components/data_table/column_headers/helpers.tsx similarity index 95% rename from x-pack/packages/kbn-securitysolution-data-table/components/data_table/column_headers/helpers.tsx rename to x-pack/packages/security-solution/data_table/components/data_table/column_headers/helpers.tsx index 95adca844984c..e55e3378c92d9 100644 --- a/x-pack/packages/kbn-securitysolution-data-table/components/data_table/column_headers/helpers.tsx +++ b/x-pack/packages/security-solution/data_table/components/data_table/column_headers/helpers.tsx @@ -154,7 +154,7 @@ const eventRenderedViewColumns: ColumnHeaderOptions[] = [ columnHeaderType: defaultColumnHeaderType, id: '@timestamp', displayAsText: i18n.translate( - 'securitySolutionDataTable.EventRenderedView.timestampTitle.column', + 'securitySolutionPackages.dataTable.eventRenderedView.timestampTitle.column', { defaultMessage: 'Timestamp', } @@ -166,9 +166,12 @@ const eventRenderedViewColumns: ColumnHeaderOptions[] = [ }, { columnHeaderType: defaultColumnHeaderType, - displayAsText: i18n.translate('securitySolutionDataTable.EventRenderedView.ruleTitle.column', { - defaultMessage: 'Rule', - }), + displayAsText: i18n.translate( + 'securitySolutionPackages.dataTable.eventRenderedView.ruleTitle.column', + { + defaultMessage: 'Rule', + } + ), id: 'kibana.alert.rule.name', initialWidth: DEFAULT_TABLE_COLUMN_MIN_WIDTH + 50, linkField: 'kibana.alert.rule.uuid', @@ -180,7 +183,7 @@ const eventRenderedViewColumns: ColumnHeaderOptions[] = [ columnHeaderType: defaultColumnHeaderType, id: 'eventSummary', displayAsText: i18n.translate( - 'securitySolutionDataTable.EventRenderedView.eventSummary.column', + 'securitySolutionPackages.dataTable.eventRenderedView.eventSummary.column', { defaultMessage: 'Event Summary', } diff --git a/x-pack/packages/kbn-securitysolution-data-table/components/data_table/column_headers/translations.ts b/x-pack/packages/security-solution/data_table/components/data_table/column_headers/translations.ts similarity index 80% rename from x-pack/packages/kbn-securitysolution-data-table/components/data_table/column_headers/translations.ts rename to x-pack/packages/security-solution/data_table/components/data_table/column_headers/translations.ts index 48aeb0d0f0d9e..a12699cfde096 100644 --- a/x-pack/packages/kbn-securitysolution-data-table/components/data_table/column_headers/translations.ts +++ b/x-pack/packages/security-solution/data_table/components/data_table/column_headers/translations.ts @@ -8,7 +8,7 @@ import { i18n } from '@kbn/i18n'; export const REMOVE_COLUMN = i18n.translate( - 'securitySolutionDataTable.columnHeaders.flyout.pane.removeColumnButtonLabel', + 'securitySolutionPackages.dataTable.columnHeaders.flyout.pane.removeColumnButtonLabel', { defaultMessage: 'Remove column', } diff --git a/x-pack/packages/kbn-securitysolution-data-table/components/data_table/constants.ts b/x-pack/packages/security-solution/data_table/components/data_table/constants.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/components/data_table/constants.ts rename to x-pack/packages/security-solution/data_table/components/data_table/constants.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/components/data_table/data_table.stories.tsx b/x-pack/packages/security-solution/data_table/components/data_table/data_table.stories.tsx similarity index 93% rename from x-pack/packages/kbn-securitysolution-data-table/components/data_table/data_table.stories.tsx rename to x-pack/packages/security-solution/data_table/components/data_table/data_table.stories.tsx index 29b50a59af86a..970ca22d90c04 100644 --- a/x-pack/packages/kbn-securitysolution-data-table/components/data_table/data_table.stories.tsx +++ b/x-pack/packages/security-solution/data_table/components/data_table/data_table.stories.tsx @@ -15,7 +15,6 @@ import { DragDropContext, DropResult, ResponderProvided } from 'react-beautiful- import { ThemeProvider } from 'styled-components'; import { Provider as ReduxStoreProvider } from 'react-redux'; import { euiDarkVars } from '@kbn/ui-theme'; -import { Store } from 'redux'; import { createStore as createReduxStore } from 'redux'; import type { Action } from '@kbn/ui-actions-plugin/public'; import { EuiButtonEmpty } from '@elastic/eui'; @@ -26,15 +25,14 @@ import { mockTimelineData } from '../../mock/mock_timeline_data'; import { DataTableComponent } from '.'; export default { - component: DataTableComponent, - title: 'DataTableComponent', + title: 'DataTable', + description: 'Table component for displaying events data in a grid view', }; -const createStore = (state: any) => createReduxStore(() => state, state); +const createStore = (state: unknown) => createReduxStore(() => state, state); interface Props { children?: React.ReactNode; - store?: Store; onDragEnd?: (result: DropResult, provided: ResponderProvided) => void; cellActions?: Action[]; } @@ -76,12 +74,12 @@ const MockFieldBrowser = () => { size="xs" onClick={() => window.alert('Not implemented')} > - Field Browser + {'Field Browser'} ); }; -export function Example() { +export const DataTable = () => { return ( ); -} +}; diff --git a/x-pack/packages/kbn-securitysolution-data-table/components/data_table/helpers.test.tsx b/x-pack/packages/security-solution/data_table/components/data_table/helpers.test.tsx similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/components/data_table/helpers.test.tsx rename to x-pack/packages/security-solution/data_table/components/data_table/helpers.test.tsx diff --git a/x-pack/packages/kbn-securitysolution-data-table/components/data_table/helpers.tsx b/x-pack/packages/security-solution/data_table/components/data_table/helpers.tsx similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/components/data_table/helpers.tsx rename to x-pack/packages/security-solution/data_table/components/data_table/helpers.tsx diff --git a/x-pack/packages/kbn-securitysolution-data-table/components/data_table/index.test.tsx b/x-pack/packages/security-solution/data_table/components/data_table/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/components/data_table/index.test.tsx rename to x-pack/packages/security-solution/data_table/components/data_table/index.test.tsx diff --git a/x-pack/packages/kbn-securitysolution-data-table/components/data_table/index.tsx b/x-pack/packages/security-solution/data_table/components/data_table/index.tsx similarity index 99% rename from x-pack/packages/kbn-securitysolution-data-table/components/data_table/index.tsx rename to x-pack/packages/security-solution/data_table/components/data_table/index.tsx index 0f1e34099997f..4242778ff0cb8 100644 --- a/x-pack/packages/kbn-securitysolution-data-table/components/data_table/index.tsx +++ b/x-pack/packages/security-solution/data_table/components/data_table/index.tsx @@ -52,7 +52,7 @@ import { UnitCount } from '../toolbar/unit'; import { useShallowEqualSelector } from '../../hooks/use_selector'; import { tableDefaults } from '../../store/data_table/defaults'; -const DATA_TABLE_ARIA_LABEL = i18n.translate('securitySolutionDataTable.dataTable.ariaLabel', { +const DATA_TABLE_ARIA_LABEL = i18n.translate('securitySolutionPackages.dataTable.ariaLabel', { defaultMessage: 'Alerts', }); diff --git a/x-pack/packages/kbn-securitysolution-data-table/components/data_table/pagination.ts b/x-pack/packages/security-solution/data_table/components/data_table/pagination.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/components/data_table/pagination.ts rename to x-pack/packages/security-solution/data_table/components/data_table/pagination.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/components/data_table/types.ts b/x-pack/packages/security-solution/data_table/components/data_table/types.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/components/data_table/types.ts rename to x-pack/packages/security-solution/data_table/components/data_table/types.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/components/data_table/utils.ts b/x-pack/packages/security-solution/data_table/components/data_table/utils.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/components/data_table/utils.ts rename to x-pack/packages/security-solution/data_table/components/data_table/utils.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/components/toolbar/bulk_actions/types.ts b/x-pack/packages/security-solution/data_table/components/toolbar/bulk_actions/types.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/components/toolbar/bulk_actions/types.ts rename to x-pack/packages/security-solution/data_table/components/toolbar/bulk_actions/types.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/components/toolbar/unit/index.ts b/x-pack/packages/security-solution/data_table/components/toolbar/unit/index.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/components/toolbar/unit/index.ts rename to x-pack/packages/security-solution/data_table/components/toolbar/unit/index.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/components/toolbar/unit/styles.tsx b/x-pack/packages/security-solution/data_table/components/toolbar/unit/styles.tsx similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/components/toolbar/unit/styles.tsx rename to x-pack/packages/security-solution/data_table/components/toolbar/unit/styles.tsx diff --git a/x-pack/packages/kbn-securitysolution-data-table/components/toolbar/unit/translations.ts b/x-pack/packages/security-solution/data_table/components/toolbar/unit/translations.ts similarity index 86% rename from x-pack/packages/kbn-securitysolution-data-table/components/toolbar/unit/translations.ts rename to x-pack/packages/security-solution/data_table/components/toolbar/unit/translations.ts index 0ec18a9e509cd..6963cac5d3fab 100644 --- a/x-pack/packages/kbn-securitysolution-data-table/components/toolbar/unit/translations.ts +++ b/x-pack/packages/security-solution/data_table/components/toolbar/unit/translations.ts @@ -8,7 +8,7 @@ import { i18n } from '@kbn/i18n'; export const ALERTS_UNIT = (totalCount: number) => - i18n.translate('securitySolutionDataTable.eventsTab.unit', { + i18n.translate('securitySolutionPackages.dataTable.eventsTab.unit', { values: { totalCount }, defaultMessage: `{totalCount, plural, =1 {alert} other {alerts}}`, }); diff --git a/x-pack/packages/kbn-securitysolution-data-table/hooks/use_selector.tsx b/x-pack/packages/security-solution/data_table/hooks/use_selector.tsx similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/hooks/use_selector.tsx rename to x-pack/packages/security-solution/data_table/hooks/use_selector.tsx diff --git a/x-pack/packages/kbn-securitysolution-data-table/index.ts b/x-pack/packages/security-solution/data_table/index.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/index.ts rename to x-pack/packages/security-solution/data_table/index.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/jest.config.js b/x-pack/packages/security-solution/data_table/jest.config.js similarity index 75% rename from x-pack/packages/kbn-securitysolution-data-table/jest.config.js rename to x-pack/packages/security-solution/data_table/jest.config.js index 439c6c690765b..38f769e20277c 100644 --- a/x-pack/packages/kbn-securitysolution-data-table/jest.config.js +++ b/x-pack/packages/security-solution/data_table/jest.config.js @@ -7,6 +7,6 @@ module.exports = { preset: '@kbn/test', - roots: ['/x-pack/packages/kbn-securitysolution-data-table'], - rootDir: '../../..', + roots: ['/x-pack/packages/security-solution/data_table'], + rootDir: '../../../..', }; diff --git a/x-pack/packages/kbn-securitysolution-data-table/kibana.jsonc b/x-pack/packages/security-solution/data_table/kibana.jsonc similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/kibana.jsonc rename to x-pack/packages/security-solution/data_table/kibana.jsonc diff --git a/x-pack/packages/kbn-securitysolution-data-table/mock/demo_data/endpoint/library_load_event.ts b/x-pack/packages/security-solution/data_table/mock/demo_data/endpoint/library_load_event.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/mock/demo_data/endpoint/library_load_event.ts rename to x-pack/packages/security-solution/data_table/mock/demo_data/endpoint/library_load_event.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/mock/demo_data/endpoint/process_execution_malware_prevention_alert.ts b/x-pack/packages/security-solution/data_table/mock/demo_data/endpoint/process_execution_malware_prevention_alert.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/mock/demo_data/endpoint/process_execution_malware_prevention_alert.ts rename to x-pack/packages/security-solution/data_table/mock/demo_data/endpoint/process_execution_malware_prevention_alert.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/mock/demo_data/endpoint/registry_modification_event.ts b/x-pack/packages/security-solution/data_table/mock/demo_data/endpoint/registry_modification_event.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/mock/demo_data/endpoint/registry_modification_event.ts rename to x-pack/packages/security-solution/data_table/mock/demo_data/endpoint/registry_modification_event.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/mock/demo_data/timeline.ts b/x-pack/packages/security-solution/data_table/mock/demo_data/timeline.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/mock/demo_data/timeline.ts rename to x-pack/packages/security-solution/data_table/mock/demo_data/timeline.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/mock/global_state.ts b/x-pack/packages/security-solution/data_table/mock/global_state.ts similarity index 97% rename from x-pack/packages/kbn-securitysolution-data-table/mock/global_state.ts rename to x-pack/packages/security-solution/data_table/mock/global_state.ts index dda9d8b6c6d8d..557c2c0dd0aca 100644 --- a/x-pack/packages/kbn-securitysolution-data-table/mock/global_state.ts +++ b/x-pack/packages/security-solution/data_table/mock/global_state.ts @@ -9,7 +9,7 @@ import { TableId } from '../common/types'; import { defaultHeaders } from './header'; // FIXME add strong typings -export const mockGlobalState: any = { +export const mockGlobalState = { app: { notesById: {}, errors: [ diff --git a/x-pack/packages/kbn-securitysolution-data-table/mock/header.ts b/x-pack/packages/security-solution/data_table/mock/header.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/mock/header.ts rename to x-pack/packages/security-solution/data_table/mock/header.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/mock/mock_local_storage.ts b/x-pack/packages/security-solution/data_table/mock/mock_local_storage.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/mock/mock_local_storage.ts rename to x-pack/packages/security-solution/data_table/mock/mock_local_storage.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/mock/mock_source.ts b/x-pack/packages/security-solution/data_table/mock/mock_source.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/mock/mock_source.ts rename to x-pack/packages/security-solution/data_table/mock/mock_source.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/mock/mock_timeline_data.ts b/x-pack/packages/security-solution/data_table/mock/mock_timeline_data.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/mock/mock_timeline_data.ts rename to x-pack/packages/security-solution/data_table/mock/mock_timeline_data.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/mock/test_providers.tsx b/x-pack/packages/security-solution/data_table/mock/test_providers.tsx similarity index 97% rename from x-pack/packages/kbn-securitysolution-data-table/mock/test_providers.tsx rename to x-pack/packages/security-solution/data_table/mock/test_providers.tsx index 33c86527f7505..b55d01e2e4a00 100644 --- a/x-pack/packages/kbn-securitysolution-data-table/mock/test_providers.tsx +++ b/x-pack/packages/security-solution/data_table/mock/test_providers.tsx @@ -36,6 +36,7 @@ Object.defineProperty(window, 'localStorage', { }); window.scrollTo = jest.fn(); +// eslint-disable-next-line @typescript-eslint/no-explicit-any const createStore = (state: any) => createReduxStore(() => {}, state); /** A utility for wrapping children in the providers required to run most tests */ diff --git a/x-pack/packages/kbn-securitysolution-data-table/package.json b/x-pack/packages/security-solution/data_table/package.json similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/package.json rename to x-pack/packages/security-solution/data_table/package.json diff --git a/x-pack/packages/kbn-securitysolution-data-table/store/data_table/actions.ts b/x-pack/packages/security-solution/data_table/store/data_table/actions.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/store/data_table/actions.ts rename to x-pack/packages/security-solution/data_table/store/data_table/actions.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/store/data_table/defaults.ts b/x-pack/packages/security-solution/data_table/store/data_table/defaults.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/store/data_table/defaults.ts rename to x-pack/packages/security-solution/data_table/store/data_table/defaults.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/store/data_table/helpers.test.tsx b/x-pack/packages/security-solution/data_table/store/data_table/helpers.test.tsx similarity index 95% rename from x-pack/packages/kbn-securitysolution-data-table/store/data_table/helpers.test.tsx rename to x-pack/packages/security-solution/data_table/store/data_table/helpers.test.tsx index d414003743c66..965e6387e5520 100644 --- a/x-pack/packages/kbn-securitysolution-data-table/store/data_table/helpers.test.tsx +++ b/x-pack/packages/security-solution/data_table/store/data_table/helpers.test.tsx @@ -14,11 +14,12 @@ import { import { mockGlobalState } from '../../mock/global_state'; import { SortColumnTable, TableId } from '../../common/types'; import type { DataTableModelSettings } from './model'; +import type { TableById } from './types'; const id = 'foo'; const defaultTableById = { ...mockGlobalState.dataTable.tableById, -}; +} as unknown as TableById; describe('setInitializeDataTableSettings', () => { test('it returns the expected sort when dataTableSettingsProps has an override', () => { @@ -68,7 +69,7 @@ describe('setInitializeDataTableSettings', () => { describe('updateDataTableColumnOrder', () => { test('it returns the columns in the new expected order', () => { - const originalIdOrder = defaultTableById[TableId.test].columns.map((x: any) => x.id); // ['@timestamp', 'event.severity', 'event.category', '...'] + const originalIdOrder = defaultTableById[TableId.test].columns.map((x) => x.id); // ['@timestamp', 'event.severity', 'event.category', '...'] // the new order swaps the positions of the first and second columns: const newIdOrder = [originalIdOrder[1], originalIdOrder[0], ...originalIdOrder.slice(2)]; // ['event.severity', '@timestamp', 'event.category', '...'] @@ -93,7 +94,7 @@ describe('updateDataTableColumnOrder', () => { }); test('it omits unknown column IDs when re-ordering columns', () => { - const originalIdOrder = defaultTableById[TableId.test].columns.map((x: any) => x.id); // ['@timestamp', 'event.severity', 'event.category', '...'] + const originalIdOrder = defaultTableById[TableId.test].columns.map((x) => x.id); // ['@timestamp', 'event.severity', 'event.category', '...'] const unknownColumId = 'does.not.exist'; const newIdOrder = [originalIdOrder[0], unknownColumId, ...originalIdOrder.slice(1)]; // ['@timestamp', 'does.not.exist', 'event.severity', 'event.category', '...'] diff --git a/x-pack/packages/kbn-securitysolution-data-table/store/data_table/helpers.ts b/x-pack/packages/security-solution/data_table/store/data_table/helpers.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/store/data_table/helpers.ts rename to x-pack/packages/security-solution/data_table/store/data_table/helpers.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/store/data_table/index.ts b/x-pack/packages/security-solution/data_table/store/data_table/index.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/store/data_table/index.ts rename to x-pack/packages/security-solution/data_table/store/data_table/index.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/store/data_table/inputs.ts b/x-pack/packages/security-solution/data_table/store/data_table/inputs.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/store/data_table/inputs.ts rename to x-pack/packages/security-solution/data_table/store/data_table/inputs.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/store/data_table/model.ts b/x-pack/packages/security-solution/data_table/store/data_table/model.ts similarity index 95% rename from x-pack/packages/kbn-securitysolution-data-table/store/data_table/model.ts rename to x-pack/packages/security-solution/data_table/store/data_table/model.ts index b4aad728ff8ce..f8d0d22d5ea88 100644 --- a/x-pack/packages/kbn-securitysolution-data-table/store/data_table/model.ts +++ b/x-pack/packages/security-solution/data_table/store/data_table/model.ts @@ -9,8 +9,12 @@ import type { EuiDataGridColumn } from '@elastic/eui'; import type { Filter } from '@kbn/es-query'; import { TimelineNonEcsData } from '@kbn/timelines-plugin/common'; import { ExpandedDetail } from '../../common/types/detail_panel'; -import { ColumnHeaderOptions, SessionViewConfig, SortColumnTable } from '../../common/types'; -import { ViewSelection } from '../../common/types'; +import type { + ColumnHeaderOptions, + SessionViewConfig, + SortColumnTable, + ViewSelection, +} from '../../common/types'; export interface DataTableModelSettings { defaultColumns: Array< diff --git a/x-pack/packages/kbn-securitysolution-data-table/store/data_table/reducer.ts b/x-pack/packages/security-solution/data_table/store/data_table/reducer.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/store/data_table/reducer.ts rename to x-pack/packages/security-solution/data_table/store/data_table/reducer.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/store/data_table/selectors.ts b/x-pack/packages/security-solution/data_table/store/data_table/selectors.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/store/data_table/selectors.ts rename to x-pack/packages/security-solution/data_table/store/data_table/selectors.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/store/data_table/translations.ts b/x-pack/packages/security-solution/data_table/store/data_table/translations.ts similarity index 80% rename from x-pack/packages/kbn-securitysolution-data-table/store/data_table/translations.ts rename to x-pack/packages/security-solution/data_table/store/data_table/translations.ts index 17c735bac5a23..082ca23d99343 100644 --- a/x-pack/packages/kbn-securitysolution-data-table/store/data_table/translations.ts +++ b/x-pack/packages/security-solution/data_table/store/data_table/translations.ts @@ -8,14 +8,14 @@ import { i18n } from '@kbn/i18n'; export const LOADING_EVENTS = i18n.translate( - 'securitySolutionDataTable.dataTable.loadingEventsDataLabel', + 'securitySolutionPackages.dataTable.loadingEventsDataLabel', { defaultMessage: 'Loading Events', } ); export const UNIT = (totalCount: number) => - i18n.translate('securitySolutionDataTable.dataTable.unit', { + i18n.translate('securitySolutionPackages.dataTable.unit', { values: { totalCount }, defaultMessage: `{totalCount, plural, =1 {alert} other {alerts}}`, }); diff --git a/x-pack/packages/kbn-securitysolution-data-table/store/data_table/types.ts b/x-pack/packages/security-solution/data_table/store/data_table/types.ts similarity index 100% rename from x-pack/packages/kbn-securitysolution-data-table/store/data_table/types.ts rename to x-pack/packages/security-solution/data_table/store/data_table/types.ts diff --git a/x-pack/packages/kbn-securitysolution-data-table/tsconfig.json b/x-pack/packages/security-solution/data_table/tsconfig.json similarity index 92% rename from x-pack/packages/kbn-securitysolution-data-table/tsconfig.json rename to x-pack/packages/security-solution/data_table/tsconfig.json index 64d26b9c80257..da4167b70ade2 100644 --- a/x-pack/packages/kbn-securitysolution-data-table/tsconfig.json +++ b/x-pack/packages/security-solution/data_table/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": ["jest", "node", "react"] diff --git a/x-pack/packages/kbn-securitysolution-data-table/utils/use_mount_appended.ts b/x-pack/packages/security-solution/data_table/utils/use_mount_appended.ts similarity index 87% rename from x-pack/packages/kbn-securitysolution-data-table/utils/use_mount_appended.ts rename to x-pack/packages/security-solution/data_table/utils/use_mount_appended.ts index d43b0455f47da..a416c66e9b9a2 100644 --- a/x-pack/packages/kbn-securitysolution-data-table/utils/use_mount_appended.ts +++ b/x-pack/packages/security-solution/data_table/utils/use_mount_appended.ts @@ -8,7 +8,9 @@ // eslint-disable-next-line import/no-extraneous-dependencies import { mount } from 'enzyme'; -type WrapperOf any> = (...args: Parameters) => ReturnType; +type WrapperOf) => ReturnType> = ( + ...args: Parameters +) => ReturnType; export type MountAppended = WrapperOf; export const useMountAppended = () => { diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/README.md b/x-pack/packages/security-solution/ecs_data_quality_dashboard/README.md similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/README.md rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/README.md diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/ecs_allowed_values/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/ecs_allowed_values/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/ecs_allowed_values/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/ecs_allowed_values/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/ecs_allowed_values/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/ecs_allowed_values/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/ecs_allowed_values/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/ecs_allowed_values/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/get_common_table_columns/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/get_common_table_columns/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/get_common_table_columns/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/get_common_table_columns/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/get_common_table_columns/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/get_common_table_columns/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/get_common_table_columns/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/get_common_table_columns/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/get_incompatible_mappings_table_columns/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/get_incompatible_mappings_table_columns/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/get_incompatible_mappings_table_columns/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/get_incompatible_mappings_table_columns/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/get_incompatible_mappings_table_columns/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/get_incompatible_mappings_table_columns/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/get_incompatible_mappings_table_columns/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/get_incompatible_mappings_table_columns/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/helpers.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/helpers.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/helpers.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/helpers.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/helpers.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/helpers.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/helpers.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/helpers.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/index_invalid_values/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/index_invalid_values/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/index_invalid_values/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/index_invalid_values/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/index_invalid_values/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/index_invalid_values/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/index_invalid_values/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/index_invalid_values/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/translations.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/translations.ts similarity index 54% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/translations.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/translations.ts index 98d3e72676cdf..95b968f0cd34e 100644 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/compare_fields_table/translations.ts +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/compare_fields_table/translations.ts @@ -8,67 +8,70 @@ import { i18n } from '@kbn/i18n'; export const ECS_VALUES = i18n.translate( - 'ecsDataQualityDashboard.compareFieldsTable.ecsValuesColumn', + 'securitySolutionPackages.ecsDataQualityDashboard.compareFieldsTable.ecsValuesColumn', { defaultMessage: 'ECS values', } ); export const ECS_VALUES_EXPECTED = i18n.translate( - 'ecsDataQualityDashboard.compareFieldsTable.ecsValuesExpectedColumn', + 'securitySolutionPackages.ecsDataQualityDashboard.compareFieldsTable.ecsValuesExpectedColumn', { defaultMessage: 'ECS values (expected)', } ); export const ECS_DESCRIPTION = i18n.translate( - 'ecsDataQualityDashboard.compareFieldsTable.ecsDescriptionColumn', + 'securitySolutionPackages.ecsDataQualityDashboard.compareFieldsTable.ecsDescriptionColumn', { defaultMessage: 'ECS description', } ); export const ECS_MAPPING_TYPE = i18n.translate( - 'ecsDataQualityDashboard.compareFieldsTable.ecsMappingTypeColumn', + 'securitySolutionPackages.ecsDataQualityDashboard.compareFieldsTable.ecsMappingTypeColumn', { defaultMessage: 'ECS mapping type', } ); export const ECS_MAPPING_TYPE_EXPECTED = i18n.translate( - 'ecsDataQualityDashboard.compareFieldsTable.ecsMappingTypeExpectedColumn', + 'securitySolutionPackages.ecsDataQualityDashboard.compareFieldsTable.ecsMappingTypeExpectedColumn', { defaultMessage: 'ECS mapping type (expected)', } ); export const DOCUMENT_VALUES_ACTUAL = i18n.translate( - 'ecsDataQualityDashboard.compareFieldsTable.documentValuesActualColumn', + 'securitySolutionPackages.ecsDataQualityDashboard.compareFieldsTable.documentValuesActualColumn', { defaultMessage: 'Document values (actual)', } ); export const INDEX_MAPPING_TYPE = i18n.translate( - 'ecsDataQualityDashboard.compareFieldsTable.indexMappingTypeColumn', + 'securitySolutionPackages.ecsDataQualityDashboard.compareFieldsTable.indexMappingTypeColumn', { defaultMessage: 'Index mapping type', } ); export const INDEX_MAPPING_TYPE_ACTUAL = i18n.translate( - 'ecsDataQualityDashboard.compareFieldsTable.indexMappingTypeActualColumn', + 'securitySolutionPackages.ecsDataQualityDashboard.compareFieldsTable.indexMappingTypeActualColumn', { defaultMessage: 'Index mapping type (actual)', } ); -export const FIELD = i18n.translate('ecsDataQualityDashboard.compareFieldsTable.fieldColumn', { - defaultMessage: 'Field', -}); +export const FIELD = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.compareFieldsTable.fieldColumn', + { + defaultMessage: 'Field', + } +); export const SEARCH_FIELDS = i18n.translate( - 'ecsDataQualityDashboard.compareFieldsTable.searchFieldsPlaceholder', + 'securitySolutionPackages.ecsDataQualityDashboard.compareFieldsTable.searchFieldsPlaceholder', { defaultMessage: 'Search fields', } diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/allowed_values/helpers.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/allowed_values/helpers.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/allowed_values/helpers.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/allowed_values/helpers.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/allowed_values/helpers.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/allowed_values/helpers.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/allowed_values/helpers.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/allowed_values/helpers.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/indices_details/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/indices_details/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/indices_details/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/indices_details/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/indices_details/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/indices_details/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/indices_details/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/indices_details/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/storage_details/helpers.test.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/storage_details/helpers.test.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/storage_details/helpers.test.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/storage_details/helpers.test.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/storage_details/helpers.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/storage_details/helpers.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/storage_details/helpers.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/storage_details/helpers.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/storage_details/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/storage_details/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/storage_details/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/storage_details/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/storage_details/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/storage_details/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/storage_details/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/data_quality_details/storage_details/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/body/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/body/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/check_status/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/check_status/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/check_status/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/check_status/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/check_status/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/check_status/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/check_status/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/check_status/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_popover/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_popover/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_popover/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_popover/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_popover/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_popover/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_popover/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_popover/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_popover/translations.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_popover/translations.ts similarity index 50% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_popover/translations.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_popover/translations.ts index 304ce658a0704..310f69ab5d584 100644 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_popover/translations.ts +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_popover/translations.ts @@ -8,70 +8,79 @@ import { i18n } from '@kbn/i18n'; export const COPIED_ERRORS_TOAST_TITLE = i18n.translate( - 'ecsDataQualityDashboard.toasts.copiedErrorsToastTitle', + 'securitySolutionPackages.ecsDataQualityDashboard.toasts.copiedErrorsToastTitle', { defaultMessage: 'Copied errors to the clipboard', } ); export const COPY_TO_CLIPBOARD = i18n.translate( - 'ecsDataQualityDashboard.errorsPopover.copyToClipboardButton', + 'securitySolutionPackages.ecsDataQualityDashboard.errorsPopover.copyToClipboardButton', { defaultMessage: 'Copy to clipboard', } ); -export const ERRORS = i18n.translate('ecsDataQualityDashboard.errorsPopover.errorsTitle', { - defaultMessage: 'Errors', -}); +export const ERRORS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.errorsPopover.errorsTitle', + { + defaultMessage: 'Errors', + } +); export const ERRORS_CALLOUT_SUMMARY = i18n.translate( - 'ecsDataQualityDashboard.errorsPopover.errorsCalloutSummary', + 'securitySolutionPackages.ecsDataQualityDashboard.errorsPopover.errorsCalloutSummary', { defaultMessage: 'Some indices were not checked for Data Quality', } ); export const ERRORS_MAY_OCCUR = i18n.translate( - 'ecsDataQualityDashboard.errors.errorMayOccurLabel', + 'securitySolutionPackages.ecsDataQualityDashboard.errors.errorMayOccurLabel', { defaultMessage: "Errors may occur when pattern or index metadata is temporarily unavailable, or because you don't have the privileges required for access", } ); -export const MANAGE = i18n.translate('ecsDataQualityDashboard.errors.manage', { - defaultMessage: 'manage', -}); +export const MANAGE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.errors.manage', + { + defaultMessage: 'manage', + } +); -export const MONITOR = i18n.translate('ecsDataQualityDashboard.errors.monitor', { - defaultMessage: 'monitor', -}); +export const MONITOR = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.errors.monitor', + { + defaultMessage: 'monitor', + } +); -export const OR = i18n.translate('ecsDataQualityDashboard.errors.or', { +export const OR = i18n.translate('securitySolutionPackages.ecsDataQualityDashboard.errors.or', { defaultMessage: 'or', }); -export const READ = i18n.translate('ecsDataQualityDashboard.errors.read', { +export const READ = i18n.translate('securitySolutionPackages.ecsDataQualityDashboard.errors.read', { defaultMessage: 'read', }); export const THE_FOLLOWING_PRIVILEGES_ARE_REQUIRED = i18n.translate( - 'ecsDataQualityDashboard.errors.theFollowingPrivilegesLabel', + 'securitySolutionPackages.ecsDataQualityDashboard.errors.theFollowingPrivilegesLabel', { defaultMessage: 'The following privileges are required to check an index:', } ); export const VIEW_ERRORS = i18n.translate( - 'ecsDataQualityDashboard.errorsPopover.viewErrorsButton', + 'securitySolutionPackages.ecsDataQualityDashboard.errorsPopover.viewErrorsButton', { defaultMessage: 'View errors', } ); export const VIEW_INDEX_METADATA = i18n.translate( - 'ecsDataQualityDashboard.errors.viewIndexMetadata', + 'securitySolutionPackages.ecsDataQualityDashboard.errors.viewIndexMetadata', { defaultMessage: 'view_index_metadata', } diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/helpers.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/helpers.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/helpers.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/helpers.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/helpers.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/helpers.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/helpers.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/helpers.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/index.tsx diff --git a/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/translations.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/translations.ts new file mode 100644 index 0000000000000..a044922748cdf --- /dev/null +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/errors_viewer/translations.ts @@ -0,0 +1,29 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const ERROR = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.errorsViewerTable.errorColumn', + { + defaultMessage: 'Error', + } +); + +export const INDEX = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.errorsViewerTable.indexColumn', + { + defaultMessage: 'Index', + } +); + +export const PATTERN = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.errorsViewerTable.patternColumn', + { + defaultMessage: 'Pattern', + } +); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/actions/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/actions/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/actions/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/actions/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/actions/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/actions/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/actions/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/actions/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/check_index.test.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/check_index.test.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/check_index.test.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/check_index.test.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/check_index.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/check_index.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/check_index.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/check_index.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/helpers.test.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/helpers.test.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/helpers.test.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/helpers.test.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/helpers.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/helpers.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/helpers.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/helpers.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/translations.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/translations.ts similarity index 61% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/translations.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/translations.ts index d63acdb418a17..219d1039ac290 100644 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/translations.ts +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/check_all/translations.ts @@ -8,7 +8,10 @@ import { i18n } from '@kbn/i18n'; export const AN_ERROR_OCCURRED_CHECKING_INDEX = (indexName: string) => - i18n.translate('ecsDataQualityDashboard.checkAllErrorCheckingIndexMessage', { - values: { indexName }, - defaultMessage: 'An error occurred checking index {indexName}', - }); + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.checkAllErrorCheckingIndexMessage', + { + values: { indexName }, + defaultMessage: 'An error occurred checking index {indexName}', + } + ); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/data_quality_summary/summary_actions/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/error_empty_prompt/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/error_empty_prompt/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/error_empty_prompt/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/error_empty_prompt/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/error_empty_prompt/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/error_empty_prompt/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/error_empty_prompt/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/error_empty_prompt/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/ilm_phase_counts/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/ilm_phase_counts/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/ilm_phase_counts/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/ilm_phase_counts/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/ilm_phase_counts/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/ilm_phase_counts/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/ilm_phase_counts/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/ilm_phase_counts/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/empty_prompt_body.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/empty_prompt_body.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/empty_prompt_body.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/empty_prompt_body.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/empty_prompt_body.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/empty_prompt_body.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/empty_prompt_body.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/empty_prompt_body.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/empty_prompt_title.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/empty_prompt_title.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/empty_prompt_title.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/empty_prompt_title.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/empty_prompt_title.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/empty_prompt_title.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/empty_prompt_title.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/empty_prompt_title.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/helpers.test.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/helpers.test.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/helpers.test.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/helpers.test.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/helpers.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/helpers.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/helpers.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/helpers.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/markdown/helpers.test.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/markdown/helpers.test.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/markdown/helpers.test.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/markdown/helpers.test.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/markdown/helpers.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/markdown/helpers.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/index_properties/markdown/helpers.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/markdown/helpers.ts diff --git a/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/translations.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/translations.ts new file mode 100644 index 0000000000000..4e2378ce3d317 --- /dev/null +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/index_properties/translations.ts @@ -0,0 +1,451 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const ADD_TO_NEW_CASE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.addToNewCaseButton', + { + defaultMessage: 'Add to new case', + } +); + +export const ALL_FIELDS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.allFieldsLabel', + { + defaultMessage: 'All fields', + } +); + +export const ALL_CALLOUT = (version: string) => + i18n.translate('securitySolutionPackages.ecsDataQualityDashboard.indexProperties.allCallout', { + values: { version }, + defaultMessage: + "All mappings for the fields in this index, including fields that comply with the Elastic Common Schema (ECS), version {version}, and fields that don't", + }); + +export const ALL_CALLOUT_TITLE = (fieldCount: number) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.allCalloutTitle', + { + values: { fieldCount }, + defaultMessage: + 'All {fieldCount} {fieldCount, plural, =1 {field mapping} other {field mappings}}', + } + ); + +export const ALL_EMPTY = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.allCalloutEmptyContent', + { + defaultMessage: 'This index does not contain any mappings', + } +); + +export const ALL_EMPTY_TITLE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.allCalloutEmptyTitle', + { + defaultMessage: 'No mappings', + } +); + +export const ALL_FIELDS_TABLE_TITLE = (indexName: string) => + i18n.translate('securitySolutionPackages.ecsDataQualityDashboard.allTab.allFieldsTableTitle', { + values: { indexName }, + defaultMessage: 'All fields - {indexName}', + }); + +export const SUMMARY_MARKDOWN_TITLE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.summaryMarkdownTitle', + { + defaultMessage: 'Data quality', + } +); + +export const SUMMARY_MARKDOWN_DESCRIPTION = ({ + ecsFieldReferenceUrl, + ecsReferenceUrl, + indexName, + mappingUrl, + version, +}: { + ecsFieldReferenceUrl: string; + ecsReferenceUrl: string; + indexName: string; + mappingUrl: string; + version: string; +}) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.summaryMarkdownDescription', + { + values: { ecsFieldReferenceUrl, ecsReferenceUrl, indexName, mappingUrl, version }, + defaultMessage: + 'The `{indexName}` index has [mappings]({mappingUrl}) or field values that are different than the [Elastic Common Schema]({ecsReferenceUrl}) (ECS), version `{version}` [definitions]({ecsFieldReferenceUrl}).', + } + ); + +export const COPY_TO_CLIPBOARD = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.copyToClipboardButton', + { + defaultMessage: 'Copy to clipboard', + } +); + +export const CUSTOM_FIELDS_TABLE_TITLE = (indexName: string) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.customTab.customFieldsTableTitle', + { + values: { indexName }, + defaultMessage: 'Custom fields - {indexName}', + } + ); + +export const CUSTOM_DETECTION_ENGINE_RULES_WORK = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.custonDetectionEngineRulesWorkMessage', + { + defaultMessage: '✅ Custom detection engine rules work', + } +); + +export const DOCS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.docsLabel', + { + defaultMessage: 'Docs', + } +); + +export const ECS_COMPLIANT_FIELDS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.ecsCompliantFieldsLabel', + { + defaultMessage: 'ECS compliant fields', + } +); + +export const ECS_COMPLIANT_CALLOUT = ({ + fieldCount, + version, +}: { + fieldCount: number; + version: string; +}) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.ecsCompliantCallout', + { + values: { fieldCount, version }, + defaultMessage: + 'The {fieldCount, plural, =1 {index mapping type and document values for this field comply} other {index mapping types and document values of these fields comply}} with the Elastic Common Schema (ECS), version {version}', + } + ); + +export const ECS_COMPLIANT_CALLOUT_TITLE = (fieldCount: number) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.ecsCompliantCalloutTitle', + { + values: { fieldCount }, + defaultMessage: '{fieldCount} ECS compliant {fieldCount, plural, =1 {field} other {fields}}', + } + ); + +export const ECS_COMPLIANT_EMPTY = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.ecsCompliantEmptyContent', + { + defaultMessage: + 'None of the field mappings in this index comply with the Elastic Common Schema (ECS). The index must (at least) contain an @timestamp date field.', + } +); + +export const ECS_VERSION_MARKDOWN_COMMENT = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.ecsVersionMarkdownComment', + { + defaultMessage: 'Elastic Common Schema (ECS) version', + } +); + +export const INDEX = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.indexMarkdown', + { + defaultMessage: 'Index', + } +); + +export const ECS_COMPLIANT_EMPTY_TITLE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.ecsCompliantEmptyTitle', + { + defaultMessage: 'No ECS compliant Mappings', + } +); + +export const ECS_COMPLIANT_MAPPINGS_ARE_FULLY_SUPPORTED = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.ecsCompliantMappingsAreFullySupportedMessage', + { + defaultMessage: '✅ ECS compliant mappings and field values are fully supported', + } +); + +export const ERROR_LOADING_MAPPINGS_TITLE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMappingsTitle', + { + defaultMessage: 'Unable to load index mappings', + } +); + +export const ERROR_LOADING_MAPPINGS_BODY = (error: string) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMappingsBody', + { + values: { error }, + defaultMessage: 'There was a problem loading mappings: {error}', + } + ); + +export const ERROR_LOADING_UNALLOWED_VALUES_BODY = (error: string) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingUnallowedValuesBody', + { + values: { error }, + defaultMessage: 'There was a problem loading unallowed values: {error}', + } + ); + +export const ERROR_LOADING_UNALLOWED_VALUES_TITLE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingUnallowedValuesTitle', + { + defaultMessage: 'Unable to load unallowed values', + } +); + +export const ECS_COMPLIANT_FIELDS_TABLE_TITLE = (indexName: string) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.customTab.ecsComplaintFieldsTableTitle', + { + values: { indexName }, + defaultMessage: 'ECS complaint fields - {indexName}', + } + ); + +export const LOADING_MAPPINGS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.emptyLoadingPrompt.loadingMappingsPrompt', + { + defaultMessage: 'Loading mappings', + } +); + +export const LOADING_UNALLOWED_VALUES = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.emptyLoadingPrompt.loadingUnallowedValuesPrompt', + { + defaultMessage: 'Loading unallowed values', + } +); + +export const SUMMARY = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.summaryTab', + { + defaultMessage: 'Summary', + } +); + +export const MISSING_TIMESTAMP_CALLOUT = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.missingTimestampCallout', + { + defaultMessage: + 'Consider adding an @timestamp (date) field mapping to this index, as required by the Elastic Common Schema (ECS), because:', + } +); + +export const MISSING_TIMESTAMP_CALLOUT_TITLE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.missingTimestampCalloutTitle', + { + defaultMessage: 'Missing an @timestamp (date) field mapping for this index', + } +); + +export const CUSTOM_FIELDS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.customFieldsLabel', + { + defaultMessage: 'Custom fields', + } +); + +export const CUSTOM_CALLOUT = ({ fieldCount, version }: { fieldCount: number; version: string }) => + i18n.translate('securitySolutionPackages.ecsDataQualityDashboard.indexProperties.customCallout', { + values: { fieldCount, version }, + defaultMessage: + '{fieldCount, plural, =1 {This field is not} other {These fields are not}} defined by the Elastic Common Schema (ECS), version {version}.', + }); + +export const CUSTOM_CALLOUT_TITLE = (fieldCount: number) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.customCalloutTitle', + { + values: { fieldCount }, + defaultMessage: + '{fieldCount} Custom {fieldCount, plural, =1 {field mapping} other {field mappings}}', + } + ); + +export const CUSTOM_EMPTY = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.customEmptyContent', + { + defaultMessage: 'All the field mappings in this index are defined by the Elastic Common Schema', + } +); + +export const CUSTOM_EMPTY_TITLE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.customEmptyTitle', + { + defaultMessage: 'All field mappings defined by ECS', + } +); + +export const INCOMPATIBLE_FIELDS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.incompatibleFieldsTab', + { + defaultMessage: 'Incompatible fields', + } +); + +export const INCOMPATIBLE_CALLOUT = ({ + fieldCount, + version, +}: { + fieldCount: number; + version: string; +}) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.incompatibleCallout', + { + values: { version }, + defaultMessage: + "Fields are incompatible with ECS when index mappings, or the values of the fields in the index, don't conform to the Elastic Common Schema (ECS), version {version}.", + } + ); + +export const INCOMPATIBLE_FIELDS_WITH = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.incompatibleCallout.incompatibleFieldsWithLabel', + { + defaultMessage: + 'Incompatible fields with mappings in the same family have exactly the same search behavior but may have different space usage or performance characteristics.', + } +); + +export const WHEN_AN_INCOMPATIBLE_FIELD = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.incompatibleCallout.whenAnIncompatibleFieldLabel', + { + defaultMessage: 'When an incompatible field is not in the same family:', + } +); + +export const INCOMPATIBLE_CALLOUT_TITLE = ({ + fieldCount, + fieldsInSameFamily, +}: { + fieldCount: number; + fieldsInSameFamily: number; +}) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.incompatibleCalloutTitle', + { + values: { fieldCount, fieldsInSameFamily }, + defaultMessage: + '{fieldCount} incompatible {fieldCount, plural, =1 {field} other {fields}}, {fieldsInSameFamily} {fieldsInSameFamily, plural, =1 {field} other {fields}} with {fieldsInSameFamily, plural, =1 {a mapping} other {mappings}} in the same family', + } + ); + +export const INCOMPATIBLE_EMPTY = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.incompatibleEmptyContent', + { + defaultMessage: + 'All of the field mappings and document values in this index are compliant with the Elastic Common Schema (ECS).', + } +); + +export const INCOMPATIBLE_EMPTY_TITLE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.incompatibleEmptyTitle', + { + defaultMessage: 'All field mappings and values are ECS compliant', + } +); + +export const DETECTION_ENGINE_RULES_WILL_WORK = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.detectionEngineRulesWillWorkMessage', + { + defaultMessage: '✅ Detection engine rules will work for these fields', + } +); + +export const DETECTION_ENGINE_RULES_MAY_NOT_MATCH = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.detectionEngineRulesWontWorkMessage', + { + defaultMessage: + '❌ Detection engine rules referencing these fields may not match them correctly', + } +); + +export const OTHER_APP_CAPABILITIES_WORK_PROPERLY = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.otherAppCapabilitiesWorkProperlyMessage', + { + defaultMessage: '✅ Other app capabilities work properly', + } +); + +export const PAGES_DISPLAY_EVENTS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.pagesDisplayEventsMessage', + { + defaultMessage: '✅ Pages display events and fields correctly', + } +); + +export const PAGES_MAY_NOT_DISPLAY_FIELDS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.pagesMayNotDisplayFieldsMessage', + { + defaultMessage: '🌕 Some pages and features may not display these fields', + } +); + +export const PAGES_MAY_NOT_DISPLAY_EVENTS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.pagesMayNotDisplayEventsMessage', + { + defaultMessage: + '❌ Pages may not display some events or fields due to unexpected field mappings or values', + } +); + +export const PRE_BUILT_DETECTION_ENGINE_RULES_WORK = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.preBuiltDetectionEngineRulesWorkMessage', + { + defaultMessage: '✅ Pre-built detection engine rules work', + } +); + +export const ECS_IS_A_PERMISSIVE_SCHEMA = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.ecsIsAPermissiveSchemaMessage', + { + defaultMessage: + 'ECS is a permissive schema. If your events have additional data that cannot be mapped to ECS, you can simply add them to your events, using custom field names.', + } +); + +export const SOMETIMES_INDICES_CREATED_BY_OLDER = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.sometimesIndicesCreatedByOlderDescription', + { + defaultMessage: + 'Sometimes, indices created by older integrations will have mappings or values that were, but are no longer compliant.', + } +); + +export const MAPPINGS_THAT_CONFLICT_WITH_ECS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.mappingThatConflictWithEcsMessage', + { + defaultMessage: "❌ Mappings or field values that don't comply with ECS are not supported", + } +); + +export const UNKNOWN = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexProperties.unknownCategoryLabel', + { + defaultMessage: 'Unknown', + } +); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/loading_empty_prompt/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/loading_empty_prompt/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/loading_empty_prompt/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/loading_empty_prompt/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/helpers.test.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/helpers.test.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/helpers.test.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/helpers.test.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/helpers.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/helpers.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/helpers.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/helpers.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/pattern_label/helpers.test.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/pattern_label/helpers.test.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/pattern_label/helpers.test.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/pattern_label/helpers.test.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/pattern_label/helpers.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/pattern_label/helpers.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/pattern_label/helpers.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/pattern_label/helpers.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/pattern_label/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/pattern_label/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/pattern_label/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/pattern_label/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/pattern_label/translations.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/pattern_label/translations.ts similarity index 59% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/pattern_label/translations.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/pattern_label/translations.ts index cdd9c897ed326..165dc45b3f1c0 100644 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/pattern_label/translations.ts +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/pattern_label/translations.ts @@ -7,19 +7,22 @@ import { i18n } from '@kbn/i18n'; -export const ALL_PASSED = i18n.translate('ecsDataQualityDashboard.patternLabel.allPassedTooltip', { - defaultMessage: 'All indices matching this pattern passed the data quality checks', -}); +export const ALL_PASSED = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.patternLabel.allPassedTooltip', + { + defaultMessage: 'All indices matching this pattern passed the data quality checks', + } +); export const SOME_FAILED = i18n.translate( - 'ecsDataQualityDashboard.patternLabel.someFailedTooltip', + 'securitySolutionPackages.ecsDataQualityDashboard.patternLabel.someFailedTooltip', { defaultMessage: 'Some indices matching this pattern failed the data quality checks', } ); export const SOME_UNCHECKED = i18n.translate( - 'ecsDataQualityDashboard.patternLabel.someUncheckedTooltip', + 'securitySolutionPackages.ecsDataQualityDashboard.patternLabel.someUncheckedTooltip', { defaultMessage: 'Some indices matching this pattern have not been checked for data quality', } diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/stats_rollup/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/stats_rollup/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/stats_rollup/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/stats_rollup/index.tsx diff --git a/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/translations.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/translations.ts new file mode 100644 index 0000000000000..244fc257d2797 --- /dev/null +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/pattern_summary/translations.ts @@ -0,0 +1,29 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const DOCS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.patternSummary.docsLabel', + { + defaultMessage: 'Docs', + } +); + +export const INDICES = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.patternSummary.indicesLabel', + { + defaultMessage: 'Indices', + } +); + +export const PATTERN_OR_INDEX_TOOLTIP = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.patternSummary.patternOrIndexTooltip', + { + defaultMessage: 'A pattern or specific index', + } +); diff --git a/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/translations.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/translations.ts new file mode 100644 index 0000000000000..aaf11b1ad405c --- /dev/null +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/pattern/translations.ts @@ -0,0 +1,24 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const ERROR_LOADING_METADATA_TITLE = (pattern: string) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMetadataTitle', + { + values: { pattern }, + defaultMessage: "Indices matching the {pattern} pattern won't be checked", + } + ); + +export const LOADING_STATS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.emptyLoadingPrompt.loadingStatsPrompt', + { + defaultMessage: 'Loading stats', + } +); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/remote_clusters_callout/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/remote_clusters_callout/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/remote_clusters_callout/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/remote_clusters_callout/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/remote_clusters_callout/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/remote_clusters_callout/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/remote_clusters_callout/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/remote_clusters_callout/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/remote_clusters_callout/translations.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/remote_clusters_callout/translations.ts similarity index 62% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/remote_clusters_callout/translations.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/remote_clusters_callout/translations.ts index be355c6e5a71c..6c252e66dfb4d 100644 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/remote_clusters_callout/translations.ts +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/remote_clusters_callout/translations.ts @@ -7,12 +7,15 @@ import { i18n } from '@kbn/i18n'; -export const TITLE = i18n.translate('ecsDataQualityDashboard.remoteClustersCallout.title', { - defaultMessage: "Remote clusters won't be checked", -}); +export const TITLE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.remoteClustersCallout.title', + { + defaultMessage: "Remote clusters won't be checked", + } +); export const TO_CHECK_INDICES_ON_REMOTE_CLUSTERS = i18n.translate( - 'ecsDataQualityDashboard.remoteClustersCallout.toCheckIndicesOnRemoteClustersLabel', + 'securitySolutionPackages.ecsDataQualityDashboard.remoteClustersCallout.toCheckIndicesOnRemoteClustersLabel', { defaultMessage: "To check indices on remote clusters supporting cross-cluster search, log in to the remote cluster's Kibana", diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/same_family/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/same_family/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/same_family/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/same_family/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/same_family/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/same_family/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/same_family/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/same_family/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/same_family/translations.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/same_family/translations.ts similarity index 63% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/same_family/translations.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/same_family/translations.ts index 1b4e05f01d635..b26a7386e8e4b 100644 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/same_family/translations.ts +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/same_family/translations.ts @@ -7,6 +7,9 @@ import { i18n } from '@kbn/i18n'; -export const SAME_FAMILY = i18n.translate('ecsDataQualityDashboard.sameFamilyBadgeLabel', { - defaultMessage: 'same family', -}); +export const SAME_FAMILY = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.sameFamilyBadgeLabel', + { + defaultMessage: 'same family', + } +); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/stat_label/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/stat_label/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/stat_label/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/stat_label/index.tsx diff --git a/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/stat_label/translations.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/stat_label/translations.ts new file mode 100644 index 0000000000000..df91b4ed562e9 --- /dev/null +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/stat_label/translations.ts @@ -0,0 +1,174 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const CHECKED = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.checkedLabel', + { + defaultMessage: 'checked', + } +); + +export const CUSTOM = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.customLabel', + { + defaultMessage: 'Custom', + } +); + +export const CUSTOM_INDEX_TOOL_TIP = (indexName: string) => + i18n.translate('securitySolutionPackages.ecsDataQualityDashboard.statLabels.customIndexToolTip', { + values: { indexName }, + defaultMessage: 'A count of the custom field mappings in the {indexName} index', + }); + +export const CUSTOM_PATTERN_TOOL_TIP = (pattern: string) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.customPatternToolTip', + { + values: { pattern }, + defaultMessage: + 'The total count of custom field mappings, in indices matching the {pattern} pattern', + } + ); + +export const DOCS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.docsLabel', + { + defaultMessage: 'Docs', + } +); + +export const FIELDS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.fieldsLabel', + { + defaultMessage: 'fields', + } +); + +export const INCOMPATIBLE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.incompatibleLabel', + { + defaultMessage: 'Incompatible', + } +); + +export const INCOMPATIBLE_INDEX_TOOL_TIP = (indexName: string) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.incompatibleIndexToolTip', + { + values: { indexName }, + defaultMessage: 'Mappings and values incompatible with ECS, in the {indexName} index', + } + ); + +export const INCOMPATIBLE_PATTERN_TOOL_TIP = (pattern: string) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.incompatiblePatternToolTip', + { + values: { pattern }, + defaultMessage: + 'The total count of fields incompatible with ECS, in indices matching the {pattern} pattern', + } + ); + +export const INDEX_DOCS_COUNT_TOOL_TIP = (indexName: string) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.indexDocsCountToolTip', + { + values: { indexName }, + defaultMessage: 'A count of the docs in the {indexName} index', + } + ); + +export const INDEX_DOCS_PATTERN_TOOL_TIP = (pattern: string) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.indexDocsPatternToolTip', + { + values: { pattern }, + defaultMessage: 'The total count of docs, in indices matching the {pattern} pattern', + } + ); + +export const INDICES = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.indicesLabel', + { + defaultMessage: 'Indices', + } +); + +export const SIZE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.sizeLabel', + { + defaultMessage: 'Size', + } +); + +export const INDICES_SIZE_PATTERN_TOOL_TIP = (pattern: string) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.indicesSizePatternToolTip', + { + values: { pattern }, + defaultMessage: + 'The total size of the primary indices matching the {pattern} pattern (does not include replicas)', + } + ); + +export const TOTAL_COUNT_OF_INDICES_CHECKED_MATCHING_PATTERN_TOOL_TIP = (pattern: string) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.totalCountOfIndicesCheckedMatchingPatternToolTip', + { + values: { pattern }, + defaultMessage: 'The total count of indices checked that match the {pattern} pattern', + } + ); + +export const TOTAL_COUNT_OF_INDICES_MATCHING_PATTERN_TOOL_TIP = (pattern: string) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.totalCountOfIndicesMatchingPatternToolTip', + { + values: { pattern }, + defaultMessage: 'The total count of indices matching the {pattern} pattern', + } + ); + +export const TOTAL_DOCS_TOOL_TIP = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.totalDocsToolTip', + { + defaultMessage: 'The total count of docs, in all indices', + } +); + +export const TOTAL_INCOMPATIBLE_TOOL_TIP = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.totalIncompatibleToolTip', + { + defaultMessage: + 'The total count of fields incompatible with ECS, in all indices that were checked', + } +); + +export const TOTAL_INDICES_CHECKED_TOOL_TIP = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.totalIndicesCheckedToolTip', + { + defaultMessage: 'The total count of all indices checked', + } +); + +export const TOTAL_INDICES_TOOL_TIP = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.totalIndicesToolTip', + { + defaultMessage: 'The total count of all indices', + } +); + +export const TOTAL_SIZE_TOOL_TIP = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.statLabels.totalSizeToolTip', + { + defaultMessage: 'The total size of all primary indices (does not include replicas)', + } +); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/storage_treemap/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/storage_treemap/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/storage_treemap/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/storage_treemap/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/storage_treemap/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/storage_treemap/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/storage_treemap/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/storage_treemap/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/storage_treemap/no_data/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/storage_treemap/no_data/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/storage_treemap/no_data/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/storage_treemap/no_data/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/storage_treemap/no_data/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/storage_treemap/no_data/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/storage_treemap/no_data/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/storage_treemap/no_data/index.tsx diff --git a/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/storage_treemap/translations.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/storage_treemap/translations.ts new file mode 100644 index 0000000000000..eb5aec996cb01 --- /dev/null +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/storage_treemap/translations.ts @@ -0,0 +1,26 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const NO_DATA_LABEL = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.storageTreemap.noDataLabel', + { + defaultMessage: 'No data to display', + } +); + +export const NO_DATA_REASON_LABEL = (stackByField1: string) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.storageTreemap.noDataReasonLabel', + { + values: { + stackByField1, + }, + defaultMessage: 'The {stackByField1} field was not present in any groups', + } + ); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/summary_table/helpers.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/summary_table/helpers.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/summary_table/helpers.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/summary_table/helpers.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/summary_table/helpers.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/summary_table/helpers.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/summary_table/helpers.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/summary_table/helpers.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/summary_table/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/summary_table/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/summary_table/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/summary_table/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/summary_table/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/summary_table/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/summary_table/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/summary_table/index.tsx diff --git a/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/summary_table/translations.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/summary_table/translations.ts new file mode 100644 index 0000000000000..0101708db9f9d --- /dev/null +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/summary_table/translations.ts @@ -0,0 +1,119 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const COLLAPSE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.summaryTable.collapseLabel', + { + defaultMessage: 'Collapse', + } +); + +export const DOCS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.summaryTable.docsColumn', + { + defaultMessage: 'Docs', + } +); + +export const EXPAND = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.summaryTable.expandLabel', + { + defaultMessage: 'Expand', + } +); + +export const EXPAND_ROWS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.summaryTable.expandRowsColumn', + { + defaultMessage: 'Expand rows', + } +); + +export const FAILED = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.summaryTable.failedTooltip', + { + defaultMessage: 'Failed', + } +); + +export const ILM_PHASE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.summaryTable.ilmPhaseColumn', + { + defaultMessage: 'ILM Phase', + } +); + +export const INCOMPATIBLE_FIELDS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.summaryTable.incompatibleFieldsColumn', + { + defaultMessage: 'Incompatible fields', + } +); + +export const INDICES = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.summaryTable.indicesColumn', + { + defaultMessage: 'Indices', + } +); + +export const INDICES_CHECKED = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.summaryTable.indicesCheckedColumn', + { + defaultMessage: 'Indices checked', + } +); + +export const INDEX = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.summaryTable.indexColumn', + { + defaultMessage: 'Index', + } +); + +export const INDEX_NAME_LABEL = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.summaryTable.indexesNameLabel', + { + defaultMessage: 'Index name', + } +); + +export const INDEX_TOOL_TIP = (pattern: string) => + i18n.translate('securitySolutionPackages.ecsDataQualityDashboard.summaryTable.indexToolTip', { + values: { pattern }, + defaultMessage: 'This index matches the pattern or index name: {pattern}', + }); + +export const PASSED = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.summaryTable.passedTooltip', + { + defaultMessage: 'Passed', + } +); + +export const RESULT = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.summaryTable.resultColumn', + { + defaultMessage: 'Result', + } +); + +export const SIZE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.summaryTable.sizeColumn', + { + defaultMessage: 'Size', + } +); + +export const THIS_INDEX_HAS_NOT_BEEN_CHECKED = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.summaryTable.thisIndexHasNotBeenCheckedTooltip', + { + defaultMessage: 'This index has not been checked', + } +); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/all_tab/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/all_tab/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/all_tab/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/all_tab/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/callouts/custom_callout/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/callouts/custom_callout/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/callouts/custom_callout/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/callouts/custom_callout/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/callouts/custom_callout/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/callouts/custom_callout/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/callouts/custom_callout/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/callouts/custom_callout/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/callouts/incompatible_callout/helpers.test.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/callouts/incompatible_callout/helpers.test.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/callouts/incompatible_callout/helpers.test.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/callouts/incompatible_callout/helpers.test.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/callouts/incompatible_callout/helpers.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/callouts/incompatible_callout/helpers.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/callouts/incompatible_callout/helpers.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/callouts/incompatible_callout/helpers.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/callouts/incompatible_callout/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/callouts/incompatible_callout/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/callouts/incompatible_callout/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/callouts/incompatible_callout/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/callouts/incompatible_callout/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/callouts/incompatible_callout/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/callouts/incompatible_callout/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/callouts/incompatible_callout/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/callouts/missing_timestamp_callout/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/callouts/missing_timestamp_callout/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/callouts/missing_timestamp_callout/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/callouts/missing_timestamp_callout/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/custom_tab/helpers.test.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/custom_tab/helpers.test.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/custom_tab/helpers.test.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/custom_tab/helpers.test.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/custom_tab/helpers.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/custom_tab/helpers.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/custom_tab/helpers.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/custom_tab/helpers.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/custom_tab/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/custom_tab/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/custom_tab/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/custom_tab/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/ecs_compliant_tab/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/ecs_compliant_tab/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/ecs_compliant_tab/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/ecs_compliant_tab/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/helpers.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/helpers.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/helpers.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/helpers.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/helpers.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/helpers.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/helpers.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/helpers.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/incompatible_tab/helpers.test.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/incompatible_tab/helpers.test.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/incompatible_tab/helpers.test.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/incompatible_tab/helpers.test.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/incompatible_tab/helpers.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/incompatible_tab/helpers.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/incompatible_tab/helpers.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/incompatible_tab/helpers.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/incompatible_tab/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/incompatible_tab/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/incompatible_tab/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/incompatible_tab/index.tsx diff --git a/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/incompatible_tab/translations.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/incompatible_tab/translations.ts new file mode 100644 index 0000000000000..3be9a55333ad2 --- /dev/null +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/incompatible_tab/translations.ts @@ -0,0 +1,26 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const INCOMPATIBLE_FIELD_MAPPINGS_TABLE_TITLE = (indexName: string) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.incompatibleTab.incompatibleFieldMappingsTableTitle', + { + values: { indexName }, + defaultMessage: 'Incompatible field mappings - {indexName}', + } + ); + +export const INCOMPATIBLE_FIELD_VALUES_TABLE_TITLE = (indexName: string) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.incompatibleTab.incompatibleFieldValuesTableTitle', + { + values: { indexName }, + defaultMessage: 'Incompatible field values - {indexName}', + } + ); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/styles.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/styles.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/styles.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/styles.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/summary_tab/callout_summary/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/summary_tab/callout_summary/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/summary_tab/callout_summary/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/summary_tab/callout_summary/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/summary_tab/helpers.test.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/summary_tab/helpers.test.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/summary_tab/helpers.test.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/summary_tab/helpers.test.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/summary_tab/helpers.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/summary_tab/helpers.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/summary_tab/helpers.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/summary_tab/helpers.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/summary_tab/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/summary_tab/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/data_quality_panel/tabs/summary_tab/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/data_quality_panel/tabs/summary_tab/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ecs_summary_donut_chart/chart_legend/chart_legend_item.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ecs_summary_donut_chart/chart_legend/chart_legend_item.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ecs_summary_donut_chart/chart_legend/chart_legend_item.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ecs_summary_donut_chart/chart_legend/chart_legend_item.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ecs_summary_donut_chart/chart_legend/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ecs_summary_donut_chart/chart_legend/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ecs_summary_donut_chart/chart_legend/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ecs_summary_donut_chart/chart_legend/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ecs_summary_donut_chart/helpers.test.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ecs_summary_donut_chart/helpers.test.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ecs_summary_donut_chart/helpers.test.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ecs_summary_donut_chart/helpers.test.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ecs_summary_donut_chart/helpers.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ecs_summary_donut_chart/helpers.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ecs_summary_donut_chart/helpers.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ecs_summary_donut_chart/helpers.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ecs_summary_donut_chart/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ecs_summary_donut_chart/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ecs_summary_donut_chart/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ecs_summary_donut_chart/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ecs_summary_donut_chart/translations.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ecs_summary_donut_chart/translations.ts similarity index 60% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ecs_summary_donut_chart/translations.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ecs_summary_donut_chart/translations.ts index 414a6f127eeda..4df2f41cfdbd3 100644 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ecs_summary_donut_chart/translations.ts +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ecs_summary_donut_chart/translations.ts @@ -8,12 +8,15 @@ import { i18n } from '@kbn/i18n'; export const CHART_TITLE = i18n.translate( - 'ecsDataQualityDashboard.ecsSummaryDonutChart.chartTitle', + 'securitySolutionPackages.ecsDataQualityDashboard.ecsSummaryDonutChart.chartTitle', { defaultMessage: 'Field mappings', } ); -export const FIELDS = i18n.translate('ecsDataQualityDashboard.ecsSummaryDonutChart.fieldsLabel', { - defaultMessage: 'Fields', -}); +export const FIELDS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.ecsSummaryDonutChart.fieldsLabel', + { + defaultMessage: 'Fields', + } +); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/helpers.test.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/helpers.test.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/helpers.test.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/helpers.test.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/helpers.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/helpers.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/helpers.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/helpers.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ilm_phases_empty_prompt/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ilm_phases_empty_prompt/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ilm_phases_empty_prompt/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ilm_phases_empty_prompt/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ilm_phases_empty_prompt/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ilm_phases_empty_prompt/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/ilm_phases_empty_prompt/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ilm_phases_empty_prompt/index.tsx diff --git a/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ilm_phases_empty_prompt/translations.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ilm_phases_empty_prompt/translations.ts new file mode 100644 index 0000000000000..08a39d5b64d22 --- /dev/null +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/ilm_phases_empty_prompt/translations.ts @@ -0,0 +1,80 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const BODY = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.ilmPhasesEmptyPromptBody', + { + defaultMessage: + 'Indices with these Index Lifecycle Management (ILM) phases will be checked for data quality', + } +); + +export const COLD = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.ilmPhasesEmptyPromptColdLabel', + { + defaultMessage: 'cold', + } +); + +export const FROZEN = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.ilmPhasesEmptyPromptFrozenLabel', + { + defaultMessage: 'frozen', + } +); + +export const HOT = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.ilmPhasesEmptyPromptHotLabel', + { + defaultMessage: 'hot', + } +); + +export const ILM_PHASES_THAT_CAN_BE_CHECKED = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.ilmPhasesEmptyPromptIlmPhasesThatCanBeCheckedSubtitle', + { + defaultMessage: 'ILM phases that can be checked for data quality', + } +); + +export const ILM_PHASES_THAT_CANNOT_BE_CHECKED = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.ilmPhasesEmptyPromptIlmPhasesThatCannotBeCheckedSubtitle', + { + defaultMessage: 'ILM phases that cannot be checked', + } +); + +export const THE_FOLLOWING_ILM_PHASES = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.ilmPhasesEmptyPromptITheFollowingIlmPhasesLabel', + { + defaultMessage: + 'The following ILM phases cannot be checked for data quality because they are slower to access', + } +); + +export const UNMANAGED = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.ilmPhasesEmptyPromptUnmanagedLabel', + { + defaultMessage: 'unmanaged', + } +); + +export const WARM = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.ilmPhasesEmptyPromptWarmLabel', + { + defaultMessage: 'warm', + } +); + +export const TITLE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.ilmPhasesEmptyPromptTitle', + { + defaultMessage: 'Select one or more ILM phases', + } +); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/index.test.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/index.test.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/index.test.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/index.test.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/allowed_values/mock_allowed_values.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/allowed_values/mock_allowed_values.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/allowed_values/mock_allowed_values.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/allowed_values/mock_allowed_values.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/data_quality_check_result/mock_index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/data_quality_check_result/mock_index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/data_quality_check_result/mock_index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/data_quality_check_result/mock_index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/enriched_field_metadata/mock_enriched_field_metadata.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/enriched_field_metadata/mock_enriched_field_metadata.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/enriched_field_metadata/mock_enriched_field_metadata.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/enriched_field_metadata/mock_enriched_field_metadata.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/ilm_explain/mock_ilm_explain.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/ilm_explain/mock_ilm_explain.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/ilm_explain/mock_ilm_explain.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/ilm_explain/mock_ilm_explain.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/indices_get_mapping_index_mapping_record/mock_indices_get_mapping_index_mapping_record.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/indices_get_mapping_index_mapping_record/mock_indices_get_mapping_index_mapping_record.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/indices_get_mapping_index_mapping_record/mock_indices_get_mapping_index_mapping_record.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/indices_get_mapping_index_mapping_record/mock_indices_get_mapping_index_mapping_record.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/mappings_properties/mock_mappings_properties.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/mappings_properties/mock_mappings_properties.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/mappings_properties/mock_mappings_properties.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/mappings_properties/mock_mappings_properties.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/mappings_response/mock_mappings_response.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/mappings_response/mock_mappings_response.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/mappings_response/mock_mappings_response.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/mappings_response/mock_mappings_response.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/partitioned_field_metadata/mock_partitioned_field_metadata.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/partitioned_field_metadata/mock_partitioned_field_metadata.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/partitioned_field_metadata/mock_partitioned_field_metadata.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/partitioned_field_metadata/mock_partitioned_field_metadata.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/pattern_rollup/mock_alerts_pattern_rollup.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/pattern_rollup/mock_alerts_pattern_rollup.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/pattern_rollup/mock_alerts_pattern_rollup.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/pattern_rollup/mock_alerts_pattern_rollup.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/pattern_rollup/mock_auditbeat_pattern_rollup.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/pattern_rollup/mock_auditbeat_pattern_rollup.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/pattern_rollup/mock_auditbeat_pattern_rollup.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/pattern_rollup/mock_auditbeat_pattern_rollup.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/pattern_rollup/mock_packetbeat_pattern_rollup.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/pattern_rollup/mock_packetbeat_pattern_rollup.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/pattern_rollup/mock_packetbeat_pattern_rollup.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/pattern_rollup/mock_packetbeat_pattern_rollup.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/stats/mock_stats.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/stats/mock_stats.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/stats/mock_stats.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/stats/mock_stats.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/stats/mock_stats_green_index.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/stats/mock_stats_green_index.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/stats/mock_stats_green_index.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/stats/mock_stats_green_index.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/stats/mock_stats_yellow_index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/stats/mock_stats_yellow_index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/stats/mock_stats_yellow_index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/stats/mock_stats_yellow_index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/test_providers/test_providers.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/test_providers/test_providers.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/test_providers/test_providers.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/test_providers/test_providers.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/unallowed_values/mock_unallowed_values.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/unallowed_values/mock_unallowed_values.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/mock/unallowed_values/mock_unallowed_values.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/mock/unallowed_values/mock_unallowed_values.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/styles.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/styles.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/styles.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/styles.tsx diff --git a/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/translations.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/translations.ts new file mode 100644 index 0000000000000..18c14d5036b6b --- /dev/null +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/translations.ts @@ -0,0 +1,273 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const ADD_TO_NEW_CASE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.addToNewCaseButton', + { + defaultMessage: 'Add to new case', + } +); + +export const CANCEL = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.cancelButton', + { + defaultMessage: 'Cancel', + } +); + +export const CHECK_ALL = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.checkAllButton', + { + defaultMessage: 'Check all', + } +); + +export const CHECKING = (index: string) => + i18n.translate('securitySolutionPackages.ecsDataQualityDashboard.checkingLabel', { + values: { index }, + defaultMessage: 'Checking {index}', + }); + +export const COLD_DESCRIPTION = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.coldDescription', + { + defaultMessage: + 'The index is no longer being updated and is queried infrequently. The information still needs to be searchable, but it’s okay if those queries are slower.', + } +); + +export const COLD_PATTERN_TOOLTIP = ({ indices, pattern }: { indices: number; pattern: string }) => + i18n.translate('securitySolutionPackages.ecsDataQualityDashboard.coldPatternTooltip', { + values: { indices, pattern }, + defaultMessage: + '{indices} {indices, plural, =1 {index} other {indices}} matching the {pattern} pattern {indices, plural, =1 {is} other {are}} cold. Cold indices are no longer being updated and are queried infrequently. The information still needs to be searchable, but it’s okay if those queries are slower.', + }); + +export const COPIED_RESULTS_TOAST_TITLE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.toasts.copiedResultsToastTitle', + { + defaultMessage: 'Copied results to the clipboard', + } +); + +export const COPY_TO_CLIPBOARD = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.copyToClipboardButton', + { + defaultMessage: 'Copy to clipboard', + } +); + +/** The subtitle displayed on the Data Quality dashboard */ +export const DATA_QUALITY_SUBTITLE: string = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.securitySolutionPackages.ecsDataQualityDashboardSubtitle', + { + defaultMessage: 'Check index mappings and values for compatibility with the', + } +); + +export const DATA_QUALITY_TITLE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.securitySolutionPackages.ecsDataQualityDashboardTitle', + { + defaultMessage: 'Data quality', + } +); + +export const DEFAULT_PANEL_TITLE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.defaultPanelTitle', + { + defaultMessage: 'Check index mappings', + } +); + +export const ECS_VERSION = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.ecsVersionStat', + { + defaultMessage: 'ECS version', + } +); + +export const ERROR_LOADING_ILM_EXPLAIN = (details: string) => + i18n.translate('securitySolutionPackages.ecsDataQualityDashboard.errorLoadingIlmExplainLabel', { + values: { details }, + defaultMessage: 'Error loading ILM Explain: {details}', + }); + +export const ERROR_LOADING_MAPPINGS = ({ + details, + patternOrIndexName, +}: { + details: string; + patternOrIndexName: string; +}) => + i18n.translate('securitySolutionPackages.ecsDataQualityDashboard.errorLoadingMappingsLabel', { + values: { details, patternOrIndexName }, + defaultMessage: 'Error loading mappings for {patternOrIndexName}: {details}', + }); + +export const ERROR_LOADING_STATS = (details: string) => + i18n.translate('securitySolutionPackages.ecsDataQualityDashboard.errorLoadingStatsLabel', { + values: { details }, + defaultMessage: 'Error loading stats: {details}', + }); + +export const ERROR_LOADING_UNALLOWED_VALUES = ({ + details, + indexName, +}: { + details: string; + indexName: string; +}) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.errorLoadingUnallowedValuesLabel', + { + values: { details, indexName }, + defaultMessage: 'Error loading unallowed values for index {indexName}: {details}', + } + ); + +export const FIELDS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.fieldsLabel', + { + defaultMessage: 'Fields', + } +); + +export const FROZEN_DESCRIPTION = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.frozenDescription', + { + defaultMessage: `The index is no longer being updated and is queried rarely. The information still needs to be searchable, but it's okay if those queries are extremely slow.`, + } +); + +export const FROZEN_PATTERN_TOOLTIP = ({ + indices, + pattern, +}: { + indices: number; + pattern: string; +}) => + i18n.translate('securitySolutionPackages.ecsDataQualityDashboard.frozenPatternTooltip', { + values: { indices, pattern }, + defaultMessage: `{indices} {indices, plural, =1 {index} other {indices}} matching the {pattern} pattern {indices, plural, =1 {is} other {are}} frozen. Frozen indices are no longer being updated and are queried rarely. The information still needs to be searchable, but it's okay if those queries are extremely slow.`, + }); + +export const HOT_DESCRIPTION = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.hotDescription', + { + defaultMessage: 'The index is actively being updated and queried', + } +); + +export const HOT_PATTERN_TOOLTIP = ({ indices, pattern }: { indices: number; pattern: string }) => + i18n.translate('securitySolutionPackages.ecsDataQualityDashboard.hotPatternTooltip', { + values: { indices, pattern }, + defaultMessage: + '{indices} {indices, plural, =1 {index} other {indices}} matching the {pattern} pattern {indices, plural, =1 {is} other {are}} hot. Hot indices are actively being updated and queried.', + }); + +/** The tooltip for the `ILM phase` combo box on the Data Quality Dashboard */ +export const INDEX_LIFECYCLE_MANAGEMENT_PHASES: string = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexLifecycleManagementPhasesTooltip', + { + defaultMessage: + 'Indices with these Index Lifecycle Management (ILM) phases will be checked for data quality', + } +); + +export const INDEX_NAME = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexNameLabel', + { + defaultMessage: 'Index name', + } +); + +/** The label displayed for the `ILM phase` combo box on the Data Quality dashboard */ +export const ILM_PHASE: string = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.ilmPhaseLabel', + { + defaultMessage: 'ILM phase', + } +); + +export const LAST_CHECKED = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.lastCheckedLabel', + { + defaultMessage: 'Last checked', + } +); + +export const LOADING_ECS_METADATA = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.emptyLoadingPrompt.loadingEcsMetadataPrompt', + { + defaultMessage: 'Loading ECS metadata', + } +); + +export const SELECT_AN_INDEX = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.selectAnIndexPrompt', + { + defaultMessage: 'Select an index to compare it against ECS version', + } +); + +/** The placeholder for the `ILM phase` combo box on the Data Quality Dashboard */ +export const SELECT_ONE_OR_MORE_ILM_PHASES: string = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.selectOneOrMorPhasesPlaceholder', + { + defaultMessage: 'Select one or more ILM phases', + } +); + +export const INDEX_SIZE_TOOLTIP = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.indexSizeTooltip', + { + defaultMessage: 'The size of the primary index (does not include replicas)', + } +); + +export const TIMESTAMP_DESCRIPTION = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.timestampDescriptionLabel', + { + defaultMessage: + 'Date/time when the event originated. This is the date/time extracted from the event, typically representing when the event was generated by the source. If the event source has no original timestamp, this value is typically populated by the first time the event was received by the pipeline. Required field for all events.', + } +); + +export const UNMANAGED_DESCRIPTION = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.unmanagedDescription', + { + defaultMessage: `The index isn't managed by Index Lifecycle Management (ILM)`, + } +); + +export const UNMANAGED_PATTERN_TOOLTIP = ({ + indices, + pattern, +}: { + indices: number; + pattern: string; +}) => + i18n.translate('securitySolutionPackages.ecsDataQualityDashboard.unmanagedPatternTooltip', { + values: { indices, pattern }, + defaultMessage: `{indices} {indices, plural, =1 {index} other {indices}} matching the {pattern} pattern {indices, plural, =1 {is} other {are}} unmanaged by Index Lifecycle Management (ILM)`, + }); + +export const WARM_DESCRIPTION = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.warmDescription', + { + defaultMessage: 'The index is no longer being updated but is still being queried', + } +); + +export const WARM_PATTERN_TOOLTIP = ({ indices, pattern }: { indices: number; pattern: string }) => + i18n.translate('securitySolutionPackages.ecsDataQualityDashboard.warmPatternTooltip', { + values: { indices, pattern }, + defaultMessage: + '{indices} {indices, plural, =1 {index} other {indices}} matching the {pattern} pattern {indices, plural, =1 {is} other {are}} warm. Warm indices are no longer being updated but are still being queried.', + }); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/types.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/types.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/types.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/types.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_add_to_new_case/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_add_to_new_case/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_add_to_new_case/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_add_to_new_case/index.tsx diff --git a/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_add_to_new_case/translations.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_add_to_new_case/translations.ts new file mode 100644 index 0000000000000..9118d6c51187a --- /dev/null +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_add_to_new_case/translations.ts @@ -0,0 +1,31 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; + +export const ADD_TO_CASE_SUCCESS = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.addToCaseSuccessToast', + { + defaultMessage: 'Successfully added data quality results to the case', + } +); + +export const CREATE_A_DATA_QUALITY_CASE = i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.createADataQualityCaseHeaderText', + { + defaultMessage: 'Create a data quality case', + } +); + +export const CREATE_A_DATA_QUALITY_CASE_FOR_INDEX = (indexName: string) => + i18n.translate( + 'securitySolutionPackages.ecsDataQualityDashboard.createADataQualityCaseForIndexHeaderText', + { + values: { indexName }, + defaultMessage: 'Create a data quality case for index {indexName}', + } + ); diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_ilm_explain/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_ilm_explain/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_ilm_explain/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_ilm_explain/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_mappings/helpers.test.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_mappings/helpers.test.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_mappings/helpers.test.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_mappings/helpers.test.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_mappings/helpers.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_mappings/helpers.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_mappings/helpers.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_mappings/helpers.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_mappings/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_mappings/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_mappings/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_mappings/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_results_rollup/helpers.test.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_results_rollup/helpers.test.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_results_rollup/helpers.test.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_results_rollup/helpers.test.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_results_rollup/helpers.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_results_rollup/helpers.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_results_rollup/helpers.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_results_rollup/helpers.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_results_rollup/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_results_rollup/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_results_rollup/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_results_rollup/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_stats/index.tsx b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_stats/index.tsx similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_stats/index.tsx rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_stats/index.tsx diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_unallowed_values/helpers.test.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_unallowed_values/helpers.test.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_unallowed_values/helpers.test.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_unallowed_values/helpers.test.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_unallowed_values/helpers.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_unallowed_values/helpers.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_unallowed_values/helpers.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_unallowed_values/helpers.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_unallowed_values/index.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_unallowed_values/index.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/impl/data_quality/use_unallowed_values/index.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/data_quality/use_unallowed_values/index.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/index.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/index.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/index.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/index.ts diff --git a/x-pack/packages/security-solution/ecs_data_quality_dashboard/jest.config.js b/x-pack/packages/security-solution/ecs_data_quality_dashboard/jest.config.js new file mode 100644 index 0000000000000..e017b0ceaf369 --- /dev/null +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/jest.config.js @@ -0,0 +1,26 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/packages/security-solution/ecs_data_quality_dashboard_impl', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/**/*.{ts,tsx}', + '!/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/{__test__,__snapshots__,__examples__,*mock*,tests,test_helpers,integration_tests,types}/**/*', + '!/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/*mock*.{ts,tsx}', + '!/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/*.test.{ts,tsx}', + '!/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/*.d.ts', + '!/x-pack/packages/security-solution/ecs_data_quality_dashboard/impl/*.config.ts', + ], + preset: '@kbn/test', + rootDir: '../../../..', + roots: ['/x-pack/packages/security-solution/ecs_data_quality_dashboard'], + setupFilesAfterEnv: [ + '/x-pack/packages/security-solution/ecs_data_quality_dashboard/setup_tests.ts', + ], +}; diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/kibana.jsonc b/x-pack/packages/security-solution/ecs_data_quality_dashboard/kibana.jsonc similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/kibana.jsonc rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/kibana.jsonc diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/package.json b/x-pack/packages/security-solution/ecs_data_quality_dashboard/package.json similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/package.json rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/package.json diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/setup_tests.ts b/x-pack/packages/security-solution/ecs_data_quality_dashboard/setup_tests.ts similarity index 100% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/setup_tests.ts rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/setup_tests.ts diff --git a/x-pack/packages/kbn-ecs-data-quality-dashboard/tsconfig.json b/x-pack/packages/security-solution/ecs_data_quality_dashboard/tsconfig.json similarity index 87% rename from x-pack/packages/kbn-ecs-data-quality-dashboard/tsconfig.json rename to x-pack/packages/security-solution/ecs_data_quality_dashboard/tsconfig.json index 09b55094f3b23..8cd3ca4ed16ac 100644 --- a/x-pack/packages/kbn-ecs-data-quality-dashboard/tsconfig.json +++ b/x-pack/packages/security-solution/ecs_data_quality_dashboard/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/security-solution/side_nav/README.mdx b/x-pack/packages/security-solution/side_nav/README.mdx similarity index 100% rename from packages/security-solution/side_nav/README.mdx rename to x-pack/packages/security-solution/side_nav/README.mdx diff --git a/packages/security-solution/side_nav/index.ts b/x-pack/packages/security-solution/side_nav/index.ts similarity index 63% rename from packages/security-solution/side_nav/index.ts rename to x-pack/packages/security-solution/side_nav/index.ts index d35fa8578831b..c13ed6f81d16c 100644 --- a/packages/security-solution/side_nav/index.ts +++ b/x-pack/packages/security-solution/side_nav/index.ts @@ -1,9 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ export { SolutionSideNav, type SolutionSideNavProps } from './src'; diff --git a/x-pack/packages/security-solution/side_nav/jest.config.js b/x-pack/packages/security-solution/side_nav/jest.config.js new file mode 100644 index 0000000000000..89a16e7fff05e --- /dev/null +++ b/x-pack/packages/security-solution/side_nav/jest.config.js @@ -0,0 +1,12 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../..', + roots: ['/x-pack/packages/security-solution/side_nav'], +}; diff --git a/packages/security-solution/side_nav/kibana.jsonc b/x-pack/packages/security-solution/side_nav/kibana.jsonc similarity index 100% rename from packages/security-solution/side_nav/kibana.jsonc rename to x-pack/packages/security-solution/side_nav/kibana.jsonc diff --git a/packages/security-solution/side_nav/package.json b/x-pack/packages/security-solution/side_nav/package.json similarity index 65% rename from packages/security-solution/side_nav/package.json rename to x-pack/packages/security-solution/side_nav/package.json index d34551f751046..c80baa25af3e2 100644 --- a/packages/security-solution/side_nav/package.json +++ b/x-pack/packages/security-solution/side_nav/package.json @@ -2,5 +2,5 @@ "name": "@kbn/security-solution-side-nav", "private": true, "version": "1.0.0", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "Elastic License 2.0" } \ No newline at end of file diff --git a/packages/security-solution/side_nav/src/beta_badge.tsx b/x-pack/packages/security-solution/side_nav/src/beta_badge.tsx similarity index 82% rename from packages/security-solution/side_nav/src/beta_badge.tsx rename to x-pack/packages/security-solution/side_nav/src/beta_badge.tsx index 75696cd3bad32..ba838bcb9e340 100644 --- a/packages/security-solution/side_nav/src/beta_badge.tsx +++ b/x-pack/packages/security-solution/side_nav/src/beta_badge.tsx @@ -1,9 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import React from 'react'; diff --git a/packages/security-solution/side_nav/src/index.tsx b/x-pack/packages/security-solution/side_nav/src/index.tsx similarity index 76% rename from packages/security-solution/side_nav/src/index.tsx rename to x-pack/packages/security-solution/side_nav/src/index.tsx index 09d37a0b0cdff..055c45a1a8519 100644 --- a/packages/security-solution/side_nav/src/index.tsx +++ b/x-pack/packages/security-solution/side_nav/src/index.tsx @@ -1,9 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import React, { lazy, Suspense } from 'react'; diff --git a/packages/security-solution/side_nav/src/solution_side_nav.stories.tsx b/x-pack/packages/security-solution/side_nav/src/solution_side_nav.stories.tsx similarity index 96% rename from packages/security-solution/side_nav/src/solution_side_nav.stories.tsx rename to x-pack/packages/security-solution/side_nav/src/solution_side_nav.stories.tsx index e8b82c01a62e8..a2f64afd38ba4 100644 --- a/packages/security-solution/side_nav/src/solution_side_nav.stories.tsx +++ b/x-pack/packages/security-solution/side_nav/src/solution_side_nav.stories.tsx @@ -1,9 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import React from 'react'; @@ -146,6 +145,7 @@ export const SolutionSideNav = (params: Params) => ( icon={'logoSecurity'} isOpenOnDesktop={true} canBeCollapsed={false} + // eslint-disable-next-line react/no-children-prop children={ ; -export const SolutionSideNav: React.FC = React.memo( - ({ items, selectedId, footerItems = [], panelBottomOffset, panelTopOffset, tracker }) => { - const isMobileSize = useIsWithinBreakpoints(['xs', 's']); +export const SolutionSideNav: React.FC = React.memo(function SolutionSideNav({ + items, + selectedId, + footerItems = [], + panelBottomOffset, + panelTopOffset, + tracker, +}) { + const isMobileSize = useIsWithinBreakpoints(['xs', 's']); - const [activePanelNavId, setActivePanelNavId] = useState(null); - const activePanelNavIdRef = useRef(null); + const [activePanelNavId, setActivePanelNavId] = useState(null); + const activePanelNavIdRef = useRef(null); - const openPanelNav = (id: string) => { - activePanelNavIdRef.current = id; - setActivePanelNavId(id); - }; + const openPanelNav = (id: string) => { + activePanelNavIdRef.current = id; + setActivePanelNavId(id); + }; - const onClosePanelNav = useCallback(() => { - activePanelNavIdRef.current = null; - setActivePanelNavId(null); - }, []); + const onClosePanelNav = useCallback(() => { + activePanelNavIdRef.current = null; + setActivePanelNavId(null); + }, []); - const onOutsidePanelClick = useCallback(() => { - const currentPanelNavId = activePanelNavIdRef.current; - setTimeout(() => { - // This event is triggered on outside click. - // Closing the side nav at the end of event loop to make sure it - // closes also if the active panel button has been clicked (toggle), - // but it does not close if any any other panel open button has been clicked. - if (activePanelNavIdRef.current === currentPanelNavId) { - onClosePanelNav(); + const onOutsidePanelClick = useCallback(() => { + const currentPanelNavId = activePanelNavIdRef.current; + setTimeout(() => { + // This event is triggered on outside click. + // Closing the side nav at the end of event loop to make sure it + // closes also if the active panel button has been clicked (toggle), + // but it does not close if any any other panel open button has been clicked. + if (activePanelNavIdRef.current === currentPanelNavId) { + onClosePanelNav(); + } + }); + }, [onClosePanelNav]); + + const navItemsById = useMemo( + () => + [...items, ...footerItems].reduce((acc, navItem) => { + if (navItem.items?.length) { + acc[navItem.id] = { + title: navItem.label, + panelItems: navItem.items, + categories: navItem.categories, + }; } - }); - }, [onClosePanelNav]); + return acc; + }, {}), + [items, footerItems] + ); - const navItemsById = useMemo( - () => - [...items, ...footerItems].reduce((acc, navItem) => { - if (navItem.items?.length) { - acc[navItem.id] = { - title: navItem.label, - panelItems: navItem.items, - categories: navItem.categories, - }; - } - return acc; - }, {}), - [items, footerItems] + const panelNav = useMemo(() => { + if (activePanelNavId == null || !navItemsById[activePanelNavId]) { + return null; + } + const { panelItems, title, categories } = navItemsById[activePanelNavId]; + return ( + ); + }, [ + activePanelNavId, + navItemsById, + onClosePanelNav, + onOutsidePanelClick, + panelBottomOffset, + panelTopOffset, + ]); - const panelNav = useMemo(() => { - if (activePanelNavId == null || !navItemsById[activePanelNavId]) { - return null; - } - const { panelItems, title, categories } = navItemsById[activePanelNavId]; - return ( - - ); - }, [ - activePanelNavId, - navItemsById, - onClosePanelNav, - onOutsidePanelClick, - panelBottomOffset, - panelTopOffset, - ]); - - return ( - - - - - - - - - - - - - - - - - + return ( + + + + + + + + + + + + + + + + + - {panelNav} - - ); - } -); + {panelNav} + + ); +}); const SolutionSideNavItems: React.FC = ({ items, @@ -192,7 +196,7 @@ const SolutionSideNavItems: React.FC = ({ ); const SolutionSideNavItem: React.FC = React.memo( - ({ item, isSelected, isActive, hasPanelNav, onOpenPanelNav }) => { + function SolutionSideNavItem({ item, isSelected, isActive, hasPanelNav, onOpenPanelNav }) { const { euiTheme } = useEuiTheme(); const { tracker } = useTelemetryContext(); diff --git a/packages/security-solution/side_nav/src/solution_side_nav_panel.styles.ts b/x-pack/packages/security-solution/side_nav/src/solution_side_nav_panel.styles.ts similarity index 92% rename from packages/security-solution/side_nav/src/solution_side_nav_panel.styles.ts rename to x-pack/packages/security-solution/side_nav/src/solution_side_nav_panel.styles.ts index 574310923c357..070bbe29b30bd 100644 --- a/packages/security-solution/side_nav/src/solution_side_nav_panel.styles.ts +++ b/x-pack/packages/security-solution/side_nav/src/solution_side_nav_panel.styles.ts @@ -1,9 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { transparentize, type EuiThemeComputed } from '@elastic/eui'; diff --git a/packages/security-solution/side_nav/src/solution_side_nav_panel.test.tsx b/x-pack/packages/security-solution/side_nav/src/solution_side_nav_panel.test.tsx similarity index 95% rename from packages/security-solution/side_nav/src/solution_side_nav_panel.test.tsx rename to x-pack/packages/security-solution/side_nav/src/solution_side_nav_panel.test.tsx index eb0f887eab96c..4c8a9ea7d8d63 100644 --- a/packages/security-solution/side_nav/src/solution_side_nav_panel.test.tsx +++ b/x-pack/packages/security-solution/side_nav/src/solution_side_nav_panel.test.tsx @@ -1,20 +1,18 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import React from 'react'; import { render, waitFor } from '@testing-library/react'; import { SolutionSideNavPanel, type SolutionSideNavPanelProps } from './solution_side_nav_panel'; -import type { SolutionSideNavItem } from './types'; import { BETA_LABEL } from './beta_badge'; import { TELEMETRY_EVENT } from './telemetry/const'; import { METRIC_TYPE } from '@kbn/analytics'; import { TelemetryContextProvider } from './telemetry/telemetry_context'; -import type { LinkCategories } from './types'; +import type { SolutionSideNavItem, LinkCategories } from './types'; const mockUseIsWithinMinBreakpoint = jest.fn(() => true); jest.mock('@elastic/eui', () => { diff --git a/packages/security-solution/side_nav/src/solution_side_nav_panel.tsx b/x-pack/packages/security-solution/side_nav/src/solution_side_nav_panel.tsx similarity index 94% rename from packages/security-solution/side_nav/src/solution_side_nav_panel.tsx rename to x-pack/packages/security-solution/side_nav/src/solution_side_nav_panel.tsx index f884bfce5fac7..1a96fafb4d547 100644 --- a/packages/security-solution/side_nav/src/solution_side_nav_panel.tsx +++ b/x-pack/packages/security-solution/side_nav/src/solution_side_nav_panel.tsx @@ -1,9 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import React, { Fragment, useCallback } from 'react'; @@ -60,7 +59,15 @@ export interface SolutionSideNavPanelItemsProps { * Renders the side navigation panel for secondary links */ export const SolutionSideNavPanel: React.FC = React.memo( - ({ onClose, onOutsideClick, title, categories, items, bottomOffset, topOffset }) => { + function SolutionSideNavPanel({ + onClose, + onOutsideClick, + title, + categories, + items, + bottomOffset, + topOffset, + }) { const { euiTheme } = useEuiTheme(); const isLargerBreakpoint = useIsWithinMinBreakpoint('l'); @@ -133,7 +140,7 @@ export const SolutionSideNavPanel: React.FC = React.m ); const SolutionSideNavPanelCategories: React.FC = React.memo( - ({ categories, items, onClose }) => { + function SolutionSideNavPanelCategories({ categories, items, onClose }) { const { euiTheme } = useEuiTheme(); const sideNavTitleStyles = SolutionSideNavTitleStyles(euiTheme); const titleClasses = classNames(sideNavTitleStyles); @@ -170,7 +177,7 @@ const SolutionSideNavPanelCategories: React.FC = React.memo( - ({ items, onClose }) => { + function SolutionSideNavPanelItems({ items, onClose }) { const panelLinkClassNames = classNames('solutionSideNavPanelLink'); const panelLinkItemClassNames = classNames('solutionSideNavPanelLinkItem'); const { tracker } = useTelemetryContext(); diff --git a/packages/security-solution/side_nav/src/telemetry/const.ts b/x-pack/packages/security-solution/side_nav/src/telemetry/const.ts similarity index 63% rename from packages/security-solution/side_nav/src/telemetry/const.ts rename to x-pack/packages/security-solution/side_nav/src/telemetry/const.ts index 84628ee341ba9..c68a610e6e463 100644 --- a/packages/security-solution/side_nav/src/telemetry/const.ts +++ b/x-pack/packages/security-solution/side_nav/src/telemetry/const.ts @@ -1,9 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ export enum TELEMETRY_EVENT { diff --git a/packages/security-solution/side_nav/src/telemetry/telemetry_context.tsx b/x-pack/packages/security-solution/side_nav/src/telemetry/telemetry_context.tsx similarity index 81% rename from packages/security-solution/side_nav/src/telemetry/telemetry_context.tsx rename to x-pack/packages/security-solution/side_nav/src/telemetry/telemetry_context.tsx index 53a4b355dcb45..c7e97969ad31c 100644 --- a/packages/security-solution/side_nav/src/telemetry/telemetry_context.tsx +++ b/x-pack/packages/security-solution/side_nav/src/telemetry/telemetry_context.tsx @@ -1,9 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import type { FC } from 'react'; diff --git a/packages/security-solution/side_nav/src/types.ts b/x-pack/packages/security-solution/side_nav/src/types.ts similarity index 84% rename from packages/security-solution/side_nav/src/types.ts rename to x-pack/packages/security-solution/side_nav/src/types.ts index c67647f12fa73..ccc1b2f3f3b86 100644 --- a/packages/security-solution/side_nav/src/types.ts +++ b/x-pack/packages/security-solution/side_nav/src/types.ts @@ -1,9 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import type React from 'react'; diff --git a/packages/security-solution/side_nav/tsconfig.json b/x-pack/packages/security-solution/side_nav/tsconfig.json similarity index 90% rename from packages/security-solution/side_nav/tsconfig.json rename to x-pack/packages/security-solution/side_nav/tsconfig.json index e19419203ab79..8dfe47eb50cfe 100644 --- a/packages/security-solution/side_nav/tsconfig.json +++ b/x-pack/packages/security-solution/side_nav/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/security-solution/storybook/config/README.mdx b/x-pack/packages/security-solution/storybook/config/README.mdx similarity index 100% rename from packages/security-solution/storybook/config/README.mdx rename to x-pack/packages/security-solution/storybook/config/README.mdx diff --git a/packages/security-solution/storybook/config/constants.ts b/x-pack/packages/security-solution/storybook/config/constants.ts similarity index 69% rename from packages/security-solution/storybook/config/constants.ts rename to x-pack/packages/security-solution/storybook/config/constants.ts index 216e3822a2943..7c078fa165bdd 100644 --- a/packages/security-solution/storybook/config/constants.ts +++ b/x-pack/packages/security-solution/storybook/config/constants.ts @@ -1,9 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ /** The title of the Storybook. */ diff --git a/x-pack/packages/kbn-securitysolution-data-table/.storybook/main.js b/x-pack/packages/security-solution/storybook/config/index.ts old mode 100644 new mode 100755 similarity index 81% rename from x-pack/packages/kbn-securitysolution-data-table/.storybook/main.js rename to x-pack/packages/security-solution/storybook/config/index.ts index 86b48c32f103e..c8d2302efe529 --- a/x-pack/packages/kbn-securitysolution-data-table/.storybook/main.js +++ b/x-pack/packages/security-solution/storybook/config/index.ts @@ -5,4 +5,4 @@ * 2.0. */ -module.exports = require('@kbn/storybook').defaultConfig; +export { TITLE, URL } from './constants'; diff --git a/packages/security-solution/storybook/config/kibana.jsonc b/x-pack/packages/security-solution/storybook/config/kibana.jsonc similarity index 100% rename from packages/security-solution/storybook/config/kibana.jsonc rename to x-pack/packages/security-solution/storybook/config/kibana.jsonc diff --git a/packages/security-solution/storybook/config/main.ts b/x-pack/packages/security-solution/storybook/config/main.ts similarity index 64% rename from packages/security-solution/storybook/config/main.ts rename to x-pack/packages/security-solution/storybook/config/main.ts index 47a47a5a802b3..4e7fca030c2f6 100644 --- a/packages/security-solution/storybook/config/main.ts +++ b/x-pack/packages/security-solution/storybook/config/main.ts @@ -1,9 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { defaultConfig } from '@kbn/storybook'; diff --git a/packages/security-solution/storybook/config/manager.ts b/x-pack/packages/security-solution/storybook/config/manager.ts similarity index 73% rename from packages/security-solution/storybook/config/manager.ts rename to x-pack/packages/security-solution/storybook/config/manager.ts index fb973258b9053..5dff8fa3fcbd6 100644 --- a/packages/security-solution/storybook/config/manager.ts +++ b/x-pack/packages/security-solution/storybook/config/manager.ts @@ -1,9 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ import { addons } from '@storybook/addons'; diff --git a/packages/security-solution/storybook/config/package.json b/x-pack/packages/security-solution/storybook/config/package.json similarity index 67% rename from packages/security-solution/storybook/config/package.json rename to x-pack/packages/security-solution/storybook/config/package.json index 27d92c5c0ed1a..61360ea5a22f0 100644 --- a/packages/security-solution/storybook/config/package.json +++ b/x-pack/packages/security-solution/storybook/config/package.json @@ -2,5 +2,5 @@ "name": "@kbn/security-solution-storybook-config", "private": true, "version": "1.0.0", - "license": "SSPL-1.0 OR Elastic License 2.0" + "license": "Elastic License 2.0" } diff --git a/packages/security-solution/storybook/config/preview.ts b/x-pack/packages/security-solution/storybook/config/preview.ts similarity index 75% rename from packages/security-solution/storybook/config/preview.ts rename to x-pack/packages/security-solution/storybook/config/preview.ts index 5a53e48a916d8..8a74ff82a6af4 100644 --- a/packages/security-solution/storybook/config/preview.ts +++ b/x-pack/packages/security-solution/storybook/config/preview.ts @@ -1,9 +1,8 @@ /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. */ /* eslint-disable @typescript-eslint/no-namespace,@typescript-eslint/no-empty-interface */ diff --git a/packages/security-solution/storybook/config/tsconfig.json b/x-pack/packages/security-solution/storybook/config/tsconfig.json similarity index 84% rename from packages/security-solution/storybook/config/tsconfig.json rename to x-pack/packages/security-solution/storybook/config/tsconfig.json index 7b41c512d4ef0..1f8b2275f5191 100644 --- a/packages/security-solution/storybook/config/tsconfig.json +++ b/x-pack/packages/security-solution/storybook/config/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json index 2feb566730389..285e5b8a1284f 100644 --- a/x-pack/plugins/translations/translations/fr-FR.json +++ b/x-pack/plugins/translations/translations/fr-FR.json @@ -2468,177 +2468,6 @@ "discover.viewAlert.searchSourceErrorTitle": "Erreur lors de la récupération de la source de recherche", "discover.viewModes.document.label": "Documents", "discover.viewModes.fieldStatistics.label": "Statistiques de champ", - "ecsDataQualityDashboard.allTab.allFieldsTableTitle": "Tous les champs – {indexName}", - "ecsDataQualityDashboard.checkAllErrorCheckingIndexMessage": "Une erreur s'est produite lors de la vérification de l'index {indexName}", - "ecsDataQualityDashboard.checkingLabel": "Vérification de {index}", - "ecsDataQualityDashboard.coldPatternTooltip": "{indices} {indices, plural, other {index}} correspondant au modèle {pattern} {indices, plural, =1 {est} other {sont}} de type \"cold\". Les index \"cold\" ne sont plus mis à jour et ne sont pas interrogés fréquemment. Les informations doivent toujours être interrogeables, mais il est acceptable que ces requêtes soient plus lentes.", - "ecsDataQualityDashboard.createADataQualityCaseForIndexHeaderText": "Créer un cas de qualité des données pour l'index {indexName}", - "ecsDataQualityDashboard.customTab.customFieldsTableTitle": "Champs personnalisés – {indexName}", - "ecsDataQualityDashboard.customTab.ecsComplaintFieldsTableTitle": "Champs de plainte ECS – {indexName}", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMappingsBody": "Un problème est survenu lors du chargement des mappings : {error}", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMetadataBody": "Les index correspondant au modèle {pattern} ne seront pas vérifiés, car une erreur s'est produite : {error}", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMetadataTitle": "Les index correspondant au modèle {pattern} ne seront pas vérifiés", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingUnallowedValuesBody": "Un problème est survenu lors du chargement des valeurs non autorisées : {error}", - "ecsDataQualityDashboard.errorLoadingIlmExplainLabel": "Erreur lors du chargement d'ILM Explain : {details}", - "ecsDataQualityDashboard.errorLoadingMappingsLabel": "Erreur lors du chargement des mappings pour {patternOrIndexName} : {details}", - "ecsDataQualityDashboard.errorLoadingStatsLabel": "Erreur lors du chargement des statistiques : {details}", - "ecsDataQualityDashboard.errorLoadingUnallowedValuesLabel": "Erreur lors du chargement des valeurs non autorisées pour l'index {indexName} : {details}", - "ecsDataQualityDashboard.frozenPatternTooltip": "{indices} {indices, plural, other {index}} correspondant au modèle {pattern} {indices, plural, =1 {est} other {sont}} gelés. Les index gelés ne sont plus mis à jour et sont rarement interrogés. Les informations doivent toujours être interrogeables, mais il est acceptable que ces requêtes soient extrêmement lentes.", - "ecsDataQualityDashboard.hotPatternTooltip": "{indices} {indices, plural, other {index}} correspondant au modèle {pattern} {indices, plural, =1 {est} other {sont}} de type \"hot\". Les index \"hot\" sont mis à jour et interrogés de façon active.", - "ecsDataQualityDashboard.incompatibleTab.incompatibleFieldMappingsTableTitle": "Mappings de champ incompatibles – {indexName}", - "ecsDataQualityDashboard.incompatibleTab.incompatibleFieldValuesTableTitle": "Valeurs de champ incompatibles – {indexName}", - "ecsDataQualityDashboard.indexProperties.allCallout": "Tous les mappings relatifs aux champs de cet index, y compris ceux qui sont conformes à la version {version} d'Elastic Common Schema (ECS) et ceux qui ne le sont pas", - "ecsDataQualityDashboard.indexProperties.allCalloutTitle": "Tous les {fieldCount} {fieldCount, plural, =1 {mapping de champ} other {mappings de champ}}", - "ecsDataQualityDashboard.indexProperties.customCallout": "{fieldCount, plural, =1 {Ce champ n'est pas défini} other {Ces champs ne sont pas définis}} par la version {version} d'Elastic Common Schema (ECS). Un index peut contenir des champs personnalisés, cependant :", - "ecsDataQualityDashboard.indexProperties.customCalloutTitle": "{fieldCount} {fieldCount, plural, =1 {mapping de champ personnalisé} other {mappings de champ personnalisés}}", - "ecsDataQualityDashboard.indexProperties.ecsCompliantCallout": "{fieldCount, plural, =1 {Le type de mapping d'index et les valeurs de document de ce champ sont conformes} other {Les types de mapping d'index et les valeurs de document de ces champs sont conformes}} à la version {version} d'Elastic Common Schema (ECS)", - "ecsDataQualityDashboard.indexProperties.ecsCompliantCalloutTitle": "{fieldCount} {fieldCount, plural, =1 {champ conforme} other {champs conformes}} à ECS", - "ecsDataQualityDashboard.indexProperties.incompatibleCallout": "Les champs sont incompatibles avec ECS lorsque les mappings d'index, ou les valeurs des champs de l'index, ne sont pas conformes à la version {version} d'Elastic Common Schema (ECS).", - "ecsDataQualityDashboard.indexProperties.summaryMarkdownDescription": "L'index \"{indexName}\" contient des [mappings]({mappingUrl}) ou des valeurs de champs différents des [définitions]({ecsFieldReferenceUrl}) de la version \"{version}\" d'[Elastic Common Schema]({ecsReferenceUrl}) (ECS).", - "ecsDataQualityDashboard.patternDocsCountTooltip": "Nombre total de tous les index correspondant à : {pattern}", - "ecsDataQualityDashboard.statLabels.customIndexToolTip": "Décompte des mappings d'index personnalisés dans l'index {indexName}", - "ecsDataQualityDashboard.statLabels.customPatternToolTip": "Nombre total de mappings d'index personnalisés, dans les index correspondant au modèle {pattern}", - "ecsDataQualityDashboard.statLabels.incompatibleIndexToolTip": "Mappings et valeurs incompatibles avec ECS, dans l'index {indexName}", - "ecsDataQualityDashboard.statLabels.incompatiblePatternToolTip": "Nombre total de champs incompatibles avec ECS, dans les index correspondant au modèle {pattern}", - "ecsDataQualityDashboard.statLabels.indexDocsCountToolTip": "Nombre de documents dans l'index {indexName}", - "ecsDataQualityDashboard.statLabels.indexDocsPatternToolTip": "Nombre total de documents, dans les index correspondant au modèle {pattern}", - "ecsDataQualityDashboard.statLabels.totalCountOfIndicesCheckedMatchingPatternToolTip": "Nombre total d'index vérifiés correspondant au modèle {pattern}", - "ecsDataQualityDashboard.statLabels.totalCountOfIndicesMatchingPatternToolTip": "Nombre total d'index correspondant au modèle {pattern}", - "ecsDataQualityDashboard.summaryTable.indexToolTip": "Cet index correspond au nom d'index ou de modèle : {pattern}", - "ecsDataQualityDashboard.unmanagedPatternTooltip": "{indices} {indices, plural, other {index}} correspondant au modèle {pattern} {indices, plural, =1 {n'est pas géré} other {ne sont pas gérés}} par Index Lifecycle Management (ILM)", - "ecsDataQualityDashboard.warmPatternTooltip": "{indices} {indices, plural, other {index}} correspondant au modèle {pattern} {indices, plural, =1 {est} other {sont}} de type \"warm\". Les index \"warm\" ne sont plus mis à jour, mais ils sont toujours interrogés.", - "ecsDataQualityDashboard.addToCaseSuccessToast": "Résultats de qualité des données ajoutés avec succès au cas", - "ecsDataQualityDashboard.addToNewCaseButton": "Ajouter au nouveau cas", - "ecsDataQualityDashboard.cancelButton": "Annuler", - "ecsDataQualityDashboard.checkAllButton": "Tout vérifier", - "ecsDataQualityDashboard.coldDescription": "L'index n'est plus mis à jour et il est interrogé peu fréquemment. Les informations doivent toujours être interrogeables, mais il est acceptable que ces requêtes soient plus lentes.", - "ecsDataQualityDashboard.compareFieldsTable.documentValuesActualColumn": "Valeurs du document (réelles)", - "ecsDataQualityDashboard.compareFieldsTable.ecsDescriptionColumn": "Description ECS", - "ecsDataQualityDashboard.compareFieldsTable.ecsMappingTypeColumn": "Type de mapping ECS", - "ecsDataQualityDashboard.compareFieldsTable.ecsMappingTypeExpectedColumn": "Type de mapping ECS (attendu)", - "ecsDataQualityDashboard.compareFieldsTable.ecsValuesColumn": "Valeurs ECS", - "ecsDataQualityDashboard.compareFieldsTable.ecsValuesExpectedColumn": "Valeurs ECS (attendues)", - "ecsDataQualityDashboard.compareFieldsTable.fieldColumn": "Champ", - "ecsDataQualityDashboard.compareFieldsTable.indexMappingTypeActualColumn": "Type de mapping d'index (réel)", - "ecsDataQualityDashboard.compareFieldsTable.indexMappingTypeColumn": "Type de mapping d'index", - "ecsDataQualityDashboard.compareFieldsTable.searchFieldsPlaceholder": "Rechercher dans les champs", - "ecsDataQualityDashboard.copyToClipboardButton": "Copier dans le presse-papiers", - "ecsDataQualityDashboard.createADataQualityCaseHeaderText": "Créer un cas de qualité des données", - "ecsDataQualityDashboard.defaultPanelTitle": "Vérifier les mappings d'index", - "ecsDataQualityDashboard.ecsDataQualityDashboardSubtitle": "Vérifiez la compatibilité des mappings et des valeurs d'index avec", - "ecsDataQualityDashboard.ecsDataQualityDashboardTitle": "Qualité des données", - "ecsDataQualityDashboard.ecsSummaryDonutChart.chartTitle": "Mappings de champs", - "ecsDataQualityDashboard.ecsSummaryDonutChart.fieldsLabel": "Champs", - "ecsDataQualityDashboard.ecsVersionStat": "Version ECS", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingEcsMetadataTitle": "Impossible de charger les métadonnées ECS", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingEcsVersionTitle": "Impossible de charger la version ECS", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMappingsTitle": "Impossible de charger les mappings d'index", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingUnallowedValuesTitle": "Impossible de charger les valeurs non autorisées", - "ecsDataQualityDashboard.emptyLoadingPrompt.loadingEcsMetadataPrompt": "Chargement des métadonnées ECS", - "ecsDataQualityDashboard.emptyLoadingPrompt.loadingMappingsPrompt": "Chargement des mappings", - "ecsDataQualityDashboard.emptyLoadingPrompt.loadingStatsPrompt": "Chargement des statistiques", - "ecsDataQualityDashboard.emptyLoadingPrompt.loadingUnallowedValuesPrompt": "Chargement des valeurs non autorisées", - "ecsDataQualityDashboard.errors.errorMayOccurLabel": "Des erreurs peuvent survenir lorsque le modèle ou les métadonnées de l'index sont temporairement indisponibles, ou si vous ne disposez pas des privilèges requis pour l'accès", - "ecsDataQualityDashboard.errors.manage": "gérer", - "ecsDataQualityDashboard.errors.monitor": "moniteur", - "ecsDataQualityDashboard.errors.or": "ou", - "ecsDataQualityDashboard.errors.read": "lire", - "ecsDataQualityDashboard.errors.theFollowingPrivilegesLabel": "Les privilèges suivants sont requis pour vérifier un index :", - "ecsDataQualityDashboard.errors.viewIndexMetadata": "view_index_metadata", - "ecsDataQualityDashboard.errorsPopover.copyToClipboardButton": "Copier dans le presse-papiers", - "ecsDataQualityDashboard.errorsPopover.errorsCalloutSummary": "La qualité des données n'a pas été vérifiée pour certains index", - "ecsDataQualityDashboard.errorsPopover.errorsTitle": "Erreurs", - "ecsDataQualityDashboard.errorsPopover.viewErrorsButton": "Afficher les erreurs", - "ecsDataQualityDashboard.errorsViewerTable.errorColumn": "Erreur", - "ecsDataQualityDashboard.errorsViewerTable.indexColumn": "Index", - "ecsDataQualityDashboard.errorsViewerTable.patternColumn": "Modèle", - "ecsDataQualityDashboard.fieldsLabel": "Champs", - "ecsDataQualityDashboard.frozenDescription": "L'index n'est plus mis à jour et il est rarement interrogé. Les informations doivent toujours être interrogeables, mais il est acceptable que ces requêtes soient extrêmement lentes.", - "ecsDataQualityDashboard.hotDescription": "L'index est mis à jour et interrogé de façon active", - "ecsDataQualityDashboard.ilmPhaseLabel": "Phase ILM", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptBody": "La qualité des données sera vérifiée pour les index comprenant ces phases de gestion du cycle de vie des index (ILM, Index Lifecycle Management)", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptColdLabel": "froid", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptFrozenLabel": "gelé", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptHotLabel": "hot", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptIlmPhasesThatCanBeCheckedSubtitle": "Phases ILM dans lesquelles la qualité des données peut être vérifiée", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptIlmPhasesThatCannotBeCheckedSubtitle": "Phases ILM dans lesquelles la vérification ne peut pas être effectuée", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptITheFollowingIlmPhasesLabel": "Les phases ILM suivantes ne sont pas disponibles pour la vérification de la qualité des données, car leur accès est plus lent", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptTitle": "Sélectionner une ou plusieurs phases ILM", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptUnmanagedLabel": "non géré", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptWarmLabel": "warm", - "ecsDataQualityDashboard.indexLifecycleManagementPhasesTooltip": "La qualité des données sera vérifiée pour les index comprenant ces phases de gestion du cycle de vie des index (ILM, Index Lifecycle Management)", - "ecsDataQualityDashboard.indexNameLabel": "Nom de l'index", - "ecsDataQualityDashboard.indexProperties.addToNewCaseButton": "Ajouter au nouveau cas", - "ecsDataQualityDashboard.indexProperties.allCalloutEmptyContent": "Cet index ne contient aucun mapping", - "ecsDataQualityDashboard.indexProperties.allCalloutEmptyTitle": "Aucun mapping", - "ecsDataQualityDashboard.indexProperties.allFieldsLabel": "Tous les champs", - "ecsDataQualityDashboard.indexProperties.copyToClipboardButton": "Copier dans le presse-papiers", - "ecsDataQualityDashboard.indexProperties.customEmptyContent": "Tous les mappings de champs de cet index sont définis par Elastic Common Schema", - "ecsDataQualityDashboard.indexProperties.customEmptyTitle": "Tous les mappings de champs définis par ECS", - "ecsDataQualityDashboard.indexProperties.customFieldsLabel": "Champs personnalisés", - "ecsDataQualityDashboard.indexProperties.custonDetectionEngineRulesWorkMessage": "✅ Les règles de moteur de détection personnalisées fonctionnent", - "ecsDataQualityDashboard.indexProperties.detectionEngineRulesWillWorkMessage": "✅ Les règles de moteur de détection fonctionneront pour ces champs", - "ecsDataQualityDashboard.indexProperties.detectionEngineRulesWontWorkMessage": "❌ Les règles de moteur de détection référençant ces champs ne leur correspondront peut-être pas correctement", - "ecsDataQualityDashboard.indexProperties.docsLabel": "Documents", - "ecsDataQualityDashboard.indexProperties.ecsCompliantEmptyContent": "Aucun mapping de champ de cet index n'est conforme à Elastic Common Schema (ECS). L'index doit (au moins) contenir un champ de date @timestamp.", - "ecsDataQualityDashboard.indexProperties.ecsCompliantEmptyTitle": "Aucun mapping conforme à ECS", - "ecsDataQualityDashboard.indexProperties.ecsCompliantFieldsLabel": "Champs conformes à ECS", - "ecsDataQualityDashboard.indexProperties.ecsCompliantMappingsAreFullySupportedMessage": "✅ Les mappings et valeurs de champs conformes à ECS sont totalement pris en charge", - "ecsDataQualityDashboard.indexProperties.ecsVersionMarkdownComment": "Version Elastic Common Schema (ECS)", - "ecsDataQualityDashboard.indexProperties.incompatibleEmptyContent": "Tous les mappings de champs et valeurs de documents de cet index sont conformes à Elastic Common Schema (ECS).", - "ecsDataQualityDashboard.indexProperties.incompatibleEmptyTitle": "Tous les mappings et valeurs de champs sont conformes à ECS", - "ecsDataQualityDashboard.indexProperties.incompatibleFieldsTab": "Champs incompatibles", - "ecsDataQualityDashboard.indexProperties.indexMarkdown": "Index", - "ecsDataQualityDashboard.indexProperties.mappingThatConflictWithEcsMessage": "❌ Les mappings ou valeurs de champs qui ne sont pas conformes à ECS ne sont pas pris en charge", - "ecsDataQualityDashboard.indexProperties.missingTimestampCallout": "Veuillez envisager d'ajouter un mapping de champ de @timestamp (date) à cet index, comme requis par Elastic Common Schema (ECS), car :", - "ecsDataQualityDashboard.indexProperties.missingTimestampCalloutTitle": "Mapping de champ @timestamp (date) manquant pour cet index", - "ecsDataQualityDashboard.indexProperties.otherAppCapabilitiesWorkProperlyMessage": "✅ Les autres capacités de l'application fonctionnent correctement", - "ecsDataQualityDashboard.indexProperties.pagesDisplayEventsMessage": "✅ Les pages affichent les événements et les champs correctement", - "ecsDataQualityDashboard.indexProperties.pagesMayNotDisplayFieldsMessage": "🌕 Certaines pages et fonctionnalités peuvent ne pas afficher ces champs", - "ecsDataQualityDashboard.indexProperties.preBuiltDetectionEngineRulesWorkMessage": "✅ Les règles de moteur de détection préconstruites fonctionnent", - "ecsDataQualityDashboard.indexProperties.sometimesIndicesCreatedByOlderDescription": "Parfois, les index créés par des intégrations plus anciennes comporteront des mappings ou des valeurs qui étaient conformes, mais ne le sont plus.", - "ecsDataQualityDashboard.indexProperties.summaryMarkdownTitle": "Qualité des données", - "ecsDataQualityDashboard.indexProperties.summaryTab": "Résumé", - "ecsDataQualityDashboard.indexProperties.unknownCategoryLabel": "Inconnu", - "ecsDataQualityDashboard.lastCheckedLabel": "Dernière vérification", - "ecsDataQualityDashboard.patternLabel.allPassedTooltip": "Tous les index correspondant à ce modèle ont réussi les vérifications de qualité des données", - "ecsDataQualityDashboard.patternLabel.someFailedTooltip": "Certains index correspondant à ce modèle ont échoué aux vérifications de qualité des données", - "ecsDataQualityDashboard.patternLabel.someUncheckedTooltip": "La qualité des données n'a pas été vérifiée pour certains index correspondant à ce modèle", - "ecsDataQualityDashboard.patternSummary.docsLabel": "Documents", - "ecsDataQualityDashboard.patternSummary.indicesLabel": "Index", - "ecsDataQualityDashboard.patternSummary.patternOrIndexTooltip": "Modèle, ou index spécifique", - "ecsDataQualityDashboard.selectAnIndexPrompt": "Sélectionner un index pour le comparer à la version ECS", - "ecsDataQualityDashboard.selectOneOrMorPhasesPlaceholder": "Sélectionner une ou plusieurs phases ILM", - "ecsDataQualityDashboard.statLabels.checkedLabel": "vérifié", - "ecsDataQualityDashboard.statLabels.customLabel": "Personnalisé", - "ecsDataQualityDashboard.statLabels.docsLabel": "Documents", - "ecsDataQualityDashboard.statLabels.fieldsLabel": "champs", - "ecsDataQualityDashboard.statLabels.incompatibleLabel": "Incompatible", - "ecsDataQualityDashboard.statLabels.indicesLabel": "Index", - "ecsDataQualityDashboard.statLabels.totalDocsToolTip": "Nombre total de documents, dans tous les index", - "ecsDataQualityDashboard.statLabels.totalIncompatibleToolTip": "Nombre total de champs incompatibles avec ECS, dans tous les index qui ont été vérifiés", - "ecsDataQualityDashboard.statLabels.totalIndicesCheckedToolTip": "Nombre total de tous les index vérifiés", - "ecsDataQualityDashboard.statLabels.totalIndicesToolTip": "Nombre total de tous les index", - "ecsDataQualityDashboard.summaryTable.collapseLabel": "Réduire", - "ecsDataQualityDashboard.summaryTable.docsColumn": "Documents", - "ecsDataQualityDashboard.summaryTable.expandLabel": "Développer", - "ecsDataQualityDashboard.summaryTable.expandRowsColumn": "Développer les lignes", - "ecsDataQualityDashboard.summaryTable.failedTooltip": "Échoué", - "ecsDataQualityDashboard.summaryTable.ilmPhaseColumn": "Phase ILM", - "ecsDataQualityDashboard.summaryTable.incompatibleFieldsColumn": "Champs incompatibles", - "ecsDataQualityDashboard.summaryTable.indexColumn": "Index", - "ecsDataQualityDashboard.summaryTable.indexesNameLabel": "Nom de l'index", - "ecsDataQualityDashboard.summaryTable.indicesCheckedColumn": "Index vérifiés", - "ecsDataQualityDashboard.summaryTable.indicesColumn": "Index", - "ecsDataQualityDashboard.summaryTable.passedTooltip": "Approuvé", - "ecsDataQualityDashboard.summaryTable.resultColumn": "Résultat", - "ecsDataQualityDashboard.summaryTable.thisIndexHasNotBeenCheckedTooltip": "Cet index n'a pas été vérifié", - "ecsDataQualityDashboard.technicalPreviewBadge": "Version d'évaluation technique", - "ecsDataQualityDashboard.timestampDescriptionLabel": "Date/heure d'origine de l'événement. Il s'agit des date et heure extraites de l'événement, représentant généralement le moment auquel l'événement a été généré par la source. Si la source de l'événement ne comporte pas d'horodatage original, cette valeur est habituellement remplie la première fois que l'événement a été reçu par le pipeline. Champs requis pour tous les événements.", - "ecsDataQualityDashboard.toasts.copiedErrorsToastTitle": "Erreurs copiées dans le presse-papiers", - "ecsDataQualityDashboard.toasts.copiedResultsToastTitle": "Résultats copiés dans le presse-papiers", - "ecsDataQualityDashboard.unmanagedDescription": "L'index n'est pas géré par la Gestion du cycle de vie des index (ILM)", - "ecsDataQualityDashboard.warmDescription": "L'index n'est plus mis à jour mais il est toujours interrogé", "embeddableApi.addPanel.savedObjectAddedToContainerSuccessMessageTitle": "{savedObjectName} a été ajouté", "embeddableApi.attributeService.saveToLibraryError": "Une erreur s'est produite lors de l'enregistrement. Erreur : {errorMessage}", "embeddableApi.errors.embeddableFactoryNotFound": "Impossible de charger {type}. Veuillez effectuer une mise à niveau vers la distribution par défaut d'Elasticsearch et de Kibana avec la licence appropriée.", diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index 9caebf91e4f74..8c87e175bea63 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -2468,177 +2468,6 @@ "discover.viewAlert.searchSourceErrorTitle": "検索ソースの取得エラー", "discover.viewModes.document.label": "ドキュメント", "discover.viewModes.fieldStatistics.label": "フィールド統計情報", - "ecsDataQualityDashboard.allTab.allFieldsTableTitle": "すべてのフィールド - {indexName}", - "ecsDataQualityDashboard.checkAllErrorCheckingIndexMessage": "インデックス{indexName}の確認中にエラーが発生しました", - "ecsDataQualityDashboard.checkingLabel": "{index}の確認中", - "ecsDataQualityDashboard.coldPatternTooltip": "\"{pattern}\"パターンと一致する\"{indices}\"{indices, plural, =1 {インデックス} other {インデックス}}{indices, plural, =1 {は} other {は}}コールドです。コールドインデックスは更新されず、ほとんど照会されません。情報はまだ検索可能でなければなりませんが、クエリが低速でも問題ありません。", - "ecsDataQualityDashboard.createADataQualityCaseForIndexHeaderText": "インデックス{indexName}のデータ品質ケースを作成", - "ecsDataQualityDashboard.customTab.customFieldsTableTitle": "カスタムフィールド - {indexName}", - "ecsDataQualityDashboard.customTab.ecsComplaintFieldsTableTitle": "ECS互換フィールド - {indexName}", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMappingsBody": "マッピングの読み込み中に問題が発生しました:{error}", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMetadataBody": "次のエラーが発生したため、{pattern}パターンと一致するインデックスはチェックされません:{error}", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMetadataTitle": "{pattern}パターンと一致するインデックスはチェックされません", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingUnallowedValuesBody": "許可されていない値の読み込み中に問題が発生しました:{error}", - "ecsDataQualityDashboard.errorLoadingIlmExplainLabel": "ILM Explainの読み込みエラー:{details}", - "ecsDataQualityDashboard.errorLoadingMappingsLabel": "{patternOrIndexName}のマッピングの読み込みエラー:{details}", - "ecsDataQualityDashboard.errorLoadingStatsLabel": "統計情報の読み込みエラー:{details}", - "ecsDataQualityDashboard.errorLoadingUnallowedValuesLabel": "インデックス{indexName}の許可されていない値の読み込みエラー:{details}", - "ecsDataQualityDashboard.frozenPatternTooltip": "\"{pattern}\"パターンと一致する\"{indices}\"{indices, plural, =1 {インデックス} other {インデックス}}{indices, plural, =1 {は} other {は}}フローズンです。フローズンインデックスは更新されず、ほとんど照会されません。情報はまだ検索可能でなければなりませんが、クエリが非常に低速でも問題ありません。", - "ecsDataQualityDashboard.hotPatternTooltip": "\"{pattern}\"パターンと一致する\"{indices}\"{indices, plural, =1 {インデックス} other {インデックス}}{indices, plural, =1 {は} other {は}}ホットです。ホットインデックスはアクティブに更新されており、照会されます。", - "ecsDataQualityDashboard.incompatibleTab.incompatibleFieldMappingsTableTitle": "非互換フィールドマッピング - {indexName}", - "ecsDataQualityDashboard.incompatibleTab.incompatibleFieldValuesTableTitle": "非互換フィールド値 - {indexName}", - "ecsDataQualityDashboard.indexProperties.allCallout": "Elastic Common Schema(ESC)、バージョン{version}と互換性があるフィールドも、互換性のないフィールドも含めて、このインデックスのフィールドのすべてのマッピング", - "ecsDataQualityDashboard.indexProperties.allCalloutTitle": "すべての{fieldCount}個の{fieldCount, plural, =1 {フィールドマッピング} other {フィールドマッピング}}", - "ecsDataQualityDashboard.indexProperties.customCallout": "{fieldCount, plural, =1 {このフィールドは} other {このフィールドは}}Elastic Common Schema(ECS)バージョン{version}で定義されていません。ただし、インデックスにはカスタムフィールドを含めることができます:", - "ecsDataQualityDashboard.indexProperties.customCalloutTitle": "{fieldCount}個のカスタム{fieldCount, plural, =1 {フィールドマッピング} other {フィールドマッピング}}", - "ecsDataQualityDashboard.indexProperties.ecsCompliantCallout": "{fieldCount, plural, =1 {このフィールドのインデックスマッピングタイプとドキュメント値は} other {これらのフィールドのインデックスマッピングタイプとドキュメント値は}}Elastic Common Schema(ECS)バージョン{version}に準拠しています", - "ecsDataQualityDashboard.indexProperties.ecsCompliantCalloutTitle": "{fieldCount}個のECS互換フィールド{fieldCount, plural, =1 {フィールド} other {フィールド}}", - "ecsDataQualityDashboard.indexProperties.incompatibleCallout": "インデックスのマッピングやインデックスのフィールドの値がElastic Common Schema(ECS)、バージョン{version}に準拠していない場合、フィールドはECSと非互換となります。", - "ecsDataQualityDashboard.indexProperties.summaryMarkdownDescription": "`{indexName}`インデックスは[マッピング]({mappingUrl})またはフィールド値が[Elastic Common Schema]({ecsReferenceUrl})(ECS)、バージョン`{version}`の[定義]({ecsFieldReferenceUrl})と異なっています。", - "ecsDataQualityDashboard.patternDocsCountTooltip": "{pattern}と一致するすべてのインデックスの合計件数", - "ecsDataQualityDashboard.statLabels.customIndexToolTip": "{indexName}インデックスのカスタムフィールドマッピングの件数", - "ecsDataQualityDashboard.statLabels.customPatternToolTip": "{pattern}パターンと一致するインデックスのカスタムフィールドマッピングの合計件数", - "ecsDataQualityDashboard.statLabels.incompatibleIndexToolTip": "{indexName}インデックスのESCと互換性があるマッピングと値", - "ecsDataQualityDashboard.statLabels.incompatiblePatternToolTip": "{pattern}パターンと一致するインデックスのECSと互換性があるフィールドの合計件数", - "ecsDataQualityDashboard.statLabels.indexDocsCountToolTip": "{indexName}インデックスのドキュメントの件数", - "ecsDataQualityDashboard.statLabels.indexDocsPatternToolTip": "{pattern}パターンと一致するインデックスのドキュメントの合計件数", - "ecsDataQualityDashboard.statLabels.totalCountOfIndicesCheckedMatchingPatternToolTip": "{pattern}パターンと一致する確認されたインデックスの合計件数", - "ecsDataQualityDashboard.statLabels.totalCountOfIndicesMatchingPatternToolTip": "{pattern}パターンと一致するインデックスの合計件数", - "ecsDataQualityDashboard.summaryTable.indexToolTip": "このインデックスはパターンまたはインデックス名と一致します:{pattern}", - "ecsDataQualityDashboard.unmanagedPatternTooltip": "\"{pattern}\"パターンと一致する\"{indices}\"{indices, plural, =1 {インデックス} other {インデックス}}{indices, plural, =1 {は} other {は}}インデックスライフサイクル管理(ILM)で管理されていません", - "ecsDataQualityDashboard.warmPatternTooltip": "\"{pattern}\"パターンと一致する\"{indices}\"{indices, plural, =1 {インデックス} other {インデックス}}{indices, plural, =1 {は} other {は}}ウォームです。ウォームインデックスは更新されませんが、まだ照会されています。", - "ecsDataQualityDashboard.addToCaseSuccessToast": "正常にデータ品質結果がケースに追加されました", - "ecsDataQualityDashboard.addToNewCaseButton": "新しいケースに追加", - "ecsDataQualityDashboard.cancelButton": "キャンセル", - "ecsDataQualityDashboard.checkAllButton": "すべて確認", - "ecsDataQualityDashboard.coldDescription": "インデックスは更新されず、頻繁に照会されません。情報はまだ検索可能でなければなりませんが、クエリが低速でも問題ありません。", - "ecsDataQualityDashboard.compareFieldsTable.documentValuesActualColumn": "ドキュメント値(実際)", - "ecsDataQualityDashboard.compareFieldsTable.ecsDescriptionColumn": "ECS説明", - "ecsDataQualityDashboard.compareFieldsTable.ecsMappingTypeColumn": "ECSマッピングタイプ", - "ecsDataQualityDashboard.compareFieldsTable.ecsMappingTypeExpectedColumn": "ECSマッピングタイプ(想定)", - "ecsDataQualityDashboard.compareFieldsTable.ecsValuesColumn": "ECS値", - "ecsDataQualityDashboard.compareFieldsTable.ecsValuesExpectedColumn": "ECS値(想定)", - "ecsDataQualityDashboard.compareFieldsTable.fieldColumn": "フィールド", - "ecsDataQualityDashboard.compareFieldsTable.indexMappingTypeActualColumn": "インデックスマッピングタイプ(実際)", - "ecsDataQualityDashboard.compareFieldsTable.indexMappingTypeColumn": "インデックスマッピングタイプ", - "ecsDataQualityDashboard.compareFieldsTable.searchFieldsPlaceholder": "検索フィールド", - "ecsDataQualityDashboard.copyToClipboardButton": "クリップボードにコピー", - "ecsDataQualityDashboard.createADataQualityCaseHeaderText": "データ品質ケースを作成", - "ecsDataQualityDashboard.defaultPanelTitle": "インデックスマッピングの確認", - "ecsDataQualityDashboard.ecsDataQualityDashboardSubtitle": "互換性に関してインデックスマッピングと値を確認", - "ecsDataQualityDashboard.ecsDataQualityDashboardTitle": "データ品質", - "ecsDataQualityDashboard.ecsSummaryDonutChart.chartTitle": "フィールドマッピング", - "ecsDataQualityDashboard.ecsSummaryDonutChart.fieldsLabel": "フィールド", - "ecsDataQualityDashboard.ecsVersionStat": "ECSバージョン", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingEcsMetadataTitle": "ECSメタデータを読み込めません", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingEcsVersionTitle": "ECSバージョンを読み込めません", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMappingsTitle": "インデックスマッピングを読み込めません", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingUnallowedValuesTitle": "許可されていない値を読み込めません", - "ecsDataQualityDashboard.emptyLoadingPrompt.loadingEcsMetadataPrompt": "ECSメタデータを読み込んでいます", - "ecsDataQualityDashboard.emptyLoadingPrompt.loadingMappingsPrompt": "マッピングを読み込んでいます", - "ecsDataQualityDashboard.emptyLoadingPrompt.loadingStatsPrompt": "統計情報を読み込んでいます", - "ecsDataQualityDashboard.emptyLoadingPrompt.loadingUnallowedValuesPrompt": "許可されていない値を読み込んでいます", - "ecsDataQualityDashboard.errors.errorMayOccurLabel": "パターンまたはインデックスメタデータが一時的に使用できないか、アクセスに必要な権限がないため、エラーが発生する場合があります", - "ecsDataQualityDashboard.errors.manage": "管理", - "ecsDataQualityDashboard.errors.monitor": "監視", - "ecsDataQualityDashboard.errors.or": "または", - "ecsDataQualityDashboard.errors.read": "読み取り", - "ecsDataQualityDashboard.errors.theFollowingPrivilegesLabel": "インデックスを確認するには次の権限が必要です:", - "ecsDataQualityDashboard.errors.viewIndexMetadata": "view_index_metadata", - "ecsDataQualityDashboard.errorsPopover.copyToClipboardButton": "クリップボードにコピー", - "ecsDataQualityDashboard.errorsPopover.errorsCalloutSummary": "一部のインデックスのデータ品質が確認されませんでした", - "ecsDataQualityDashboard.errorsPopover.errorsTitle": "エラー", - "ecsDataQualityDashboard.errorsPopover.viewErrorsButton": "エラーを表示", - "ecsDataQualityDashboard.errorsViewerTable.errorColumn": "エラー", - "ecsDataQualityDashboard.errorsViewerTable.indexColumn": "インデックス", - "ecsDataQualityDashboard.errorsViewerTable.patternColumn": "パターン", - "ecsDataQualityDashboard.fieldsLabel": "フィールド", - "ecsDataQualityDashboard.frozenDescription": "インデックスは更新されず、ほとんど照会されません。情報はまだ検索可能でなければなりませんが、クエリが非常に低速でも問題ありません。", - "ecsDataQualityDashboard.hotDescription": "インデックスはアクティブに更新されており、照会されます", - "ecsDataQualityDashboard.ilmPhaseLabel": "ILMフェーズ", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptBody": "これらのインデックスライフサイクル管理(ILM)フェーズのインデックスはデータ品質が確認されます", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptColdLabel": "コールド", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptFrozenLabel": "凍結", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptHotLabel": "ホット", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptIlmPhasesThatCanBeCheckedSubtitle": "データ品質を確認できるILMフェーズ", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptIlmPhasesThatCannotBeCheckedSubtitle": "確認できないILMフェーズ", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptITheFollowingIlmPhasesLabel": "次のILMフェーズは、アクセスが低速になるため、データ品質が確認できません", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptTitle": "1つ以上のILMフェーズを選択", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptUnmanagedLabel": "管理対象外", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptWarmLabel": "ウォーム", - "ecsDataQualityDashboard.indexLifecycleManagementPhasesTooltip": "これらのインデックスライフサイクル管理(ILM)フェーズのインデックスはデータ品質が確認されます", - "ecsDataQualityDashboard.indexNameLabel": "インデックス名", - "ecsDataQualityDashboard.indexProperties.addToNewCaseButton": "新しいケースに追加", - "ecsDataQualityDashboard.indexProperties.allCalloutEmptyContent": "このインデックスにはマッピングが含まれていません", - "ecsDataQualityDashboard.indexProperties.allCalloutEmptyTitle": "マッピングなし", - "ecsDataQualityDashboard.indexProperties.allFieldsLabel": "すべてのフィールド", - "ecsDataQualityDashboard.indexProperties.copyToClipboardButton": "クリップボードにコピー", - "ecsDataQualityDashboard.indexProperties.customEmptyContent": "このインデックスのすべてのフィールドマッピングはElastic Common Schemaによって定義されています", - "ecsDataQualityDashboard.indexProperties.customEmptyTitle": "ECSによって定義されたすべてのフィールドマッピング", - "ecsDataQualityDashboard.indexProperties.customFieldsLabel": "カスタムフィールド", - "ecsDataQualityDashboard.indexProperties.custonDetectionEngineRulesWorkMessage": "✅ カスタム検出エンジンルールが動作する", - "ecsDataQualityDashboard.indexProperties.detectionEngineRulesWillWorkMessage": "✅ これらのフィールドの検出エンジンルールが動作する", - "ecsDataQualityDashboard.indexProperties.detectionEngineRulesWontWorkMessage": "❌ これらのフィールドを参照する検出エンジンルールが正常に一致しない場合がある", - "ecsDataQualityDashboard.indexProperties.docsLabel": "ドキュメント", - "ecsDataQualityDashboard.indexProperties.ecsCompliantEmptyContent": "このインデックスのどのフィールドマッピングもElastic Common Schema(ECS)と互換性がありません。インデックスには(1つ以上の)@timestamp日付フィールドを含める必要があります。", - "ecsDataQualityDashboard.indexProperties.ecsCompliantEmptyTitle": "ECS互換マッピングがありません", - "ecsDataQualityDashboard.indexProperties.ecsCompliantFieldsLabel": "ECS互換フィールド", - "ecsDataQualityDashboard.indexProperties.ecsCompliantMappingsAreFullySupportedMessage": "✅ ECS互換マッピングおよびフィールド値が完全にサポートされている", - "ecsDataQualityDashboard.indexProperties.ecsVersionMarkdownComment": "Elastic Common Schema(ECS)バージョン", - "ecsDataQualityDashboard.indexProperties.incompatibleEmptyContent": "このインデックスのすべてのフィールドマッピングとドキュメント値がElastic Common Schema(ECS)と互換性があります。", - "ecsDataQualityDashboard.indexProperties.incompatibleEmptyTitle": "すべてのフィールドマッピングと値がECSと互換性があります", - "ecsDataQualityDashboard.indexProperties.incompatibleFieldsTab": "非互換フィールド", - "ecsDataQualityDashboard.indexProperties.indexMarkdown": "インデックス", - "ecsDataQualityDashboard.indexProperties.mappingThatConflictWithEcsMessage": "❌ ECSと互換性がないマッピングまたはフィールド値はサポートされません", - "ecsDataQualityDashboard.indexProperties.missingTimestampCallout": "次の理由のため、Elastic Common Schema(ECS)で必要な@timestamp(日付)フィールドマッピングをこのインデックスに追加することを検討してください。", - "ecsDataQualityDashboard.indexProperties.missingTimestampCalloutTitle": "このインデックスの@timestamp(日付)フィールドマッピングが見つかりません", - "ecsDataQualityDashboard.indexProperties.otherAppCapabilitiesWorkProperlyMessage": "✅ 他のアプリ機能が正常に動作する", - "ecsDataQualityDashboard.indexProperties.pagesDisplayEventsMessage": "✅ ページにイベントとフィールドが正常に表示される", - "ecsDataQualityDashboard.indexProperties.pagesMayNotDisplayFieldsMessage": "🌕 一部のページと機能にこれらのフィールドが表示されない場合がある", - "ecsDataQualityDashboard.indexProperties.preBuiltDetectionEngineRulesWorkMessage": "✅ 構築済み検出エンジンルールが動作する", - "ecsDataQualityDashboard.indexProperties.sometimesIndicesCreatedByOlderDescription": "場合によって、古い統合で作成されたインデックスには、以前あった互換性がなくなったマッピングまたは値が含まれることがあります。", - "ecsDataQualityDashboard.indexProperties.summaryMarkdownTitle": "データ品質", - "ecsDataQualityDashboard.indexProperties.summaryTab": "まとめ", - "ecsDataQualityDashboard.indexProperties.unknownCategoryLabel": "不明", - "ecsDataQualityDashboard.lastCheckedLabel": "前回確認日時", - "ecsDataQualityDashboard.patternLabel.allPassedTooltip": "このパターンと一致するすべてのインデックスは、データ品質チェックに合格しました", - "ecsDataQualityDashboard.patternLabel.someFailedTooltip": "このパターンと一致する一部のインデックスは、データ品質チェックに失敗しました", - "ecsDataQualityDashboard.patternLabel.someUncheckedTooltip": "このパターンと一致する一部のインデックスは、データ品質が確認されませんでした", - "ecsDataQualityDashboard.patternSummary.docsLabel": "ドキュメント", - "ecsDataQualityDashboard.patternSummary.indicesLabel": "インデックス", - "ecsDataQualityDashboard.patternSummary.patternOrIndexTooltip": "パターンまたは特定のインデックス", - "ecsDataQualityDashboard.selectAnIndexPrompt": "ECSバージョンと比較するインデックスを選択", - "ecsDataQualityDashboard.selectOneOrMorPhasesPlaceholder": "1つ以上のILMフェーズを選択", - "ecsDataQualityDashboard.statLabels.checkedLabel": "確認済み", - "ecsDataQualityDashboard.statLabels.customLabel": "カスタム", - "ecsDataQualityDashboard.statLabels.docsLabel": "ドキュメント", - "ecsDataQualityDashboard.statLabels.fieldsLabel": "フィールド", - "ecsDataQualityDashboard.statLabels.incompatibleLabel": "非互換", - "ecsDataQualityDashboard.statLabels.indicesLabel": "インデックス", - "ecsDataQualityDashboard.statLabels.totalDocsToolTip": "すべてのインデックスのドキュメントの合計数", - "ecsDataQualityDashboard.statLabels.totalIncompatibleToolTip": "確認されたすべてのインデックスのECSと互換性がないフィールドの合計件数", - "ecsDataQualityDashboard.statLabels.totalIndicesCheckedToolTip": "確認されたすべてのインデックスの合計数", - "ecsDataQualityDashboard.statLabels.totalIndicesToolTip": "すべてのインデックスの合計数", - "ecsDataQualityDashboard.summaryTable.collapseLabel": "縮小", - "ecsDataQualityDashboard.summaryTable.docsColumn": "ドキュメント", - "ecsDataQualityDashboard.summaryTable.expandLabel": "拡張", - "ecsDataQualityDashboard.summaryTable.expandRowsColumn": "行を展開", - "ecsDataQualityDashboard.summaryTable.failedTooltip": "失敗", - "ecsDataQualityDashboard.summaryTable.ilmPhaseColumn": "ILMフェーズ", - "ecsDataQualityDashboard.summaryTable.incompatibleFieldsColumn": "非互換フィールド", - "ecsDataQualityDashboard.summaryTable.indexColumn": "インデックス", - "ecsDataQualityDashboard.summaryTable.indexesNameLabel": "インデックス名", - "ecsDataQualityDashboard.summaryTable.indicesCheckedColumn": "確認されたインデックス", - "ecsDataQualityDashboard.summaryTable.indicesColumn": "インデックス", - "ecsDataQualityDashboard.summaryTable.passedTooltip": "合格", - "ecsDataQualityDashboard.summaryTable.resultColumn": "結果", - "ecsDataQualityDashboard.summaryTable.thisIndexHasNotBeenCheckedTooltip": "このインデックスは確認されていません", - "ecsDataQualityDashboard.technicalPreviewBadge": "テクニカルプレビュー", - "ecsDataQualityDashboard.timestampDescriptionLabel": "イベントが生成された日時これはイベントから抽出された日時で、一般的にはイベントがソースから生成された日時を表します。イベントソースに元のタイムスタンプがない場合は、通常、この値はイベントがパイプラインによって受信された最初の日時が入力されます。すべてのイベントの必須フィールドです。", - "ecsDataQualityDashboard.toasts.copiedErrorsToastTitle": "エラーをクリップボードにコピーしました", - "ecsDataQualityDashboard.toasts.copiedResultsToastTitle": "結果をクリップボードにコピーしました", - "ecsDataQualityDashboard.unmanagedDescription": "インデックスはインデックスライフサイクル管理(ILM)で管理されていません", - "ecsDataQualityDashboard.warmDescription": "インデックスは更新されませんが、まだ照会されています", "embeddableApi.addPanel.savedObjectAddedToContainerSuccessMessageTitle": "{savedObjectName}が追加されました", "embeddableApi.attributeService.saveToLibraryError": "保存中にエラーが発生しました。エラー:{errorMessage}", "embeddableApi.errors.embeddableFactoryNotFound": "{type}を読み込めません。Elasticsearch と Kibanaのデフォルトのディストリビューションを適切なライセンスでアップグレードしてください。", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 75901fdc42c3c..23ecf9913249e 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -2468,177 +2468,6 @@ "discover.viewAlert.searchSourceErrorTitle": "提取搜索源时出错", "discover.viewModes.document.label": "文档", "discover.viewModes.fieldStatistics.label": "字段统计信息", - "ecsDataQualityDashboard.allTab.allFieldsTableTitle": "所有字段 - {indexName}", - "ecsDataQualityDashboard.checkAllErrorCheckingIndexMessage": "检查索引 {indexName} 时发生错误", - "ecsDataQualityDashboard.checkingLabel": "正在检查 {index}", - "ecsDataQualityDashboard.coldPatternTooltip": "与 {pattern} 模式匹配的 {indices} 个{indices, plural, other {索引}}{indices, plural, other {为}}冷索引。冷索引不再进行更新,且不被经常查询。这些信息仍需能够搜索,但查询速度快慢并不重要。", - "ecsDataQualityDashboard.createADataQualityCaseForIndexHeaderText": "为索引 {indexName} 创建数据质量案例", - "ecsDataQualityDashboard.customTab.customFieldsTableTitle": "定制字段 - {indexName}", - "ecsDataQualityDashboard.customTab.ecsComplaintFieldsTableTitle": "符合 ECS 规范的字段 - {indexName}", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMappingsBody": "加载映射时出现问题:{error}", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMetadataBody": "将不会检查与 {pattern} 模式匹配的索引,因为出现错误:{error}", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMetadataTitle": "将不会检查与 {pattern} 模式匹配的索引", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingUnallowedValuesBody": "加载不允许使用的值时出现错误:{error}", - "ecsDataQualityDashboard.errorLoadingIlmExplainLabel": "加载 ILM 说明时出错:{details}", - "ecsDataQualityDashboard.errorLoadingMappingsLabel": "加载 {patternOrIndexName} 的映射时出错:{details}", - "ecsDataQualityDashboard.errorLoadingStatsLabel": "加载统计信息时出错:{details}", - "ecsDataQualityDashboard.errorLoadingUnallowedValuesLabel": "加载不允许索引 {indexName} 使用的值时出错:{details}", - "ecsDataQualityDashboard.frozenPatternTooltip": "与 {pattern} 模式匹配的 {indices} 个{indices, plural, other {索引}}{indices, plural, other {为}}已冻结索引。不再更新并且极少会查询已冻结索引。仍然需要能够搜索信息,但如果那些查询速度极慢,也没有关系。", - "ecsDataQualityDashboard.hotPatternTooltip": "与 {pattern} 模式匹配的 {indices} 个{indices, plural, other {索引}}{indices, plural, other {为}}热索引。热索引会被主动地更新和查询。", - "ecsDataQualityDashboard.incompatibleTab.incompatibleFieldMappingsTableTitle": "不兼容的字段映射 - {indexName}", - "ecsDataQualityDashboard.incompatibleTab.incompatibleFieldValuesTableTitle": "不兼容的字段值 - {indexName}", - "ecsDataQualityDashboard.indexProperties.allCallout": "此索引中字段的所有映射,包括遵循 Elastic Common Schema (ECS) 版本 {version} 的字段和不遵循该版本的字段", - "ecsDataQualityDashboard.indexProperties.allCalloutTitle": "所有 {fieldCount} 个{fieldCount, plural, other {字段映射}}", - "ecsDataQualityDashboard.indexProperties.customCallout": "{fieldCount, plural, =1 {此字段} other {这些字段}}不通过 Elastic Common Schema (ECS) 版本 {version} 来定义。索引可能包含定制字段,但是:", - "ecsDataQualityDashboard.indexProperties.customCalloutTitle": "{fieldCount} 个定制 {fieldCount, plural, other {字段映射}}", - "ecsDataQualityDashboard.indexProperties.ecsCompliantCallout": "{fieldCount, plural, =1 {此字段的索引映射类型和文档值} other {这些字段的索引映射类型和文档值}}遵循 Elastic Common Schema (ECS) 版本 {version}", - "ecsDataQualityDashboard.indexProperties.ecsCompliantCalloutTitle": "{fieldCount} 个符合 ECS 规范的{fieldCount, plural, other {字段}}", - "ecsDataQualityDashboard.indexProperties.incompatibleCallout": "索引映射或索引中字段的值未遵循 Elastic Common Schema (ECS) 版本 {version} 时,字段将与 ECS 不兼容。", - "ecsDataQualityDashboard.indexProperties.summaryMarkdownDescription": "`{indexName}` 索引具有与 [Elastic Common Schema]({ecsReferenceUrl}) (ECS) 版本 `{version}` [定义]({ecsFieldReferenceUrl}) 不同的[映射]({mappingUrl}) 或字段值。", - "ecsDataQualityDashboard.patternDocsCountTooltip": "与以下模式匹配的所有索引的总计数:{pattern}", - "ecsDataQualityDashboard.statLabels.customIndexToolTip": "{indexName} 索引中定制字段映射的计数", - "ecsDataQualityDashboard.statLabels.customPatternToolTip": "与 {pattern} 模式匹配的索引中定制字段映射的总计数", - "ecsDataQualityDashboard.statLabels.incompatibleIndexToolTip": "{indexName} 索引中与 ECS 不兼容的映射和值", - "ecsDataQualityDashboard.statLabels.incompatiblePatternToolTip": "与 {pattern} 模式匹配的索引中与 ECS 不兼容的字段的总计数", - "ecsDataQualityDashboard.statLabels.indexDocsCountToolTip": "{indexName} 索引中文档计数", - "ecsDataQualityDashboard.statLabels.indexDocsPatternToolTip": "与 {pattern} 模式匹配的索引中文档的总计数", - "ecsDataQualityDashboard.statLabels.totalCountOfIndicesCheckedMatchingPatternToolTip": "经检查与 {pattern} 模式匹配的索引的总计数", - "ecsDataQualityDashboard.statLabels.totalCountOfIndicesMatchingPatternToolTip": "与 {pattern} 模式匹配的索引的总计数", - "ecsDataQualityDashboard.summaryTable.indexToolTip": "此索引与模式或索引名称相匹配:{pattern}", - "ecsDataQualityDashboard.unmanagedPatternTooltip": "与 {pattern} 模式匹配的 {indices} 个{indices, plural, other {索引}}{indices, plural, other {}}不通过索引生命周期管理 (ILM) 进行管理", - "ecsDataQualityDashboard.warmPatternTooltip": "与 {pattern} 模式匹配的 {indices} 个{indices, plural, other {索引}}{indices, plural, other {为}}温索引。不再更新但仍会查询温索引。", - "ecsDataQualityDashboard.addToCaseSuccessToast": "已成功将数据质量结果添加到案例", - "ecsDataQualityDashboard.addToNewCaseButton": "添加到新案例", - "ecsDataQualityDashboard.cancelButton": "取消", - "ecsDataQualityDashboard.checkAllButton": "全部选中", - "ecsDataQualityDashboard.coldDescription": "该索引不再进行更新,且不被经常查询。这些信息仍需能够搜索,但查询速度快慢并不重要。", - "ecsDataQualityDashboard.compareFieldsTable.documentValuesActualColumn": "文档值(实际)", - "ecsDataQualityDashboard.compareFieldsTable.ecsDescriptionColumn": "ECS 描述", - "ecsDataQualityDashboard.compareFieldsTable.ecsMappingTypeColumn": "ECS 映射类型", - "ecsDataQualityDashboard.compareFieldsTable.ecsMappingTypeExpectedColumn": "ECS 映射类型(预期)", - "ecsDataQualityDashboard.compareFieldsTable.ecsValuesColumn": "ECS 值", - "ecsDataQualityDashboard.compareFieldsTable.ecsValuesExpectedColumn": "ECS 值(预期)", - "ecsDataQualityDashboard.compareFieldsTable.fieldColumn": "字段", - "ecsDataQualityDashboard.compareFieldsTable.indexMappingTypeActualColumn": "索引映射类型(实际)", - "ecsDataQualityDashboard.compareFieldsTable.indexMappingTypeColumn": "索引映射类型", - "ecsDataQualityDashboard.compareFieldsTable.searchFieldsPlaceholder": "搜索字段", - "ecsDataQualityDashboard.copyToClipboardButton": "复制到剪贴板", - "ecsDataQualityDashboard.createADataQualityCaseHeaderText": "创建数据质量案例", - "ecsDataQualityDashboard.defaultPanelTitle": "检查索引映射", - "ecsDataQualityDashboard.ecsDataQualityDashboardSubtitle": "检查索引映射和值以了解与以下项的兼容性", - "ecsDataQualityDashboard.ecsDataQualityDashboardTitle": "数据质量", - "ecsDataQualityDashboard.ecsSummaryDonutChart.chartTitle": "字段映射", - "ecsDataQualityDashboard.ecsSummaryDonutChart.fieldsLabel": "字段", - "ecsDataQualityDashboard.ecsVersionStat": "ECS 版本", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingEcsMetadataTitle": "无法加载 ECS 元数据", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingEcsVersionTitle": "无法加载 ECS 版本", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingMappingsTitle": "无法加载索引映射", - "ecsDataQualityDashboard.emptyErrorPrompt.errorLoadingUnallowedValuesTitle": "无法加载不允许使用的值", - "ecsDataQualityDashboard.emptyLoadingPrompt.loadingEcsMetadataPrompt": "正在加载 ECS 元数据", - "ecsDataQualityDashboard.emptyLoadingPrompt.loadingMappingsPrompt": "正在加载映射", - "ecsDataQualityDashboard.emptyLoadingPrompt.loadingStatsPrompt": "正在加载统计信息", - "ecsDataQualityDashboard.emptyLoadingPrompt.loadingUnallowedValuesPrompt": "正在加载不允许使用的值", - "ecsDataQualityDashboard.errors.errorMayOccurLabel": "模式或索引元数据暂时不可用,或由于您没有所需访问权限时,可能会发生错误", - "ecsDataQualityDashboard.errors.manage": "管理", - "ecsDataQualityDashboard.errors.monitor": "监测", - "ecsDataQualityDashboard.errors.or": "或", - "ecsDataQualityDashboard.errors.read": "读取", - "ecsDataQualityDashboard.errors.theFollowingPrivilegesLabel": "检查索引需要以下权限:", - "ecsDataQualityDashboard.errors.viewIndexMetadata": "view_index_metadata", - "ecsDataQualityDashboard.errorsPopover.copyToClipboardButton": "复制到剪贴板", - "ecsDataQualityDashboard.errorsPopover.errorsCalloutSummary": "未检查某些索引以了解数据质量", - "ecsDataQualityDashboard.errorsPopover.errorsTitle": "错误", - "ecsDataQualityDashboard.errorsPopover.viewErrorsButton": "查看错误", - "ecsDataQualityDashboard.errorsViewerTable.errorColumn": "错误", - "ecsDataQualityDashboard.errorsViewerTable.indexColumn": "索引", - "ecsDataQualityDashboard.errorsViewerTable.patternColumn": "模式", - "ecsDataQualityDashboard.fieldsLabel": "字段", - "ecsDataQualityDashboard.frozenDescription": "不再更新并且极少查询该索引。仍然需要能够搜索信息,但如果那些查询速度极慢,也没有关系。", - "ecsDataQualityDashboard.hotDescription": "该索引会被主动地更新和查询", - "ecsDataQualityDashboard.ilmPhaseLabel": "ILM 阶段", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptBody": "将检查具有这些索引生命周期管理 (ILM) 阶段的索引以了解数据质量", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptColdLabel": "冷", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptFrozenLabel": "冻结", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptHotLabel": "热", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptIlmPhasesThatCanBeCheckedSubtitle": "可进行检查以了解数据质量的 ILM 阶段", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptIlmPhasesThatCannotBeCheckedSubtitle": "无法检查的 ILM 阶段", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptITheFollowingIlmPhasesLabel": "由于访问速度较慢,无法检查以下 ILM 阶段以了解数据质量", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptTitle": "选择一个或多个 ILM 阶段", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptUnmanagedLabel": "未受管", - "ecsDataQualityDashboard.ilmPhasesEmptyPromptWarmLabel": "温", - "ecsDataQualityDashboard.indexLifecycleManagementPhasesTooltip": "将检查具有这些索引生命周期管理 (ILM) 阶段的索引以了解数据质量", - "ecsDataQualityDashboard.indexNameLabel": "索引名称", - "ecsDataQualityDashboard.indexProperties.addToNewCaseButton": "添加到新案例", - "ecsDataQualityDashboard.indexProperties.allCalloutEmptyContent": "此索引不包含任何映射", - "ecsDataQualityDashboard.indexProperties.allCalloutEmptyTitle": "无映射", - "ecsDataQualityDashboard.indexProperties.allFieldsLabel": "所有字段", - "ecsDataQualityDashboard.indexProperties.copyToClipboardButton": "复制到剪贴板", - "ecsDataQualityDashboard.indexProperties.customEmptyContent": "此索引中的所有字段映射均由 Elastic Common Schema 定义", - "ecsDataQualityDashboard.indexProperties.customEmptyTitle": "由 ECS 字义的所有字段映射", - "ecsDataQualityDashboard.indexProperties.customFieldsLabel": "定制字段", - "ecsDataQualityDashboard.indexProperties.custonDetectionEngineRulesWorkMessage": "✅ 定制检测引擎规则有效", - "ecsDataQualityDashboard.indexProperties.detectionEngineRulesWillWorkMessage": "✅ 检测引擎规则将适用于这些字段", - "ecsDataQualityDashboard.indexProperties.detectionEngineRulesWontWorkMessage": "❌ 引用这些字段的检测引擎规则可能无法与其正确匹配", - "ecsDataQualityDashboard.indexProperties.docsLabel": "文档", - "ecsDataQualityDashboard.indexProperties.ecsCompliantEmptyContent": "此索引中没有任何字段映射遵循 Elastic Common Schema (ECS)。此索引必须(至少)包含一个 @timestamp 日期字段。", - "ecsDataQualityDashboard.indexProperties.ecsCompliantEmptyTitle": "没有符合 ECS 规范的映射", - "ecsDataQualityDashboard.indexProperties.ecsCompliantFieldsLabel": "符合 ECS 规范的字段", - "ecsDataQualityDashboard.indexProperties.ecsCompliantMappingsAreFullySupportedMessage": "✅ 完全支持符合 ECS 规范的映射和字段值", - "ecsDataQualityDashboard.indexProperties.ecsVersionMarkdownComment": "Elastic Common Schema (ECS) 版本", - "ecsDataQualityDashboard.indexProperties.incompatibleEmptyContent": "此索引中的所有字段映射和文档值均符合 Elastic Common Schema (ECS) 规范。", - "ecsDataQualityDashboard.indexProperties.incompatibleEmptyTitle": "所有字段映射和值均符合 ECS 规范", - "ecsDataQualityDashboard.indexProperties.incompatibleFieldsTab": "不兼容的字段", - "ecsDataQualityDashboard.indexProperties.indexMarkdown": "索引", - "ecsDataQualityDashboard.indexProperties.mappingThatConflictWithEcsMessage": "❌ 不支持不符合 ECS 规范的映射或字段值", - "ecsDataQualityDashboard.indexProperties.missingTimestampCallout": "考虑根据 Elastic Common Schema (ECS) 的要求将 @timestamp(日期)字段映射添加到此索引,因为:", - "ecsDataQualityDashboard.indexProperties.missingTimestampCalloutTitle": "缺少此索引的 @timestamp(日期)字段映射", - "ecsDataQualityDashboard.indexProperties.otherAppCapabilitiesWorkProperlyMessage": "✅ 其他应用功能正常运行", - "ecsDataQualityDashboard.indexProperties.pagesDisplayEventsMessage": "✅ 页面正确显示事件和字段", - "ecsDataQualityDashboard.indexProperties.pagesMayNotDisplayFieldsMessage": "🌕 某些页面和功能可能不会显示这些字段", - "ecsDataQualityDashboard.indexProperties.preBuiltDetectionEngineRulesWorkMessage": "✅ 预构建的检测引擎规则有效", - "ecsDataQualityDashboard.indexProperties.sometimesIndicesCreatedByOlderDescription": "有时候,用较旧集成创建的索引的映射或值可能过去符合规范,但现在不再符合。", - "ecsDataQualityDashboard.indexProperties.summaryMarkdownTitle": "数据质量", - "ecsDataQualityDashboard.indexProperties.summaryTab": "摘要", - "ecsDataQualityDashboard.indexProperties.unknownCategoryLabel": "未知", - "ecsDataQualityDashboard.lastCheckedLabel": "上次检查时间", - "ecsDataQualityDashboard.patternLabel.allPassedTooltip": "与此模式匹配的所有索引均通过了数据质量检查", - "ecsDataQualityDashboard.patternLabel.someFailedTooltip": "与此模式匹配的某些索引未通过数据质量检查", - "ecsDataQualityDashboard.patternLabel.someUncheckedTooltip": "与此模式匹配的某些索引尚未进行数据质量检查", - "ecsDataQualityDashboard.patternSummary.docsLabel": "文档", - "ecsDataQualityDashboard.patternSummary.indicesLabel": "索引", - "ecsDataQualityDashboard.patternSummary.patternOrIndexTooltip": "模式或特定索引", - "ecsDataQualityDashboard.selectAnIndexPrompt": "选择索引以将其与 ECS 版本进行比较", - "ecsDataQualityDashboard.selectOneOrMorPhasesPlaceholder": "选择一个或多个 ILM 阶段", - "ecsDataQualityDashboard.statLabels.checkedLabel": "已检查", - "ecsDataQualityDashboard.statLabels.customLabel": "定制", - "ecsDataQualityDashboard.statLabels.docsLabel": "文档", - "ecsDataQualityDashboard.statLabels.fieldsLabel": "字段", - "ecsDataQualityDashboard.statLabels.incompatibleLabel": "不兼容", - "ecsDataQualityDashboard.statLabels.indicesLabel": "索引", - "ecsDataQualityDashboard.statLabels.totalDocsToolTip": "所有索引中文档的总计数", - "ecsDataQualityDashboard.statLabels.totalIncompatibleToolTip": "检查的所有索引中与 ECS 不兼容的字段的总计数", - "ecsDataQualityDashboard.statLabels.totalIndicesCheckedToolTip": "检查的所有索引的总计数", - "ecsDataQualityDashboard.statLabels.totalIndicesToolTip": "所有索引的总计数", - "ecsDataQualityDashboard.summaryTable.collapseLabel": "折叠", - "ecsDataQualityDashboard.summaryTable.docsColumn": "文档", - "ecsDataQualityDashboard.summaryTable.expandLabel": "展开", - "ecsDataQualityDashboard.summaryTable.expandRowsColumn": "展开行", - "ecsDataQualityDashboard.summaryTable.failedTooltip": "失败", - "ecsDataQualityDashboard.summaryTable.ilmPhaseColumn": "ILM 阶段", - "ecsDataQualityDashboard.summaryTable.incompatibleFieldsColumn": "不兼容的字段", - "ecsDataQualityDashboard.summaryTable.indexColumn": "索引", - "ecsDataQualityDashboard.summaryTable.indexesNameLabel": "索引名称", - "ecsDataQualityDashboard.summaryTable.indicesCheckedColumn": "已检查索引", - "ecsDataQualityDashboard.summaryTable.indicesColumn": "索引", - "ecsDataQualityDashboard.summaryTable.passedTooltip": "通过", - "ecsDataQualityDashboard.summaryTable.resultColumn": "结果", - "ecsDataQualityDashboard.summaryTable.thisIndexHasNotBeenCheckedTooltip": "尚未检查此索引", - "ecsDataQualityDashboard.technicalPreviewBadge": "技术预览", - "ecsDataQualityDashboard.timestampDescriptionLabel": "事件发生时的日期/时间。这是从事件中提取的日期/时间,通常表示源生成事件的时间。如果事件源没有原始时间戳,通常会在管道首次收到事件时填充此值。所有事件的必填字段。", - "ecsDataQualityDashboard.toasts.copiedErrorsToastTitle": "已将错误复制到剪贴板", - "ecsDataQualityDashboard.toasts.copiedResultsToastTitle": "已将结果复制到剪贴板", - "ecsDataQualityDashboard.unmanagedDescription": "此索引不由索引生命周期管理 (ILM) 进行管理", - "ecsDataQualityDashboard.warmDescription": "不再更新但仍会查询此索引", "embeddableApi.addPanel.savedObjectAddedToContainerSuccessMessageTitle": "{savedObjectName} 已添加", "embeddableApi.attributeService.saveToLibraryError": "保存时出错。错误:{errorMessage}", "embeddableApi.errors.embeddableFactoryNotFound": "{type} 无法加载。请升级到具有适当许可的默认 Elasticsearch 和 Kibana 分发。", diff --git a/yarn.lock b/yarn.lock index da8427476a383..83f9b163487d8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4001,7 +4001,7 @@ version "0.0.0" uid "" -"@kbn/ecs-data-quality-dashboard@link:x-pack/packages/kbn-ecs-data-quality-dashboard": +"@kbn/ecs-data-quality-dashboard@link:x-pack/packages/security-solution/ecs_data_quality_dashboard": version "0.0.0" uid "" @@ -4921,11 +4921,11 @@ version "0.0.0" uid "" -"@kbn/security-solution-side-nav@link:packages/security-solution/side_nav": +"@kbn/security-solution-side-nav@link:x-pack/packages/security-solution/side_nav": version "0.0.0" uid "" -"@kbn/security-solution-storybook-config@link:packages/security-solution/storybook/config": +"@kbn/security-solution-storybook-config@link:x-pack/packages/security-solution/storybook/config": version "0.0.0" uid "" @@ -4937,7 +4937,7 @@ version "0.0.0" uid "" -"@kbn/securitysolution-data-table@link:x-pack/packages/kbn-securitysolution-data-table": +"@kbn/securitysolution-data-table@link:x-pack/packages/security-solution/data_table": version "0.0.0" uid ""