[SIEM][Detection Engine] Fix StepDescription value in StepRuleActions#63677
Conversation
|
Pinging @elastic/siem (Team:SIEM) |
rylnd
left a comment
There was a problem hiding this comment.
Behavior here is much improved, LGTM.
| return ( | ||
| <ul> | ||
| {actions.map((action, index) => ( | ||
| <li key={index}>{getActionTypeName(action.actionTypeId)}</li> |
There was a problem hiding this comment.
Maybe we should use the actionTypeId for the key, here? Is there a field unique to the action?
There was a problem hiding this comment.
you can have multiple actions of the same type, so in that case, actionTypeId will not be unique
|
There is one outstanding bug on this branch related to the connector being lost when editing another step: I'm not sure if this is expected or fixed elsewhere; @patrykkopycinski let me know and I can open a separate issue if necessary. |
|
@elasticmachine merge upstream |
…-actions-form # Conflicts: # x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/components/description_step/index.tsx # x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/components/throttle_select_field/index.tsx
…-actions-form # Conflicts: # x-pack/plugins/siem/public/alerts/components/rules/description_step/actions_description.tsx # x-pack/plugins/siem/public/alerts/components/rules/description_step/throttle_description.tsx # x-pack/plugins/siem/public/pages/detection_engine/rules/components/description_step/index.tsx # x-pack/plugins/siem/public/pages/detection_engine/rules/components/step_rule_actions/index.tsx # x-pack/plugins/siem/public/pages/detection_engine/rules/components/step_rule_actions/schema.tsx # x-pack/plugins/siem/public/pages/detection_engine/rules/components/throttle_select_field/index.tsx
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
…elastic#63677) # Conflicts: # x-pack/plugins/siem/public/alerts/components/rules/description_step/index.tsx # x-pack/plugins/siem/public/alerts/components/rules/step_rule_actions/index.tsx # x-pack/plugins/siem/public/alerts/components/rules/step_rule_actions/schema.tsx # x-pack/plugins/siem/public/alerts/components/rules/throttle_select_field/index.tsx # x-pack/plugins/siem/public/pages/detection_engine/rules/components/description_step/actions_description.tsx # x-pack/plugins/siem/public/pages/detection_engine/rules/components/description_step/throttle_description.tsx
…elastic#63677) # Conflicts: # x-pack/plugins/siem/public/alerts/components/rules/description_step/index.tsx # x-pack/plugins/siem/public/alerts/components/rules/step_rule_actions/index.tsx # x-pack/plugins/siem/public/alerts/components/rules/step_rule_actions/schema.tsx # x-pack/plugins/siem/public/alerts/components/rules/throttle_select_field/index.tsx # x-pack/plugins/siem/public/pages/detection_engine/rules/components/description_step/actions_description.tsx # x-pack/plugins/siem/public/pages/detection_engine/rules/components/description_step/throttle_description.tsx
…elastic#63677) # Conflicts: # x-pack/plugins/siem/public/alerts/components/rules/description_step/index.tsx # x-pack/plugins/siem/public/alerts/components/rules/step_rule_actions/index.tsx # x-pack/plugins/siem/public/alerts/components/rules/step_rule_actions/schema.tsx # x-pack/plugins/siem/public/alerts/components/rules/throttle_select_field/index.tsx # x-pack/plugins/siem/public/pages/detection_engine/rules/components/description_step/actions_description.tsx # x-pack/plugins/siem/public/pages/detection_engine/rules/components/description_step/throttle_description.tsx
…elastic#63677) # Conflicts: # x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/components/description_step/actions_description.tsx # x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/components/description_step/throttle_description.tsx # x-pack/plugins/siem/public/alerts/components/rules/description_step/index.tsx # x-pack/plugins/siem/public/alerts/components/rules/step_rule_actions/index.tsx # x-pack/plugins/siem/public/alerts/components/rules/step_rule_actions/schema.tsx # x-pack/plugins/siem/public/alerts/components/rules/throttle_select_field/index.tsx
|
Pinging @elastic/security-solution (Team: SecuritySolution) |

Summary
Fixes #63332 (comment)

Checklist