With this PR, we added a uuid to the rule action and a migration that sets the uuid for existing rules.
From the PR summary:
Initialy uuid in RuleAction was not optional but as it created tons of changes on types and tests we decided to add it optional. It is still required in RawRuleAction which reflects the action object in Kibana SO.
This leaves the UUID typed as optional in the code when it's not actually optional and it's always set. We should investigate the effort to fix this.
With this PR, we added a
uuid
to the rule action and a migration that sets the uuid for existing rules.From the PR summary:
This leaves the UUID typed as optional in the code when it's not actually optional and it's always set. We should investigate the effort to fix this.