2

Simplify the dashboard recent IP view

This commit is contained in:
2026-03-12 02:15:45 +01:00
parent 7bd3933215
commit a82421ba3f
8 changed files with 404 additions and 57 deletions

View File

@@ -166,6 +166,17 @@ type ActionAvailability struct {
CanClearOverride bool `json:"can_clear_override"`
}
type RecentIPRow struct {
IP string `json:"ip"`
SourceName string `json:"source_name"`
State IPStateStatus `json:"state"`
Events int64 `json:"events"`
LastSeenAt time.Time `json:"last_seen_at"`
Reason string `json:"reason"`
ManualOverride ManualOverride `json:"manual_override"`
Actions ActionAvailability `json:"actions"`
}
type SourceOffset struct {
SourceName string
Path string