Incident Class

An alert incident indicates the activation status of an alert rule.

Variables are only populated by the server, and will be ignored when sending a request.

Constructor

Incident(**kwargs: Any)

Variables

Name Description
name
str

Incident name.

rule_name
str

Rule name that is associated with the incident.

is_active

A boolean to indicate whether the incident is active or resolved.

activated_time

The time at which the incident was activated in ISO8601 format.

resolved_time

The time at which the incident was resolved in ISO8601 format. If null, it means the incident is still active.