diff --git a/x-pack/plugins/rule_registry/server/plugin.ts b/x-pack/plugins/rule_registry/server/plugin.ts index 9cf8b665dbb7cd..e652a334a5143a 100644 --- a/x-pack/plugins/rule_registry/server/plugin.ts +++ b/x-pack/plugins/rule_registry/server/plugin.ts @@ -82,7 +82,7 @@ export class RuleRegistryPlugin implements Plugin { + logger.debug(`indexAliasName: ${indexAliasName}`); const validations = docs.map((doc) => { return fieldmapType.decode({ ...doc, diff --git a/x-pack/plugins/rule_registry/server/rule_registry/rule_type_helpers/create_lifecycle_rule_type_factory.ts b/x-pack/plugins/rule_registry/server/rule_registry/rule_type_helpers/create_lifecycle_rule_type_factory.ts index 4320259e0222da..06181a4955bbd1 100644 --- a/x-pack/plugins/rule_registry/server/rule_registry/rule_type_helpers/create_lifecycle_rule_type_factory.ts +++ b/x-pack/plugins/rule_registry/server/rule_registry/rule_type_helpers/create_lifecycle_rule_type_factory.ts @@ -73,7 +73,7 @@ export function createLifecycleRuleTypeFactory(): CreateLifecycleRuleType { const alertId = event['kibana.rac.alert.id']!; alertsDataMap[alertId] = event; @@ -218,7 +220,10 @@ export function createLifecycleRuleTypeFactory(): CreateLifecycleRuleType, plugins: SetupPlugins) { this.logger.debug('plugin setup'); + this.setupPlugins = plugins; const config = this.config; const globalConfig = this.context.config.legacy.get(); @@ -355,7 +357,7 @@ export class Plugin implements IPlugin