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

PUT /admin/compliance/vendor-risk-assessment/{id}

更新供应商风险评估的结果和风险等级

合规管理 - 供应商风险 `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes assessment ID

Request Body

Schema: dto.UpdateVendorRiskAssessmentRequest

FieldTypeRequiredExampleConstraintsDescription
remarks string No 评估通过
risk_level string No medium
score integer No 35

Responses

StatusDescriptionSchema
200successdto.VendorRiskAssessmentDetailResponse
400bad requestdto.ErrorResponse

Referenced Schemas

dto.ErrorResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No 400
message string No invalid request

dto.VendorRiskAssessmentDetailResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.VendorRiskAssessmentResponse No
message string No
timestamp string No

dto.VendorRiskAssessmentResponse

供应商风险评估结果

FieldTypeRequiredExampleConstraintsDescription
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