POST /admin/compliance/certifications
创建新的合规认证记录
合规管理 - 合规证据 `bearerAuth` application/json
Request Body
Schema: dto.CreateCertificationRequest
| Field | Type | Required | Example | Constraints | Description |
framework |
string |
Yes |
SOC2 Type II |
|
|
auditor |
string |
No |
Ernst & Young |
|
|
certificate_url |
string |
No |
https://trust.example.com/certs/soc2-2026.pdf |
|
|
criteria_scopes |
string |
No |
["Security","Availability","Confidentiality"] |
|
|
last_audited_date |
string |
No |
2026-03-15 |
|
|
next_audit_date |
string |
No |
2026-09-15 |
|
|
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 |
|
|