From 5ed54ec93c573f2a23a00d59075000ec085fef98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Fern=C3=A1ndez=20Haro?= Date: Mon, 2 Dec 2024 16:40:16 +0100 Subject: [PATCH] [deprecations/dataviews]: Check in all spaces (#202354) ## Summary In order to show all potential deprecations, the SO request should include all spaces by appending `namespaces: ['*']`. This PR adds that, although it doesn't change the test (which, IMO, should include the offending space). Feel free to commit to this PR or to create a follow-up (whatever you prefer). Related: https://github.com/elastic/kibana/issues/202341 --- src/plugins/data_views/server/deprecations/scripted_fields.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/data_views/server/deprecations/scripted_fields.ts b/src/plugins/data_views/server/deprecations/scripted_fields.ts index d4dff14bbd6a4..5866216801ab6 100644 --- a/src/plugins/data_views/server/deprecations/scripted_fields.ts +++ b/src/plugins/data_views/server/deprecations/scripted_fields.ts @@ -27,6 +27,7 @@ export const createScriptedFieldsDeprecationsConfig: ( type: 'index-pattern', perPage: 1000, fields: ['title', 'fields'], + namespaces: ['*'], }); const indexPatternsWithScriptedFields: IndexPatternAttributesWithFields[] = [];