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

GET /auth/me/security-events

分页获取用户的安全相关事件(异常登录、密码变更、MFA变更等) 自动过滤已dismiss的事件

账户管理 `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
page query integer No 1 页码
page_size query integer No 20 每页条数

Responses

StatusDescriptionSchema
200成功dto.SecurityEventListResponse

Referenced Schemas

dto.SecurityEventListResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
items array of

See dto.SecurityEventResponse

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

dto.SecurityEventResponse

用户安全事件

FieldTypeRequiredExampleConstraintsDescription
created_at string No 2026-04-15T10:30:00Z 事件时间
description string No New login from Beijing, CN 描述
dismissed boolean No False 是否已处理
id string No evt_abc123 事件ID
ip string No 203.0.113.1 来源IP
location string No Beijing, CN 来源位置
severity string No medium 严重级别
type string No anomalous_login 事件类型

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