/admin/compliance/tenants/self/standards
Updates the compliance standards configuration for the calling tenant (tenant_id derived from JWT context)
请求体
Schema: service-compliance/internal/handler/dto.TenantStandardsRequest
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
standards |
array of string |
是 | ['["pci_dss_v4"', '"dengbao_l3"]'] |
响应
| 状态 | 描述 | Schema |
|---|---|---|
| 200 | Standards updated | service-compliance/internal/handler/dto.StandardsUpdatedResponse |
| 401 | unauthorized | service-compliance/internal/handler/dto.ErrorResponse |
| 403 | forbidden | service-compliance/internal/handler/dto.ErrorResponse |
| 500 | server error | service-compliance/internal/handler/dto.ErrorResponse |
引用的 Schema
service-compliance/internal/handler/dto.ErrorResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
code |
integer |
否 | 400 |
||
message |
string |
否 | invalid request |
service-compliance/internal/handler/dto.StandardsUpdatedResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
parameter_count |
integer |
否 | |||
resolved_at |
string |
否 | |||
standards |
array of string |
否 |