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

GET /admin/compliance/penetration-test-reports

分页查询所有渗透测试报告的记录

合规管理 - 渗透测试 `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
page query integer No page number
page_size query integer No page size

Responses

StatusDescriptionSchema
200successdto.PenTestReportListResponse
400bad requestdto.ErrorResponse

Referenced Schemas

dto.ErrorResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No 400
message string No invalid request

dto.PenTestReportItem

安全渗透测试报告

FieldTypeRequiredExampleConstraintsDescription
findings integer No 5 发现问题数
next_test_date string No 2026-07-01T00:00:00Z 下次测试
report_id string No pentest_2026q1 报告ID
severity string No medium 严重级别
tested_at string No 2026-04-01T00:00:00Z 测试时间
title string No 2026年Q1渗透测试报告 标题

dto.PenTestReportListResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
items array of

See dto.PenTestReportItem

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