Skip to content

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

Needs read:rules.

Get Rules

Responses

  • 200 Successful Response: object

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

  • 200 Successful Response: object

PUT /rules/{rule_id}

Needs update:rules.

Update Rule

Path parameters

Name Type Required Description
rule_id string yes

Responses

  • 200 Successful Response: object

DELETE /rules/{rule_id}

Needs delete:rules.

Delete Rule

Path parameters

Name Type Required Description
rule_id string yes

Responses

  • 200 Successful Response: object