diff --git a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts b/x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts index ba49e64442ec1..1b8552e8e1b23 100644 --- a/x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts +++ b/x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts @@ -155,7 +155,7 @@ export class RuleDataService implements IRuleDataService { 'Rule data service is not initialized. Make sure to call initializeService() in the rule registry plugin setup phase' ); } - const { registrationContext } = this.indexOptions; + const { registrationContext } = indexOptions; const indexInfo = new IndexInfo({ indexOptions, kibanaVersion: this.options.kibanaVersion }); const indicesAssociatedWithFeature = this.indicesByFeatureId.get(indexOptions.feature) ?? [];