POST /admin/compliance/tenants/{tid}/readiness/{id}
针对指定合规标准,评估租户当前配置的认证就绪程度,返回未通过控制项和整改建议
合规管理 - 合规策略 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
tid |
path |
string |
Yes |
|
|
|
租户ID |
id |
path |
string |
Yes |
|
|
|
标准ID |
Referenced Schemas
dto.ErrorResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
400 |
|
|
message |
string |
No |
invalid request |
|
|
dto.ParameterGapItem
| Field | Type | Required | Example | Constraints | Description |
compliant |
boolean |
No |
False |
|
|
control_ref |
string |
No |
pci_8.6.3 |
|
|
current |
object |
No |
8 |
|
|
description |
string |
No |
最小密码长度 (单因子) |
|
|
operator |
string |
No |
gte |
|
|
parameter |
string |
No |
password_min_length_sfa |
|
|
required |
object |
No |
12 |
|
|
severity |
string |
No |
critical |
|
|
standard |
string |
No |
pci_dss_v4 |
|
|
dto.ReadinessReportResponse
| Field | Type | Required | Example | Constraints | Description |
compliance_rate |
number |
No |
77.8 |
|
|
failed_controls |
array of
See dto.ParameterGapItem |
No |
|
|
|
passed_controls |
integer |
No |
7 |
|
|
ready_for_audit |
boolean |
No |
False |
|
|
recommendations |
array of
string |
No |
|
|
|
standard_id |
string |
No |
pci_dss_v4 |
|
|
standard_name |
string |
No |
PCI DSS v4.0.1 |
|
|
total_controls |
integer |
No |
9 |
|
|