POST /admin/compliance/evidence
上传一条合规证据(如审计文档、截图等)
合规管理 - 合规证据 `bearerAuth` application/json
Request Body
Schema: dto.CreateEvidenceRequest
| Field | Type | Required | Example | Constraints | Description |
collected_at |
string |
Yes |
2026-05-01T10:00:00Z |
|
|
collector_id |
string |
Yes |
usr_auditor_001 |
|
|
control_id |
string |
Yes |
01JQ... |
|
|
control_type |
string |
Yes |
iso27001 |
|
|
file_url |
string |
Yes |
https://docs.example.com/evidence/ac-policy.pdf |
|
|
title |
string |
Yes |
访问控制策略审批记录 |
|
|
description |
string |
No |
A.9.1.2 访问控制策略的年度审批记录 |
|
|
Referenced Schemas
dto.ErrorResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
400 |
|
|
message |
string |
No |
invalid request |
|
|
dto.EvidenceItem
| Field | Type | Required | Example | Constraints | Description |
collected_at |
string |
No |
2026-05-01T10:00:00Z |
|
|
collector_id |
string |
No |
usr_auditor_001 |
|
|
control_id |
string |
No |
01JQ... |
|
|
control_type |
string |
No |
iso27001 |
|
|
created_at |
string |
No |
2026-05-01T10:00:00Z |
|
|
description |
string |
No |
Annual approval record for A.9.1.2 |
|
|
file_url |
string |
No |
https://docs.example.com/evidence/ac-policy.pdf |
|
|
id |
string |
No |
01JQ... |
|
|
title |
string |
No |
Access Control Policy Approval |
|
|
dto.EvidenceItemResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.EvidenceItem |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|