From 7fbf02896970494bd4dcab531db70ab8079f9f5d Mon Sep 17 00:00:00 2001 From: Ryland Herrick Date: Thu, 20 Feb 2020 18:04:48 -0600 Subject: [PATCH] Prevent core savedObjects plugin from being overridden PR #57452 added an empty savedObjects plugin with the same name as the core plugin. Due to the way we were spreading into our context coupled with the fact that we don't get NP's whitelisting of plugins on legacy, we were overriding the core plugin here. If this happens again, we should perhaps whitelist our plugins here. --- x-pack/legacy/plugins/siem/public/app/app.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/legacy/plugins/siem/public/app/app.tsx b/x-pack/legacy/plugins/siem/public/app/app.tsx index 030cb72750649..7413aeab549db 100644 --- a/x-pack/legacy/plugins/siem/public/app/app.tsx +++ b/x-pack/legacy/plugins/siem/public/app/app.tsx @@ -106,6 +106,7 @@ const SiemAppComponent: React.FC = ({ core, plugins }) => storage: new Storage(localStorage), ...core, ...plugins, + savedObjects: core.savedObjects, }} >