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

POST /admin/compliance/vendor-risk-assessment

为指定供应商创建安全风险评估

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

Request Body

Schema: dto.VendorRiskAssessmentRequest

FieldTypeRequiredExampleConstraintsDescription
remarks string Yes 评估通过 评估备注
risk_level string Yes medium 风险等级
score integer Yes 35 风险评分
vendor_name string Yes CloudProvider XYZ 供应商名称

Responses

StatusDescriptionSchema
201createddto.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