diff --git a/x-pack/plugins/security_solution/server/deprecations/rule_preview_privileges.ts b/x-pack/plugins/security_solution/server/deprecations/rule_preview_privileges.ts index 8b4675144512a..1980c7b8ed9bb 100644 --- a/x-pack/plugins/security_solution/server/deprecations/rule_preview_privileges.ts +++ b/x-pack/plugins/security_solution/server/deprecations/rule_preview_privileges.ts @@ -73,7 +73,12 @@ export const registerRulePreviewPrivilegeDeprecations = ({ message: i18n.translate( 'xpack.securitySolution.deprecations.rulePreviewPrivileges.message', { - defaultMessage: `In order to enable a more robust preview, users will need read privileges to new signals preview indices (.siem-preview-signals-), analogous to existing signals indices (${DEFAULT_SIGNALS_INDEX}-).`, + values: { + previewIndexPrefix: '.siem-preview-signals', + signalsIndexPrefix: DEFAULT_SIGNALS_INDEX, + }, + defaultMessage: + 'In order to enable a more robust preview, users will need read privileges to new signals preview indices ({previewIndexPrefix}-), analogous to existing signals indices ({signalsIndexPrefix}-).', } ), level: 'warning',