diff --git a/x-pack/plugins/cloud/server/config.ts b/x-pack/plugins/cloud/server/config.ts index 0e73d596671314b..c546a51547b74ba 100644 --- a/x-pack/plugins/cloud/server/config.ts +++ b/x-pack/plugins/cloud/server/config.ts @@ -18,6 +18,11 @@ const apmConfigSchema = schema.object({ ), }); +const fullStoryConfigSchema = schema.object({ + enabled: schema.boolean({ defaultValue: false }), + orgId: schema.maybe(schema.string()), +}); + const configSchema = schema.object({ enabled: schema.boolean({ defaultValue: true }), id: schema.maybe(schema.string()), @@ -27,6 +32,7 @@ const configSchema = schema.object({ profile_url: schema.maybe(schema.string()), deployment_url: schema.maybe(schema.string()), organization_url: schema.maybe(schema.string()), + full_story: fullStoryConfigSchema, }); export type CloudConfigType = TypeOf; @@ -39,6 +45,7 @@ export const config: PluginConfigDescriptor = { profile_url: true, deployment_url: true, organization_url: true, + full_story: true, }, schema: configSchema, };