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

PUT /admin/compliance/profile

创建或更新租户的合规配置

合规管理 - Trust Center `bearerAuth` application/json

Request Body

Schema: dto.UpsertComplianceProfileRequest

FieldTypeRequiredExampleConstraintsDescription
ai_review_required boolean No False
auto_delete_enabled boolean No
breach_report_threshold integer No 1
consent_ttl_years integer No 1
data_protection_officer string No dpo@example.com
default_retention_days integer No 365
enabled_frameworks array of

string

No ['["gdpr"', '"iso27001"', '"sox"]']
max_concurrent_erasures integer No 10
pen_test_schedule_days integer No 365
score_weights string No {"iso27001":0.25,"soc2":0.15,"gdpr":0.15,"issues":0.25,"pen_test":0.10,"breach":0.10}
selected_standards array of

string

No ['["pci_dss_v4"', '"dengbao_l3"]']
sod_auto_init_enabled boolean No True

Responses

StatusDescriptionSchema
200successdto.ComplianceProfileResponse
400bad requestdto.ErrorResponse

Referenced Schemas

dto.ComplianceProfileResponse

FieldTypeRequiredExampleConstraintsDescription
ai_review_required boolean No False
auto_delete_enabled boolean No True
breach_report_threshold integer No 1
consent_ttl_years integer No 1
data_protection_officer string No dpo@example.com
default_retention_days integer No 365
enabled_frameworks array of

string

No ['["gdpr"', '"iso27001"', '"sox"]']
max_concurrent_erasures integer No 10
pen_test_schedule_days integer No 365
score_weights string No {"iso27001":0.25,"soc2":0.15,"gdpr":0.15,"issues":0.25,"pen_test":0.10,"breach":0.10}
selected_standards array of

string

No ['["pci_dss_v4"', '"dengbao_l3"]']
sod_auto_init_enabled boolean No True
tenant_id string No 01JQ...

dto.ErrorResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No 400
message string No invalid request