Update a detection rule

PUT /api/detection_engine/rules

Update a detection rule using the rule_id or id field. The original rule is replaced, and all unspecified fields are deleted.

You cannot modify the id or rule_id values.

application/json; Elastic-Api-Version=2023-10-31

Body object Required

Any of: