mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(enterprise/audit): add user object to slog exporter (#9456)
This commit is contained in:
@@ -50,7 +50,9 @@ func (r *RootCmd) server() *clibase.Cmd {
|
||||
}
|
||||
}
|
||||
options.DERPServer.SetMeshKey(meshKey)
|
||||
options.Auditor = audit.NewAuditor(audit.DefaultFilter,
|
||||
options.Auditor = audit.NewAuditor(
|
||||
options.Database,
|
||||
audit.DefaultFilter,
|
||||
backends.NewPostgres(options.Database, true),
|
||||
backends.NewSlog(options.Logger),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user