diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/data_view_selector_field/data_view_selector_field.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/data_view_selector_field/data_view_selector_field.tsx index 45db3423cc68a..10a61f249a181 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/data_view_selector_field/data_view_selector_field.tsx +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/data_view_selector_field/data_view_selector_field.tsx @@ -27,9 +27,9 @@ export function DataViewSelectorField({ field }: DataViewSelectorProps): JSX.Ele const errorMessage = fieldAndError?.errorMessage; const comboBoxOptions = useMemo( () => - dataViews.map(({ id, title: label }) => ({ + dataViews.map(({ id, title: label, name }) => ({ id, - label, + label: name ?? label, })), [dataViews] ); diff --git a/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/step_define_rule/schema.tsx b/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/step_define_rule/schema.tsx index 835cab7a4cfc2..11fb2de0f4115 100644 --- a/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/step_define_rule/schema.tsx +++ b/x-pack/plugins/security_solution/public/detection_engine/rule_creation_ui/components/step_define_rule/schema.tsx @@ -87,6 +87,13 @@ export const schema: FormSchema = { defaultMessage: 'Data view', } ), + helpText: i18n.translate( + 'xpack.securitySolution.detectionEngine.createRule.stepAboutRule.dataViewSelector.helpText', + { + defaultMessage: + 'Data view names are shown. To view index patterns included, visit Stack Management.', + } + ), fieldsToValidateOnChange: ['dataViewId'], validations: [ {