diff --git a/audit_events.go b/audit_events.go index 95227c476..6358f0ea0 100644 --- a/audit_events.go +++ b/audit_events.go @@ -16,6 +16,7 @@ type AuditEvent struct { EntityType string `json:"entity_type"` Details AuditEventDetails `json:"details"` CreatedAt *time.Time `json:"created_at"` + EventType string `json:"event_type"` } // AuditEventDetails represents the details portion of an audit event for @@ -33,6 +34,8 @@ type AuditEventDetails struct { Remove string `json:"remove"` CustomMessage string `json:"custom_message"` AuthorName string `json:"author_name"` + AuthorEmail string `json:"author_email"` + AuthorClass string `json:"author_class"` TargetID interface{} `json:"target_id"` TargetType string `json:"target_type"` TargetDetails string `json:"target_details"`