Audit API token lifecycle actions

This commit is contained in:
Joe Julian
2026-04-10 23:40:34 -07:00
parent 8dfba6e94f
commit 533fb2d550
4 changed files with 62 additions and 3 deletions
+1
View File
@@ -75,6 +75,7 @@ func run(w *app.Window, mode string, paths statePaths, grpcAddr string) error {
} else if host != nil {
ui.apiHost = host
ui.auditLog = host.Server().AuditLog()
ui.state.AuditLog = ui.auditLog
ui.grpcAddress = host.Address()
ui.state.Approvals = &uiApprovalManager{server: host.Server()}
defer func() { _ = host.Stop() }()