PUT /admin/compliance/pcidss/controls/{id}
更新指定PCI DSS安全控制项的状态和证据
合规管理 - PCI DSS `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
control ID |
Request Body
Schema: dto.UpdatePCIDSSControlRequest
| Field | Type | Required | Example | Constraints | Description |
category |
string |
No |
Build and Maintain a Secure Network |
|
|
description |
string |
No |
Install and maintain a firewall configuration |
|
|
evidence_url |
string |
No |
https://docs.example.com/pcidss/Req.1.1 |
|
|
name |
string |
No |
Install and maintain a firewall |
|
|
status |
string |
No |
compliant |
|
|
Referenced Schemas
dto.ErrorResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
400 |
|
|
message |
string |
No |
invalid request |
|
|
dto.PCIDSSControlItem
| Field | Type | Required | Example | Constraints | Description |
category |
string |
No |
Build and Maintain a Secure Network |
|
|
control_id |
string |
No |
Req.1.1 |
|
|
control_name |
string |
No |
Install and maintain a firewall |
|
|
evidence_url |
string |
No |
https://docs.example.com/... |
|
|
id |
string |
No |
01JQ... |
|
|
last_reviewed |
string |
No |
2026-04-01T00:00:00Z |
|
|
status |
string |
No |
compliant |
|
|
dto.PCIDSSControlItemResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.PCIDSSControlItem |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|