elastic / kibana

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

[ResponseOps][Rules] Remove the `RuleFormV2` from plugins that do not need it #196704

Open adcoelho opened 2 weeks ago

adcoelho commented 2 weeks ago

Description

In a previous PR (#196507) the ruleFormV2 feature flag was deprecated in the triggers_actions_ui plugin because it had been renamed without any fallback.

Searching the Kibana codebase for ruleFormV2 yields many results showing that this feature flag is still configurable in a few different plugins. However, although this flag can be set, it doesn't seem to be used for anything in these plugins.

We should remove/deprecate it wherever it is not used at all.

The feature flag was initially introduced in this PR. This might help to find the right places to change it.

elasticmachine commented 2 weeks ago

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