Versions in this module Expand all Collapse all v0 v0.1.2 Apr 10, 2026 Changes in this version + type AuditProvider interface + AuditStats func() AuditStatsInfo + InteractionsByActor func(actorID string, limit int) []AuditRecordInfo + PolicyDenials func(limit int) []AuditRecordInfo + RecentInteractions func(limit int) []AuditRecordInfo + type AuditRecordInfo struct + ActorID string + ActorType string + Destination string + Endpoint string + HTTPStatusCode int + LatencyMs float64 + OperationType string + PolicyDecision string + PolicyReason string + RecordID string + ResultCount int + Source string + Subject string + Timestamp string + type AuditStatsInfo struct + ByDecision map[string]int + ByOperation map[string]int + DenialRate float64 + FilterRate float64 + InteractionsPerHr map[string]int + TopActors map[string]int + TopSources map[string]int + TotalRecords int + type AuthFailureInfo struct + Endpoint string + IP string + Source string + StatusCode int + Timestamp string + TokenClass string + type Config struct + AdminHandler http.Handler + AdminKey []byte + AuditProvider AuditProvider + DashboardHTML string + Logger *slog.Logger + LogoPNG []byte + Port int + RequireAuth bool + SecurityProvider SecurityProvider + type Dashboard struct + func New(cfg Config) *Dashboard + func (d *Dashboard) Start() error + func (d *Dashboard) Stop() + type LintFinding struct + Check string + Message string + Severity string + type SecurityProvider interface + AuthFailures func(limit int) []AuthFailureInfo + LintFindings func() []LintFinding + SourcePolicies func() []SourcePolicyInfo + type SourcePolicyInfo struct + AllowedDestinations []string + CanRead bool + CanWrite bool + MaxResponseBytes int + MaxResults int + Name string + RateLimit int