Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActionCount ¶
type AuditStats ¶
type AuditStats struct {
TenantID string `json:"tenant_id"`
GeneratedAt time.Time `json:"generated_at"`
TimeRange string `json:"time_range"`
TotalEvents int `json:"total_events"`
SuccessfulEvents int `json:"successful_events"`
FailedEvents int `json:"failed_events"`
SuccessRate float64 `json:"success_rate"`
ActionBreakdown map[string]int `json:"action_breakdown"`
HourlyDistribution map[string]int `json:"hourly_distribution"`
DailyDistribution map[string]int `json:"daily_distribution"`
TopFailedActions []ActionCount `json:"top_failed_actions"`
TopSecrets []SecretCount `json:"top_secrets"`
TopKeys []KeyCount `json:"top_keys"`
FirstEvent *time.Time `json:"first_event,omitempty"`
LastEvent *time.Time `json:"last_event,omitempty"`
CredsOperations int `json:"creds_operations"`
SecretOperations int `json:"secret_operations"`
KeyOperations int `json:"key_operations"`
}
AuditStats represents comprehensive audit statistics
type CLIContext ¶
type SecretCount ¶
Click to show internal directories.
Click to hide internal directories.