mirror of
https://github.com/coder/coder.git
synced 2025-07-08 11:39:50 +00:00
feat(enterprise/audit): add user object to slog exporter (#9456)
This commit is contained in:
@ -30,7 +30,7 @@ func (b *postgresBackend) Decision() audit.FilterDecision {
|
||||
return audit.FilterDecisionExport
|
||||
}
|
||||
|
||||
func (b *postgresBackend) Export(ctx context.Context, alog database.AuditLog) error {
|
||||
func (b *postgresBackend) Export(ctx context.Context, alog database.AuditLog, _ audit.BackendDetails) error {
|
||||
_, err := b.db.InsertAuditLog(ctx, database.InsertAuditLogParams(alog))
|
||||
if err != nil {
|
||||
return xerrors.Errorf("insert audit log: %w", err)
|
||||
|
Reference in New Issue
Block a user