/admin/compliance/vendor-risk-assessment
分页查询所有供应商安全风险评估记录
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
|---|---|---|---|---|---|---|---|
vendor_name |
query |
string |
No | vendor name filter | |||
page |
query |
integer |
No | page number | |||
page_size |
query |
integer |
No | page size | |||
sort_by |
query |
string |
No | sort field | |||
sort_order |
query |
string |
No | sort order |
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | success | dto.VendorRiskAssessmentListResponse |
| 400 | bad request | dto.ErrorResponse |
Referenced Schemas
dto.ErrorResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | 400 |
||
message |
string |
No | invalid request |
dto.VendorRiskAssessmentListResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | |||
items |
array of |
No | 统一使用 items | ||
message |
string |
No | |||
pagination |
object |
No | 分页信息(嵌套对象) | ||
timestamp |
string |
No | |||
total |
integer |
No | 总条数(平铺,便于直接读取) |
dto.VendorRiskAssessmentResponse
供应商风险评估结果
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
assessment_date |
string |
No | 2026-04-01T00:00:00Z |
评估日期 | |
compliance_certifications |
array of string |
No | ['["SOC2"', '"ISO27001"]'] |
合规认证 | |
risk_factors |
array of string |
No | ['["数据中心位置"', '"数据加密"]'] |
风险因素 | |
risk_level |
string |
No | medium |
风险等级 | |
risk_score |
integer |
No | 35 |
风险评分 | |
valid_until |
string |
No | 2027-04-01T00:00:00Z |
有效期 | |
vendor_id |
string |
No | vendor_001 |
供应商ID |
gitee_com_linmes_authms_base_dto.PageInfo
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
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 |