MGCWardenAuditHealthRule
One audit health alert rule: the measure it watches, its threshold, window, severity and re-alert interval, and the result of its last evaluation. Shared across companies. Users set rules on the Audit health alert rules page, Warden adds the default rules when there are none, and the Audit health monitor job records each evaluation. Exposed as WardenAuditHealthRules.
Fields
| Name | Type | Mandatory | Description |
|---|---|---|---|
RuleId | str | Yes | |
Description | str | No | |
Metric | MGCWardenAuditHealthMetric | No | |
ThresholdValue | int64 | No | The rule breaches when the observed value is strictly greater than this threshold, so a threshold of zero means "any occurrence breaches". |
WindowMinutes | int | No | Rolling window the metric is measured over. Ignored by point-in-time metrics (writer lag, queue depth). |
Severity | MGCWardenExceptionSeverity | No | Severity carried onto the execution exception raised when this rule breaches. |
ReAlertMinutes | int | No | Minimum gap between two alerts for the same rule. A rule that stays breached is not re-alerted inside this interval; the rule state still updates every run. |
Enabled | NoYes | No | |
State | MGCWardenAuditHealthState | No | |
LastObservedValue | int64 | No | |
LastEvaluatedDateTime | TransDateTime | No | |
LastBreachDateTime | TransDateTime | No | |
LastAlertDateTime | TransDateTime | No |