PUT /admin/compliance/certifications/{id}
更新指定合规认证记录的证书URL、审计日期、审计机构、下次审计日期或认证状态,用于追踪认证生命周期
合规管理 - 合规证据 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
认证记录ID |
Request Body
Schema: dto.UpdateComplianceCertificationRequest
| Field | Type | Required | Example | Constraints | Description |
auditor |
string |
No |
Deloitte |
|
|
certificate_url |
string |
No |
https://trust.example.com/certs/soc2-2026.pdf |
|
|
criteria_scopes |
string |
No |
["Security","Availability"] |
|
|
framework |
string |
No |
SOC2 Type II |
|
|
last_audited_date |
string |
No |
2026-06-15 |
|
|
next_audit_date |
string |
No |
2026-12-15 |
|
|
status |
string |
No |
active |
|
|
Referenced Schemas
dto.CertificationItem
| Field | Type | Required | Example | Constraints | Description |
auditor |
string |
No |
|
|
|
certificate_url |
string |
No |
|
|
|
created_at |
string |
No |
|
|
|
criteria_scopes |
string |
No |
|
|
|
framework |
string |
No |
|
|
|
id |
string |
No |
|
|
|
last_audited_date |
string |
No |
|
|
|
next_audit_date |
string |
No |
|
|
|
status |
string |
No |
|
|
|
dto.CertificationItemResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.CertificationItem |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.ErrorResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
400 |
|
|
message |
string |
No |
invalid request |
|
|