Skip to main content

Update Rule

PUT 

/api/v1/rules/:name

Replace a detection rule (re-runs creation pipeline, preserves created_at).

A replacement the hunt runner could not compile is refused with 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