Documentation
¶
Index ¶
Constants ¶
View Source
const ( EventAuthLogin = "auth.login" EventAuthLogout = "auth.logout" EventServerStart = "server.start" EventServerStop = "server.stop" EventServerRestart = "server.restart" EventServerCreate = "server.create" EventServerUpdate = "server.update" EventServerDelete = "server.delete" EventServerPrivilegedOverrides = "server.privileged_overrides" )
Event names written by the audit trail (MINE-141, SEC-3).
Variables ¶
This section is empty.
Functions ¶
func List ¶
func List(db *gorm.DB, serverID, actor string, since time.Time, limit int) ([]storage.ActivityLog, error)
List returns newest-first records filtered by server, actor and time.
Types ¶
Click to show internal directories.
Click to hide internal directories.