Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alert ¶
type Alert struct { AlertID uint32 `gorm:"primary_key"` AlertConditionID uint32 Description string Severity string ProjectID uint32 Status string CreatedAt time.Time UpdatedAt time.Time }
Alert entity model
type AlertCondNotification ¶
type AlertCondNotification struct { AlertConditionID uint32 NotificationID uint32 ProjectID uint32 CacheSecond uint32 NotifiedAt time.Time CreatedAt time.Time UpdatedAt time.Time }
AlertCondNotification entity model
type AlertCondRule ¶
type AlertCondRule struct { AlertConditionID uint32 AlertRuleID uint32 ProjectID uint32 CreatedAt time.Time UpdatedAt time.Time }
AlertCondRule entity model
type AlertCondition ¶
type AlertCondition struct { AlertConditionID uint32 `gorm:"primary_key"` Description string Severity string ProjectID uint32 AndOr string Enabled bool CreatedAt time.Time UpdatedAt time.Time }
AlertCondition entity model
type AlertHistory ¶
type AlertHistory struct { AlertHistoryID uint32 `gorm:"primary_key"` HistoryType string FindingHistory string AlertID uint32 Description string Severity string ProjectID uint32 CreatedAt time.Time UpdatedAt time.Time }
AlertHistory entity model
type AlertRule ¶
type AlertRule struct { AlertRuleID uint32 `gorm:"primary_key"` Name string ProjectID uint32 Score float32 ResourceName string Tag string FindingCnt uint32 CreatedAt time.Time UpdatedAt time.Time }
AlertRule entity model
Click to show internal directories.
Click to hide internal directories.