You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
370 B
Go
15 lines
370 B
Go
package audit
|
|
|
|
import "time"
|
|
|
|
// Entry represents an audit log entry.
|
|
type Entry struct {
|
|
ID string `json:"id"`
|
|
At time.Time `json:"at"`
|
|
ActorID string `json:"actor_id"`
|
|
ActorEmail string `json:"actor_email"`
|
|
Action string `json:"action"`
|
|
Resource string `json:"resource"`
|
|
Details any `json:"details,omitempty"`
|
|
}
|