Correlation rules
Generated from openapi.json (API version 0.54.3). 4 endpoints. See the API overview for the base URL and how to sign requests.
Get Rules
Section titled “Get Rules”GET /rules
Needs read:rules.
Get Rules
Responses
200Successful Response: object
Create Rule
Section titled “Create Rule”POST /rules
Needs write:rules.
Create Rule
Body (application/json, required): RuleCreateDto
| Field | Type | Required | Description |
|---|---|---|---|
ruleName |
string | yes | |
sqlQuery |
object | yes | |
celQuery |
string | yes | |
timeframeInSeconds |
integer | yes | |
timeUnit |
string | yes | |
groupingCriteria |
array of object | no | |
groupDescription |
string or null | no | |
requireApprove |
boolean | no | |
resolveOn |
string | no | |
createOn |
string | no | |
incidentNameTemplate |
string or null | no | |
incidentPrefix |
string or null | no | |
multiLevel |
boolean | no | |
multiLevelPropertyName |
string or null | no | |
threshold |
integer | no | |
assignee |
string or null | no |
Responses
200Successful Response: object
Update Rule
Section titled “Update Rule”PUT /rules/{rule_id}
Needs update:rules.
Update Rule
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
rule_id |
string | yes |
Responses
200Successful Response: object
Delete Rule
Section titled “Delete Rule”DELETE /rules/{rule_id}
Needs delete:rules.
Delete Rule
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
rule_id |
string | yes |
Responses
200Successful Response: object