A AuthMS API Wiki API Reference iam.tianv.com →

GET /admin/mfa/config-audit-logs

查询MFA配置变更的审计日志,支持按操作类型、目标类型、操作者、日期范围筛选。需要管理员权限。

MFA `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
action query string No 操作类型过滤
target_type query string No 目标类型过滤
operator_id query string No 操作者ID过滤
start_date query string No 开始日期(YYYY-MM-DD)
end_date query string No 结束日期(YYYY-MM-DD)
page query integer No 页码
page_size query integer No 每页条数

Responses

StatusDescriptionSchema
200审计日志查询结果dto.MFAConfigAuditLogListResponse
400参数错误gitee_com_linmes_authms_base_dto.SimpleResponse
401未认证gitee_com_linmes_authms_base_dto.SimpleResponse
403权限不足gitee_com_linmes_authms_base_dto.SimpleResponse
500服务器内部错误gitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.MFAConfigAuditLogItem

FieldTypeRequiredExampleConstraintsDescription
action string No mfa_totp.enabled
id string No log_abc123
message string No TOTP enabled successfully
module string No data
operator_id string No usr_admin
target_id string No mfa_abc123
target_type string No mfa_totp
tenant_id string No tnt_001
timestamp string No 2026-05-15T10:00:00Z

dto.MFAConfigAuditLogListResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
items array of

See dto.MFAConfigAuditLogItem

No 统一使用 items
message string No
pagination object No 分页信息(嵌套对象)
timestamp string No
total integer No 总条数(平铺,便于直接读取)

gitee_com_linmes_authms_base_dto.PageInfo

FieldTypeRequiredExampleConstraintsDescription
has_next boolean No HasNext indicates whether there is a next page
has_prev boolean No HasPrev indicates whether there is a previous page
page integer No Page is the current page number (1-based)
page_size integer No PageSize is the number of items per page
total integer No Total is the total number of items across all pages
total_pages integer No TotalPages is the total number of pages

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No