fix(audit): 审计按账号 id 归属并记录来源 IP/UA,登录失败与限速入审计和指标,写入失败计数告警
This commit is contained in:
39 files changed
+794
-161
No files matched your search
@@ -117,6 +117,6 @@ func (a *API) handleCommand(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
a.audit(r, p.Email, "console.command", name)
|
||||
a.audit(r, "console.command", name)
|
||||
writeJSON(w, http.StatusOK, map[string]any{"name": name, "output": output})
|
||||
}
|
||||
Reference in new issue
Block a user