IP阈值动作增加WebHook

This commit is contained in:
刘祥超
2021-09-14 15:27:48 +08:00
parent 51b938b9c7
commit ea915582c1
3 changed files with 14 additions and 4 deletions

View File

@@ -7,6 +7,7 @@ type NodeIPAddressThreshold struct {
Items string `field:"items"` // 阈值条目
Actions string `field:"actions"` // 动作
NotifiedAt uint64 `field:"notifiedAt"` // 上次通知时间
IsMatched uint8 `field:"isMatched"` // 上次是否匹配
State uint8 `field:"state"` // 状态
Order uint32 `field:"order"` // 排序
}
@@ -17,6 +18,7 @@ type NodeIPAddressThresholdOperator struct {
Items interface{} // 阈值条目
Actions interface{} // 动作
NotifiedAt interface{} // 上次通知时间
IsMatched interface{} // 上次是否匹配
State interface{} // 状态
Order interface{} // 排序
}