POST /admin/compliance/tenants/{tid}/gap-analysis
对比租户当前配置与解析后的合规策略参数,计算合规差距和评分
合规管理 - 合规策略 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
tid |
path |
string |
Yes |
|
|
|
租户ID |
Referenced Schemas
dto.ErrorResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
400 |
|
|
message |
string |
No |
invalid request |
|
|
dto.GapReportResponse
| Field | Type | Required | Example | Constraints | Description |
critical_gaps |
integer |
No |
2 |
|
|
high_gaps |
integer |
No |
3 |
|
|
low_gaps |
integer |
No |
0 |
|
|
medium_gaps |
integer |
No |
1 |
|
|
overall_score |
number |
No |
75 |
|
|
parameters |
array of
See dto.ParameterGapItem |
No |
|
|
|
standards |
array of
string |
No |
|
|
|
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 |
|
|