PUT /admin/compliance/certifications/{certification_id}
更新指定合规认证记录的证书URL、审计日期、审计机构、下次审计日期或认证状态,用于追踪认证生命周期
合规管理 - 合规证据 `bearerAuth` application/json
请求参数
| 名称 | 位置 | 类型 | 必填 | 默认值 | 示例 | 约束 | 描述 |
certification_id |
path |
string |
是 |
|
|
|
认证记录ID |
请求体
Schema: service-compliance/internal/handler/dto.UpdateComplianceCertificationRequest
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
auditor |
string |
否 |
Deloitte |
|
|
certificate_url |
string |
否 |
https://trust.example.com/certs/soc2-2026.pdf |
|
|
criteria_scopes |
string |
否 |
["Security","Availability"] |
|
|
framework |
string |
否 |
SOC2 Type II |
|
|
last_audited_date |
string |
否 |
2026-06-15 |
|
|
next_audit_date |
string |
否 |
2026-12-15 |
|
|
status |
string |
否 |
active |
|
|
引用的 Schema
service-compliance/internal/handler/dto.CertificationItem
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
auditor |
string |
否 |
|
|
|
certificate_url |
string |
否 |
|
|
|
created_at |
string |
否 |
|
|
|
criteria_scopes |
string |
否 |
|
|
|
framework |
string |
否 |
|
|
|
id |
string |
否 |
|
|
|
last_audited_date |
string |
否 |
|
|
|
next_audit_date |
string |
否 |
|
|
|
status |
string |
否 |
|
|
|
service-compliance/internal/handler/dto.CertificationItemResponse
service-compliance/internal/handler/dto.ErrorResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
code |
integer |
否 |
400 |
|
|
message |
string |
否 |
invalid request |
|
|