When creating a rule, the “Data View” option shows the underlying index patterns instead of the Data View name
Data view name: Kibana Sample Data eCommerce:
Rule creation:
User story
As a detection engineer, I want to interact with the data views in the rules UI by their name.
Acceptance criteria
[ ] When creating or editing a detection rule, and selecting dataviews as a Source user is presented with the list of Data view names, instead of index patterns.
[ ] Once the rule is saved, the Data view name is presented to the user in the Definition section.
Background
When creating a rule, the “Data View” option shows the underlying index patterns instead of the Data View name Data view name: Kibana Sample Data eCommerce:
Rule creation:
![image](https://github.com/elastic/kibana/assets/40713348/e3f362b6-dbba-4a09-9cac-bd6ccff55982)
User story
As a detection engineer, I want to interact with the data views in the rules UI by their name.
Acceptance criteria