POST /admin/compliance/dengbao/controls
Create a Dengbao security control item record
Compliance Management - Dengbao `bearerAuth` application/json
Request Body
Schema: dto.CreateDengbaoControlRequest
| Field | Type | Required | Example | Constraints | Description |
code |
string |
Yes |
G3-01 |
|
|
level |
string |
Yes |
Level 3 |
|
|
name |
string |
Yes |
Secure physical environment |
|
|
category |
string |
No |
Physical security |
|
|
description |
string |
No |
Server room should have physical protection measures such as fire, water, lightning protection |
|
|
evidence_url |
string |
No |
https://docs.example.com/dengbao/G3-01 |
|
|
status |
string |
No |
non_compliant |
|
|
Referenced Schemas
dto.DengbaoControlItem
| Field | Type | Required | Example | Constraints | Description |
category |
string |
No |
Physical security |
|
|
control_id |
string |
No |
G3-01 |
|
|
control_name |
string |
No |
Secure physical environment |
|
|
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 |
|
|