fix: 独立审计日志并补齐令牌身份与失败记录
This commit is contained in:
@@ -193,6 +193,7 @@ func runServe(ctx context.Context, cfg config.Config) error {
|
||||
Tokens: apiTokens,
|
||||
Locks: loginLocks,
|
||||
Logger: slog.Default(),
|
||||
AuditLogger: slog.New(slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelInfo})),
|
||||
TrustedProxies: trustedNets,
|
||||
Identity: idApp,
|
||||
Groups: groupApp,
|
||||
|
||||
Reference in New Issue
Block a user