Skip to main content

Update Rule

PUT 

/api/v1/rules-v2/:name

Replace a detection rule's label, description, severity, and detection.

The replacement is one detection form, as on create. It does not record a source or a hunt. A replacement the hunt runner would refuse is 422 and the stored rule is left as it was.

A production+team write is routed to a review branch instead of the branch the runner git-syncs, and the X-DFE-Review-Required header says so.

Request​

Responses​

Successful Response