elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.66k stars 8.23k forks source link

FAAD: Prevent rule types from defining framework fields in their fieldMap #163801

Open mikecote opened 1 year ago

mikecote commented 1 year ago

We should prevent the framework from allowing rule types to define framework fields in their fieldMap. We should catch scenarios like this (https://github.com/elastic/kibana/pull/161685#pullrequestreview-1573595759) and throw errors to mention they cannot override the field. Behind the scenes the framework field will take precedence but we should let the developer know so they can remove their field definition.

elasticmachine commented 1 year ago

Pinging @elastic/response-ops (Team:ResponseOps)