POST /admin/compliance/certifications
创建新的合规认证记录
合规管理 - 合规证据 `bearerAuth` application/json
请求体
Schema: service-compliance/internal/handler/dto.CreateCertificationRequest
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
framework |
string |
是 |
SOC2 Type II |
|
|
auditor |
string |
否 |
Example Assurance Ltd |
|
|
certificate_url |
string |
否 |
https://trust.example.com/certs/soc2-2026.pdf |
|
|
criteria_scopes |
string |
否 |
["Security","Availability","Confidentiality"] |
|
|
last_audited_date |
string |
否 |
2026-03-15 |
|
|
next_audit_date |
string |
否 |
2026-09-15 |
|
|
引用的 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 |
|
|