We ran into a bug (https://github.com/elastic/kibana/issues/138639) when we added rule definitions component to the rule details page in 8.4. We tried to access SIEM rule types stored in the triggers actions UI ruleTypeRegistry to render the rule type descriptions.
While investigating the bug linked above we noticed SIEM rules were never registered in the triggers actions UI ruleTypeRegistry. The difficulty here is that SIEM rules have dynamic rule descriptions stored in the rule params, unlike other rules with static rule type descriptions.
I think it would be worthwhile to think about if we should consider adding SIEM rules to the triggers actions UI ruleTypeRegistry despite these differences, or should we simply try to render the description from the rule params?
We ran into a bug (https://github.com/elastic/kibana/issues/138639) when we added rule definitions component to the rule details page in 8.4. We tried to access SIEM rule types stored in the triggers actions UI
ruleTypeRegistry
to render the rule type descriptions.While investigating the bug linked above we noticed SIEM rules were never registered in the triggers actions UI
ruleTypeRegistry
. The difficulty here is that SIEM rules have dynamic rule descriptions stored in the ruleparams
, unlike other rules with static rule type descriptions.I think it would be worthwhile to think about if we should consider adding SIEM rules to the triggers actions UI
ruleTypeRegistry
despite these differences, or should we simply try to render the description from the ruleparams
?