diff --git a/src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts b/src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts index f4cb412b767b0..c3d5c0f5560bc 100644 --- a/src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts +++ b/src/plugins/share/server/url_service/saved_objects/register_url_service_saved_object_type.ts @@ -11,7 +11,6 @@ import type { SavedObjectsServiceSetup, SavedObjectsType, } from '@kbn/core/server'; -import { ANALYTICS_SAVED_OBJECT_INDEX } from '@kbn/core-saved-objects-server'; import type { LocatorData } from '../../../common/url_service'; import type { ServerUrlService } from '..'; @@ -21,7 +20,6 @@ export const registerUrlServiceSavedObjectType = ( ) => { const urlSavedObjectType: SavedObjectsType = { name: 'url', - indexPattern: ANALYTICS_SAVED_OBJECT_INDEX, namespaceType: 'single', hidden: false, management: { diff --git a/src/plugins/share/tsconfig.json b/src/plugins/share/tsconfig.json index 781417215e1ca..914c4661d0ead 100644 --- a/src/plugins/share/tsconfig.json +++ b/src/plugins/share/tsconfig.json @@ -13,7 +13,6 @@ "@kbn/i18n-react", "@kbn/config-schema", "@kbn/core-custom-branding-browser", - "@kbn/core-saved-objects-server", ], "exclude": [ "target/**/*", diff --git a/test/api_integration/fixtures/es_archiver/saved_objects/delete_unknown_types/mappings.json b/test/api_integration/fixtures/es_archiver/saved_objects/delete_unknown_types/mappings.json index a52188dd0ddb5..4468d6849f6ca 100644 --- a/test/api_integration/fixtures/es_archiver/saved_objects/delete_unknown_types/mappings.json +++ b/test/api_integration/fixtures/es_archiver/saved_objects/delete_unknown_types/mappings.json @@ -83,6 +83,7 @@ "upgrade-assistant-reindex-operation", "uptime-dynamic-settings", "uptime-synthetics-api-key", + "url", "usage-counters", "workplace_search_telemetry" ], @@ -146,7 +147,6 @@ "search", "search-session", "search-telemetry", - "url", "visualization" ] } @@ -687,11 +687,10 @@ "visualization": "f819cf6636b75c9e76ba733a0c6ef355" }, "indexTypesMap": { + ".kibana_task_manager": [ + "task" + ], ".kibana": [ - "action", - "action_task_params", - "alert", - "api_key_pending_invalidation", "apm-indices", "apm-server-schema", "apm-service-group", @@ -699,59 +698,26 @@ "app_search_telemetry", "application_usage_daily", "application_usage_totals", - "canvas-element", - "canvas-workpad", - "canvas-workpad-template", - "cases", - "cases-comments", - "cases-configure", - "cases-connector-mappings", - "cases-telemetry", - "cases-user-actions", "config", "config-global", - "connector_token", "core-usage-stats", - "dashboard", "enterprise_search_telemetry", - "epm-packages", - "epm-packages-assets", "event_loop_delays_daily", "file", "file-upload-usage-collection-telemetry", "fileShare", - "fleet-fleet-server-host", - "fleet-message-signing-keys", - "fleet-preconfiguration-deletion-record", - "fleet-proxy", - "graph-workspace", "guided-onboarding-guide-state", "guided-onboarding-plugin-state", - "index-pattern", "infrastructure-monitoring-log-view", "infrastructure-ui-source", - "ingest-agent-policies", - "ingest-download-sources", - "ingest-outputs", - "ingest-package-policies", - "ingest_manager_settings", "inventory-view", - "kql-telemetry", "legacy-url-alias", - "lens", - "lens-ui-telemetry", - "map", "metrics-explorer-view", "ml-job", "ml-module", "ml-trained-model", "monitoring-telemetry", - "query", - "rules-settings", "sample-data-telemetry", - "search", - "search-session", - "search-telemetry", "slo", "space", "spaces-usage-stats", @@ -767,13 +733,57 @@ "uptime-synthetics-api-key", "url", "usage-counters", - "visualization", "workplace_search_telemetry" ], + ".kibana_ingest": [ + "epm-packages", + "epm-packages-assets", + "fleet-fleet-server-host", + "fleet-message-signing-keys", + "fleet-preconfiguration-deletion-record", + "fleet-proxy", + "ingest-agent-policies", + "ingest-download-sources", + "ingest-outputs", + "ingest-package-policies", + "ingest_manager_settings" + ], + ".kibana_security_solution": [ + "csp-rule-template", + "endpoint:user-artifact", + "endpoint:user-artifact-manifest", + "exception-list", + "exception-list-agnostic", + "osquery-manager-usage-metric", + "osquery-pack", + "osquery-pack-asset", + "osquery-saved-query", + "security-rule", + "security-solution-signals-migration", + "siem-detection-engine-rule-actions", + "siem-ui-timeline", + "siem-ui-timeline-note", + "siem-ui-timeline-pinned-event" + ], + ".kibana_alerting_cases": [ + "action", + "action_task_params", + "alert", + "api_key_pending_invalidation", + "cases", + "cases-comments", + "cases-configure", + "cases-connector-mappings", + "cases-telemetry", + "cases-user-actions", + "connector_token", + "maintenance-window", + "rules-settings" + ], ".kibana_analytics": [ "canvas-element", - "canvas-workpad-template", "canvas-workpad", + "canvas-workpad-template", "dashboard", "graph-workspace", "index-pattern", @@ -781,14 +791,11 @@ "lens", "lens-ui-telemetry", "map", + "query", "search", "search-session", "search-telemetry", - "url", "visualization" - ], - ".kibana_task_manager": [ - "task" ] } }, diff --git a/test/functional/fixtures/es_archiver/deprecations_service/mappings.json b/test/functional/fixtures/es_archiver/deprecations_service/mappings.json index b64b85fb17771..f9bec7fdca4d5 100644 --- a/test/functional/fixtures/es_archiver/deprecations_service/mappings.json +++ b/test/functional/fixtures/es_archiver/deprecations_service/mappings.json @@ -82,6 +82,7 @@ "upgrade-assistant-reindex-operation", "uptime-dynamic-settings", "uptime-synthetics-api-key", + "url", "usage-counters", "workplace_search_telemetry" ], @@ -145,7 +146,6 @@ "search", "search-session", "search-telemetry", - "url", "visualization" ] } diff --git a/test/functional/fixtures/es_archiver/saved_objects_management/export_transform/mappings.json b/test/functional/fixtures/es_archiver/saved_objects_management/export_transform/mappings.json index 69c3345673cb4..963eaa9d47892 100644 --- a/test/functional/fixtures/es_archiver/saved_objects_management/export_transform/mappings.json +++ b/test/functional/fixtures/es_archiver/saved_objects_management/export_transform/mappings.json @@ -82,6 +82,7 @@ "upgrade-assistant-reindex-operation", "uptime-dynamic-settings", "uptime-synthetics-api-key", + "url", "usage-counters", "workplace_search_telemetry" ], @@ -145,7 +146,6 @@ "search", "search-session", "search-telemetry", - "url", "visualization" ] } diff --git a/test/functional/fixtures/es_archiver/saved_objects_management/hidden_saved_objects/mappings.json b/test/functional/fixtures/es_archiver/saved_objects_management/hidden_saved_objects/mappings.json index 85021811ab9c1..4cb716253a8a3 100644 --- a/test/functional/fixtures/es_archiver/saved_objects_management/hidden_saved_objects/mappings.json +++ b/test/functional/fixtures/es_archiver/saved_objects_management/hidden_saved_objects/mappings.json @@ -82,6 +82,7 @@ "upgrade-assistant-reindex-operation", "uptime-dynamic-settings", "uptime-synthetics-api-key", + "url", "usage-counters", "workplace_search_telemetry" ], @@ -145,7 +146,6 @@ "search", "search-session", "search-telemetry", - "url", "visualization" ] } diff --git a/test/functional/fixtures/es_archiver/saved_objects_management/nested_export_transform/mappings.json b/test/functional/fixtures/es_archiver/saved_objects_management/nested_export_transform/mappings.json index 69c3345673cb4..963eaa9d47892 100644 --- a/test/functional/fixtures/es_archiver/saved_objects_management/nested_export_transform/mappings.json +++ b/test/functional/fixtures/es_archiver/saved_objects_management/nested_export_transform/mappings.json @@ -82,6 +82,7 @@ "upgrade-assistant-reindex-operation", "uptime-dynamic-settings", "uptime-synthetics-api-key", + "url", "usage-counters", "workplace_search_telemetry" ], @@ -145,7 +146,6 @@ "search", "search-session", "search-telemetry", - "url", "visualization" ] } diff --git a/test/functional/fixtures/es_archiver/saved_objects_management/visible_in_management/mappings.json b/test/functional/fixtures/es_archiver/saved_objects_management/visible_in_management/mappings.json index 91a72109d85e9..924b2b070ff4d 100644 --- a/test/functional/fixtures/es_archiver/saved_objects_management/visible_in_management/mappings.json +++ b/test/functional/fixtures/es_archiver/saved_objects_management/visible_in_management/mappings.json @@ -82,6 +82,7 @@ "upgrade-assistant-reindex-operation", "uptime-dynamic-settings", "uptime-synthetics-api-key", + "url", "usage-counters", "workplace_search_telemetry" ], @@ -145,7 +146,6 @@ "search", "search-session", "search-telemetry", - "url", "visualization" ] } @@ -633,11 +633,10 @@ "visualization": "f819cf6636b75c9e76ba733a0c6ef355" }, "indexTypesMap": { + ".kibana_task_manager": [ + "task" + ], ".kibana": [ - "action", - "action_task_params", - "alert", - "api_key_pending_invalidation", "apm-indices", "apm-server-schema", "apm-service-group", @@ -645,59 +644,26 @@ "app_search_telemetry", "application_usage_daily", "application_usage_totals", - "canvas-element", - "canvas-workpad", - "canvas-workpad-template", - "cases", - "cases-comments", - "cases-configure", - "cases-connector-mappings", - "cases-telemetry", - "cases-user-actions", "config", "config-global", - "connector_token", "core-usage-stats", - "dashboard", "enterprise_search_telemetry", - "epm-packages", - "epm-packages-assets", "event_loop_delays_daily", "file", "file-upload-usage-collection-telemetry", "fileShare", - "fleet-fleet-server-host", - "fleet-message-signing-keys", - "fleet-preconfiguration-deletion-record", - "fleet-proxy", - "graph-workspace", "guided-onboarding-guide-state", "guided-onboarding-plugin-state", - "index-pattern", "infrastructure-monitoring-log-view", "infrastructure-ui-source", - "ingest-agent-policies", - "ingest-download-sources", - "ingest-outputs", - "ingest-package-policies", - "ingest_manager_settings", "inventory-view", - "kql-telemetry", "legacy-url-alias", - "lens", - "lens-ui-telemetry", - "map", "metrics-explorer-view", "ml-job", "ml-module", "ml-trained-model", "monitoring-telemetry", - "query", - "rules-settings", "sample-data-telemetry", - "search", - "search-session", - "search-telemetry", "slo", "space", "spaces-usage-stats", @@ -713,13 +679,57 @@ "uptime-synthetics-api-key", "url", "usage-counters", - "visualization", "workplace_search_telemetry" ], + ".kibana_ingest": [ + "epm-packages", + "epm-packages-assets", + "fleet-fleet-server-host", + "fleet-message-signing-keys", + "fleet-preconfiguration-deletion-record", + "fleet-proxy", + "ingest-agent-policies", + "ingest-download-sources", + "ingest-outputs", + "ingest-package-policies", + "ingest_manager_settings" + ], + ".kibana_security_solution": [ + "csp-rule-template", + "endpoint:user-artifact", + "endpoint:user-artifact-manifest", + "exception-list", + "exception-list-agnostic", + "osquery-manager-usage-metric", + "osquery-pack", + "osquery-pack-asset", + "osquery-saved-query", + "security-rule", + "security-solution-signals-migration", + "siem-detection-engine-rule-actions", + "siem-ui-timeline", + "siem-ui-timeline-note", + "siem-ui-timeline-pinned-event" + ], + ".kibana_alerting_cases": [ + "action", + "action_task_params", + "alert", + "api_key_pending_invalidation", + "cases", + "cases-comments", + "cases-configure", + "cases-connector-mappings", + "cases-telemetry", + "cases-user-actions", + "connector_token", + "maintenance-window", + "rules-settings" + ], ".kibana_analytics": [ "canvas-element", - "canvas-workpad-template", "canvas-workpad", + "canvas-workpad-template", "dashboard", "graph-workspace", "index-pattern", @@ -727,14 +737,11 @@ "lens", "lens-ui-telemetry", "map", + "query", "search", "search-session", "search-telemetry", - "url", "visualization" - ], - ".kibana_task_manager": [ - "task" ] } }, diff --git a/x-pack/test/saved_object_api_integration/common/fixtures/es_archiver/saved_objects/spaces/mappings.json b/x-pack/test/saved_object_api_integration/common/fixtures/es_archiver/saved_objects/spaces/mappings.json index df9e9b31727df..f1722d291fc1b 100644 --- a/x-pack/test/saved_object_api_integration/common/fixtures/es_archiver/saved_objects/spaces/mappings.json +++ b/x-pack/test/saved_object_api_integration/common/fixtures/es_archiver/saved_objects/spaces/mappings.json @@ -54,6 +54,7 @@ "upgrade-assistant-reindex-operation", "uptime-dynamic-settings", "uptime-synthetics-api-key", + "url", "usage-counters", "workplace_search_telemetry" ], @@ -117,7 +118,6 @@ "search", "search-session", "search-telemetry", - "url", "visualization" ] } @@ -163,11 +163,10 @@ "dynamic": "false", "_meta": { "indexTypesMap": { + ".kibana_task_manager": [ + "task" + ], ".kibana": [ - "action", - "action_task_params", - "alert", - "api_key_pending_invalidation", "apm-indices", "apm-server-schema", "apm-service-group", @@ -175,59 +174,26 @@ "app_search_telemetry", "application_usage_daily", "application_usage_totals", - "canvas-element", - "canvas-workpad", - "canvas-workpad-template", - "cases", - "cases-comments", - "cases-configure", - "cases-connector-mappings", - "cases-telemetry", - "cases-user-actions", "config", "config-global", - "connector_token", "core-usage-stats", - "dashboard", "enterprise_search_telemetry", - "epm-packages", - "epm-packages-assets", "event_loop_delays_daily", "file", "file-upload-usage-collection-telemetry", "fileShare", - "fleet-fleet-server-host", - "fleet-message-signing-keys", - "fleet-preconfiguration-deletion-record", - "fleet-proxy", - "graph-workspace", "guided-onboarding-guide-state", "guided-onboarding-plugin-state", - "index-pattern", "infrastructure-monitoring-log-view", "infrastructure-ui-source", - "ingest-agent-policies", - "ingest-download-sources", - "ingest-outputs", - "ingest-package-policies", - "ingest_manager_settings", "inventory-view", - "kql-telemetry", "legacy-url-alias", - "lens", - "lens-ui-telemetry", - "map", "metrics-explorer-view", "ml-job", "ml-module", "ml-trained-model", "monitoring-telemetry", - "query", - "rules-settings", "sample-data-telemetry", - "search", - "search-session", - "search-telemetry", "slo", "space", "spaces-usage-stats", @@ -243,13 +209,57 @@ "uptime-synthetics-api-key", "url", "usage-counters", - "visualization", "workplace_search_telemetry" ], + ".kibana_ingest": [ + "epm-packages", + "epm-packages-assets", + "fleet-fleet-server-host", + "fleet-message-signing-keys", + "fleet-preconfiguration-deletion-record", + "fleet-proxy", + "ingest-agent-policies", + "ingest-download-sources", + "ingest-outputs", + "ingest-package-policies", + "ingest_manager_settings" + ], + ".kibana_security_solution": [ + "csp-rule-template", + "endpoint:user-artifact", + "endpoint:user-artifact-manifest", + "exception-list", + "exception-list-agnostic", + "osquery-manager-usage-metric", + "osquery-pack", + "osquery-pack-asset", + "osquery-saved-query", + "security-rule", + "security-solution-signals-migration", + "siem-detection-engine-rule-actions", + "siem-ui-timeline", + "siem-ui-timeline-note", + "siem-ui-timeline-pinned-event" + ], + ".kibana_alerting_cases": [ + "action", + "action_task_params", + "alert", + "api_key_pending_invalidation", + "cases", + "cases-comments", + "cases-configure", + "cases-connector-mappings", + "cases-telemetry", + "cases-user-actions", + "connector_token", + "maintenance-window", + "rules-settings" + ], ".kibana_analytics": [ "canvas-element", - "canvas-workpad-template", "canvas-workpad", + "canvas-workpad-template", "dashboard", "graph-workspace", "index-pattern", @@ -257,14 +267,11 @@ "lens", "lens-ui-telemetry", "map", + "query", "search", "search-session", "search-telemetry", - "url", "visualization" - ], - ".kibana_task_manager": [ - "task" ] } }, diff --git a/x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces/mappings.json b/x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces/mappings.json index c88668314209f..a787729a16c35 100644 --- a/x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces/mappings.json +++ b/x-pack/test/spaces_api_integration/common/fixtures/es_archiver/saved_objects/spaces/mappings.json @@ -54,6 +54,7 @@ "upgrade-assistant-reindex-operation", "uptime-dynamic-settings", "uptime-synthetics-api-key", + "url", "usage-counters", "workplace_search_telemetry" ], @@ -117,7 +118,6 @@ "search", "search-session", "search-telemetry", - "url", "visualization" ] } @@ -150,11 +150,10 @@ "dynamic": "false", "_meta": { "indexTypesMap": { + ".kibana_task_manager": [ + "task" + ], ".kibana": [ - "action", - "action_task_params", - "alert", - "api_key_pending_invalidation", "apm-indices", "apm-server-schema", "apm-service-group", @@ -162,59 +161,26 @@ "app_search_telemetry", "application_usage_daily", "application_usage_totals", - "canvas-element", - "canvas-workpad", - "canvas-workpad-template", - "cases", - "cases-comments", - "cases-configure", - "cases-connector-mappings", - "cases-telemetry", - "cases-user-actions", "config", "config-global", - "connector_token", "core-usage-stats", - "dashboard", "enterprise_search_telemetry", - "epm-packages", - "epm-packages-assets", "event_loop_delays_daily", "file", "file-upload-usage-collection-telemetry", "fileShare", - "fleet-fleet-server-host", - "fleet-message-signing-keys", - "fleet-preconfiguration-deletion-record", - "fleet-proxy", - "graph-workspace", "guided-onboarding-guide-state", "guided-onboarding-plugin-state", - "index-pattern", "infrastructure-monitoring-log-view", "infrastructure-ui-source", - "ingest-agent-policies", - "ingest-download-sources", - "ingest-outputs", - "ingest-package-policies", - "ingest_manager_settings", "inventory-view", - "kql-telemetry", "legacy-url-alias", - "lens", - "lens-ui-telemetry", - "map", "metrics-explorer-view", "ml-job", "ml-module", "ml-trained-model", "monitoring-telemetry", - "query", - "rules-settings", "sample-data-telemetry", - "search", - "search-session", - "search-telemetry", "slo", "space", "spaces-usage-stats", @@ -230,13 +196,57 @@ "uptime-synthetics-api-key", "url", "usage-counters", - "visualization", "workplace_search_telemetry" ], + ".kibana_ingest": [ + "epm-packages", + "epm-packages-assets", + "fleet-fleet-server-host", + "fleet-message-signing-keys", + "fleet-preconfiguration-deletion-record", + "fleet-proxy", + "ingest-agent-policies", + "ingest-download-sources", + "ingest-outputs", + "ingest-package-policies", + "ingest_manager_settings" + ], + ".kibana_security_solution": [ + "csp-rule-template", + "endpoint:user-artifact", + "endpoint:user-artifact-manifest", + "exception-list", + "exception-list-agnostic", + "osquery-manager-usage-metric", + "osquery-pack", + "osquery-pack-asset", + "osquery-saved-query", + "security-rule", + "security-solution-signals-migration", + "siem-detection-engine-rule-actions", + "siem-ui-timeline", + "siem-ui-timeline-note", + "siem-ui-timeline-pinned-event" + ], + ".kibana_alerting_cases": [ + "action", + "action_task_params", + "alert", + "api_key_pending_invalidation", + "cases", + "cases-comments", + "cases-configure", + "cases-connector-mappings", + "cases-telemetry", + "cases-user-actions", + "connector_token", + "maintenance-window", + "rules-settings" + ], ".kibana_analytics": [ "canvas-element", - "canvas-workpad-template", "canvas-workpad", + "canvas-workpad-template", "dashboard", "graph-workspace", "index-pattern", @@ -244,14 +254,11 @@ "lens", "lens-ui-telemetry", "map", + "query", "search", "search-session", "search-telemetry", - "url", "visualization" - ], - ".kibana_task_manager": [ - "task" ] } }