A AuthMS API Wiki API Reference iam.tianv.com →

POST /admin/compliance/tenants/{tid}/readiness/{id}

针对指定合规标准,评估租户当前配置的认证就绪程度,返回未通过控制项和整改建议

合规管理 - 合规策略 `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
tid path string Yes 租户ID
id path string Yes 标准ID

Request Body

Schema: dto.CurrentConfigRequest

FieldTypeRequiredExampleConstraintsDescription
parameters object No

Responses

StatusDescriptionSchema
200OKdto.ReadinessReportResponse
400bad requestdto.ErrorResponse
401unauthorizeddto.ErrorResponse
403forbiddendto.ErrorResponse
500server errordto.ErrorResponse

Referenced Schemas

dto.ErrorResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No 400
message string No invalid request

dto.ParameterGapItem

FieldTypeRequiredExampleConstraintsDescription
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

FieldTypeRequiredExampleConstraintsDescription
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