Update Rule
Update an existing detection rule. Creates a new version.Endpoint
Authentication
Requires JWT token with Analyst or Admin role.Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | Rule UUID |
Request Body
Fields
| Field | Type | Description |
|---|---|---|
yaml_content | string | Updated Sigma YAML |
redeploy | boolean | Redeploy if currently deployed |
webhook_enabled | boolean | Enable/disable webhooks |
jira_enabled | boolean | Enable/disable Jira |
Example Request
Response
Version History
Every update creates a new version:- Previous YAML content preserved
- Version number incremented
- Change attributed to user
- Rollback possible via versions API
Redeploy Behavior
| Current Status | redeploy: true | redeploy: false |
|---|---|---|
| Deployed | Update percolator | Update only DB, percolator unchanged |
| Undeployed | No effect | No effect |
| Snoozed | No effect (stays snoozed) | No effect |