{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"DataClassificationCombineRuleCheckDTO":{"example":{"combine":true,"combine_input_data":{"column_content":"1367777xxxx","table_comment":"TEL"},"expression":"A&&B","single_rule_check_list":[{"algorithm_type":"REGEX","expression":"a*","match_type":"CONTENT","rule_code":"A"},{"algorithm_type":"LENGTH_EQ","expression":11,"match_type":"TABLE_COMMENT","rule_code":"B"}]},"properties":{"combine":{"description":"分类ID","type":"boolean"},"combine_input_data":{"description":"模拟数据","properties":{"column_comment":{"description":"列注释模拟数据","maxLength":256,"minLength":0,"type":"string"},"column_content":{"description":"字段内容模拟数据","maxLength":256,"minLength":0,"type":"string"},"column_name":{"description":"列名模拟数据","maxLength":256,"minLength":0,"type":"string"},"database_name":{"description":"库名模拟数据","maxLength":256,"minLength":0,"type":"string"},"table_comment":{"description":"表注释模拟数据","maxLength":256,"minLength":0,"type":"string"},"table_name":{"description":"表名模拟数据","maxLength":256,"minLength":0,"type":"string"}}},"expression":{"description":"条件表达式","maxLength":128,"minLength":1,"type":"string"},"single_rule_check_list":{"description":"条件单规则列表","items":{"$ref":"#/definitions/DataClassificationSingleRuleDTO"},"maxItems":5,"minItems":1,"type":"array"}},"type":"object"},"DataClassificationSingleRuleDTO":{"example":{"builtin_rule_id":null,"category_id":"0cce38e7c28547828905ae9e4f10a4bf","column_expression":"testExpress","commit_expression":"testCommit","content_expression":"testContent","description":"testDess","method":"REGULAR","name":"Special_Administrative_Region_test","rule_type":"CUSTOM","secrecy_level_id":"8a9480ad7e992660017e9a381244000d"},"properties":{"algorithm_type":{"description":"算法类型, REGEX,REGEX_INSENSITIVE,GROOVY,LENGTH_EQ,LENGTH_GT,LENGTH_LT,BUILTIN","enum":["REGEX","REGEX_INSENSITIVE","GROOVY","LENGTH_EQ","LENGTH_GT","LENGTH_LT","BUILTIN"],"maxLength":128,"minLength":1,"type":"string"},"builtin_rule_id":{"description":"内置规则ID","maxLength":128,"minLength":1,"type":"string"},"expression":{"description":"expression","maxLength":65535,"minLength":1,"type":"string"},"match_type":{"description":"匹配类型, CONTENT,COLUMN,COMMIT,TABLE_NAME,TABLE_COMMENT,DATABASE_NAME","enum":["CONTENT","COLUMN","COMMIT","TABLE_NAME","TABLE_COMMENT","DATABASE_NAME"],"maxLength":128,"minLength":1,"type":"string"},"rule_code":{"description":"规则序号,大写字母","maxLength":128,"minLength":1,"type":"string"}},"required":["rule_code","algorithm_type","match_type","expression"],"type":"object"},"ErrorResponse":{"properties":{"error_code":{"description":"错误码","example":"DLS.1000","maxLength":128,"minLength":1,"type":"string"},"error_msg":{"description":"错误描述","example":"process failed","maxLength":10240,"minLength":1,"type":"string"}},"type":"object"}},"description":null,"group_id":"23bb69798aaf409da161a43a90617121","host":"dayu.cn-north-4.myhuaweicloud.com","id":"4ff32a01a9044706a290a2de590aa532","info_version":"v1","method":"post","name":"CheckSecurityDataClassificationCombineRule","parameters":{"X-Auth-Token":{"description":"token","in":"header","maxLength":10240,"minLength":1,"name":"X-Auth-Token","required":true,"type":"string"},"project_id":{"description":"project id","in":"path","maxLength":128,"minLength":1,"name":"project_id","required":true,"type":"string"},"workspace":{"description":"DataArts Studio工作空间ID","in":"header","maxLength":128,"minLength":1,"name":"workspace","required":true,"type":"string"}},"paths":{"/v1/{project_id}/security/data-classification/rule/check":{"post":{"description":"组合识别规则测试","operationId":"CheckSecurityDataClassificationCombineRule","parameters":[{"$ref":"#/parameters/project_id"},{"$ref":"#/parameters/workspace"},{"$ref":"#/parameters/X-Auth-Token"},{"description":"敏感数据识别组合规则传输层DTO对象","in":"body","name":"CheckSecurityDataClassificationCombineRuleRequestBody","required":true,"schema":{"$ref":"#/definitions/DataClassificationCombineRuleCheckDTO"}}],"produces":["application/json"],"responses":{"204":{"description":"No Content"},"400":{"description":"Bad Request","schema":{"$ref":"#/definitions/ErrorResponse"}}},"summary":"组合识别规则测试","tags":["识别规则接口"],"x-is-registered":"Y","x-request-examples-1":{"combine":true,"combine_input_data":{"column_content":"1367777xxxx","column_name":"MOL_TEL","table_comment":"TEL"},"expression":"A&&B","single_rule_check_list":[{"algorithm_type":"REGEX","expression":"a*","match_type":"CONTENT","rule_code":"A"},{"algorithm_type":"LENGTH_EQ","expression":11,"match_type":"TABLE_COMMENT","rule_code":"B"}]},"x-request-examples-url-1":"/v1/0833a5737480d53b2f25c010dc1a7b88/security/data-classification/rule/{id}","x-support-sdk":"Y"}}},"product_short":"DataArtsStudio","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"组合识别规则测试","tags":"识别规则接口","uri":null,"version":"2.0"}