From 36be0fc9d51a745bddc6699fe6d4cf42cc39cb7c Mon Sep 17 00:00:00 2001 From: "Christiane (Tina) Heiligers" Date: Wed, 26 Apr 2023 17:35:30 -0700 Subject: [PATCH 1/2] sets managed:true in _import route --- .../core-saved-objects-server-internal/src/routes/import.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/import.ts b/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/import.ts index b4cf2bd77ca9a..959072fccde2e 100644 --- a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/import.ts +++ b/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/import.ts @@ -110,6 +110,7 @@ export const registerImportRoute = ( overwrite, createNewCopies, compatibilityMode, + managed: true, }); return res.ok({ body: result }); From d833a5ffe825727e70b11620dafe909d8dfde51f Mon Sep 17 00:00:00 2001 From: "Christiane (Tina) Heiligers" Date: Wed, 26 Apr 2023 17:46:01 -0700 Subject: [PATCH 2/2] Sets managed:true in resolve_import_errors --- .../src/routes/resolve_import_errors.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/resolve_import_errors.ts b/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/resolve_import_errors.ts index 4b20c6bc50dab..71a666208841f 100644 --- a/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/resolve_import_errors.ts +++ b/packages/core/saved-objects/core-saved-objects-server-internal/src/routes/resolve_import_errors.ts @@ -126,6 +126,7 @@ export const registerResolveImportErrorsRoute = ( retries: req.body.retries, createNewCopies, compatibilityMode, + managed: true, }); return res.ok({ body: result });