fix: preserve alert configuration intent

This commit is contained in:
zxr
2026-07-21 22:15:59 +08:00
parent 7e61f330dc
commit b4dba77229
8 changed files with 51 additions and 26 deletions

View File

@@ -76,6 +76,8 @@ export interface SyslogRule {
keyword_regex: string
source_match: string
message_regex: string
recovery_match_regex: string
lifecycle_key: string
alert_name: string
severity_code: string
severity_mapping_json: string
@@ -92,6 +94,8 @@ export interface TrapRule {
priority: number
oid_prefix: string
varbind_match_regex: string
recovery_match_regex: string
lifecycle_key: string
alert_name: string
severity_code: string
policy_id: number