PUT /admin/compliance/dengbao/controls/{id}
更新指定等级保护(Dengbao)安全控制项的状态和证据
合规管理 - 等保 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
control ID |
Request Body
Schema: dto.UpdateDengbaoControlRequest
| Field | Type | Required | Example | Constraints | Description |
category |
string |
No |
物理安全 |
|
|
description |
string |
No |
机房应具备防火、防水、防雷等物理防护措施 |
|
|
evidence_url |
string |
No |
https://docs.example.com/dengbao/G3-01 |
|
|
level |
string |
No |
Level 3 |
|
|
name |
string |
No |
安全物理环境 |
|
|
status |
string |
No |
compliant |
|
|
Referenced Schemas
dto.DengbaoControlItem
| Field | Type | Required | Example | Constraints | Description |
category |
string |
No |
物理安全 |
|
|
control_id |
string |
No |
G3-01 |
|
|
control_name |
string |
No |
安全物理环境 |
|
|
evidence_url |
string |
No |
https://docs.example.com/... |
|
|
id |
string |
No |
01JQ... |
|
|
last_reviewed |
string |
No |
2026-04-01T00:00:00Z |
|
|
status |
string |
No |
non_compliant |
|
|
dto.DengbaoControlItemResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.DengbaoControlItem |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.ErrorResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
400 |
|
|
message |
string |
No |
invalid request |
|
|