diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/sddp/2019-01-03 | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/en_us/sddp/2019-01-03')
| -rw-r--r-- | data/en_us/sddp/2019-01-03/api-docs.php | 19504 |
1 files changed, 9157 insertions, 10347 deletions
diff --git a/data/en_us/sddp/2019-01-03/api-docs.php b/data/en_us/sddp/2019-01-03/api-docs.php index bbacfa8..e2e2822 100644 --- a/data/en_us/sddp/2019-01-03/api-docs.php +++ b/data/en_us/sddp/2019-01-03/api-docs.php @@ -1,453 +1,377 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Sddp', - 'version' => '2019-01-03', - ], + 'info' => ['style' => 'RPC', 'product' => 'Sddp', 'version' => '2019-01-03'], 'directories' => [ [ - 'id' => 262682, - 'title' => null, + 'children' => ['DescribeAuditLogs'], 'type' => 'directory', - 'children' => [ - 'DescribeAuditLogs', - ], + 'title' => 'Data audit', ], [ - 'id' => 262684, - 'title' => null, + 'children' => ['CreateSlrRole'], 'type' => 'directory', - 'children' => [ - 'CreateSlrRole', - ], + 'title' => 'Service-linked role', ], [ - 'id' => 262686, - 'title' => null, + 'children' => ['DeleteDataLimit', 'DescribeDataLimits', 'ModifyDataLimit', 'DescribeDataLimitDetail', 'CreateDataLimit', 'DescribeDataLimitSet', 'DescribeInstanceSources', 'DescribeParentInstance'], 'type' => 'directory', - 'children' => [ - 'DeleteDataLimit', - 'DescribeDataLimits', - 'ModifyDataLimit', - 'DescribeDataLimitDetail', - 'CreateDataLimit', - 'DescribeDataLimitSet', - 'DescribeInstanceSources', - 'DescribeParentInstance', - ], + 'title' => 'Authorization', ], [ - 'id' => 262695, - 'title' => null, + 'children' => ['ScanOssObjectV1', 'CreateScanTask', 'ModifyDefaultLevel', 'ModifyRuleStatus'], 'type' => 'directory', - 'children' => [ - 'ScanOssObjectV1', - 'CreateScanTask', - 'ModifyDefaultLevel', - 'ModifyRuleStatus', - 'ModifyRule', - 'DeleteRule', - 'CreateRule', - ], + 'title' => 'Detection configuration', ], [ - 'id' => 262703, - 'title' => null, + 'children' => ['DescribeRules', 'DescribeRiskLevels', 'DescribeDataAssets', 'DescribeTables', 'DescribeColumns', 'DescribeColumnsV2', 'DescribeOssObjects', 'DescribeOssObjectDetail', 'DescribeOssObjectDetailV2', 'DescribePackages', 'DescribeCategoryTemplateList', 'DescribeCategoryTemplateRuleList', 'DescribeTemplateAllRules', 'DescribeDocTypes', 'DescribeDataObjects', 'DescribeDataObjectColumnDetail', 'DescribeDataObjectColumnDetailV2'], 'type' => 'directory', - 'children' => [ - 'DescribeRules', - 'DescribeRiskLevels', - 'DescribeDataAssets', - 'DescribeInstances', - 'DescribeTables', - 'DescribeColumns', - 'DescribeColumnsV2', - 'DescribeOssObjects', - 'DescribeOssObjectDetail', - 'DescribeOssObjectDetailV2', - 'DescribePackages', - 'DescribeCategoryTemplateList', - 'DescribeCategoryTemplateRuleList', - 'DescribeTemplateAllRules', - 'DescribeDocTypes', - 'DescribeDataObjects', - 'DescribeDataObjectColumnDetail', - 'DescribeDataObjectColumnDetailV2', - ], + 'title' => 'Data detection', ], [ - 'id' => 262722, - 'title' => null, + 'children' => ['DescribeConfigs', 'ModifyReportTaskStatus', 'DescribeUserStatus', 'DisableUserConfig'], 'type' => 'directory', - 'children' => [ - 'CreateConfig', - 'DescribeConfigs', - 'ModifyReportTaskStatus', - 'DescribeUserStatus', - 'DisableUserConfig', - ], + 'title' => 'Security configuration', ], [ - 'id' => 262728, - 'title' => null, + 'children' => ['ModifyEventTypeStatus', 'ModifyEventStatus', 'DescribeEventDetail', 'DescribeEventTypes'], 'type' => 'directory', - 'children' => [ - 'ModifyEventTypeStatus', - 'ModifyEventStatus', - 'DescribeEvents', - 'DescribeEventDetail', - 'DescribeEventTypes', - ], - ], - [ - 'id' => 262734, - 'title' => null, - 'type' => 'directory', - 'children' => [ - 'DescribeDataMaskingTasks', - 'DescribeDataMaskingRunHistory', - 'ExecDatamask', - 'StopMaskingProcess', - 'ManualTriggerMaskingProcess', - ], + 'title' => 'Anomaly alert', ], [ - 'id' => 262740, - 'title' => null, + 'children' => ['DescribeDataMaskingTasks', 'DescribeDataMaskingRunHistory', 'ExecDatamask', 'StopMaskingProcess', 'ManualTriggerMaskingProcess'], 'type' => 'directory', - 'children' => [ - 'DescribeIdentifyTaskStatus', - ], + 'title' => 'Data masking', ], [ - 'id' => 0, - 'title' => '其它', + 'children' => ['DescribeIdentifyTaskStatus', 'CreateConfig', 'CreateRule', 'DeleteRule', 'DescribeEvents', 'DescribeInstances', 'MaskOssImage', 'ModifyRule', 'RestoreOssImage'], 'type' => 'directory', - 'children' => [ - 'RestoreOssImage', - 'MaskOssImage', - ], + 'title' => 'Others', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'DescribeAuditLogs' => [ - 'summary' => '查询审计告警日志列表', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateConfig' => [ + 'summary' => 'Modifies the general alert configuration parameters.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '81992', - 'abilityTreeNodes' => [ - 'FEATUREsddpH8R72I', - ], + 'abilityTreeCode' => '81959', + 'abilityTreeNodes' => ['FEATUREsddpR2D59W', 'FEATUREsddpCHNP1R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'Code', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The code of the common configuration item. Valid values:'."\n" + ."\n" + .'- **access\\_failed\\_cnt**: the maximum number of access attempts allowed when Data Security Center (DSC) fails to access an unauthorized resource.'."\n" + ."\n" + .'- **access\\_permission\\_exprie\\_max\\_days**: the maximum idle period allowed for access permissions before an alert is triggered.'."\n" + ."\n" + .'- **log\\_datasize\\_avg\\_days**: the minimum percentage of the volume of logs of a specific type generated on the current day to the average volume of logs generated in the previous 10 days before an alert is triggered.', 'type' => 'string', 'required' => false, 'example' => 'access_failed_cnt', 'title' => ''], ], [ - 'name' => 'UserName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'admin', - ], - ], - [ - 'name' => 'ClientIp', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10.*.*.94', - ], + 'schema' => ['description' => 'The description of the common configuration item.', 'type' => 'string', 'required' => false, 'example' => 'Unauthorized resource multiple access attempts: current threshold is defined as 10 attempts', 'title' => ''], ], [ - 'name' => 'ClientUa', + 'name' => 'Value', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'mysql', - ], + 'schema' => ['description' => 'The value of the common configuration item. The meaning of this parameter varies with the value of the Code parameter.'."\n" + ."\n" + .'- If you set the Code parameter to **access\\_failed\\_cnt**, the Value parameter specifies the maximum number of access attempts allowed when DSC fails to access an unauthorized resource.'."\n" + ."\n" + .'- If you set the Code parameter to **access\\_permission\\_exprie\\_max\\_days**, the Value parameter specifies the maximum idle period allowed for access permissions before an alert is triggered.'."\n" + ."\n" + .'- If you set the Code parameter to **log\\_datasize\\_avg\\_days**, the Value parameter specifies the minimum percentage of the volume of logs of a specific type generated on the current day to the average amount of logs generated in the previous 10 days before an alert is triggered.', 'type' => 'string', 'required' => false, 'example' => '30', 'title' => ''], ], [ - 'name' => 'InstanceName', + 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'i-2zeftaaq4gqcqb9kfkzg', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'DatabaseName', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'bose_o2o_data', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => '106.11.XX.XX', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1616068534877', - ], + 'schema' => ['description' => 'The language of the content within the request and response. Default value: **zh\\_cn**. Valid values:'."\n" + ."\n" + .'- **zh\\_cn**: Chinese'."\n" + ."\n" + .'- **en\\_us**: English', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], - [ - 'name' => 'EndTime', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The ID of the common alert configuration.', 'type' => 'integer', 'format' => 'int64', 'example' => '12300', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '208B016D-4CB9-4A85-96A5-0B8ED1EBF271', 'title' => ''], + ], 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1583856000000', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'ProductCode', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'RDS', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Id\\": 12300,\\n \\"RequestId\\": \\"208B016D-4CB9-4A85-96A5-0B8ED1EBF271\\"\\n}","type":"json"}]', + 'title' => 'CreateConfig', + 'description' => 'Creates or restores configurations based on the codes of common alert configuration items, allowing you to manage these configurations.'."\n" + ."\n" + .'# Limits'."\n" + ."\n" + .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-03-25T07:35:06.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:38.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateConfig'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-sddp:CreateConfig', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'CreateDataLimit' => [ + 'summary' => 'Creates a scan authorization for a database, project, or Object Storage Service (OSS) bucket.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ProductId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '5', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '81960', + 'abilityTreeNodes' => ['FEATUREsddp2CRSZ1'], + ], + 'parameters' => [ [ - 'name' => 'SqlText', + 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'select * from test03', - ], + 'schema' => ['description' => 'The type of the service to which the asset to be scanned belongs. Valid values:'."\n" + ."\n" + .'- **1**: MaxCompute.'."\n" + .'- **2**: OSS.'."\n" + .'- **3**: ADS.'."\n" + .'- **4**: OTS.'."\n" + .'- **5**: RDS.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ExecuteTimeRange', + 'name' => 'ServiceRegionId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'in[1000 2000]', - ], + 'schema' => ['description' => 'Required. The region in which the asset resides. Valid values:'."\n" + .'- **cn-beijing**: China (Beijing).'."\n" + .'- **cn-zhangjiakou**: China (Zhangjiakou).'."\n" + .'- **cn-huhehaote**: China (Hohhot).'."\n" + .'- **cn-hangzhou**: China (Hangzhou).'."\n" + .'- **cn-shanghai**: China (Shanghai).'."\n" + .'- **cn-shenzhen**: China (Shenzhen).'."\n" + .'- **cn-hongkong**: Hong Kong (China).', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'EffectRowRange', + 'name' => 'ParentId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'in[1 33]', - ], + 'schema' => ['description' => 'Required. The name of the asset, which consists of the instance ID and the database connection string separated by a period (.).', 'type' => 'string', 'required' => false, 'example' => 'rm-****34.******name', 'title' => ''], ], [ - 'name' => 'RuleID', + 'name' => 'UserName', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '994007', - ], + 'schema' => ['description' => 'The username of the database asset.', 'type' => 'string', 'required' => false, 'example' => 'y*****m', 'title' => ''], ], [ - 'name' => 'RuleName', + 'name' => 'Password', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'schema' => ['description' => 'The password used to access the database asset.', 'type' => 'string', 'required' => false, 'example' => 'p****d', 'title' => ''], ], [ - 'name' => 'OperateType', + 'name' => 'AuditStatus', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Insert', - ], + 'schema' => ['description' => 'Specifies whether to enable auditing. Valid values:'."\n" + ."\n" + .'- **0**: Auditing is disabled.'."\n" + .'- **1**: Auditing is enabled.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'OssObjectKey', + 'name' => 'AutoScan', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'oss-key', - ], + 'schema' => ['description' => 'Specifies whether to automatically trigger a rescan when rules are changed. Valid values:'."\n" + ."\n" + .'- **0**: Automatic rescan is not triggered.'."\n" + .'- **1**: Automatic rescan is triggered.'."\n" + ."\n" + .'> When a rule change triggers an automatic rescan, a full scan is performed on all data in the data source.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'AsyncRequestId', + 'name' => 'LogStoreDay', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'CE4681BA-8019-5BE1-9F4B-8973BEA9CF57', - ], + 'schema' => ['description' => 'The retention period of raw logs after auditing is enabled. Unit: days. Valid values:'."\n" + .'- **30**'."\n" + .'- **90**'."\n" + .'- **180**'."\n" + .'- **365**', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'EngineType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The type of the database. Valid values:'."\n" + .'- **MySQL**'."\n" + .'- **SQLServer**', 'type' => 'string', 'required' => false, 'example' => 'MySQL', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'Port', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The database connection port.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3306', 'title' => ''], ], [ - 'name' => 'RuleCategory', + 'name' => 'OcrStatus', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The OCR status. Valid values:'."\n" + .'- **1**: Enabled.'."\n" + .'- **0**: Disabled.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], ], [ - 'name' => 'LoadWhiteList', + 'name' => 'EventStatus', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The anomalous activity detection status. Valid values:'."\n" + .'- **0**: Disabled.'."\n" + .'- **1**: Enabled (default).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'MemberAccount', + 'name' => 'Enable', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '**********8103', - ], + 'schema' => ['description' => 'Specifies whether to enable sensitive data detection. Valid values:'."\n" + .'- **1**: Enabled.'."\n" + .'- **0**: Disabled.'."\n" + ."\n" + .'> If the asset is authorized for the first time, the default value is 1. If the asset has been previously authorized, the value from the last authorization is used, which may be 0 or 1. To perform sensitive data detection on the asset, set this parameter to 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'IpType', + 'name' => 'SamplingSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'aliyun', - ], + 'schema' => ['description' => 'The number of sample entries for sensitive data detection after data detection is enabled. Valid values:'."\n" + .'- **0**'."\n" + .'- **5**'."\n" + .'- **10**'."\n" + .'> Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], ], [ - 'name' => 'LogQueryOpJson', + 'name' => 'CertificatePermission', 'in' => 'query', - 'schema' => [ - 'title' => '查询条件是否包含的json字符串', - 'type' => 'string', - 'example' => '[ { "isContain" : false, "queryKey" : "effectRowRange" }, { "isContain" : false, "queryKey" : "remoteClientIp" } ]', - ], + 'schema' => ['description' => 'The credential permission. Valid values:'."\n" + .'- **ReadOnly**: read-only permission.'."\n" + .'- **ReadWrite**: read and write permission.', 'type' => 'string', 'required' => false, 'example' => 'ReadOnly', 'title' => ''], ], [ - 'name' => 'Message', + 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'success', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'LogSource', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'title' => '数据来源', - 'type' => 'string', - 'example' => 'SLOW_SQL', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => '106.11.XX.XX', 'title' => ''], ], [ - 'name' => 'RuleAggQuery', + 'name' => 'InstantlyScan', 'in' => 'query', - 'schema' => [ - 'title' => '是否聚合查询', - 'type' => 'boolean', - ], + 'schema' => ['description' => 'Specifies whether to immediately scan the authorized asset. Valid values:'."\n" + ."\n" + .'- **false**: The asset is not immediately scanned.'."\n" + .'- **true**: The asset is immediately scanned.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], [ - 'name' => 'RuleId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: **zh_cn**. Valid values:'."\n" + .'- **zh_cn**: Chinese.'."\n" + .'- **en_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], ], 'responses' => [ @@ -455,240 +379,108 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AsyncRequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'CE4681BA-8019-5BE1-9F4B-8973BEA9CF57'."\n", - ], - 'CurrentPage' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'A7021857-AFD9-5AD6-979D-AA7DFC5AFADF', - ], - 'TotalCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'Items' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'CreationTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1536751124000', - ], - 'WarnLevel' => [ - 'description' => '', - 'type' => 'string', - 'example' => '2', - ], - 'ClientPort' => [ - 'description' => '', - 'type' => 'string', - 'example' => '35756', - ], - 'TableName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'it_table', - ], - 'EffectRow' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'PackageName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'com.sinosoft.chinalife', - ], - 'UserId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '19********94', - ], - 'Message' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'success', - ], - 'RuleId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '9952275', - ], - 'OperateType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Drop', - ], - 'LogTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1751870592000', - ], - 'WarnLevelName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'InstanceName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'rm-1234', - ], - 'DatabaseName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'chngc_b2b_migration_sh', - ], - 'OssObjectKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'oss-key1', - ], - 'ExecuteStatus' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ProductId' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'ExecuteTime' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1751870592000', - ], - 'UserName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'admin', - ], - 'InstanceDescription' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'instance dscription', - ], - 'RuleName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'name', - ], - 'ColumnName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'hide14', - ], - 'ClientIp' => [ - 'description' => '', - 'type' => 'string', - 'example' => '139.*.*.57', - ], - 'ClientUa' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'mysql', - ], - 'ProductCode' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'RDS', - ], - 'SqlText' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'select schema_name, catalog_name, default_character_set_name as encoding from information_schema.schemata order by 1', - ], - 'InWhiteList' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'MemberAccount' => [ - 'description' => '', - 'type' => 'string', - 'example' => '**********8103', - ], - 'RuleCategory' => [ - 'description' => '', - 'type' => 'string', - 'example' => '10', - ], - 'IpType' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'aliyun', - ], - 'ModelName' => [ - 'description' => '', - 'type' => 'string', - 'example' => '', - ], - 'DataSet' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'plan_id ~ application_id ~ plan_type ~ plan_name ~ plan_value_id', - ], - 'LogSource' => [ - 'title' => '数据来源', - 'type' => 'string', - 'example' => 'SLOW_SQL', - ], - 'InstanceAuditStatus' => [ - 'title' => '实例审计状态', - 'type' => 'string', - 'example' => '2', - ], - 'DbType' => [ - 'title' => '数据库类型', - 'type' => 'string', - ], - ], - ], - ], + 'Id' => ['description' => 'The ID of the authorized resource.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The unique ID generated by Alibaba Cloud for the request.', 'type' => 'string', 'example' => '7C3AC882-E5A8-4855-BE77-B6837B695EF1', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AsyncRequestId\\": \\"CE4681BA-8019-5BE1-9F4B-8973BEA9CF57\\\\n\\",\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"A7021857-AFD9-5AD6-979D-AA7DFC5AFADF\\",\\n \\"TotalCount\\": 12,\\n \\"Items\\": [\\n {\\n \\"CreationTime\\": 1536751124000,\\n \\"WarnLevel\\": \\"2\\",\\n \\"ClientPort\\": \\"35756\\",\\n \\"TableName\\": \\"it_table\\",\\n \\"EffectRow\\": 10,\\n \\"PackageName\\": \\"test01\\",\\n \\"UserId\\": \\"19********94\\",\\n \\"Message\\": \\"success\\",\\n \\"RuleId\\": \\"9952275\\",\\n \\"OperateType\\": \\"Drop\\",\\n \\"LogTime\\": 1751870592000,\\n \\"WarnLevelName\\": \\"高危\\",\\n \\"InstanceName\\": \\"rm-1234\\",\\n \\"DatabaseName\\": \\"chngc_b2b_migration_sh\\",\\n \\"OssObjectKey\\": \\"oss-key1\\",\\n \\"ExecuteStatus\\": 1,\\n \\"ProductId\\": 5,\\n \\"ExecuteTime\\": 1751870592000,\\n \\"UserName\\": \\"admin\\",\\n \\"InstanceDescription\\": \\"instance dscription\\",\\n \\"RuleName\\": \\"name\\",\\n \\"ColumnName\\": \\"hide14\\",\\n \\"ClientIp\\": \\"139.*.*.57\\",\\n \\"ClientUa\\": \\"mysql\\",\\n \\"ProductCode\\": \\"RDS\\",\\n \\"SqlText\\": \\"select * from test03\\\\n\\",\\n \\"InWhiteList\\": true,\\n \\"MemberAccount\\": \\"**********8103\\",\\n \\"RuleCategory\\": \\"10\\",\\n \\"IpType\\": \\"aliyun\\",\\n \\"ModelName\\": \\"Identity Card\\",\\n \\"DataSet\\": \\"plan_id ~ application_id ~ plan_type ~ plan_name ~ plan_value_id\\",\\n \\"LogSource\\": \\"SLOW_SQL\\",\\n \\"InstanceAuditStatus\\": \\"2\\",\\n \\"DbType\\": \\"MySQL\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'CreateSlrRole' => [ - 'summary' => 'Creates a service-linked role for Data Security Center (DSC) to grant DSC the permissions to access data assets in other services.', - 'methods' => [ - 'post', - 'get', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Create data asset scan authorization', + 'description' => 'This operation is used to authorize scanning of data assets to further protect the data security of your data assets.'."\n" + ."\n" + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Call this operation at an appropriate frequency.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-07-02T01:28:10.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-03-25T07:35:06.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:37.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-05T06:19:56.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-04-20T08:06:00.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2022-04-20T08:06:00.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDataLimit'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-sddp:CreateDataLimit', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Id\\": 1,\\n \\"RequestId\\": \\"7C3AC882-E5A8-4855-BE77-B6837B695EF1\\"\\n}","type":"json"}]', + ], + 'CreateRule' => [ + 'summary' => 'Creates a custom sensitive data detection rule by calling CreateRule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -699,163 +491,140 @@ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '81970', - 'abilityTreeNodes' => [ - 'FEATUREsddp2CRSZ1', - ], + 'abilityTreeCode' => '81967', + 'abilityTreeNodes' => ['FEATUREsddpIUNEZP'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'This parameter is deprecated.', - 'example' => '39.170.XX.XX', - ], + 'schema' => ['description' => 'The name of the sensitive data detection rule.', 'type' => 'string', 'required' => true, 'example' => 'rule-tst', 'title' => ''], ], [ - 'name' => 'FeatureType', + 'name' => 'Category', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'description' => 'This parameter is deprecated.'."\n", - 'example' => '2', - ], + 'schema' => ['description' => 'The type of content in the sensitive data detection rule. Valid values:'."\n" + .'- **0**: keyword.'."\n" + .'- **2**: regular expression.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'Content', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Simplified Chinese'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The content of the sensitive data detection rule. The content can be a regular expression or keyword used to match sensitive data fields or text.', 'type' => 'string', 'required' => true, 'example' => '(?:\\\\D|^)((?:(?:25[0-4]|2[0-4]\\\\d|1\\\\d{2}|[1-9]\\\\d{1})\\\\.)(?:(?:25[0-5]|2[0-4]\\\\d|[01]?\\\\d?\\\\d)\\\\.){2}(?:25[0-5]|2[0-4]\\\\d|1[0-9]\\\\d|[1-9]\\\\d|[1-9]))(?:\\\\D|$)', 'title' => ''], ], [ - 'name' => 'ServiceName', + 'name' => 'StatExpress', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['description' => 'The statistical expression.', 'type' => 'string', 'required' => false, 'example' => '{"time":"24","groupby":"1003","having":[{"key":"2001","value":"50"}]}', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'HasPermission' => [ - 'description' => 'Indicates whether the service-linked role was created. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '208B016D-4CB9-4A85-96A5-0B8ED1EBF271', - ], - ], - ], + [ + 'name' => 'RiskLevelId', + 'in' => 'query', + 'schema' => ['description' => 'The sensitivity level ID of the sensitive data detection rule. Valid values:'."\n" + .'- **1**: N/A. No sensitive data is detected.'."\n" + .'- **2**: S1. Level-1 sensitive data.'."\n" + .'- **3**: S2. Level-2 sensitive data.'."\n" + .'- **4**: S3. Level-3 sensitive data.'."\n" + .'- **5**: S4. Level-4 sensitive data.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''], ], - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"HasPermission\\": true,\\n \\"RequestId\\": \\"208B016D-4CB9-4A85-96A5-0B8ED1EBF271\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateSlrRoleResponse>\\n <HasPermission>true</HasPermission>\\n <RequestId>208B016D-4CB9-4A85-96A5-0B8ED1EBF271</RequestId>\\n</CreateSlrRoleResponse>","errorExample":""}]', - 'title' => 'CreateSlrRole', - 'description' => 'You can call this operation to allow DSC to access the data assets in services such as Object Storage Service (OSS), ApsaraDB RDS, and MaxCompute. After you call this operation, the system automatically creates a service-linked role named AliyunServiceRoleForSDDP and attaches the AliyunServiceRolePolicyForSDDP policy to the role.'."\n" - ."\n" - .'# Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteDataLimit' => [ - 'summary' => 'Revokes the scan permissions on a data asset. The data asset can be a database, an instance, or a bucket.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'RuleType', + 'in' => 'query', + 'schema' => ['description' => 'The feature type of the rule. Valid values:'."\n" + .'- **1**: data detection rule.'."\n" + .'- **2**: audit policy.'."\n" + .'- **3**: outlier detection rule.'."\n" + .'- **99**: custom rule.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '81976', - 'abilityTreeNodes' => [ - 'FEATUREsddp2CRSZ1', + [ + 'name' => 'ProductCode', + 'in' => 'query', + 'schema' => ['description' => 'The name of the product to which the column data in the data asset table belongs. Valid values: **MaxCompute**, **OSS**, **ADS**, **OTS**, **RDS**, and others.', 'type' => 'string', 'required' => false, 'example' => 'RDS', 'title' => ''], ], - ], - 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'ProductId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the data asset.'."\n" - ."\n" - .'You can call the DescribeDataLimits operation to query the IDs of data assets. The value of the Id response parameter indicates the ID of a data asset.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '12033', - ], + 'schema' => ['description' => 'The ID that corresponds to the product name of the data asset. Valid values:'."\n" + .'- **1**: MaxCompute'."\n" + .'- **2**: OSS'."\n" + .'- **3**: ADS'."\n" + .'- **4**: OTS'."\n" + .'- **5**: RDS'."\n" + .'- **6**: SELF_DB', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'FeatureType', + 'name' => 'WarnLevel', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'description' => 'This parameter is deprecated.'."\n", - 'example' => '1', - ], + 'schema' => ['description' => 'The risk level. Valid values:'."\n" + .'- **1**: low.'."\n" + .'- **2**: medium.'."\n" + .'- **3**: high.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The description of the rule.', 'type' => 'string', 'required' => false, 'example' => 'ID card', 'title' => ''], + ], + [ + 'name' => 'ContentCategory', + 'in' => 'query', + 'schema' => ['description' => 'The content type. Valid values:'."\n" + ."\n" + .'- **1**: SQL injection exploitation attempt.'."\n" + .'- **2**: SQL injection bypass attempt.'."\n" + .'- **3**: stored procedure abuse.'."\n" + .'- **4**: buffer overflow.'."\n" + .'- **5**: error-based SQL injection.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['description' => 'The status of the rule. Valid values:'."\n" + .'- **1**: enabled.'."\n" + .'- **0**: disabled.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'Target', + 'in' => 'query', + 'schema' => ['description' => 'The target product code. Valid values: **MaxCompute**, **OSS**, **ADS**, **OTS**, **RDS**, and others.', 'type' => 'string', 'required' => false, 'example' => 'MaxCompute', 'title' => ''], + ], + [ + 'name' => 'MatchType', + 'in' => 'query', + 'schema' => ['description' => 'The match type. Valid values:'."\n" + .'- **1**: rule-based match.'."\n" + .'- **2**: dictionary-based match.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'SupportForm', + 'in' => 'query', + 'schema' => ['description' => 'The asset form supported by the rule. Valid values:'."\n" + .'- **0**: all assets.'."\n" + .'- **1**: structured assets.'."\n" + .'- **2**: unstructured assets.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'This parameter is deprecated.', - 'example' => '39.170.XX.XX', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => '106.11.XX.XX', 'title' => ''], + ], + [ + 'name' => 'TemplateRuleIds', + 'in' => 'query', + 'schema' => ['description' => 'The collection of template IDs for sensitive data auditing.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'ModelRuleIds', + 'in' => 'query', + 'schema' => ['description' => 'The collection of model IDs for sensitive data auditing.', 'type' => 'string', 'required' => false, 'example' => '1452', 'title' => ''], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Chinese'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The language type for the request and response messages. Valid values:'."\n" + .'- **zh**: Chinese.'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], ], 'responses' => [ @@ -863,245 +632,193 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '7C3AC882-E5A8-4855-BE77-B6837B695EF1', - ], + 'Id' => ['description' => 'The unique ID of the saved sensitive data detection rule.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '208B016D-4CB9-4A85-96A5-0B8ED1EBF271', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7C3AC882-E5A8-4855-BE77-B6837B695EF1\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DeleteDataLimit>\\r\\n\\t<RequestId>7C3AC882-E5A8-4855-BE77-B6837B695EF1</RequestId>\\r\\n</DeleteDataLimit>\\t\\r\\n","errorExample":""}]', - 'title' => 'DeleteDataLimit', - 'description' => 'You can call this operation to revoke the permissions on a data asset from Data Security Center (DSC).'."\n" - ."\n" - .'# Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", + 'title' => 'Create a custom sensitive data detection rule', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDataLimits' => [ - 'summary' => 'Queries the data assets such as instances, databases, or buckets that Data Security Center (DSC) is authorized to access.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2025-01-13T06:27:20.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-03-25T07:35:06.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:35.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-12-27T09:14:54.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-22T08:24:08.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRule'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-sddp:CreateRule', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Id\\": 1,\\n \\"RequestId\\": \\"208B016D-4CB9-4A85-96A5-0B8ED1EBF271\\"\\n}","type":"json"}]', + ], + 'CreateScanTask' => [ + 'summary' => 'Calls the CreateScanTask operation to create a custom scan task for detecting sensitive data in assets that have been successfully authorized for detection.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82013', - 'abilityTreeNodes' => [ - 'FEATUREsddpXMFUF8', - ], + 'abilityTreeCode' => '81968', + 'abilityTreeNodes' => ['FEATUREsddpXMFUF8'], ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'DataLimitId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The unique ID of the data asset such as an instance, database, or bucket. You can call [DescribeDataLimits](~~DescribeDataLimits~~) to obtain the ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'IntervalDay', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The interval in days between two consecutive custom scan tasks. Valid values: 1 to 2147483648.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ResourceType', + 'name' => 'RunHour', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the service to which the data asset belongs. This parameter is required. Valid values:'."\n" - ."\n" - .'* **1**: MaxCompute'."\n" - .'* **2**: Object Storage Service (OSS)'."\n" - .'* **3**: AnalyticDB for MySQL'."\n" - .'* **4**: Tablestore'."\n" - .'* **5**: ApsaraDB RDS'."\n" - .'* **6**: self-managed database'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The runtime of the next scan task. Unit: hours.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '12', 'title' => ''], ], [ - 'name' => 'ParentId', + 'name' => 'RunMinute', 'in' => 'query', - 'schema' => [ - 'description' => 'The parent ID of the data asset to be queried. Valid values:'."\n" - ."\n" - .'* The name or ID of the MaxCompute project.'."\n" - .'* The name or ID of the OSS bucket.'."\n" - .'* The name or ID of the ApsaraDB RDS instance or database.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1112', - ], + 'schema' => ['description' => 'The runtime of the next scan task. Unit: minutes.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30', 'title' => ''], ], [ - 'name' => 'ServiceRegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region in which the data asset resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'CheckStatus', + 'name' => 'TaskName', 'in' => 'query', - 'schema' => [ - 'description' => 'The data detection status. Valid values:'."\n" - ."\n" - .'* **0**: The data detection is ready.'."\n" - .'* **1**: The data detection is running.'."\n" - .'* **2**: The connectivity test is in progress.'."\n" - .'* **3**: The connectivity test passed.'."\n" - .'* **4**: The connectivity test failed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['description' => 'The name of the scan task.', 'type' => 'string', 'required' => true, 'example' => 'scan-test-sample****', 'title' => ''], ], [ - 'name' => 'AuditStatus', + 'name' => 'TaskUserName', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the security audit feature. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The account that creates the scan task.', 'type' => 'string', 'required' => false, 'example' => 'demo', 'title' => ''], ], [ - 'name' => 'EngineType', + 'name' => 'OssScanPath', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the database engine. Valid values include **MySQL**, **SQLServer**, **Oracle**, **PostgreSQL**, and **MongoDB**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MySQL', - ], + 'schema' => ['description' => 'The scan scope for OSS assets. Prefix match, suffix match, and regular expression match are supported.', 'type' => 'string', 'required' => false, 'example' => '/test/test', 'title' => ''], ], [ - 'name' => 'DatamaskStatus', + 'name' => 'ScanRange', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether DSC has the data de-identification permissions on the data asset. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The scan scope matching rule for the custom scan task. This parameter takes effect only when used together with **ScanRangeContent**. Valid values:'."\n" + .'- **0**: full match.'."\n" + .'- **1**: prefix match.'."\n" + .'- **2**: suffix match.'."\n" + .'- **3**: regular expression match.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0', 'title' => ''], ], [ - 'name' => 'Enable', + 'name' => 'ScanRangeContent', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether DSC has the data detection permissions on the data asset. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The content to match within the scan scope of structured data assets by using prefix match, suffix match, or regular expression match.'."\n" + ."\n" + .'> When ScanRange is set to 0, all content in this field is fully matched. When ScanRange is set to 1, the content in this field is matched by prefix. For example, if this field is set to test/abc, file paths that start with test/abc are matched. When ScanRange is set to 2, the content in this field is matched by suffix. When ScanRange is set to 3, the content in this field is matched by regular expression.', 'type' => 'string', 'required' => true, 'example' => 'datamask/', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1616068534877', - ], + 'schema' => ['description' => 'The resource type of the product to query. Valid values:'."\n" + .'- **1**: MaxCompute.'."\n" + .'- **2**: OSS.'."\n" + .'- **3**: ADS.'."\n" + .'- **4**: OTS.'."\n" + .'- **5**: RDS.'."\n" + .'- **6**: SELF_DB.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '2', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1616068534877', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => '106.11.XX.XX', 'title' => ''], ], [ - 'name' => 'MemberAccount', + 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the member.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '**********8103', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'FeatureType', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh**: Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], ], 'responses' => [ @@ -1109,348 +826,103 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989***', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'Items' => [ - 'description' => 'The data assets.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The data asset.'."\n", - 'type' => 'object', - 'properties' => [ - 'SupportEvent' => [ - 'description' => 'Indicates whether anomalous event detection is supported. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ErrorMessage' => [ - 'description' => 'The reason for the failure.'."\n", - 'type' => 'string', - 'example' => 'The password is invalid.'."\n", - ], - 'CheckStatus' => [ - 'description' => 'The data detection status. Valid values:'."\n" - ."\n" - .'* **0**: The data detection is ready.'."\n" - .'* **1**: The data detection is running.'."\n" - .'* **2**: The connectivity test is in progress.'."\n" - .'* **3**: The connectivity test is passed.'."\n" - .'* **4**: The connectivity test failed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'LocalName' => [ - 'description' => 'The region in which the data asset resides.'."\n", - 'type' => 'string', - 'example' => 'China (Hangzhou)'."\n", - ], - 'TenantName' => [ - 'description' => 'The alias of the tenant.'."\n", - 'type' => 'string', - 'example' => 'insta_gram', - ], - 'NextStartTime' => [ - 'description' => 'The next time when the data asset is scanned. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1676620236000', - ], - 'Port' => [ - 'description' => 'The port number of the self-managed database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3306', - ], - 'CheckStatusName' => [ - 'description' => 'The name of the data detection status.'."\n", - 'type' => 'string', - 'example' => 'Connectivity test status'."\n", - ], - 'SamplingSize' => [ - 'description' => 'The number of sensitive data samples. Valid values: **0**, **5**, and **10**. Unit: data entries.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'ParentId' => [ - 'description' => 'The parent ID of the data asset that you want to query. Valid values include **bucket, db, and project**.'."\n", - 'type' => 'string', - 'example' => 'project', - ], - 'DatamaskStatus' => [ - 'description' => 'Indicates whether DSC has the data de-identification permissions on the data asset. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ProcessTotalCount' => [ - 'description' => 'The total number of data tables or files.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'ResourceType' => [ - 'description' => 'The type of the service to which the data asset belongs. Valid values:'."\n" - ."\n" - .'* **1**: MaxCompute'."\n" - .'* **2**: OSS'."\n" - .'* **3**: AnalyticDB for MySQL'."\n" - .'* **4**: Tablestore'."\n" - .'* **5**: ApsaraDB RDS'."\n" - .'* **6**: self-managed database'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'ErrorCode' => [ - 'description' => 'The error code.'."\n", - 'type' => 'string', - 'example' => 'connect_network_error', - ], - 'OcrStatus' => [ - 'description' => 'Indicates whether the optical character recognition (OCR) feature is enabled. Valid values:'."\n" - ."\n" - .'* **0**: no'."\n" - .'* **1**: yes'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'LogStoreDay' => [ - 'description' => 'The retention period of raw logs. Unit: days.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'EventStatus' => [ - 'description' => 'Indicates whether the data leak prevention feature is enabled. Valid values:'."\n" - ."\n" - .'* **0**: no'."\n" - .'* **1**: yes (default)'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'SupportScan' => [ - 'description' => 'Indicates whether the data asset scan feature is supported. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'LastFinishedTime' => [ - 'description' => 'The time when the last scan is performed.'."\n" - ."\n" - .'* The value is a UNIX timestamp.'."\n" - .'* Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '145600000', - ], - 'UserName' => [ - 'description' => 'The username that is used to access the data asset.'."\n", - 'type' => 'string', - 'example' => 'tsts', - ], - 'AuditStatus' => [ - 'description' => 'Indicates whether the security audit feature is enabled. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'SupportOcr' => [ - 'description' => 'Indicates whether OCR is supported. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'EngineType' => [ - 'description' => 'The type of the database engine. Valid values include **MySQL**, **SQLServer**, **Oracle**, **PostgreSQL**, and **MongoDB**.'."\n", - 'type' => 'string', - 'example' => 'MySQL', - ], - 'InstanceId' => [ - 'description' => 'The ID of the data asset to which the table belongs.'."\n", - 'type' => 'string', - 'example' => '12332', - ], - 'TotalCount' => [ - 'description' => 'The total number of fields in the table.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'InstanceDescription' => [ - 'description' => 'The description of the instance.'."\n", - 'type' => 'string', - 'example' => '123', - ], - 'DbVersion' => [ - 'description' => 'The database engine version.'."\n", - 'type' => 'string', - 'example' => '2.0', - ], - 'RegionId' => [ - 'description' => 'The region in which the asset resides.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'GmtCreate' => [ - 'description' => 'The time when the data asset was created. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '145600000', - ], - 'SupportAudit' => [ - 'description' => 'Indicates whether the security audit feature is supported. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'AutoScan' => [ - 'description' => 'Indicates whether the data asset can be automatically scanned. Valid values:'."\n" - ."\n" - .'* **0**: no'."\n" - .'* **1**: yes'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ResourceTypeCode' => [ - 'description' => 'The code of the service to which the data asset belongs. Valid values: **MaxCompute, OSS, ADS, OTS, and RDS**.'."\n", - 'type' => 'string', - 'example' => 'RDS', - ], - 'SupportDatamask' => [ - 'description' => 'Indicates whether the data de-identification feature is supported. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ProcessStatus' => [ - 'description' => 'The status of the data asset scan. Valid values:'."\n" - ."\n" - .'* **-1**: invalid'."\n" - .'* **0**: waiting'."\n" - .'* **1**: being scanned'."\n" - .'* **2**: suspended'."\n" - .'* **3**: completed'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'Id' => [ - 'description' => 'The unique ID of the data asset.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Enable' => [ - 'description' => 'Indicates whether DSC has the data identification permissions on the data asset. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'SecurityGroupIdList' => [ - 'description' => 'A list of the IDs of the security groups that are used by PrivateLink when you install the DSC agent.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the security group that is used by PrivateLink when you install the DSC agent.'."\n", - 'type' => 'string', - 'example' => 'sg-bp113yf20quxkvy****', - ], - ], - 'VSwitchIdList' => [ - 'description' => 'A list of the IDs of the vSwitches that are used by PrivateLink when you install the DSC agent.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The ID of the vSwitch that is used by PrivateLink when you install the DSC agent.'."\n", - 'type' => 'string', - 'example' => 'vsw-bp1kk2mtrtey7o4ju****', - ], - ], - 'VpcId' => [ - 'description' => 'The ID of the virtual private cloud (VPC) to which the data asset belongs.'."\n", - 'type' => 'string', - 'example' => 'vpc-2zevcqke6hh09c41****', - ], - 'MemberAccount' => [ - 'description' => 'The ID of the member.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '**********8103'."\n", - ], - 'LastStartTime' => [ - 'description' => 'The last scan start time of data assets, in milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '145600000', - ], - ], - ], - ], + 'Id' => ['description' => 'The resource ID of the custom scan task.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'B1F2BB1F-04EC-5D36-B136-B4DE17FD8DE0', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989***\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 200,\\n \\"Items\\": [\\n {\\n \\"SupportEvent\\": true,\\n \\"ErrorMessage\\": \\"密码不正确\\",\\n \\"CheckStatus\\": 3,\\n \\"LocalName\\": \\"华东1(杭州)\\",\\n \\"TenantName\\": \\"insta_gram\\",\\n \\"NextStartTime\\": 1676620236000,\\n \\"Port\\": 3306,\\n \\"CheckStatusName\\": \\"联通性检测状态\\",\\n \\"SamplingSize\\": 5,\\n \\"ParentId\\": \\"project\\",\\n \\"DatamaskStatus\\": 1,\\n \\"ProcessTotalCount\\": 100,\\n \\"ResourceType\\": 5,\\n \\"ErrorCode\\": \\"connect_network_error\\",\\n \\"OcrStatus\\": 1,\\n \\"LogStoreDay\\": 30,\\n \\"EventStatus\\": 1,\\n \\"SupportScan\\": true,\\n \\"LastFinishedTime\\": 145600000,\\n \\"UserName\\": \\"tsts\\",\\n \\"AuditStatus\\": 1,\\n \\"SupportOcr\\": true,\\n \\"EngineType\\": \\"MySQL\\",\\n \\"InstanceId\\": \\"12332\\",\\n \\"TotalCount\\": 100,\\n \\"InstanceDescription\\": \\"123\\",\\n \\"DbVersion\\": \\"2.0\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"GmtCreate\\": 145600000,\\n \\"SupportAudit\\": true,\\n \\"AutoScan\\": 1,\\n \\"ResourceTypeCode\\": \\"RDS\\",\\n \\"SupportDatamask\\": true,\\n \\"ProcessStatus\\": 3,\\n \\"Id\\": 1,\\n \\"Enable\\": 1,\\n \\"SecurityGroupIdList\\": [\\n \\"sg-bp113yf20quxkvy****\\"\\n ],\\n \\"VSwitchIdList\\": [\\n \\"vsw-bp1kk2mtrtey7o4ju****\\"\\n ],\\n \\"VpcId\\": \\"vpc-2zevcqke6hh09c41****\\",\\n \\"MemberAccount\\": 0,\\n \\"LastStartTime\\": 145600000\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeDataLimitsResponse>\\n <CurrentPage>1</CurrentPage>\\n <RequestId>769FB3C1-F4C9-42DF-9B72-7077A8989***</RequestId>\\n <PageSize>10</PageSize>\\n <TotalCount>200</TotalCount>\\n <Items>\\n <SupportEvent>true</SupportEvent>\\n <ErrorMessage>密码不正确</ErrorMessage>\\n <CheckStatus>3</CheckStatus>\\n <LocalName>华东1(杭州)</LocalName>\\n <TenantName>insta_gram</TenantName>\\n <NextStartTime>145600000</NextStartTime>\\n <Port>3306</Port>\\n <CheckStatusName>联通性检测状态</CheckStatusName>\\n <SamplingSize>5</SamplingSize>\\n <ParentId>project</ParentId>\\n <DatamaskStatus>1</DatamaskStatus>\\n <ProcessTotalCount>100</ProcessTotalCount>\\n <ErrorCode>connect_network_error</ErrorCode>\\n <OcrStatus>1</OcrStatus>\\n <LogStoreDay>30</LogStoreDay>\\n <EventStatus>1</EventStatus>\\n <SupportScan>true</SupportScan>\\n <LastFinishedTime>145600000</LastFinishedTime>\\n <UserName>tsts</UserName>\\n <AuditStatus>1</AuditStatus>\\n <SupportOcr>true</SupportOcr>\\n <EngineType>MySQL</EngineType>\\n <InstanceId>12332</InstanceId>\\n <TotalCount>100</TotalCount>\\n <InstanceDescription>123</InstanceDescription>\\n <DbVersion>2.0</DbVersion>\\n <RegionId>cn-hangzhou</RegionId>\\n <GmtCreate>145600000</GmtCreate>\\n <SupportAudit>true</SupportAudit>\\n <AutoScan>1</AutoScan>\\n <ResourceTypeCode>RDS</ResourceTypeCode>\\n <SupportDatamask>true</SupportDatamask>\\n <ProcessStatus>3</ProcessStatus>\\n <Id>1</Id>\\n <Enable>1</Enable>\\n </Items>\\n</DescribeDataLimitsResponse>","errorExample":""}]', - 'title' => 'DescribeDataLimits', - 'requestParamsDescription' => ' ', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'Create a scan task', + 'description' => 'This operation is applicable to users who want to create custom scan tasks for authorized assets. It allows users to flexibly control the interval between scan tasks and the runtime of each scan task.'."\n" + ."\n" + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as appropriate.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyDataLimit' => [ - 'summary' => 'Modifies configuration items for a data asset that you authorize Data Security Center (DSC) to access.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2024-03-25T07:35:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:40.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateScanTask'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-sddp:CreateScanTask', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Id\\": 100,\\n \\"RequestId\\": \\"B1F2BB1F-04EC-5D36-B136-B4DE17FD8DE0\\"\\n}","type":"json"}]', + ], + 'CreateSlrRole' => [ + 'summary' => 'Call CreateSlrRole to create a service-linked role for Data Security Center (DSC). This role authorizes DSC to access your cloud resources.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1458,248 +930,135 @@ ], 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82106', - 'abilityTreeNodes' => [ - 'FEATUREsddp2CRSZ1', - ], + 'abilityTreeCode' => '81970', + 'abilityTreeNodes' => ['FEATUREsddp2CRSZ1'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese (default)'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'Id', - 'in' => 'query', - 'schema' => [ - 'description' => 'The unique ID of the data asset for which you want to modify configuration items.'."\n" - ."\n" - .'> You can call the [DescribeDataLimits](~~DescribeDataLimits~~) operation to query the ID of the data asset.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '11', - ], - ], - [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the service to which the data asset belongs. Valid values:'."\n" - ."\n" - .'* **1**: MaxCompute'."\n" - .'* **2**: Object Storage Service (OSS)'."\n" - .'* **3**: AnalyticDB for MySQL'."\n" - .'* **4**: Tablestore'."\n" - .'* **5**: ApsaraDB RDS'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '5', - ], - ], - [ - 'name' => 'ServiceRegionId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The region in which the data asset resides. Valid values:'."\n" - ."\n" - .'* **cn-beijing**: China (Beijing)'."\n" - .'* **cn-zhangjiakou**: China (Zhangjiakou)'."\n" - .'* **cn-huhehaote**: China (Hohhot)'."\n" - .'* **cn-hangzhou**: China (Hangzhou)'."\n" - .'* **cn-shanghai**: China (Shanghai)'."\n" - .'* **cn-shenzhen**: China (Shenzhen)'."\n" - .'* **cn-hongkong**: China (Hong Kong)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'UserName', - 'in' => 'query', - 'schema' => [ - 'description' => 'The username used to log on to the ApsaraDB RDS database that you authorize DSC to access.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'User01', - ], - ], - [ - 'name' => 'Password', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The password used to log on to the ApsaraDB RDS database that you authorize DSC to access.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '********', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => '106.11.XX.XX', 'title' => ''], ], [ - 'name' => 'ModifyPassword', + 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to change the username and password that are used to log on to the ApsaraDB RDS database. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'AuditStatus', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the security audit feature. Valid values:'."\n" - ."\n" - .'* **0**: no'."\n" - .'* **1**: yes'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The language of the request and response messages. Default value: **zh\\_cn**. Valid values:'."\n" + ."\n" + .'- **zh\\_cn**: Chinese (Simplified)'."\n" + ."\n" + .'- **en\\_us**: English (US)', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ - 'name' => 'LogStoreDay', + 'name' => 'ServiceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The retention period of raw logs after you enable the security audit feature. Unit: days. Valid values:'."\n" - ."\n" - .'* **30**'."\n" - .'* **90**'."\n" - .'* **180**'."\n" - .'* **365**'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - ], + 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], - [ - 'name' => 'EngineType', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The database engine that is run by the instance. Valid values:'."\n" - ."\n" - .'* **MySQL**'."\n" - .'* **SQLServer**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MySQL', + 'type' => 'object', + 'properties' => [ + 'HasPermission' => ['description' => 'Indicates whether the service-linked role was created successfully. Valid values:'."\n" + ."\n" + .'- **true**: Success'."\n" + ."\n" + .'- **false**: Failure', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request. This is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot and locate issues.', 'type' => 'string', 'example' => '208B016D-4CB9-4A85-96A5-0B8ED1EBF271', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'Port', - 'in' => 'query', - 'schema' => [ - 'description' => 'The port that is used to connect to the database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3306', - ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'CreateSlrRole', + 'description' => 'This operation allows DSC to access the resources of Alibaba Cloud services such as OSS, RDS, and MaxCompute. After you call this operation, the system automatically creates a service-linked role. The role is named AliyunServiceRoleForSDDP, and its access policy is AliyunServiceRolePolicyForSDDP.'."\n" + ."\n" + .'## QPS limits'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 for each user. If you exceed the limit, API calls are throttled, which can affect your business. Call this operation at a reasonable rate.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-03-25T07:35:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-28T12:04:54.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSlrRole'], ], + ], + 'ramActions' => [ [ - 'name' => 'AutoScan', - 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to automatically trigger a re-scan after a rule is modified. Valid values:'."\n" - ."\n" - .'* **0**: no'."\n" - .'* **1**: yes'."\n" - ."\n" - .'> When a re-scan is triggered, DSC scans all data in your data asset.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-sddp:CreateSlrRole', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HasPermission\\": true,\\n \\"RequestId\\": \\"208B016D-4CB9-4A85-96A5-0B8ED1EBF271\\"\\n}","type":"json"}]', + ], + 'DeleteDataLimit' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SamplingSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'The number of sensitive data samples tht are collected after sensitive data detection is enabled. Valid values:'."\n" - ."\n" - .'* **0**'."\n" - .'* **5**'."\n" - .'* **10**'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '81976', + 'abilityTreeNodes' => ['FEATUREsddp2CRSZ1'], + ], + 'parameters' => [ [ - 'name' => 'VpcId', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the virtual private cloud (VPC) to which the data asset belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2zevcqke6hh09c41****', - ], + 'schema' => ['description' => 'The unique ID of the data asset, such as an instance, database, or bucket.'."\n" + ."\n" + .'Call the DescribeDataLimits operation to obtain the ID from the Id parameter in the response.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12033', 'title' => ''], ], [ - 'name' => 'SecurityGroupIdList', + 'name' => 'FeatureType', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The security group that is used by PrivateLink when you install the DSC agent.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - 'example' => 'sg-bp113yf20quxkvy****', - 'description' => 'The security group ID that is used by PrivateLink when you install the DSC agent.', - ], - 'required' => false, - 'maxItems' => 5, - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'VSwitchIdList', + 'name' => 'SourceIp', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'The vSwitch that is used by PrivateLink when you install the DSC agent.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp1kk2mtrtey7o4ju****', - 'description' => 'The vSwitch ID that is used by PrivateLink when you install the DSC agent.', - ], - 'required' => false, - 'maxItems' => 2, - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => '106.11.XX.XX', 'title' => ''], ], [ - 'name' => 'FeatureType', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: **zh_cn**. Valid values:'."\n" + .'- **zh_cn**: Chinese.'."\n" + .'- **en_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], ], 'responses' => [ @@ -1707,12 +1066,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '7C3AC882-E5A8-4855-BE77-B6837B695EF1', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7C3AC882-E5A8-4855-BE77-B6837B695EF1', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], @@ -1720,591 +1078,396 @@ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7C3AC882-E5A8-4855-BE77-B6837B695EF1\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyDataLimitResponse>\\n <RequestId>7C3AC882-E5A8-4855-BE77-B6837B695EF1</RequestId>\\n</ModifyDataLimitResponse>","errorExample":""}]', - 'title' => 'ModifyDataLimit', - ], - 'DescribeDataLimitDetail' => [ - 'summary' => 'Queries the details of a data asset, such as a MaxCompute project, an ApsaraDB RDS database, or an Object Storage Service (OSS) bucket, that you authorize Data Security Center (DSC) to access.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Delete data asset scan authorization', + 'summary' => 'Deletes authorized data assets such as databases, instances, or buckets from connection authorization.', + 'description' => 'This operation is used to revoke authorization for data assets that a user has authorized, facilitating authorization management.'."\n" + ."\n" + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-03-25T07:35:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:34.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDataLimit'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-sddp:DeleteDataLimit', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7C3AC882-E5A8-4855-BE77-B6837B695EF1\\"\\n}","type":"json"}]', + ], + 'DeleteRule' => [ + 'summary' => 'Deletes a custom sensitive data detection rule.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82011', - 'abilityTreeNodes' => [ - 'FEATUREsddp2CRSZ1', - ], + 'abilityTreeCode' => '81978', + 'abilityTreeNodes' => ['FEATUREsddpIUNEZP'], ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Simplified Chinese.'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The ID of the sensitive data detection rule.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '122300', 'title' => ''], ], [ - 'name' => 'Id', + 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'description' => 'The unique ID of the data asset that you want to query.'."\n" - ."\n" - .'> You can call the [DescribeDataLimits](~~DescribeDataLimits~~) operation to query the ID of the data asset.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '12300', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'NetworkType', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The network type of the data asset that you want to query. Valid values:'."\n" - ."\n" - .'* **1**: virtual private cloud (VPC)'."\n" - .'* **2**: classic network'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => '106.11.XX.XX', 'title' => ''], ], [ - 'name' => 'FeatureType', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'description' => 'This parameter is deprecated.'."\n", - 'example' => '1', - ], + 'schema' => ['description' => 'The language of the data asset. Valid values:'."\n" + .'- **zh**: Chinese.'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', - ], - 'DataLimit' => [ - 'description' => 'The details of the data asset.'."\n", - 'type' => 'object', - 'properties' => [ - 'LocalName' => [ - 'description' => 'The region in which the data asset resides.'."\n", - 'type' => 'string', - 'example' => 'China (Qingdao)'."\n", - ], - 'CheckStatus' => [ - 'description' => 'The status of the connectivity test between the data asset and DSC. Valid values:'."\n" - ."\n" - .'* **2**: indicates that the data asset was being connected.'."\n" - .'* **3**: indicates that the data asset was connected to DSC.'."\n" - .'* **4**: indicates that the data asset failed to be connected.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'Port' => [ - 'description' => 'The port number that is used to connect to the database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3306', - ], - 'CheckStatusName' => [ - 'description' => 'The result that indicates the status of the connectivity test between the data asset and DSC. Valid values:'."\n" - ."\n" - .'* **Passed**'."\n" - .'* **Failed**'."\n" - .'* **Testing**'."\n", - 'type' => 'string', - 'example' => 'Passed'."\n", - ], - 'RegionId' => [ - 'description' => 'The ID of the region in which the data asset resides.'."\n", - 'type' => 'string', - 'example' => 'cn-qingdao', - ], - 'ParentId' => [ - 'description' => 'The ID and name of the data asset in the service to which the data asset belongs.'."\n", - 'type' => 'string', - 'example' => 'rm-m5eup49p6o274****.RDS_example', - ], - 'ResourceType' => [ - 'description' => 'The type of the service to which the data asset belongs. Valid values:'."\n" - ."\n" - .'* **1**: MaxCompute'."\n" - .'* **2**: OSS'."\n" - .'* **3**: AnalyticDB for MySQL'."\n" - .'* **4**: Tablestore'."\n" - .'* **5**: ApsaraDB RDS'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'GmtCreate' => [ - 'description' => 'The time when the data asset was connected to DSC. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '145600000', - ], - 'ResourceTypeCode' => [ - 'description' => 'The service to which the data asset belongs. Valid values:'."\n" - ."\n" - .'* **MaxCompute**'."\n" - .'* **OSS**'."\n" - .'* **ADS**'."\n" - .'* **OTS**'."\n" - .'* **RDS**'."\n", - 'type' => 'string', - 'example' => 'RDS', - ], - 'UserName' => [ - 'description' => 'The account of the user who manages the data asset.'."\n", - 'type' => 'string', - 'example' => 'User01', - ], - 'Id' => [ - 'description' => 'The ID of the data asset.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12300', - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7C3AC882-E5A8-4855-BE77-B6837B6*****', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"DataLimit\\": {\\n \\"LocalName\\": \\"华北1(青岛)\\",\\n \\"CheckStatus\\": 3,\\n \\"Port\\": 3306,\\n \\"CheckStatusName\\": \\"通过\\",\\n \\"RegionId\\": \\"cn-qingdao\\",\\n \\"ParentId\\": \\"rm-m5eup49p6o274****.RDS_example\\",\\n \\"ResourceType\\": 1,\\n \\"GmtCreate\\": 145600000,\\n \\"ResourceTypeCode\\": \\"RDS\\",\\n \\"UserName\\": \\"User01\\",\\n \\"Id\\": 12300\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDataLimitDetailResponse>\\n <RequestId>769FB3C1-F4C9-42DF-9B72-7077A8989C13</RequestId>\\n <DataLimit>\\n <LocalName>华北1(青岛)</LocalName>\\n <CheckStatus>3</CheckStatus>\\n <Port>3306</Port>\\n <CheckStatusName>通过</CheckStatusName>\\n <RegionId>cn-qingdao</RegionId>\\n <ParentId>rm-m5eup49p6o274****.RDS_example</ParentId>\\n <ResourceType>1</ResourceType>\\n <GmtCreate>145600000</GmtCreate>\\n <ResourceTypeCode>RDS</ResourceTypeCode>\\n <UserName>User01</UserName>\\n <Id>12300</Id>\\n </DataLimit>\\n</DescribeDataLimitDetailResponse>","errorExample":""}]', - 'title' => 'DescribeDataLimitDetail', - 'description' => "\n" - ."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'CreateDataLimit' => [ - 'summary' => 'Authorizes Data Security Center (DSC) to scan data assets. The data assets can be a database, a project, or a bucket.', - 'methods' => [ - 'post', - 'get', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Delete a custom sensitive data detection rule', + 'changeSet' => [ + ['createdAt' => '2024-03-25T07:35:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ['createdAt' => '2023-12-06T07:46:33.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRule'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-sddp:DeleteRule', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7C3AC882-E5A8-4855-BE77-B6837B6*****\\"\\n}","type":"json"}]', + ], + 'DescribeAuditLogs' => [ + 'summary' => 'Queries the list of audit alert logs.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '81960', - 'abilityTreeNodes' => [ - 'FEATUREsddp2CRSZ1', - ], + 'abilityTreeCode' => '81992', + 'abilityTreeNodes' => ['FEATUREsddpH8R72I'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ResourceType', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of service to which the data asset belongs. Valid values:'."\n" - ."\n" - .'* **1** :MaxCompute'."\n" - .'* **2**: Object Storage Service (OSS)'."\n" - .'* **3**: AnalyticDB for MySQL'."\n" - .'* **4** :Tablestore'."\n" - .'* **5**: ApsaraDB RDS'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: **zh_cn**. Valid values:'."\n" + .'- **zh_cn**: Chinese.'."\n" + .'- **en_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'ServiceRegionId', + 'name' => 'UserName', 'in' => 'query', - 'schema' => [ - 'description' => 'The region in which the data asset resides. Valid values:'."\n" - ."\n" - .'* **cn-beijing**: China (Beijing).'."\n" - .'* **cn-zhangjiakou**: China (Zhangjiakou)'."\n" - .'* **cn-huhehaote**: China (Hohhot)'."\n" - .'* **cn-hangzhou**: China (Hangzhou)'."\n" - .'* **cn-shanghai**: China (Shanghai)'."\n" - .'* **cn-shenzhen**: China (Shenzhen)'."\n" - .'* **cn-hongkong**: China (Hong Kong)'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The username.', 'type' => 'string', 'required' => false, 'example' => 'admin', 'title' => ''], ], [ - 'name' => 'ParentId', + 'name' => 'ClientIp', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the asset. The value is a connection string. It consists of an instance ID and a database name, which are separated by a comma (,). This parameter is required.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test-11**', - ], + 'schema' => ['description' => 'The IP address of the request client.', 'type' => 'string', 'required' => false, 'example' => '10.*.*.94', 'title' => ''], ], [ - 'name' => 'UserName', + 'name' => 'ClientUa', 'in' => 'query', - 'schema' => [ - 'description' => 'The username that is used to access the database.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'yhm', - ], + 'schema' => ['description' => 'The client type.', 'type' => 'string', 'required' => false, 'example' => 'mysql', 'title' => ''], ], [ - 'name' => 'Password', + 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The password that is used to access the database.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'passwd', - ], + 'schema' => ['description' => 'The name of the asset instance.', 'type' => 'string', 'required' => false, 'example' => 'i-2zeftaaq4gqcqb9kfkzg', 'title' => ''], ], [ - 'name' => 'AuditStatus', + 'name' => 'DatabaseName', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the security audit feature. Valid values:'."\n" - ."\n" - .'* **0**: no'."\n" - .'* **1**: yes'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The database name.', 'type' => 'string', 'required' => false, 'example' => 'bose_o2o_data', 'title' => ''], ], [ - 'name' => 'AutoScan', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to automatically trigger a re-scan after a rule is modified. Valid values:'."\n" - ."\n" - .'* **0**: no'."\n" - .'* **1**: yes'."\n" - ."\n" - .'> When a re-scan is triggered, DSC scans all data in your data asset.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The start time of the alert log, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1616068534877', 'title' => ''], ], [ - 'name' => 'LogStoreDay', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The retention period of raw logs after you enable the security audit feature. Unit: days. Valid values:'."\n" - ."\n" - .'* **30**'."\n" - .'* **90**'."\n" - .'* **180**'."\n" - .'* **365**'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - ], + 'schema' => ['description' => 'The end time of the alert log. The value is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1583856000000', 'title' => ''], ], [ - 'name' => 'EngineType', + 'name' => 'ProductCode', 'in' => 'query', - 'schema' => [ - 'description' => 'The database engine that is run by the instance. Valid values:'."\n" - ."\n" - .'* **MySQL**'."\n" - .'* **SQLServer**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MySQL', - ], + 'schema' => ['description' => 'The name of the product to which the data asset belongs. Valid values: **MaxCompute, OSS, ADS, OTS, RDS**, and more.', 'type' => 'string', 'required' => false, 'example' => 'RDS', 'title' => ''], ], [ - 'name' => 'Port', + 'name' => 'ProductId', 'in' => 'query', - 'schema' => [ - 'description' => 'The port that is used to connect to the database.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3306', - ], + 'schema' => ['description' => 'The ID that corresponds to the product name to which the data object belongs. Valid values:'."\n" + .'- **1**: MaxCompute'."\n" + .'- **2**: OSS'."\n" + .'- **3**: ADB-MYSQL'."\n" + .'- **4**: TableStore'."\n" + .'- **5**: RDS'."\n" + .'- **6**: SELF_DB'."\n" + .'- **7**: PolarDB-X'."\n" + .'- **8**: PolarDB'."\n" + .'- **9**: ADB-PG'."\n" + .'- **10**: OceanBase'."\n" + .'- **11**: MongoDB'."\n" + .'- **25**: Redis', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5', 'title' => ''], ], [ - 'name' => 'OcrStatus', + 'name' => 'SqlText', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable optical character recognition (OCR). Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The content of the SQL statement.', 'type' => 'string', 'required' => false, 'example' => 'select * from test03', 'title' => ''], ], [ - 'name' => 'EventStatus', + 'name' => 'ExecuteTimeRange', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable anomalous event detection. Valid values:'."\n" - ."\n" - .'* **0**: no'."\n" - .'* **1**: yes (default)'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The range of execution time.', 'type' => 'string', 'required' => false, 'example' => 'in[1000 2000]', 'title' => ''], ], [ - 'name' => 'Enable', + 'name' => 'EffectRowRange', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable sensitive data detection. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n" - ."\n" - .'> If this is your first time to authorize DSC to access the data asset, the default value is 1. If this is not your first time to authorize DSC to access the data asset, the default value is the same as that used in the last authorization operation. Both 1 and 0 are possible.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The range of affected rows.', 'type' => 'string', 'required' => false, 'example' => 'in[1 33]', 'title' => ''], ], [ - 'name' => 'SamplingSize', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of sensitive data samples that are collected after sensitive data detection is enabled. Valid values:'."\n" - ."\n" - .'* **0**'."\n" - .'* **5**'."\n" - .'* **10**'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The name of the audit policy.', 'type' => 'string', 'required' => false, 'example' => 'test_rule', 'title' => ''], ], [ - 'name' => 'CertificatePermission', + 'name' => 'OperateType', 'in' => 'query', - 'schema' => [ - 'description' => 'The permissions. Valid values:'."\n" - ."\n" - .'* **ReadOnly**: read-only permissions'."\n" - .'* **ReadWrite**: read and write permissions'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ReadOnly', - ], + 'schema' => ['description' => 'The operation type.', 'type' => 'string', 'required' => false, 'example' => 'Insert', 'title' => ''], ], [ - 'name' => 'FeatureType', + 'name' => 'OssObjectKey', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The key of the OSS object.', 'type' => 'string', 'required' => false, 'example' => 'oss-key', 'title' => ''], ], [ - 'name' => 'SourceIp', + 'name' => 'AsyncRequestId', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.', - 'type' => 'string', - 'required' => false, - 'example' => '39.170.XX.XX', - ], + 'schema' => ['description' => 'The request ID.', 'type' => 'string', 'required' => false, 'example' => 'CE4681BA-8019-5BE1-9F4B-8973BEA9CF57', 'title' => ''], ], [ - 'name' => 'InstantlyScan', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to immediately scan the authorized asset. Valid values:'."\n" - ."\n" - .'* **false**'."\n" - .'* **true**'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The number of entries per page in a paged query. Maximum value: **50**. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Chinese'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The page number in a paged query. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the data asset.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '7C3AC882-E5A8-4855-BE77-B6837B695EF1', - ], - ], - ], + [ + 'name' => 'RuleCategory', + 'in' => 'query', + 'schema' => ['description' => 'The rule type.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''], ], - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": 1,\\n \\"RequestId\\": \\"7C3AC882-E5A8-4855-BE77-B6837B695EF1\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateDataLimitResponse>\\n<Id>1</Id>\\n<RequestId>7C3AC882-E5A8-4855-BE77-B6837B695EF1</RequestId>\\n</CreateDataLimitResponse>","errorExample":""}]', - 'title' => 'CreateDataLimit', - 'description' => 'You can call this operation to authorize DSC to scan data assets to ensure the security of the data assets.', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeDataLimitSet' => [ - 'summary' => 'Queries assets that Data Security Center (DSC) is authorized to scan, or the regions that DSC supports.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'LoadWhiteList', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to load the whitelist status.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '82014', - 'abilityTreeNodes' => [ - 'FEATUREsddp2CRSZ1', + [ + 'name' => 'MemberAccount', + 'in' => 'query', + 'schema' => ['description' => 'The UID of the member accounts.', 'type' => 'string', 'required' => false, 'example' => '**********8103', 'title' => ''], ], - ], - 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'IpType', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Simplified Chinese (default)'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The network type. Valid values:'."\n" + ."\n" + .'- **default** (default): non-Alibaba Cloud service'."\n" + ."\n" + .'- **aliyun**: Alibaba Cloud service', 'type' => 'string', 'required' => false, 'example' => 'aliyun', 'title' => ''], ], [ - 'name' => 'ResourceType', + 'name' => 'LogQueryOpJson', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of service to which the data asset belongs. Valid values:'."\n" - ."\n" - .'* **1**: MaxCompute'."\n" - .'* **2**: OSS'."\n" - .'* **3**: AnalyticDB for MySQL'."\n" - .'* **4**: Tablestore'."\n" - .'* **5**: ApsaraDB RDS'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['title' => '', 'description' => 'The JSON string that specifies whether the query conditions are included.', 'type' => 'string', 'example' => '[ { "isContain" : false, "queryKey" : "effectRowRange" }, { "isContain" : false, "queryKey" : "remoteClientIp" } ]', 'required' => false], ], [ - 'name' => 'ParentId', + 'name' => 'Message', 'in' => 'query', - 'schema' => [ - 'description' => 'The parent asset ID of the data asset.'."\n" - ."\n" - .'You can call the [DescribeDataLimitDetail](~~DescribeDataLimitDetail~~) or [DescribeDataLimits](~~DescribeDataLimits~~) operation to obtain the parent asset ID of the data asset from the value of the **ParentId** parameter.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'db', - ], + 'schema' => ['description' => 'The message content.', 'type' => 'string', 'required' => false, 'example' => 'success', 'title' => ''], ], [ - 'name' => 'FeatureType', + 'name' => 'LogSource', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'description' => 'This parameter is deprecated.'."\n", - 'example' => '2', - ], + 'schema' => ['title' => '', 'description' => 'The data source.', 'type' => 'string', 'example' => 'SLOW_SQL', 'required' => false], ], [ - 'name' => 'RegionType', + 'name' => 'RuleAggQuery', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['title' => '', 'description' => 'Specifies whether to perform an aggregate query.', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the audit policy.', 'type' => 'string', 'required' => false, 'example' => '867028', 'title' => ''], ], ], 'responses' => [ @@ -2312,192 +1475,116 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', - ], - 'DataLimitSet' => [ - 'description' => 'The information about the data asset.'."\n", - 'type' => 'object', - 'properties' => [ - 'ResourceTypeCode' => [ - 'description' => 'The service to which the data asset belongs. Valid values:'."\n" - ."\n" - .'* **ODPS**'."\n" - .'* **OSS**'."\n" - .'* **ADS**'."\n" - .'* **OTS**'."\n" - .'* **RDS**'."\n", - 'type' => 'string', - 'example' => 'OSS', - ], - 'ResourceType' => [ - 'description' => 'The type of service to which the data asset belongs. Valid values:'."\n" - ."\n" - .'* **1**: MaxCompute'."\n" - .'* **2**: OSS'."\n" - .'* **3**: AnalyticDB for MySQL'."\n" - .'* **4**: Tablestore'."\n" - .'* **5**: ApsaraDB RDS'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'TotalCount' => [ - 'description' => 'The total number of data objects in the data assets.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'DataLimitList' => [ - 'description' => 'An array that consists of data assets that DSC is authorized to scan.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'LocalName' => [ - 'description' => 'The region in which the data asset resides.'."\n", - 'type' => 'string', - 'example' => 'China (Hangzhou)'."\n", - ], - 'CheckStatus' => [ - 'description' => 'Indicates whether the test of connectivity between DSC and the data asset is passed.'."\n" - ."\n" - .'* **2**: The connectivity test is in progress.'."\n" - .'* **3**: The connectivity test is passed.'."\n" - .'* **4**: The connectivity test failed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'Connector' => [ - 'description' => 'The connection string that is used to access the data asset.'."\n", - 'type' => 'string', - 'example' => 'Connection string'."\n", - ], - 'CheckStatusName' => [ - 'description' => 'The name of the data detection status.'."\n", - 'type' => 'string', - 'example' => 'Connectivity test status'."\n", - ], - 'RegionId' => [ - 'description' => 'The region in which the data asset resides.'."\n", - 'type' => 'string', - 'example' => 'cn-****', - ], - 'ParentId' => [ - 'description' => 'The parent asset ID of the data asset.'."\n", - 'type' => 'string', - 'example' => 'db', - ], - 'ResourceType' => [ - 'description' => 'The type of service to which the data asset belongs. Valid values:'."\n" - ."\n" - .'* **1**: MaxCompute'."\n" - .'* **2**: OSS'."\n" - .'* **3**: AnalyticDB for MySQL'."\n" - .'* **4**: Tablestore'."\n" - .'* **5**: ApsaraDB RDS'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'GmtCreate' => [ - 'description' => 'The time when the data asset was created. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1625587423000', - ], - 'ResourceTypeCode' => [ - 'description' => 'The code of the service to which the data asset belongs. Valid values:'."\n" - ."\n" - .'* **ODPS**'."\n" - .'* **OSS**'."\n" - .'* **ADS**'."\n" - .'* **OTS**'."\n" - .'* **RDS**'."\n", - 'type' => 'string', - 'example' => 'OSS', - ], - 'UserName' => [ - 'description' => 'The username that is used to access the data asset.'."\n", - 'type' => 'string', - 'example' => 'tsts', - ], - 'Id' => [ - 'description' => 'The ID of the data asset.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], - 'OssBucketList' => [ - 'description' => 'An array consisting of the OSS objects that DSC is authorized to scan.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The region ID of the OSS object.'."\n", - 'type' => 'string', - 'example' => 'cn-****', - ], - 'BucketName' => [ - 'description' => 'The name of the OSS bucket to which the OSS object belongs.'."\n", - 'type' => 'string', - 'example' => 'oss-bucket', - ], - ], - ], - ], - 'RegionList' => [ - 'description' => 'An array consisting of the regions in which the data assets can be scanned.'."\n", - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RegionId' => [ - 'description' => 'The ID of the region.'."\n", - 'type' => 'string', - 'example' => 'cn-****', - ], - 'LocalName' => [ - 'description' => 'The name of the region.'."\n", - 'type' => 'string', - 'example' => 'China (Hangzhou)'."\n", - ], - ], - ], + 'AsyncRequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CE4681BA-8019-5BE1-9F4B-8973BEA9CF57'."\n", 'title' => ''], + 'CurrentPage' => ['description' => 'The page number in a paged query. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page in a paged query. Maximum value: **50**. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'A7021857-AFD9-5AD6-979D-AA7DFC5AFADF', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], + 'Items' => [ + 'description' => 'The list of alert logs.', + 'type' => 'array', + 'items' => [ + 'description' => 'The list of alert logs.', + 'type' => 'object', + 'properties' => [ + 'CreationTime' => ['description' => 'The alert time, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1536751124000', 'title' => ''], + 'WarnLevel' => ['description' => 'The risk level. Valid values:'."\n" + .'- **1**: Low.'."\n" + .'- **2**: Medium.'."\n" + .'- **3**: High.', 'type' => 'string', 'example' => '2', 'title' => ''], + 'ClientPort' => ['description' => 'The client port.', 'type' => 'string', 'example' => '35756', 'title' => ''], + 'TableName' => ['description' => 'The table name.', 'type' => 'string', 'example' => 'it_table', 'title' => ''], + 'EffectRow' => ['description' => 'The number of affected rows.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'PackageName' => ['description' => 'The MaxCompute package name.', 'type' => 'string', 'example' => 'test01', 'title' => ''], + 'UserId' => ['description' => 'The user UID.', 'type' => 'string', 'example' => '19********94', 'title' => ''], + 'Message' => ['description' => 'The raw log content.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'RuleId' => ['description' => 'The audit policy ID.', 'type' => 'string', 'example' => '9952275', 'title' => ''], + 'OperateType' => ['description' => 'The operation type.', 'type' => 'string', 'example' => 'Drop', 'title' => ''], + 'LogTime' => ['description' => 'The log execution time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1751870592000', 'title' => ''], + 'WarnLevelName' => ['description' => 'The name of the risk level. Valid values:'."\n" + .'- Low.'."\n" + .'- Medium.'."\n" + .'- High.', 'type' => 'string', 'example' => 'High risk', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the asset instance.', 'type' => 'string', 'example' => 'rm-1234', 'title' => ''], + 'DatabaseName' => ['description' => 'The database name.', 'type' => 'string', 'example' => 'chngc_b2b_migration_sh', 'title' => ''], + 'OssObjectKey' => ['description' => 'The key of the OSS object.', 'type' => 'string', 'example' => 'oss-key1', 'title' => ''], + 'ExecuteStatus' => ['description' => 'The execution status. Valid values:'."\n" + .'- 0: failed.'."\n" + .'- 1: succeeded.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ProductId' => ['description' => 'The ID that corresponds to the product name to which the data asset belongs. Valid values:'."\n" + .'- **1**: MaxCompute.'."\n" + .'- **2**: OSS.'."\n" + .'- **3**: ADS.'."\n" + .'- **4**: OTS.'."\n" + .'- **5**: RDS.'."\n" + .'- **6**: SELF_DB.', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''], + 'ExecuteTime' => ['description' => 'The execution duration, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1751870592000', 'title' => ''], + 'UserName' => ['description' => 'The username.', 'type' => 'string', 'example' => 'admin', 'title' => ''], + 'InstanceDescription' => ['description' => 'The description of the data asset instance.', 'type' => 'string', 'example' => 'instance dscription', 'title' => ''], + 'RuleName' => ['description' => 'The name of the audit policy.', 'type' => 'string', 'example' => 'name', 'title' => ''], + 'ColumnName' => ['description' => 'The column name.', 'type' => 'string', 'example' => 'hide14', 'title' => ''], + 'ClientIp' => ['description' => 'The client IP address.', 'type' => 'string', 'example' => '139.*.*.57', 'title' => ''], + 'ClientUa' => ['description' => 'The client type.', 'type' => 'string', 'example' => 'mysql', 'title' => ''], + 'ProductCode' => ['description' => 'The name of the product to which the column data in the data asset table belongs. Valid values: **MaxCompute, OSS, ADS, OTS, RDS**, and more.', 'type' => 'string', 'example' => 'RDS', 'title' => ''], + 'SqlText' => ['description' => 'The SQL statement in the alert log.', 'type' => 'string', 'example' => 'select * from test03'."\n", 'title' => ''], + 'InWhiteList' => ['description' => 'Indicates whether the entry is whitelisted.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'MemberAccount' => ['description' => 'The UID of the member accounts.', 'type' => 'string', 'example' => '**********8103', 'title' => ''], + 'RuleCategory' => ['description' => 'The rule type.', 'type' => 'string', 'example' => '10', 'title' => ''], + 'IpType' => ['description' => 'The network type. Valid values:'."\n" + ."\n" + .'**default** (default): non-Alibaba Cloud service'."\n" + ."\n" + .'**aliyun**: Alibaba Cloud service', 'type' => 'string', 'example' => 'aliyun', 'title' => ''], + 'ModelName' => ['description' => 'The sensitive data model that was matched.', 'type' => 'string', 'example' => 'Identity Card', 'title' => ''], + 'DataSet' => ['description' => 'The SQL result set.', 'type' => 'string', 'example' => 'plan_id ~ application_id ~ plan_type ~ plan_name ~ plan_value_id', 'title' => ''], + 'LogSource' => ['title' => '', 'description' => 'The data source.', 'type' => 'string', 'example' => 'SLOW_SQL'], + 'InstanceAuditStatus' => ['title' => '', 'description' => 'The instance audit status.', 'type' => 'string', 'example' => '2'], + 'DbType' => ['title' => '', 'description' => 'The database type.', 'type' => 'string', 'example' => 'MySQL'], + 'RamConsoleLink' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"DataLimitSet\\": {\\n \\"ResourceTypeCode\\": \\"OSS\\",\\n \\"ResourceType\\": 2,\\n \\"TotalCount\\": 10,\\n \\"DataLimitList\\": [\\n {\\n \\"LocalName\\": \\"华东1(杭州)\\",\\n \\"CheckStatus\\": 3,\\n \\"Connector\\": \\"连接串\\",\\n \\"CheckStatusName\\": \\"联通性检测状态\\",\\n \\"RegionId\\": \\"cn-****\\",\\n \\"ParentId\\": \\"db\\",\\n \\"ResourceType\\": 2,\\n \\"GmtCreate\\": 1625587423000,\\n \\"ResourceTypeCode\\": \\"OSS\\",\\n \\"UserName\\": \\"tsts\\",\\n \\"Id\\": 1\\n }\\n ],\\n \\"OssBucketList\\": [\\n {\\n \\"RegionId\\": \\"cn-****\\",\\n \\"BucketName\\": \\"oss-bucket\\"\\n }\\n ],\\n \\"RegionList\\": [\\n {\\n \\"RegionId\\": \\"cn-****\\",\\n \\"LocalName\\": \\"杭州\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeDataLimitSetResponse>\\n<DataLimitSet>\\n\\t\\t<TotalCount>10</TotalCount>\\n\\t\\t<ResourceTypeCode>OSS</ResourceTypeCode>\\n\\t\\t<ResourceType>2</ResourceType>\\n\\t\\t<DataLimitList>\\n\\t\\t\\t<ParentId>db</ParentId>\\n\\t\\t\\t<Connector>连接串</Connector>\\n\\t\\t\\t<GmtCreate>1625587423000</GmtCreate>\\n\\t\\t\\t<UserName>tsts</UserName>\\n\\t\\t\\t<ResourceTypeCode>OSS</ResourceTypeCode>\\n\\t\\t\\t<CheckStatus>3</CheckStatus>\\n\\t\\t\\t<ResourceType>2</ResourceType>\\n\\t\\t\\t<Id>1</Id>\\n\\t\\t\\t<RegionId>cn-****</RegionId>\\n\\t\\t\\t<CheckStatusName>联通性检测状态</CheckStatusName>\\n\\t\\t\\t<LocalName>华东1(杭州)</LocalName>\\n\\t\\t</DataLimitList>\\n\\t\\t<OssBucketList>\\n\\t\\t\\t<BucketName>oss-bucket</BucketName>\\n\\t\\t\\t<RegionId>cn-****</RegionId>\\n\\t\\t</OssBucketList>\\n\\t\\t<RegionList>\\n\\t\\t\\t<RegionId>cn-****</RegionId>\\n\\t\\t\\t<LocalName>杭州</LocalName>\\n\\t\\t</RegionList>\\n</DataLimitSet>\\n<RequestId>769FB3C1-F4C9-42DF-9B72-7077A8989C13</RequestId>\\n</DescribeDataLimitSetResponse>","errorExample":""}]', - 'title' => 'DescribeDataLimitSet', - 'description' => 'You can call this operation to query the data assets that are authorized to be scanned. This facilitates resource search and aggregation.'."\n" - ."\n" - .'# Limits'."\n" + 'title' => 'Query audit alert logs', + 'description' => 'This operation is used to query the list of data audit alert logs, which facilitates alerting search and alerting handling.'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeInstanceSources' => [ - 'summary' => 'Queries a list of data assets.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Invoke this operation at an appropriate frequency.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeAuditLogs', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AsyncRequestId\\": \\"CE4681BA-8019-5BE1-9F4B-8973BEA9CF57\\\\n\\",\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"A7021857-AFD9-5AD6-979D-AA7DFC5AFADF\\",\\n \\"TotalCount\\": 12,\\n \\"Items\\": [\\n {\\n \\"CreationTime\\": 1536751124000,\\n \\"WarnLevel\\": \\"2\\",\\n \\"ClientPort\\": \\"35756\\",\\n \\"TableName\\": \\"it_table\\",\\n \\"EffectRow\\": 10,\\n \\"PackageName\\": \\"test01\\",\\n \\"UserId\\": \\"19********94\\",\\n \\"Message\\": \\"success\\",\\n \\"RuleId\\": \\"9952275\\",\\n \\"OperateType\\": \\"Drop\\",\\n \\"LogTime\\": 1751870592000,\\n \\"WarnLevelName\\": \\"High risk\\",\\n \\"InstanceName\\": \\"rm-1234\\",\\n \\"DatabaseName\\": \\"chngc_b2b_migration_sh\\",\\n \\"OssObjectKey\\": \\"oss-key1\\",\\n \\"ExecuteStatus\\": 1,\\n \\"ProductId\\": 5,\\n \\"ExecuteTime\\": 1751870592000,\\n \\"UserName\\": \\"admin\\",\\n \\"InstanceDescription\\": \\"instance dscription\\",\\n \\"RuleName\\": \\"name\\",\\n \\"ColumnName\\": \\"hide14\\",\\n \\"ClientIp\\": \\"139.*.*.57\\",\\n \\"ClientUa\\": \\"mysql\\",\\n \\"ProductCode\\": \\"RDS\\",\\n \\"SqlText\\": \\"select * from test03\\\\n\\",\\n \\"InWhiteList\\": true,\\n \\"MemberAccount\\": \\"**********8103\\",\\n \\"RuleCategory\\": \\"10\\",\\n \\"IpType\\": \\"aliyun\\",\\n \\"ModelName\\": \\"Identity Card\\",\\n \\"DataSet\\": \\"plan_id ~ application_id ~ plan_type ~ plan_name ~ plan_value_id\\",\\n \\"LogSource\\": \\"SLOW_SQL\\",\\n \\"InstanceAuditStatus\\": \\"2\\",\\n \\"DbType\\": \\"MySQL\\",\\n \\"RamConsoleLink\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeCategoryTemplateList' => [ + 'summary' => 'Queries the list of industry templates.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2508,173 +1595,202 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82049', - 'abilityTreeNodes' => [ - 'FEATUREsddp2CRSZ1', - ], + 'abilityTreeCode' => '81997', + 'abilityTreeNodes' => ['FEATUREsddpIUNEZP'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Simplified Chinese (default)'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: **zh_cn**.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **zh_cn**: Simplified Chinese.'."\n" + .'- **en_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Default value: **10**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The number of entries per page in a paged query. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The page number in a paged query. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ServiceRegionId', + 'name' => 'UsageScenario', 'in' => 'query', - 'schema' => [ - 'description' => 'The region in which the data asset resides. For more information, see [Supported regions](~~214257~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The scenario in which the API is called. Default value: **null**.'."\n" + ."\n" + .'Valid values:'."\n" + .'- **null**: legacy version.'."\n" + .'- **0**: legacy version.'."\n" + .'- **1**: new version.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'EngineType', + 'name' => 'FeatureType', 'in' => 'query', + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The engine type. Valid values:'."\n" - ."\n" - .'* **MySQL**'."\n" - .'* **MariaDB**'."\n" - .'* **Oracle**'."\n" - .'* **PostgreSQL**'."\n" - .'* **SQLServer**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MySQL', + 'description' => 'The response object.', + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['description' => 'The page number in a paged query. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The unique ID that Alibaba Cloud generates for the request.', 'type' => 'string', 'example' => '8491DBFD-48C0-4E11-B6FC-6F38921244A9', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page in a paging query. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], + 'Items' => [ + 'description' => 'The list of industry templates.', + 'type' => 'array', + 'items' => [ + 'description' => 'The industry template object.', + 'type' => 'object', + 'properties' => [ + 'CurrentRiskLevel' => ['description' => 'The ID of the current risk level.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'Status' => ['description' => 'The status of the industry template. Valid values:'."\n" + .'- **0**: Disabled.'."\n" + .'- **1**: Enabled. The template is the current primary template of the user.'."\n" + .'- **2**: Active. Both enabled and active templates can be applied to detection tasks.'."\n" + .'- **3**: General detection model template.'."\n" + ."\n" + .'> Templates in the enabled or active state can be used as the industry template ID parameter for [DescribeDataObjects](~~2399253~~).', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Type' => ['description' => 'The type of the industry template.', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'title' => ''], + 'SupportEdit' => ['description' => 'Indicates whether the industry template supports editing. Valid values:'."\n" + .'- **0**: Not supported.'."\n" + .'- **1**: Supported.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'MaxCategoryLevel' => ['description' => 'The maximum category level.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'Name' => ['description' => 'The name of the industry template.', 'type' => 'string', 'example' => 'built-in template', 'title' => ''], + 'MaxRiskLevel' => ['description' => 'The ID of the maximum risk level.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the industry template.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'Description' => ['description' => 'The description of the industry template.', 'type' => 'string', 'example' => 'description', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the industry template was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '1582992000000', 'title' => ''], + 'GmtModified' => ['description' => 'The time when the industry template was last modified.', 'type' => 'integer', 'format' => 'int64', 'example' => '1545277010000', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'Query industry templates', + 'changeSet' => [ + ['createdAt' => '2024-03-25T07:35:05.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCategoryTemplateList'], + ], + ], + 'ramActions' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'instance-demo-****', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeCategoryTemplateList', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"8491DBFD-48C0-4E11-B6FC-6F38921244A9\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 12,\\n \\"Items\\": [\\n {\\n \\"CurrentRiskLevel\\": 5,\\n \\"Status\\": 1,\\n \\"Type\\": 6,\\n \\"SupportEdit\\": 0,\\n \\"MaxCategoryLevel\\": 2,\\n \\"Name\\": \\"built-in template\\",\\n \\"MaxRiskLevel\\": 5,\\n \\"Id\\": 1,\\n \\"Description\\": \\"description\\",\\n \\"GmtCreate\\": 1582992000000,\\n \\"GmtModified\\": 1545277010000\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeCategoryTemplateRuleList' => [ + 'summary' => 'Queries a paginated list of rules in a data classification template.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ProductId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the service to which the asset belongs. Valid values:'."\n" - ."\n" - .'* **1**: MaxCompute'."\n" - .'* **2**: Object Storage Service (OSS)'."\n" - .'* **3**: AnalyticDB for MySQL'."\n" - .'* **4**: Tablestore (OTS)'."\n" - .'* **5**: ApsaraDB RDS'."\n" - .'* **6**: self-managed databases'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '81998', + 'abilityTreeNodes' => ['FEATUREsddpIUNEZP'], + ], + 'parameters' => [ [ - 'name' => 'ProductCode', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the service to which the data asset to query belongs. Valid values: **MaxCompute, OSS, ADS, OTS, and RDS**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MaxCompute', - ], + 'schema' => ['description' => 'The language of the request and response. The default value is **zh\\_cn**. Valid values:'."\n" + ."\n" + .'- **zh\\_cn**: Simplified Chinese.'."\n" + ."\n" + .'- **en\\_us**: US English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ - 'name' => 'AuditStatus', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the security audit feature. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The number of template rules to return on each page. The default value is **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'SearchType', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The data asset type based on which a fuzzy search is performed.'."\n" - ."\n" - .'* **InstanceId**: the ID of the instance.'."\n" - .'* **InstanceName**: the name of the instance.'."\n" - .'* **DatabaseName**: the name of the database.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'InstanceId', - ], + 'schema' => ['description' => 'The page number. The default value is **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'SearchKey', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => 'The content based on which a fuzzy search is performed.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The status of the template rule. The default value is **null**. Valid values:'."\n" + ."\n" + .'- **0**: The rule is disabled.'."\n" + ."\n" + .'- **1**: The rule is enabled.'."\n" + ."\n" + .'- **null**: All rules are returned, regardless of their status.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'AuthStatus', + 'name' => 'RiskLevelId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether DSC is authorized to access the data asset.'."\n" - ."\n" - .'* **0**: no'."\n" - .'* **1**: yes'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The risk level of the template rule. The value ranges from **1** to **11**. The default value is **null**. Valid values:'."\n" + ."\n" + .'- **1**: No risk.'."\n" + ."\n" + .'- **2**: S1.'."\n" + ."\n" + .'- **3**: S2.'."\n" + ."\n" + .'- **4**: S3.'."\n" + ."\n" + .'- **5**: S4.'."\n" + ."\n" + .'- **6**: S5.'."\n" + ."\n" + .'- **7**: S6.'."\n" + ."\n" + .'- **8**: S7.'."\n" + ."\n" + .'- **9**: S8.'."\n" + ."\n" + .'- **10**: S9.'."\n" + ."\n" + .'- **11**: S10.'."\n" + ."\n" + .'- **null**: All risk levels, including No risk, S1, S2, S3, S4, S5, S6, S7, S8, S9, and S10.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''], ], [ 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -2682,900 +1798,594 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '5A7E8FB9-5011-5A90-97D9-AE587047****', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], + 'CurrentPage' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '136082B3-B21F-5E9D-B68E-991FFD205D24', 'title' => ''], + 'PageSize' => ['description' => 'The number of template rules returned on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of rules in the template.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'Items' => [ - 'description' => 'The assets.'."\n", + 'description' => 'A list of template rules.', 'type' => 'array', 'items' => [ - 'description' => 'The asset.'."\n", 'type' => 'object', 'properties' => [ - 'LastModifyUserId' => [ - 'description' => 'The ID of the account that is last used to modify the data asset.'."\n", - 'type' => 'string', - 'example' => 'demo', - ], - 'PasswordStatus' => [ - 'description' => 'Indicates whether the password is used. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EngineType' => [ - 'description' => 'The engine type. Valid values:'."\n" - ."\n" - .'* **MySQL**'."\n" - .'* **MariaDB**'."\n" - .'* **Oracle**'."\n" - .'* **PostgreSQL**'."\n" - .'* **SQLServer**'."\n", - 'type' => 'string', - 'example' => 'MySQL', - ], - 'TenantName' => [ - 'description' => 'The name of the tenant.'."\n", - 'type' => 'string', - 'example' => 'user1', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance'."\n", - 'type' => 'string', - 'example' => 'rm-****', - ], - 'InstanceDescription' => [ - 'description' => 'The description of the instance.'."\n", - 'type' => 'string', - 'example' => 'Test'."\n", - ], - 'RegionId' => [ - 'description' => 'The ID of the region where the instance resides.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'DbName' => [ - 'description' => 'The name of the database to which the data asset belongs.'."\n", - 'type' => 'string', - 'example' => 'demo', - ], - 'LastModifyTime' => [ - 'description' => 'The time when the data asset was last modified. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1625587423000', - ], - 'RegionName' => [ - 'description' => 'The name of the region.'."\n", - 'type' => 'string', - 'example' => 'China (Hangzhou)'."\n", - ], - 'CanModifyUserName' => [ - 'description' => 'Indicates whether the username and password can be changed. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'LogStoreDay' => [ - 'description' => 'The retention period of raw logs. Unit: days.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'GmtCreate' => [ - 'description' => 'The time when the data asset was created. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1625587423000', - ], - 'AutoScan' => [ - 'description' => 'Indicates whether the automatic scan feature is enabled to detect sensitive data. Valid values:'."\n" - ."\n" - .'* **0**: no'."\n" - .'* **1**: yes'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'ProductId' => [ - 'description' => 'The ID of the service to which the asset belongs. Valid values:'."\n" - ."\n" - .'* **1**: MaxCompute'."\n" - .'* **2**: OSS'."\n" - .'* **3**: AnalyticDB for MySQL'."\n" - .'* **4**: OTS'."\n" - .'* **5**: ApsaraDB RDS'."\n" - .'* **6**: self-managed databases'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'InstanceSize' => [ - 'description' => 'The storage space size of the instance. This parameter is valid only if the value of the ProductId parameter is 2. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '409600', - ], - 'UserName' => [ - 'description' => 'The username of the account.'."\n", - 'type' => 'string', - 'example' => 'User01', - ], - 'AuditStatus' => [ - 'description' => 'Indicates whether the security audit feature is enabled. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Id' => [ - 'description' => 'The unique ID of the data asset.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TenantId' => [ - 'description' => 'The ID of the tenant.'."\n", - 'type' => 'string', - 'example' => '11', - ], - 'Enable' => [ - 'description' => 'Indicates whether sensitive data detection is enabled for the data asset. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CheckStatus' => [ - 'description' => 'The data detection status. Valid values:'."\n" - ."\n" - .'* **0**: The data detection is ready.'."\n" - .'* **1**: The data detection is running.'."\n" - .'* **2**: The connectivity test is in progress.'."\n" - .'* **3**: The connectivity test passed.'."\n" - .'* **4**: The connectivity test failed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'DatamaskStatus' => [ - 'description' => 'Indicates whether DSC has the data de-identification permissions on the data asset. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ErrorMessage' => [ - 'description' => 'The reason for the failure.'."\n", - 'type' => 'string', - 'example' => 'The password is invalid.'."\n", - ], - 'SamplingSize' => [ - 'description' => 'The number of sensitive data samples. Valid values: **0**, **5**, and **10**. Unit: data entries.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'Status' => ['description' => 'The status of the template rule. Valid values:'."\n" + ."\n" + .'- **0**: disabled.'."\n" + ."\n" + .'- **1**: enabled.'."\n" + ."\n" + .'- **null**: Represents all statuses, including enabled and disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'IdentificationScope' => ['description' => 'The scope of data that the template rule scans. This parameter is a string converted from a JSON array. Each element in the JSON array represents a data scanning scope and contains the following fields:'."\n" + ."\n" + .'- **Asset**: A string that indicates the asset type. Valid values include RDS, DRDS, PolarDB, OTS, ADB, OceanBase, and ODPS.'."\n" + ."\n" + .'- **Content**: The specific scope of the asset to scan. This is an array of objects, where each object contains the following fields:'."\n" + ."\n" + .' - **Range**: A string that indicates the matching range. Valid values include instance, database, table, column, project (for MaxCompute assets only), bucket (for OSS assets only), and object (for OSS assets only).'."\n" + ."\n" + .' - **Operator**: A string that indicates the matching condition. Valid values include equals, regex (regular expression), prefix, and suffix.'."\n" + ."\n" + .' - **Value**: A string that indicates the content to match.', 'type' => 'string', 'example' => '[{"Asset":"RDS","Content":[{"Range":"database","Operator":"regex","Value":"register"}]},{"Asset":"RDS","Content":[{"Range":"table","Operator":"regex","Value":"register"}]},{"Asset":"RDS","Content":[{"Range":"column","Operator":"regex","Value":"register"}]},{"Asset":"ODPS","Content":[{"Range":"project","Operator":"regex","Value":"register"}]},{"Asset":"ODPS","Content":[{"Range":"table","Operator":"regex","Value":"register"}]},{"Asset":"ODPS","Content":[{"Range":"column","Operator":"regex","Value":"register"}]}]', 'title' => ''], + 'RiskLevelId' => ['description' => 'The risk level of the template rule. The value ranges from **1** to **11**. Valid values:'."\n" + ."\n" + .'- **1**: No risk.'."\n" + ."\n" + .'- **2**: S1.'."\n" + ."\n" + .'- **3**: S2.'."\n" + ."\n" + .'- **4**: S3.'."\n" + ."\n" + .'- **5**: S4.'."\n" + ."\n" + .'- **6**: S5.'."\n" + ."\n" + .'- **7**: S6.'."\n" + ."\n" + .'- **8**: S7.'."\n" + ."\n" + .'- **9**: S8.'."\n" + ."\n" + .'- **10**: S9.'."\n" + ."\n" + .'- **11**: S10.'."\n" + ."\n" + .'- **null**: Indicates all risk levels, including No risk, S1, S2, S3, S4, S5, S6, S7, S8, S9, and S10.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'Description' => ['description' => 'The description of the rule.', 'type' => 'string', 'example' => 'Template rule for identifying ID card numbers', 'title' => ''], + 'IdentificationRuleIds' => ['description' => 'A comma-separated list of IDs of the associated atomic models.', 'type' => 'string', 'example' => '1001,1002', 'title' => ''], + 'Name' => ['description' => 'The name of the template rule.', 'type' => 'string', 'example' => 'ID card', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the template rule.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"5A7E8FB9-5011-5A90-97D9-AE587047****\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 2,\\n \\"Items\\": [\\n {\\n \\"LastModifyUserId\\": \\"demo\\",\\n \\"PasswordStatus\\": 1,\\n \\"EngineType\\": \\"MySQL\\",\\n \\"TenantName\\": \\"user1\\",\\n \\"InstanceId\\": \\"rm-****\\",\\n \\"InstanceDescription\\": \\"测试使用\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"DbName\\": \\"demo\\",\\n \\"LastModifyTime\\": 1625587423000,\\n \\"RegionName\\": \\"杭州\\",\\n \\"CanModifyUserName\\": true,\\n \\"LogStoreDay\\": 30,\\n \\"GmtCreate\\": 1625587423000,\\n \\"AutoScan\\": 0,\\n \\"ProductId\\": 2,\\n \\"InstanceSize\\": 409600,\\n \\"UserName\\": \\"User01\\",\\n \\"AuditStatus\\": 1,\\n \\"Id\\": 1,\\n \\"TenantId\\": \\"11\\",\\n \\"Enable\\": 1,\\n \\"CheckStatus\\": 3,\\n \\"DatamaskStatus\\": 1,\\n \\"ErrorMessage\\": \\"password error\\",\\n \\"SamplingSize\\": 10\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeInstanceSourcesResponse>\\n <CurrentPage>1</CurrentPage>\\n <RequestId>5A7E8FB9-5011-5A90-97D9-AE587047DA6C</RequestId>\\n <PageSize>10</PageSize>\\n <TotalCount>2</TotalCount>\\n <Items>\\n <LastModifyUserId>demo</LastModifyUserId>\\n <PasswordStatus>1</PasswordStatus>\\n <EngineType>MySQL</EngineType>\\n <TenantName>user1</TenantName>\\n <InstanceId>rm-****</InstanceId>\\n <InstanceDescription>测试使用</InstanceDescription>\\n <RegionId>cn-hangzhou</RegionId>\\n <DbName>demo</DbName>\\n <LastModifyTime>1625587423000</LastModifyTime>\\n <RegionName>杭州</RegionName>\\n <CanModifyUserName>true</CanModifyUserName>\\n <LogStoreDay>30</LogStoreDay>\\n <GmtCreate>1625587423000</GmtCreate>\\n <AutoScan>0</AutoScan>\\n <ProductId>2</ProductId>\\n <InstanceSize>409600</InstanceSize>\\n <UserName>User01</UserName>\\n <AuditStatus>1</AuditStatus>\\n <Id>1</Id>\\n <TenantId>11</TenantId>\\n <Enable>1</Enable>\\n </Items>\\n</DescribeInstanceSourcesResponse>","errorExample":""}]', - 'title' => 'DescribeInstanceSources', - 'description' => 'You can query a list of unauthorized or authorized data assets based on the value of AuthStatus.'."\n" + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"136082B3-B21F-5E9D-B68E-991FFD205D24\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 10,\\n \\"Items\\": [\\n {\\n \\"Status\\": 1,\\n \\"IdentificationScope\\": \\"[{\\\\\\"Asset\\\\\\":\\\\\\"RDS\\\\\\",\\\\\\"Content\\\\\\":[{\\\\\\"Range\\\\\\":\\\\\\"database\\\\\\",\\\\\\"Operator\\\\\\":\\\\\\"regex\\\\\\",\\\\\\"Value\\\\\\":\\\\\\"register\\\\\\"}]},{\\\\\\"Asset\\\\\\":\\\\\\"RDS\\\\\\",\\\\\\"Content\\\\\\":[{\\\\\\"Range\\\\\\":\\\\\\"table\\\\\\",\\\\\\"Operator\\\\\\":\\\\\\"regex\\\\\\",\\\\\\"Value\\\\\\":\\\\\\"register\\\\\\"}]},{\\\\\\"Asset\\\\\\":\\\\\\"RDS\\\\\\",\\\\\\"Content\\\\\\":[{\\\\\\"Range\\\\\\":\\\\\\"column\\\\\\",\\\\\\"Operator\\\\\\":\\\\\\"regex\\\\\\",\\\\\\"Value\\\\\\":\\\\\\"register\\\\\\"}]},{\\\\\\"Asset\\\\\\":\\\\\\"ODPS\\\\\\",\\\\\\"Content\\\\\\":[{\\\\\\"Range\\\\\\":\\\\\\"project\\\\\\",\\\\\\"Operator\\\\\\":\\\\\\"regex\\\\\\",\\\\\\"Value\\\\\\":\\\\\\"register\\\\\\"}]},{\\\\\\"Asset\\\\\\":\\\\\\"ODPS\\\\\\",\\\\\\"Content\\\\\\":[{\\\\\\"Range\\\\\\":\\\\\\"table\\\\\\",\\\\\\"Operator\\\\\\":\\\\\\"regex\\\\\\",\\\\\\"Value\\\\\\":\\\\\\"register\\\\\\"}]},{\\\\\\"Asset\\\\\\":\\\\\\"ODPS\\\\\\",\\\\\\"Content\\\\\\":[{\\\\\\"Range\\\\\\":\\\\\\"column\\\\\\",\\\\\\"Operator\\\\\\":\\\\\\"regex\\\\\\",\\\\\\"Value\\\\\\":\\\\\\"register\\\\\\"}]}]\\",\\n \\"RiskLevelId\\": 2,\\n \\"Description\\": \\"Template rule for identifying ID card numbers\\",\\n \\"IdentificationRuleIds\\": \\"1001,1002\\",\\n \\"Name\\": \\"ID card\\",\\n \\"Id\\": 100\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeCategoryTemplateRuleList', + 'description' => 'Retrieves the rules in a data classification template to help you review the rule details.'."\n" ."\n" - .'This operation is no longer used for the KMS console of the new version.', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeParentInstance' => [ - 'summary' => 'Gets the list of first-level authorizations.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + .'## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for a single user on this operation is 10 calls per second. If you exceed this limit, API calls are throttled. This may affect your business. Plan your calls accordingly.', + 'changeSet' => [ + ['createdAt' => '2024-03-25T07:35:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-01-11T06:27:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-11-04T12:36:56.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2021-11-02T06:28:21.000Z', 'description' => 'Request parameters changed, Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCategoryTemplateRuleList'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeCategoryTemplateRuleList', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeColumns' => [ + 'summary' => 'Queries column data in data asset tables, such as MaxCompute and ApsaraDB RDS tables, that are authorized for connection by Data Security Center.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '149789', - 'abilityTreeNodes' => [ - 'FEATUREsddp2CRSZ1', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '82001', + 'abilityTreeNodes' => ['FEATUREsddp2VFD4T'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'CurrentPage', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'When performing a paginated query, set the current page number. Default value: **1**.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: **zh_cn**. Valid values:'."\n" + .'- **zh_cn**: Chinese.'."\n" + .'- **en_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'When performing a paginated query, set the number of rows per page. Default value: 10.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The keyword to search for. Fuzzy match is supported.'."\n" + ."\n" + .'For example, if you enter **test**, all data entries that contain **test** in the search fields are returned.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'ServiceRegionId', + 'name' => 'TableId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the asset is located. Values:'."\n" - .'- **cn-beijing**: China (Beijing)'."\n" - .'- **cn-zhangjiakou**: China (Zhangjiakou)'."\n" - .'- **cn-huhehaote**: China (Hohhot)'."\n" - .'- **cn-hangzhou**: China (Hangzhou)'."\n" - .'- **cn-shanghai**: China (Shanghai)'."\n" - .'- **cn-shenzhen**: China (Shenzhen)'."\n" - .'- **cn-hongkong**: China (Hong Kong)', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => 'The unique ID of the data asset table to which the columns belong in MaxCompute, ApsaraDB RDS, or other assets.'."\n" + ."\n" + .'> Queries column data in data asset tables authorized for connection by Data Security Center based on the table ID. You can call the [DescribeTables](~~DescribeTables~~) operation to obtain the table ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '11132334', 'title' => ''], ], [ - 'name' => 'EngineType', + 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'Engine type. Values:'."\n" - .'- **MySQL**'."\n" - .'- **MariaDB**'."\n" - .'- **Oracle**'."\n" - .'- **PostgreSQL**'."\n" - .'- **SQLServer**', - 'type' => 'string', - 'required' => false, - 'example' => 'MySQL', - ], + 'schema' => ['description' => 'The unique ID of the sensitive data detection rule that the column data matches.'."\n" + ."\n" + .'> Queries column data in data asset tables authorized for connection by Data Security Center based on the ID of the sensitive data detection rule that the column data matches. You can call the [DescribeRules](~~DescribeRules~~) operation to obtain the rule ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '11111', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'ProductCode', 'in' => 'query', - 'schema' => [ - 'description' => 'The instance ID to which the data in the data asset table belongs.', - 'type' => 'string', - 'required' => false, - 'example' => 'rm-*******xx', - ], + 'schema' => ['description' => 'The name of the product to which the column data in the data asset table belongs. Valid values: **MaxCompute, OSS, ADS, OTS, RDS**, and others.', 'type' => 'string', 'required' => false, 'example' => 'MaxCompute', 'title' => ''], ], [ - 'name' => 'DbName', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'Database name.', - 'type' => 'string', - 'required' => false, - 'example' => 'db_**t', - ], + 'schema' => ['description' => 'The ID of the asset instance to which the column data in the data asset table belongs.'."\n" + ."\n" + .'> Queries column data in data asset tables authorized for connection by Data Security Center based on the asset instance ID. You can call the [DescribeInstances](~~DescribeRules~~) operation to obtain the instance ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ResourceType', + 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The product type. Valid values:'."\n" - .'- **1**: MaxCompute'."\n" - .'- **2**: OSS'."\n" - .'- **3**: ADB-MYSQL'."\n" - .'- **4**: TableStore'."\n" - .'- **5**: RDS'."\n" - .'- **6**: SelfDB'."\n" - .'- **7**: PolarDB-X'."\n" - .'- **8**: PolarDB'."\n" - .'- **9**: ADB-PG'."\n" - .'- **10**: OceanBase'."\n" - .'- **11**: MongoDB'."\n" - .'- **25**: Redis', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '5', - ], + 'schema' => ['description' => 'The name of the asset instance to which the column data in the data asset table belongs.', 'type' => 'string', 'required' => false, 'example' => 'rm-bp17t1htja573l5i8****', 'title' => ''], ], [ - 'name' => 'CheckStatus', + 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'Connection status of the instance or the database under the instance. Values:'."\n" - .'- **-3**: Database not created'."\n" - .'- **-2**: Released'."\n" - .'- **-1**: Not connected'."\n" - .'- **2**: Connectivity test in progress'."\n" - .'- **3**: Connected'."\n" - .'- **4**: Connection failed', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['description' => 'The name of the data asset table.', 'type' => 'string', 'required' => false, 'example' => 'it_table', 'title' => ''], ], [ - 'name' => 'ClusterStatus', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'description' => 'Instance status.'."\n" - .'- **Running**: Running'."\n" - .'- **Released**: Released'."\n" - .'- **DatabaseNotCreated**: Database not created', - 'type' => 'string', - 'required' => false, - 'example' => 'Running', - ], + 'schema' => ['description' => 'The name of the sensitive data detection rule that the column data in the data asset table matches.', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''], ], [ - 'name' => 'AuthStatus', + 'name' => 'SensLevelName', 'in' => 'query', - 'schema' => [ - 'description' => 'Authorization status of the data asset instance.'."\n" - .'- **0**: Unauthorized'."\n" - .'- **1**: Authorized', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The sensitivity level name. Valid values:'."\n" + .'- **N/A**: No sensitive data is detected.'."\n" + .'- **S1**: Level-1 sensitive data.'."\n" + .'- **S2**: Level-2 sensitive data.'."\n" + .'- **S3**: Level-3 sensitive data.'."\n" + .'- **S4**: Level-4 sensitive data.', 'type' => 'string', 'required' => false, 'example' => 'S2', 'title' => ''], ], [ - 'name' => 'MemberAccount', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'Member account ID.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '**********8103', - ], + 'schema' => ['description' => 'The maximum number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'Language type for request and response messages. Values:'."\n" - .'- **zh_cn**: Default, Simplified Chinese'."\n" - .'- **en_us**: English (US)', - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response'."\n", - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Request ID of the result.', - 'type' => 'string', - 'example' => 'ACEF9334-BB50-525D-8CF3-6CF504E4D1B3', - ], - 'CurrentPage' => [ - 'description' => 'When performing a paginated query, set the current page number. Default value: **1**.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => 'When performing a paginated query, set the maximum number of data asset instances displayed per page. Default value: **10**.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'Total number of data items in the result.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'Items' => [ - 'description' => 'The assets.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details of the asset.'."\n", - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => 'Instance ID.', - 'type' => 'string', - 'example' => 'rm-*******t2vz', - ], - 'LocalName' => [ - 'description' => 'Region name. The values are as follows:'."\n" - ."\n" - .'- **China (Hangzhou)**'."\n" - .'- **China (Shanghai)**'."\n" - .'- **China (Beijing)**'."\n" - .'- **China (Zhangjiakou)**'."\n" - .'- **China (Shenzhen)**'."\n" - .'- **China (Guangzhou)**'."\n" - .'- **China (Hong Kong)**'."\n" - .'- **Singapore**'."\n" - .'- **US (Silicon Valley)**', - 'type' => 'string', - 'example' => 'China (Hangzhou)', - ], - 'EngineType' => [ - 'description' => 'The engine type. Valid values:'."\n" - .'- **MySQL**'."\n" - .'- **MariaDB**'."\n" - .'- **Oracle**'."\n" - .'- **PostgreSQL**'."\n" - .'- **SQLServer**', - 'type' => 'string', - 'example' => 'MySQL', - ], - 'ParentId' => [ - 'description' => 'Identifier for the authorized asset. For structured data, it is identified by `instanceID.databaseName`.', - 'type' => 'string', - 'example' => 'rm-******xxx.**st', - ], - 'DbNum' => [ - 'description' => 'Number of databases under the instance.', - 'type' => 'string', - 'example' => '3', - ], - 'ClusterStatus' => [ - 'description' => 'Instance status.', - 'type' => 'string', - 'example' => 'Running', - ], - 'TenantId' => [ - 'description' => 'Tenant ID, valid only for OceanBase assets.', - 'type' => 'string', - 'example' => 'HB***-zh_CN', - ], - 'TenantName' => [ - 'description' => 'Tenant name, valid only for OceanBase assets.', - 'type' => 'string', - 'example' => 'user1', - ], - 'InstanceDescription' => [ - 'description' => 'Description of the instance.', - 'type' => 'string', - 'example' => 'instance description', - ], - 'ResourceType' => [ - 'description' => 'Asset type name. The values are as follows:'."\n" - .'- **MaxCompute**'."\n" - .'- **OSS**'."\n" - .'- **ADB-MYSQL**'."\n" - .'- **TableStore**'."\n" - .'- **RDS**'."\n" - .'- **SelfDB**'."\n" - .'- **PolarDB-X**'."\n" - .'- **PolarDB**'."\n" - .'- **ADB-PG**'."\n" - .'- **OceanBase**'."\n" - .'- **MongoDB**'."\n" - .'- **Redis**', - 'type' => 'string', - 'example' => 'RDS', - ], - 'UnConnectDbCount' => [ - 'description' => 'Number of unconnected databases under the instance.', - 'type' => 'string', - 'example' => '1', - ], - 'UnSupportOneClickAuthReason' => [ - 'description' => 'Reason for not supporting one-click authorization.', - 'type' => 'string', - 'example' => 'engine type not support', - ], - 'ConnectNode' => [ - 'description' => 'Connection node type, valid only for MongoDB assets.', - 'type' => 'string', - 'example' => 'Primary', - ], - 'SupportConnectNodes' => [ - 'description' => 'Supported connection nodes, separated by commas.', - 'type' => 'string', - 'example' => 'Primary,Secondary', - ], - 'AuthStatus' => [ - 'description' => 'Authorization status of the data asset instance.'."\n" - .'- **0**: Unauthorized'."\n" - .'- **1**: Authorized', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'InstanceSize' => [ - 'description' => 'Instance space size, valid only for OSS assets. Unit: bytes.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '409600', - ], - 'AuditStatus' => [ - 'description' => 'Audit authorization status. The values are as follows:'."\n" - .'- **1**: Authorized'."\n" - .'- **0**: Unauthorized', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'MemberAccount' => [ - 'description' => 'Member account ID.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '**********8103', - ], - 'AuthTime' => [ - 'description' => 'Instance authorization time, in milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1719882941000', - ], - 'RegionId' => [ - 'description' => 'The region in which the asset resides.'."\n", - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - ], - ], - ], - ], - ], + 'schema' => ['description' => 'The page number for a paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ACEF9334-BB50-525D-8CF3-6CF504E4D1B3\\",\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 3,\\n \\"Items\\": [\\n {\\n \\"InstanceId\\": \\"rm-*******t2vz\\",\\n \\"LocalName\\": \\"华东1(杭州)\\",\\n \\"EngineType\\": \\"MySQL\\",\\n \\"ParentId\\": \\"rm-******xxx.**st\\",\\n \\"DbNum\\": \\"3\\",\\n \\"ClusterStatus\\": \\"Running\\",\\n \\"TenantId\\": \\"HB***-zh_CN\\",\\n \\"TenantName\\": \\"user1\\",\\n \\"InstanceDescription\\": \\"instance description\\",\\n \\"ResourceType\\": \\"RDS\\",\\n \\"UnConnectDbCount\\": \\"1\\",\\n \\"UnSupportOneClickAuthReason\\": \\"engine type not support\\",\\n \\"ConnectNode\\": \\"Primary\\",\\n \\"SupportConnectNodes\\": \\"Primary,Secondary\\",\\n \\"AuthStatus\\": 1,\\n \\"InstanceSize\\": 409600,\\n \\"AuditStatus\\": 1,\\n \\"MemberAccount\\": 0,\\n \\"AuthTime\\": 1719882941000,\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeParentInstance', - 'translator' => 'machine', - ], - 'ScanOssObjectV1' => [ - 'summary' => 'Creates an identification task to scan sensitive data in Object Storage Service (OSS) objects.', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'RiskLevelId', + 'in' => 'query', + 'schema' => ['description' => 'The risk level ID of the sensitive data detection rule. Valid values:'."\n" + .'- **1**: N/A.'."\n" + .'- **2**: S1.'."\n" + .'- **3**: S2.'."\n" + .'- **4**: S3.'."\n" + .'- **5**: S4.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''], ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '236601', - 'abilityTreeNodes' => [ - 'FEATUREsddpXMFUF8', + [ + 'name' => 'TemplateRuleId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the matched template rule.'."\n" + .'> You can call the [DescribeCategoryTemplateRuleList](~~410143~~) operation to obtain the matched template rule ID.', 'type' => 'string', 'required' => false, 'example' => '1542', 'title' => ''], ], - ], - 'parameters' => [ [ - 'name' => 'ServiceRegionId', + 'name' => 'EngineType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the region in which the OSS bucket is located.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The database engine type. Valid values:'."\n" + .'- **MySQL**'."\n" + .'- **MariaDB**'."\n" + .'- **Oracle**'."\n" + .'- **PostgreSQL**'."\n" + .'- **SQLServer**', 'type' => 'string', 'required' => false, 'example' => 'MySQL', 'title' => ''], ], [ - 'name' => 'BucketName', + 'name' => 'ProductId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the OSS bucket.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'sddp-api-demo-bucket', - ], + 'schema' => ['description' => 'The ID that corresponds to the product name to which the data object belongs. Valid values:'."\n" + .'- **1**: MaxCompute'."\n" + .'- **2**: OSS'."\n" + .'- **3**: ADB-MYSQL'."\n" + .'- **4**: TableStore'."\n" + .'- **5**: RDS'."\n" + .'- **6**: SELF_DB'."\n" + .'- **7**: PolarDB-X'."\n" + .'- **8**: PolarDB'."\n" + .'- **9**: ADB-PG'."\n" + .'- **10**: OceanBase'."\n" + .'- **11**: MongoDB'."\n" + .'- **25**: Redis', 'type' => 'string', 'required' => false, 'example' => '5', 'title' => ''], ], [ - 'name' => 'ObjectKeyList', + 'name' => 'ModelTagId', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => 'The objects in the OSS bucket that you want to scan. You can specify up to 50 objects at a time.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The name of the object in the OSS bucket. You must specify the full path of the object.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'dir1/object.txt', - ], - 'required' => true, - ], + 'schema' => ['description' => 'The data tag.'."\n" + ."\n" + .'- 101: personal sensitive information'."\n" + ."\n" + .'- 102: personal information', 'type' => 'string', 'required' => false, 'example' => '101', 'title' => ''], ], [ 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the industry-specific classification template.'."\n" - ."\n" - .'> You can call the **DescribeCategoryTemplateList** operation to query industry-specific classification templates. If you do not specify this parameter, the system automatically uses the main template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The industry template ID.'."\n" + .'> You can call the [DescribeCategoryTemplateList](~~2399296~~) operation to obtain the industry template ID.', 'type' => 'string', 'required' => false, 'example' => '5', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'ServiceRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['title' => '', 'type' => 'string', 'example' => 'cn-zhangjiakou', 'description' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'The response parameters.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The request ID.'."\n", - 'type' => 'string', - 'example' => '7C3AC882-E5A8-4855-BE77-B6837B695EF1', - ], - 'Id' => [ - 'description' => 'The ID of the identification task that is returned after the identification task is created.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '268', + 'CurrentPage' => ['description' => 'The page number of the current page in the results.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '769FB3C1-F4C9-4******', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page in the results.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries in the results.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], + 'Items' => [ + 'description' => 'The column data in the data asset tables.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreationTime' => ['description' => 'The creation time of the column data in the data asset table. The value is a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1536751124000', 'title' => ''], + 'TableName' => ['description' => 'The name of the table to which the revised target column belongs.', 'type' => 'string', 'example' => 'it_table', 'title' => ''], + 'DataType' => ['description' => 'The data type of the column data in the data asset table.', 'type' => 'string', 'example' => 'String', 'title' => ''], + 'OdpsRiskLevelValue' => ['description' => 'The risk level code of the asset. Valid values:'."\n" + ."\n" + .'- **1**: N/A.'."\n" + .'- **2**: S1.'."\n" + .'- **3**: S2.'."\n" + .'- **4**: S3.'."\n" + .'- **5**: S4.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID of the asset to which the column data in the data asset table belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RiskLevelId' => ['description' => 'The risk level ID of the column data in the data asset table. Valid values:'."\n" + .'- **1**: N/A.'."\n" + .'- **2**: S1.'."\n" + .'- **3**: S2.'."\n" + .'- **4**: S3.'."\n" + .'- **5**: S4.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'RuleName' => ['description' => 'The name of the sensitive data detection rule that the column data in the data asset table matches.', 'type' => 'string', 'example' => 'name', 'title' => ''], + 'RuleId' => ['description' => 'The ID of the sensitive data detection rule that the column data in the data asset table matches.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'Sensitive' => ['description' => 'Indicates whether the column data in the data asset table contains sensitive data. Valid values:'."\n" + ."\n" + .'- true: The column data contains sensitive data.'."\n" + .'- false: The column data does not contain sensitive data.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'SensLevelName' => ['description' => 'The sensitivity level name. Valid values:'."\n" + .'- **N/A**: No sensitive data is detected.'."\n" + .'- **S1**: Level-1 sensitive data.'."\n" + .'- **S2**: Level-2 sensitive data.'."\n" + .'- **S3**: Level-3 sensitive data.'."\n" + .'- **S4**: Level-4 sensitive data.', 'type' => 'string', 'example' => 'S2', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the asset instance to which the column data in the data asset table belongs.', 'type' => 'string', 'example' => 'rm-bp17t1htja573l5i8****', 'title' => ''], + 'RiskLevelName' => ['description' => 'The risk level name of the column data in the data asset table. Valid values:'."\n" + .'- **N/A**: No sensitive data is detected.'."\n" + .'- **S1**: Level-1 sensitive data.'."\n" + .'- **S2**: Level-2 sensitive data.'."\n" + .'- **S3**: Level-3 sensitive data.'."\n" + .'- **S4**: Level-4 sensitive data.', 'type' => 'string', 'example' => 'S2', 'title' => ''], + 'OdpsRiskLevelName' => ['description' => 'The risk level name of the asset. Valid values:'."\n" + .'- **N/A**: No sensitive data is detected.'."\n" + .'- **S1**: Level-1 sensitive data.'."\n" + .'- **S2**: Level-2 sensitive data.'."\n" + .'- **S3**: Level-3 sensitive data.'."\n" + .'- **S4**: Level-4 sensitive data.', 'type' => 'string', 'example' => 'S3', 'title' => ''], + 'Name' => ['description' => 'The name of the column in the data asset table.', 'type' => 'string', 'example' => 'gxdata', 'title' => ''], + 'TableId' => ['description' => 'The ID of the data asset table to which the column data belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the column in the data asset table.', 'type' => 'string', 'example' => '268', 'title' => ''], + 'ProductCode' => ['description' => 'The name of the product to which the column data in the data asset table belongs. Valid values: **MaxCompute, OSS, ADS, OTS, RDS**, and others.', 'type' => 'string', 'example' => 'MaxCompute', 'title' => ''], + 'RevisionStatus' => ['description' => 'The revision status. Valid values:'."\n" + .'- 1: Revised.'."\n" + .'- 0: Not revised.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RevisionId' => ['description' => 'The revision record ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '12', 'title' => ''], + 'ModelTags' => [ + 'description' => 'The list of data tags for the matched detection model.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data tag object for the matched detection model.', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The data tag ID of the detection model. Valid values:'."\n" + .'- **101**: Personal sensitive information.'."\n" + .'- **102**: Personal information.'."\n" + .'- **103**: Important data.', 'type' => 'integer', 'format' => 'int64', 'example' => '101', 'title' => ''], + 'Name' => ['description' => 'The data tag name of the detection model. Valid values:'."\n" + .'- Personal sensitive information.'."\n" + .'- Personal information.'."\n" + .'- Important data.', 'type' => 'string', 'example' => 'personal sensitive data', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'RegionId' => ['description' => 'The region where the asset resides.', 'type' => 'string', 'example' => 'cn-***', 'title' => ''], + 'EngineType' => ['description' => 'The database engine type.', 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'MaskingStatus' => ['description' => 'The encryption status of the column. Valid values:'."\n" + ."\n" + .'- **-1**: Not encrypted.'."\n" + ."\n" + .'- **1**: Encryption succeeded.'."\n" + ."\n" + .'- **2**: Encryption failed.', 'type' => 'integer', 'format' => 'int32', 'example' => '-1', 'title' => ''], + 'ProductId' => ['description' => 'The ID that corresponds to the product name to which the data object belongs. Valid values:'."\n" + .'- **1**: MaxCompute'."\n" + .'- **2**: OSS'."\n" + .'- **3**: ADB-MYSQL'."\n" + .'- **4**: TableStore'."\n" + .'- **5**: RDS'."\n" + .'- **6**: SELF_DB'."\n" + .'- **7**: PolarDB-X'."\n" + .'- **8**: PolarDB'."\n" + .'- **9**: ADB-PG'."\n" + .'- **10**: OceanBase'."\n" + .'- **11**: MongoDB'."\n" + .'- **25**: Redis', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7C3AC882-E5A8-4855-BE77-B6837B695EF1\\",\\n \\"Id\\": 268\\n}","type":"json"}]', - 'title' => 'ScanOssObjectV1', - 'description' => '### [](#)Prerequisites'."\n" - ."\n" - .'To call this operation, make sure that asset authorization for your OSS bucket is complete and the bucket is connected. If the authorization is not complete, the bucket_not_authorized error code is returned when you call the operation.'."\n" - ."\n" - .'### [](#qps-)Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n" - ."\n" - .'### [](#)Additional information'."\n" + 'title' => 'Query column data in data asset tables', + 'description' => 'This operation is used to view column data in sensitive data asset tables, which helps you accurately analyze sensitive data.'."\n" ."\n" - .'After you call this operation, you can obtain the task ID. You can specify the task ID in the DescribeIdentifyTaskDetail operation to query the state of the task.'."\n" + .'## Notes'."\n" + .'The DescribeColumns operation has been revised to DescribeColumnsV2. Use the newer version DescribeColumnsV2 when developing applications.'."\n" ."\n" - .'After the task is complete, you can call the DescribeOssObjectDetailV2 operation to query the identification results of sensitive data in the related OSS objects. When you call the DescribeOssObjectDetailV2 operation, you must specify BucketName, ServiceRegionId, and ObjectKey.'."\n", - ], - 'CreateScanTask' => [ - 'summary' => 'Creates a custom scan task. The custom scan task is used to scan data assets on which Data Security Center (DSC) is granted the scan permissions for sensitive data.', - 'methods' => [ - 'post', - 'get', + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-02-14T03:25:31.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-08-16T10:59:31.000Z', 'description' => 'Request parameters changed, Response parameters changed, Response parameters changed'], + ['createdAt' => '2022-12-28T06:59:58.000Z', 'description' => 'Response parameters changed, Response parameters changed'], + ['createdAt' => '2022-12-27T09:14:52.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeColumns'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeColumns', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-4******\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 12,\\n \\"Items\\": [\\n {\\n \\"CreationTime\\": 1536751124000,\\n \\"TableName\\": \\"it_table\\",\\n \\"DataType\\": \\"String\\",\\n \\"OdpsRiskLevelValue\\": 3,\\n \\"InstanceId\\": 1,\\n \\"RiskLevelId\\": 2,\\n \\"RuleName\\": \\"name\\",\\n \\"RuleId\\": 1,\\n \\"Sensitive\\": false,\\n \\"SensLevelName\\": \\"S2\\",\\n \\"InstanceName\\": \\"rm-bp17t1htja573l5i8****\\",\\n \\"RiskLevelName\\": \\"S2\\",\\n \\"OdpsRiskLevelName\\": \\"S3\\",\\n \\"Name\\": \\"gxdata\\",\\n \\"TableId\\": 123,\\n \\"Id\\": \\"268\\",\\n \\"ProductCode\\": \\"MaxCompute\\",\\n \\"RevisionStatus\\": 1,\\n \\"RevisionId\\": 12,\\n \\"ModelTags\\": [\\n {\\n \\"Id\\": 101,\\n \\"Name\\": \\"personal sensitive data\\"\\n }\\n ],\\n \\"RegionId\\": \\"cn-***\\",\\n \\"EngineType\\": \\"MySQL\\",\\n \\"MaskingStatus\\": -1,\\n \\"ProductId\\": 5\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeColumnsV2' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '81968', - 'abilityTreeNodes' => [ - 'FEATUREsddpXMFUF8', - ], + 'abilityTreeNodes' => ['FEATUREsddp2VFD4T'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'DataLimitId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The unique ID of the data asset, such as an instance, a database, and a bucket. You can call the [DescribeDataLimits](~~DescribeDataLimits~~) operation to query the unique ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: **zh_cn**.'."\n" + ."\n" + .'Valid values:'."\n" + ."\n" + .'- **zh_cn**: Chinese (Simplified).'."\n" + .'- **en_us**: English (US).', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ - 'name' => 'IntervalDay', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'The interval between two consecutive custom scan tasks. Unit: days. Valid values: 1 to 2147483648.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The keyword to search for. Fuzzy match is supported.'."\n" + ."\n" + .'For example, if you enter **test**, all data entries that contain **test** in the search fields are returned.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'RunHour', + 'name' => 'TableId', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the scan task is executed next time. Unit: hours.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '12', - ], + 'schema' => ['description' => 'The unique ID of the data asset table to which the columns belong in MaxCompute, ApsaraDB RDS, or other data assets.'."\n" + ."\n" + .'> Queries column data in data asset tables that are connected to and authorized by Data Security Center based on the table ID. You can call the [DescribeTables](~~141709~~) operation to obtain the table ID.', 'type' => 'string', 'required' => false, 'example' => '11132334', 'title' => ''], ], [ - 'name' => 'RunMinute', + 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'The time when the scan task is executed next time. Unit: minutes.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '30', - ], + 'schema' => ['description' => 'The unique ID of the sensitive data detection rule that the column data matches.'."\n" + ."\n" + .'> Queries column data in data asset tables that are connected to and authorized by Data Security Center based on the ID of the sensitive data detection rule that the column data matches. You can call the [DescribeRules](~~141389~~) operation to obtain the rule ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '11122200', 'title' => ''], ], [ - 'name' => 'TaskName', + 'name' => 'ProductCode', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the scan task.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'scan-test-sample****', - ], + 'schema' => ['description' => 'The name of the product to which the column data in the data asset table belongs. Valid values: **MaxCompute, OSS, ADS, OTS, RDS**, and others.', 'type' => 'string', 'required' => false, 'example' => 'MaxCompute', 'title' => ''], ], [ - 'name' => 'TaskUserName', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The account that is used to create the scan task.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'demo', - ], + 'schema' => ['description' => 'The ID of the asset instance to which the column data in the data asset table belongs.'."\n" + ."\n" + .'> Queries column data in data asset tables that are connected to and authorized by Data Security Center based on the asset instance ID. You can call the [DescribeInstances](~~141708~~) operation to obtain the instance ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'OssScanPath', + 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The data to be scanned in the Object Storage Service (OSS) bucket. Prefix match, suffix match, and regular expression match are supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '/test/test', - ], + 'schema' => ['description' => 'The name of the asset instance to which the column data in the data asset table belongs.', 'type' => 'string', 'required' => false, 'example' => 'rm-bp17t1htja573l5i8****', 'title' => ''], ], [ - 'name' => 'ScanRange', + 'name' => 'TableName', 'in' => 'query', - 'schema' => [ - 'description' => 'The matching rule that specifies the scan scope of the custom scan task. This parameter takes effect only if you set the **ScanRangeContent** parameter. Valid values:'."\n" - ."\n" - .'* **0**: exact match'."\n" - .'* **1**: prefix match'."\n" - .'* **2**: suffix match'."\n" - .'* **3**: regular expression match'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], + 'schema' => ['description' => 'The name of the data asset table.', 'type' => 'string', 'required' => false, 'example' => 'it_table', 'title' => ''], ], [ - 'name' => 'ScanRangeContent', + 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'description' => 'The data to be scanned in a structured data asset. Prefix match, suffix match, and regular expression match are supported.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'datamask/', - ], + 'schema' => ['description' => 'The name of the sensitive data detection rule that the column data in the data asset table matches.', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''], ], [ - 'name' => 'ResourceType', + 'name' => 'SensLevelName', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the service to which the data assets to be scanned belong. Valid values include **1**, **2**, **3**, **4**, and **5**. The value 1 indicates MaxCompute. The value 2 indicates OSS. The value 3 indicates AnalyticDB for MySQL. The value 4 indicates Tablestore. The value 5 indicates ApsaraDB RDS.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '2', - ], + 'schema' => ['description' => 'The sensitivity level name. Valid values:'."\n" + .'- **N/A**: no sensitive data detected.'."\n" + .'- **S1**: Level 1 sensitive data.'."\n" + .'- **S2**: Level 2 sensitive data.'."\n" + .'- **S3**: Level 3 sensitive data.'."\n" + .'- **S4**: Level 4 sensitive data.', 'type' => 'string', 'required' => false, 'example' => 'S2', 'title' => ''], ], [ - 'name' => 'SourceIp', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'This parameter is deprecated.', - 'example' => '39.170.XX.XX', - ], + 'schema' => ['description' => 'The maximum number of entries per page in a paged query. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'FeatureType', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The page number in a paged query. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'RiskLevelId', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response.'."\n" - ."\n" - .'* **zh**: Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The risk level ID of the sensitive data detection rule. Valid values:'."\n" + .'- **1**: N/A.'."\n" + .'- **2**: S1.'."\n" + .'- **3**: S2.'."\n" + .'- **4**: S3.'."\n" + .'- **5**: S4.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''], + ], + [ + 'name' => 'EngineType', + 'in' => 'query', + 'schema' => ['description' => 'The engine type. Valid values:'."\n" + .'- **MySQL**'."\n" + .'- **MariaDB**'."\n" + .'- **Oracle**'."\n" + .'- **PostgreSQL**'."\n" + .'- **SQLServer**', 'type' => 'string', 'required' => false, 'example' => 'MySQL', 'title' => ''], ], ], 'responses' => [ @@ -3583,106 +2393,181 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the custom scan task.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'B1F2BB1F-04EC-5D36-B136-B4DE17FD8DE0', + 'CurrentPage' => ['description' => 'The page number in a paged query. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The unique ID generated by Alibaba Cloud for the request.', 'type' => 'string', 'example' => 'B1F2BB1F-04EC-5D36-B136-B4DE17FD8DE0', 'title' => ''], + 'PageSize' => ['description' => 'The maximum number of entries per page in a paged query. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], + 'Items' => [ + 'description' => 'The list of column detection results in the data asset table.', + 'type' => 'array', + 'items' => [ + 'description' => 'The column detection result object.', + 'type' => 'object', + 'properties' => [ + 'CreationTime' => ['description' => 'The creation time of the column data in the data asset table, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1536751124000', 'title' => ''], + 'TableName' => ['description' => 'The name of the table to which the revised target column belongs.', 'type' => 'string', 'example' => 'it_table', 'title' => ''], + 'DataType' => ['description' => 'The data type of the column data in the data asset table.', 'type' => 'string', 'example' => 'varchar', 'title' => ''], + 'OdpsRiskLevelValue' => ['description' => 'The risk level code of the asset. Valid values:'."\n" + ."\n" + .'- **1**: N/A.'."\n" + .'- **2**: S1.'."\n" + .'- **3**: S2.'."\n" + .'- **4**: S3.'."\n" + .'- **5**: S4.'."\n" + ."\n" + .'> A return value less than or equal to 1 indicates N/A.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID of the asset to which the column data in the data asset table belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '1232122', 'title' => ''], + 'RiskLevelId' => ['description' => 'The risk level ID of the column data in the data asset table. Valid values:'."\n" + .'- **1**: N/A.'."\n" + .'- **2**: S1.'."\n" + .'- **3**: S2.'."\n" + .'- **4**: S3.'."\n" + .'- **5**: S4.'."\n" + ."\n" + .'> A return value less than or equal to 1 indicates N/A.', 'type' => 'integer', 'format' => 'int64', 'example' => '4', 'title' => ''], + 'RuleName' => ['description' => 'The name of the sensitive data detection rule that the column data in the data asset table matches.', 'type' => 'string', 'example' => 'name', 'title' => ''], + 'RuleId' => ['description' => 'The ID of the sensitive data detection rule that the column data in the data asset table matches.', 'type' => 'integer', 'format' => 'int64', 'example' => '1004', 'title' => ''], + 'Sensitive' => ['description' => 'Indicates whether the column data in the data asset table contains sensitive data. Valid values:'."\n" + ."\n" + .'- true: The column data contains sensitive data.'."\n" + .'- false: The column data does not contain sensitive data.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'SensLevelName' => ['description' => 'The sensitivity level name. Valid values:'."\n" + .'- **N/A**: no sensitive data detected.'."\n" + .'- **S1**: Level 1 sensitive data.'."\n" + .'- **S2**: Level 2 sensitive data.'."\n" + .'- **S3**: Level 3 sensitive data.'."\n" + .'- **S4**: Level 4 sensitive data.', 'type' => 'string', 'example' => 'S2', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the asset instance to which the column data in the data asset table belongs.', 'type' => 'string', 'example' => 'rm-1234', 'title' => ''], + 'RiskLevelName' => ['description' => 'The risk level name of the column data in the data asset table. Valid values:'."\n" + .'- **N/A**: no sensitive data detected.'."\n" + .'- **S1**: Level 1 sensitive data.'."\n" + .'- **S2**: Level 2 sensitive data.'."\n" + .'- **S3**: Level 3 sensitive data.'."\n" + .'- **S4**: Level 4 sensitive data.', 'type' => 'string', 'example' => 'S1', 'title' => ''], + 'OdpsRiskLevelName' => ['description' => 'The risk level name of the asset. Valid values:'."\n" + .'- **N/A**: no sensitive data detected.'."\n" + .'- **S1**: Level 1 sensitive data.'."\n" + .'- **S2**: Level 2 sensitive data.'."\n" + .'- **S3**: Level 3 sensitive data.'."\n" + .'- **S4**: Level 4 sensitive data.', 'type' => 'string', 'example' => 'S4', 'title' => ''], + 'Name' => ['description' => 'The name of the column in the data asset table.', 'type' => 'string', 'example' => 'obj_id', 'title' => ''], + 'TableId' => ['description' => 'The ID of the data asset table to which the column data belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the column in the data asset table.', 'type' => 'string', 'example' => '111111', 'title' => ''], + 'ProductCode' => ['description' => 'The name of the product to which the column data in the data asset table belongs. Valid values: **MaxCompute, OSS, ADS, OTS, RDS**, and others.', 'type' => 'string', 'example' => 'RDS', 'title' => ''], + 'RevisionStatus' => ['description' => 'The revision status. Valid values:'."\n" + .'- 1: revised.'."\n" + .'- 0: not revised.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'RevisionId' => ['description' => 'The ID of the revision record.', 'type' => 'integer', 'format' => 'int64', 'example' => '12', 'title' => ''], + 'ModelTags' => [ + 'description' => 'The list of data tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data tag object.', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The data tag ID. Valid values:'."\n" + .'- **101**: personal sensitive information'."\n" + .'- **102**: personal information'."\n" + .'- **107**: general information', 'type' => 'integer', 'format' => 'int64', 'example' => '101', 'title' => ''], + 'Name' => ['description' => 'The data tag name. Valid values:'."\n" + .'- 个人敏感信息'."\n" + .'- 个人信息'."\n" + .'- 通用信息', 'type' => 'string', 'example' => 'personal sensitive information', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'EngineType' => ['description' => 'The engine type. Valid values:'."\n" + .'- **MySQL**'."\n" + .'- **MariaDB**'."\n" + .'- **Oracle**'."\n" + .'- **PostgreSQL**'."\n" + .'- **SQLServer**', 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'MaskingStatus' => ['description' => 'The column encryption status. Valid values:'."\n" + ."\n" + .'- **-1**: not encrypted.'."\n" + ."\n" + .'- **1**: encryption succeeded.'."\n" + ."\n" + .'- **2**: encryption failed.', 'type' => 'integer', 'format' => 'int32', 'example' => '-1', 'title' => ''], + 'ProductId' => ['description' => 'The ID that corresponds to the product name of the data asset. Valid values:'."\n" + .'- **1**: MaxCompute.'."\n" + .'- **2**: OSS.'."\n" + .'- **3**: ADS.'."\n" + .'- **4**: OTS.'."\n" + .'- **5**: ApsaraDB RDS.'."\n" + .'- **6**: SELF_DB.', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''], + 'RegionId' => ['description' => 'The region where the asset resides.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query column data in data asset tables V2', + 'summary' => 'Queries column data in data asset tables, such as MaxCompute and ApsaraDB RDS tables, that are connected to and authorized by Data Security Center.', + 'changeSet' => [ + ['createdAt' => '2025-02-14T03:25:31.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": 100,\\n \\"RequestId\\": \\"B1F2BB1F-04EC-5D36-B136-B4DE17FD8DE0\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateScanTaskResponse>\\n <RequestId>B1F2BB1F-04EC-5D36-B136-B4DE17FD8DE0</RequestId>\\n <Id>100</Id>\\n</CreateScanTaskResponse>","errorExample":""}]', - 'title' => 'CreateScanTask', - 'description' => 'You can call this operation to create a custom scan task for authorized data assets. You can customize the interval between two consecutive scan tasks and the time when the scan task is executed next time.'."\n" - ."\n" - .'# Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyDefaultLevel' => [ - 'summary' => 'Changes the sensitivity levels of sensitive data. You can change the default sensitivity levels of data that cannot be classified as sensitive or insensitive, and the sensitivity levels of data that can be classified as sensitive.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeColumnsV2'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeColumnsV2', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"B1F2BB1F-04EC-5D36-B136-B4DE17FD8DE0\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 12,\\n \\"Items\\": [\\n {\\n \\"CreationTime\\": 1536751124000,\\n \\"TableName\\": \\"it_table\\",\\n \\"DataType\\": \\"varchar\\",\\n \\"OdpsRiskLevelValue\\": 3,\\n \\"InstanceId\\": 1232122,\\n \\"RiskLevelId\\": 4,\\n \\"RuleName\\": \\"name\\",\\n \\"RuleId\\": 1004,\\n \\"Sensitive\\": true,\\n \\"SensLevelName\\": \\"S2\\",\\n \\"InstanceName\\": \\"rm-1234\\",\\n \\"RiskLevelName\\": \\"S1\\",\\n \\"OdpsRiskLevelName\\": \\"S4\\",\\n \\"Name\\": \\"obj_id\\",\\n \\"TableId\\": 123,\\n \\"Id\\": \\"111111\\",\\n \\"ProductCode\\": \\"RDS\\",\\n \\"RevisionStatus\\": 1,\\n \\"RevisionId\\": 12,\\n \\"ModelTags\\": [\\n {\\n \\"Id\\": 101,\\n \\"Name\\": \\"personal sensitive information\\"\\n }\\n ],\\n \\"EngineType\\": \\"MySQL\\",\\n \\"MaskingStatus\\": -1,\\n \\"ProductId\\": 5,\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeConfigs' => [ + 'summary' => 'Queries common configuration items for anomaly alerts.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82112', - 'abilityTreeNodes' => [ - 'FEATUREsddpIUNEZP', - ], + 'abilityTreeNodes' => ['FEATUREsddpCHNP1R'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Chinese'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], - ], - [ - 'name' => 'DefaultId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The default sensitivity level of data that Data Security Center (DSC) cannot classify as sensitive or insensitive. Valid values:'."\n" - ."\n" - .'* **1**: N/A'."\n" - .'* **2**: S1'."\n" - .'* **3**: S2'."\n" - .'* **4**: S3'."\n" - .'* **5**: S4'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '4', - ], - ], - [ - 'name' => 'SensitiveIds', - 'in' => 'query', - 'schema' => [ - 'description' => 'The sensitivity level ID of data that DSC classifies as sensitive. Separate multiple IDs with commas (,). Valid values:'."\n" - ."\n" - .'* **1**: N/A'."\n" - .'* **2**: S1'."\n" - .'* **3**: S2'."\n" - .'* **4**: S3'."\n" - .'* **5**: S4'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1,2,3,4', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh\\_cn**: Chinese (Simplified). Default value.'."\n" + ."\n" + .'- **en\\_us**: English (United States).', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], ], 'responses' => [ @@ -3690,339 +2575,417 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '208B016D-4CB9-4A85-96A5-0B8ED1EBF271', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', 'title' => ''], + 'ConfigList' => [ + 'description' => 'A list of common configuration items for anomaly alerts.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The code of the configuration item.', 'type' => 'string', 'example' => 'abnormal_download_file', 'title' => ''], + 'Value' => ['description' => 'The value of the configuration item.', 'type' => 'string', 'example' => '10000', 'title' => ''], + 'DefaultValue' => ['description' => 'The default value of the configuration item.', 'type' => 'string', 'example' => '10000', 'title' => ''], + 'Description' => ['description' => 'The description of the configuration item.', 'type' => 'string', 'example' => 'Unauthorized resource multiple access attempts: current threshold is defined as 10 attempts'."\n" + ."\n", 'title' => ''], + 'Id' => ['description' => 'The unique ID of the configuration item.', 'type' => 'integer', 'format' => 'int64', 'example' => '50', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"208B016D-4CB9-4A85-96A5-0B8ED1EBF271\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyDefaultLevel>\\r\\n\\t<RequestId>208B016D-4CB9-4A85-96A5-0B8ED1EBF271</RequestId>\\r\\n\\t</ModifyDefaultLevel>\\r\\n","errorExample":""}]', - 'title' => 'ModifyDefaultLevel', - 'description' => 'You can call this operation to modify the sensitivity levels of data. This helps you manage the sensitivity levels.'."\n" + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"ConfigList\\": [\\n {\\n \\"Code\\": \\"abnormal_download_file\\",\\n \\"Value\\": \\"10000\\",\\n \\"DefaultValue\\": \\"10000\\",\\n \\"Description\\": \\"Unauthorized resource multiple access attempts: current threshold is defined as 10 attempts\\\\n\\\\n\\",\\n \\"Id\\": 50\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeConfigs', + 'description' => '# Usage notes'."\n" ."\n" - .'# Limits'."\n" + .'Queries common configuration items for anomaly alerts, which you can use to create or restore alert configurations.'."\n" + ."\n" + .'# QPS limit'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", + .'The maximum number of queries per second (QPS) per user is 10. If this limit is exceeded, API calls are throttled. This may impact your business. Call this operation only as needed.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyRuleStatus' => [ - 'summary' => 'Enables or disables a sensitive data detection rule.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2021-09-27T09:29:07.000Z', 'description' => 'Response parameters changed, Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeConfigs'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeConfigs', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDataAssets' => [ + 'summary' => 'Searches for data assets on the Overview page of Data Security Center (DSC).', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82123', - 'abilityTreeNodes' => [ - 'FEATUREsddpEFXM0Z', - ], + 'abilityTreeNodes' => ['FEATUREsddp2VFD4T'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. The default value is **zh\\_cn**. Valid values:'."\n" + ."\n" + .'- **zh\\_cn**: Chinese (Simplified)'."\n" + ."\n" + .'- **en\\_us**: English (US)', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ - 'name' => 'Id', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the sensitive data detection rule.'."\n" - ."\n" - .'> You can query the ID of the sensitive data detection rule by calling the **DescribeRules** operation.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12341', - ], + 'schema' => ['description' => 'The keyword for a fuzzy search of data assets.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'Ids', + 'name' => 'RiskLevels', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the sensitive data detection rule. Separate multiple IDs with commas (,).'."\n" - ."\n" - .'> You can query the ID of the sensitive data detection rule by calling the **DescribeRules** operation.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1,2,3,4', - ], + 'schema' => ['description' => 'The risk levels of the data assets to query. Separate multiple risk levels with commas (,).'."\n" + ."\n" + .'- **2**: S1, low risk level'."\n" + ."\n" + .'- **3**: S2, medium risk level'."\n" + ."\n" + .'- **4**: S3, high risk level'."\n" + ."\n" + .'- **5**: S4, highest risk level', 'type' => 'string', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'Status', + 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable or disable the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **0**: disables the sensitive data detection rule.'."\n" - .'* **1**: enables the sensitive data detection rule.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the sensitive data detection rule that the data asset matches.'."\n" + ."\n" + .'> To find data assets based on the sensitive data detection rules they match, call the [DescribeRules](~~DescribeRules~~) operation to get the rule IDs.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '11122200', 'title' => ''], + ], + [ + 'name' => 'RangeId', + 'in' => 'query', + 'schema' => ['description' => 'The type of data asset to query. Valid values:'."\n" + ."\n" + .'- **1**: MaxCompute project'."\n" + ."\n" + .'- **2**: MaxCompute table'."\n" + ."\n" + .'- **3**: MaxCompute package'."\n" + ."\n" + .'- **11**: AnalyticDB for MySQL database'."\n" + ."\n" + .'- **12**: AnalyticDB for MySQL table'."\n" + ."\n" + .'- **21**: OSS bucket'."\n" + ."\n" + .'- **22**: OSS object'."\n" + ."\n" + .'- **31**: Tablestore instance'."\n" + ."\n" + .'- **32**: Tablestore table'."\n" + ."\n" + .'- **51**: RDS database'."\n" + ."\n" + .'- **52**: RDS table'."\n" + ."\n" + .'- **61**: Self-managed database on an ECS instance'."\n" + ."\n" + .'- **62**: Self-managed table on an ECS instance'."\n" + ."\n" + .'- **71**: DRDS database'."\n" + ."\n" + .'- **72**: DRDS table'."\n" + ."\n" + .'- **81**: PolarDB database'."\n" + ."\n" + .'- **82**: PolarDB table'."\n" + ."\n" + .'- **91**: GPDB database'."\n" + ."\n" + .'- **92**: GPDB table', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page. The default value is **20**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => 'The page number to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'type' => 'object', 'properties' => [ - 'FailedIds' => [ - 'description' => 'The IDs of sensitive data detection rules whose status failed to be changed. Multiple IDs are separated with commas (,).'."\n", - 'type' => 'string', - 'example' => '1,2,3,4', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '7C3AC882-E5A8-4855-BE77-B6837B695EF1', + 'CurrentPage' => ['description' => 'The page number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '71064826-726F-4ADA-B879-05D8055476FB', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of data assets that contain sensitive data.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Items' => [ + 'description' => 'An array of data assets.', + 'items' => [ + 'properties' => [ + 'Acl' => ['description' => 'The access control list (ACL) of the OSS bucket.'."\n" + ."\n" + .'> This parameter is returned only when **RangeId** is **21 **(OSS buckets).', 'type' => 'string', 'example' => 'private', 'title' => ''], + 'CreationTime' => ['description' => 'The time when the data asset was created. The value is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1536751124000', 'title' => ''], + 'DataType' => ['description' => 'The type of the data asset.', 'type' => 'string', 'example' => 'OSS_BUCKET', 'title' => ''], + 'Owner' => ['description' => 'The owner of the data asset.', 'type' => 'string', 'example' => 'dtdep-239-******', 'title' => ''], + 'SensitiveRatio' => ['description' => 'The percentage of sensitive data in the data asset.', 'type' => 'string', 'example' => '45%', 'title' => ''], + 'Protection' => ['description' => 'Indicates whether data protection is enabled. This is a static field and is returned only when **RangeId** is **1** (MaxCompute projects).'."\n" + ."\n" + .'- **false**: Data protection is disabled.'."\n" + ."\n" + .'- **true**: Data protection is enabled. Data can only flow into the project, not out of it.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'Labelsec' => ['description' => 'The sensitivity level of the data. This is a static field and is returned only when **RangeId** is **1** (MaxCompute projects).'."\n" + ."\n" + .'- **0**: Unclassified'."\n" + ."\n" + .'- **1**: Confidential'."\n" + ."\n" + .'- **2**: Sensitive'."\n" + ."\n" + .'- **3**: Highly sensitive', 'type' => 'boolean', 'example' => '0', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of items in the data asset. For example, the total number of projects, packages, or tables in MaxCompute, the total number of databases or tables in RDS, or the total number of buckets or objects in OSS.', 'type' => 'integer', 'format' => 'int32', 'example' => '432', 'title' => ''], + 'RiskLevelId' => ['description' => 'The ID of the risk level. A larger value indicates a higher risk level. Valid values:'."\n" + ."\n" + .'- **1**: No sensitive data detected'."\n" + ."\n" + .'- **2**: Level 1'."\n" + ."\n" + .'- **3**: Level 2'."\n" + ."\n" + .'- **4**: Level 3'."\n" + ."\n" + .'- **5**: Level 4'."\n" + ."\n" + .'- **6**: Level 5'."\n" + ."\n" + .'- **7**: Level 6'."\n" + ."\n" + .'- **8**: Level 7'."\n" + ."\n" + .'- **9**: Level 8'."\n" + ."\n" + .'- **10**: Level 9'."\n" + ."\n" + .'- **11**: Level 10', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'RuleName' => ['description' => 'The name of the sensitive data detection rule that the data asset matches.', 'type' => 'string', 'example' => '***Rule', 'title' => ''], + 'Sensitive' => ['description' => 'Indicates whether the data asset contains sensitive data. Valid values:'."\n" + ."\n" + .'- **true**: Yes'."\n" + ."\n" + .'- **false**: No', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ObjectKey' => ['description' => 'The key of the OSS object.'."\n" + ."\n" + .'> This parameter is returned only when **RangeId** is **22** (OSS objects).', 'type' => 'string', 'example' => 'test.txt', 'title' => ''], + 'RiskLevelName' => ['description' => 'The name of the risk level.', 'type' => 'string', 'example' => 'High risk', 'title' => ''], + 'OdpsRiskLevelName' => ['description' => 'The name of the risk level for the MaxCompute data asset. Valid values:'."\n" + ."\n" + .'- **S1**: Low'."\n" + ."\n" + .'- **S2**: Medium'."\n" + ."\n" + .'- **S3**: High'."\n" + ."\n" + .'- **S4**: Highest'."\n" + ."\n" + .'> This parameter is returned only when \\`RangeId\\` is \\`1\\` (MaxCompute projects).', 'type' => 'string', 'example' => 'S4', 'title' => ''], + 'ProductId' => ['description' => 'The ID of the service to which the data asset belongs. Valid values:'."\n" + ."\n" + .'- **1**: MaxCompute'."\n" + ."\n" + .'- **2**: OSS'."\n" + ."\n" + .'- **3**: AnalyticDB for MySQL'."\n" + ."\n" + .'- **4**: Tablestore'."\n" + ."\n" + .'- **5**: RDS', 'type' => 'string', 'example' => '5', 'title' => ''], + 'Name' => ['description' => 'The name of the data asset.', 'type' => 'string', 'example' => 'gxdata', 'title' => ''], + 'SensitiveCount' => ['description' => 'The total number of sensitive items in the data asset. For example, the total number of sensitive projects, packages, or tables in MaxCompute, the total number of sensitive databases or tables in RDS, or the total number of sensitive buckets or objects in OSS.', 'type' => 'integer', 'format' => 'int32', 'example' => '24', 'title' => ''], + 'Id' => ['description' => 'The ID of the data asset.', 'type' => 'string', 'example' => '268', 'title' => ''], + 'ProductCode' => ['description' => 'The code of the service to which the data asset belongs.', 'type' => 'string', 'example' => 'RDS', 'title' => ''], + ], + 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'type' => 'array', + 'title' => '', + 'example' => '', ], ], + 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"FailedIds\\": \\"1,2,3,4\\",\\n \\"RequestId\\": \\"7C3AC882-E5A8-4855-BE77-B6837B695EF1\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyRuleStatusResponse>\\n <FailedIds>1,2,3,4</FailedIds>\\n <RequestId>7C3AC882-E5A8-4855-BE77-B6837B695EF1</RequestId>\\n</ModifyRuleStatusResponse>","errorExample":""}]', - 'title' => 'ModifyRuleStatus', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"71064826-726F-4ADA-B879-05D8055476FB\\",\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 1,\\n \\"Items\\": [\\n {\\n \\"Acl\\": \\"private\\",\\n \\"CreationTime\\": 1536751124000,\\n \\"DataType\\": \\"OSS_BUCKET\\",\\n \\"Owner\\": \\"dtdep-239-******\\",\\n \\"SensitiveRatio\\": \\"45%\\",\\n \\"Protection\\": false,\\n \\"Labelsec\\": true,\\n \\"TotalCount\\": 432,\\n \\"RiskLevelId\\": 2,\\n \\"RuleName\\": \\"***Rule\\",\\n \\"Sensitive\\": true,\\n \\"ObjectKey\\": \\"test.txt\\",\\n \\"RiskLevelName\\": \\"High risk\\",\\n \\"OdpsRiskLevelName\\": \\"S4\\",\\n \\"ProductId\\": \\"5\\",\\n \\"Name\\": \\"gxdata\\",\\n \\"SensitiveCount\\": 24,\\n \\"Id\\": \\"268\\",\\n \\"ProductCode\\": \\"RDS\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeDataAssets', + 'description' => 'This operation is typically used to query data assets of different types on the overview page of DSC.'."\n" + ."\n" + .'## Usage notes'."\n" + ."\n" + .'This operation is deprecated and no longer maintained.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for a single user is 10 calls per second. If you exceed this limit, API calls are throttled. This may affect your business. Plan your calls accordingly.', + 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyRule' => [ - 'summary' => 'Modifies a custom sensitive data detection rule in Data Security Center (DSC).', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:25.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataAssets'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDataAssets', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDataLimitDetail' => [ + 'summary' => 'Retrieves the details of an authorized data asset, such as a MaxCompute project, ApsaraDB RDS database, or OSS bucket.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82121', - 'abilityTreeNodes' => [ - 'FEATUREsddpEFXM0Z', - ], + 'abilityTreeCode' => '82011', + 'abilityTreeNodes' => ['FEATUREsddp2CRSZ1'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Simplified Chinese'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The language of the content within the request and response. Valid values:'."\n" + ."\n" + .'- **zh**: Simplified Chinese.'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the sensitive data detection rule.'."\n" - ."\n" - .'You can call the [DescribeRules](~~DescribeRules~~) operation to obtain the rule ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1****', - ], + 'schema' => ['description' => 'The unique ID of the data asset that you want to query.'."\n" + ."\n" + .'> You can call the [DescribeDataLimits](~~DescribeDataLimits~~) operation to query the ID of the data asset.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12300', 'title' => ''], ], [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the sensitive data detection rule.'."\n" - ."\n" - .'You can call the [DescribeRules](~~DescribeRules~~) operation to obtain the rule name.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'esw', - ], - ], - [ - 'name' => 'Category', - 'in' => 'query', - 'schema' => [ - 'description' => 'The content type of the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **2**: regular expression'."\n" - .'* **3**: algorithm'."\n" - .'* **5**: keyword'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], - ], - [ - 'name' => 'Content', - 'in' => 'query', - 'schema' => [ - 'description' => 'The content of the sensitive data detection rule. You can specify a regular expression, an algorithm, or keywords that are used to match sensitive fields or text.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '(?:\\\\D|^)((?:(?:25[0-4]|2[0-4]\\\\d|1\\\\d{2}|[1-9]\\\\d{1})\\\\.)(?:(?:25[0-5]|2[0-4]\\\\d|[01]?\\\\d?\\\\d)\\\\.){2}(?:25[0-5]|2[0-4]\\\\d|1[0-9]\\\\d|[1-9]\\\\d|[1-9]))(?:\\\\D|$)', - ], - ], - [ - 'name' => 'RiskLevelId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The sensitivity level of the sensitive data that hits the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **1**: N/A, which indicates that no sensitive data is detected.'."\n" - .'* **2**: S1, which indicates the low sensitivity level.'."\n" - .'* **3**: S2, which indicates the medium sensitivity level.'."\n" - .'* **4**: S3, which indicates the high sensitivity level.'."\n" - .'* **5**: S4, which indicates the highest sensitivity level.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], - ], - [ - 'name' => 'RuleType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **1**: data detection rule'."\n" - .'* **2**: audit rule'."\n" - .'* **3**: anomalous event detection rule'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'ProductCode', - 'in' => 'query', - 'schema' => [ - 'description' => 'The service to which the sensitive data detection rule is applied. Valid values include **MaxCompute, OSS, ADS, OTS, and RDS**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'RDS', - ], - ], - [ - 'name' => 'ProductId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the service to which the sensitive data detection rule is applied. Valid values include **1**, **2**, **3**, **4**, and **5**. The value 1 indicates MaxCompute. The value 2 indicates Object Storage Service (OSS). The value 3 indicates AnalyticDB for MySQL. The value 4 indicates Tablestore. The value 5 indicates ApsaraDB RDS.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '5', - ], - ], - [ - 'name' => 'WarnLevel', - 'in' => 'query', - 'schema' => [ - 'description' => 'The risk level of the alert that is triggered by the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **1**: low level'."\n" - .'* **2**: medium level'."\n" - .'* **3**: high level'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'MatchType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The match type. Valid values:'."\n" - ."\n" - .'* **1**: rule-based match'."\n" - .'* **2**: dictionary-based match'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'SupportForm', - 'in' => 'query', - 'schema' => [ - 'description' => 'The data assets supported by the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **0**: all data assets'."\n" - .'* **1**: structured data assets'."\n" - .'* **2**: unstructured data assets'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'TemplateRuleIds', + 'name' => 'NetworkType', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of the templates that are used to audit sensitive data.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The network type of the data asset that you want to query. Valid values:'."\n" + ."\n" + .'- **1**: virtual private cloud (VPC)'."\n" + ."\n" + .'- **2**: classic network', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ModelRuleIds', + 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of the models for sensitive data audit.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1452', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], ], 'responses' => [ @@ -4030,372 +2993,495 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '7C3AC882-E5A8-4855-BE77-B6837B695EF1', + 'RequestId' => ['description' => 'The ID of the request, which is used to locate and troubleshoot issues.', 'type' => 'string', 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', 'title' => ''], + 'DataLimit' => [ + 'description' => 'The details of the data asset.', + 'type' => 'object', + 'properties' => [ + 'LocalName' => ['description' => 'The region in which the data asset resides.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'CheckStatus' => ['description' => 'The status of the connectivity test between the data asset and DSC. Valid values:'."\n" + ."\n" + .'- **2**: indicates that the data asset was being connected.'."\n" + ."\n" + .'- **3**: indicates that the data asset was connected to DSC.'."\n" + ."\n" + .'- **4**: indicates that the data asset failed to be connected.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'Port' => ['description' => 'The port number that is used to connect to the database.', 'type' => 'integer', 'format' => 'int32', 'example' => '3306', 'title' => ''], + 'CheckStatusName' => ['description' => 'The result that indicates the status of the connectivity test between the data asset and DSC. Valid values:'."\n" + ."\n" + .'- **Passed**'."\n" + ."\n" + .'- **Failed**'."\n" + ."\n" + .'- **Testing**', 'type' => 'string', 'example' => 'Pending', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region in which the data asset resides.', 'type' => 'string', 'example' => 'cn-qingdao', 'title' => ''], + 'ParentId' => ['description' => 'The ID and name of the data asset in the service to which the data asset belongs.', 'type' => 'string', 'example' => 'rm-m5eup49p6o274****.RDS_example', 'title' => ''], + 'ResourceType' => ['description' => 'The type of the service to which the data asset belongs. Valid values:'."\n" + ."\n" + .'- **1**: MaxCompute'."\n" + ."\n" + .'- **2**: OSS'."\n" + ."\n" + .'- **3**: AnalyticDB for MySQL'."\n" + ."\n" + .'- **4**: Tablestore'."\n" + ."\n" + .'- **5**: ApsaraDB RDS', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the data asset was connected to DSC. The value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '145600000', 'title' => ''], + 'ResourceTypeCode' => ['description' => 'The service to which the data asset belongs. Valid values:'."\n" + ."\n" + .'- **MaxCompute**'."\n" + ."\n" + .'- **OSS**'."\n" + ."\n" + .'- **ADS**'."\n" + ."\n" + .'- **OTS**'."\n" + ."\n" + .'- **RDS**', 'type' => 'string', 'example' => 'RDS', 'title' => ''], + 'UserName' => ['description' => 'The account of the user who manages the data asset.', 'type' => 'string', 'example' => 'User01', 'title' => ''], + 'Id' => ['description' => 'The ID of the data asset.', 'type' => 'integer', 'format' => 'int64', 'example' => '12300', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7C3AC882-E5A8-4855-BE77-B6837B695EF1\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyRuleResponse>\\n <RequestId>7C3AC882-E5A8-4855-BE77-B6837B695EF1</RequestId>\\n</ModifyRuleResponse>","errorExample":""}]', - 'title' => 'ModifyRule', - 'description' => 'When you call this operation, you must configure request parameters to specify the rule name, rule ID, and rule content.'."\n" - ."\n" - .'# Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"DataLimit\\": {\\n \\"LocalName\\": \\"cn-hangzhou\\",\\n \\"CheckStatus\\": 3,\\n \\"Port\\": 3306,\\n \\"CheckStatusName\\": \\"Pending\\",\\n \\"RegionId\\": \\"cn-qingdao\\",\\n \\"ParentId\\": \\"rm-m5eup49p6o274****.RDS_example\\",\\n \\"ResourceType\\": 1,\\n \\"GmtCreate\\": 145600000,\\n \\"ResourceTypeCode\\": \\"RDS\\",\\n \\"UserName\\": \\"User01\\",\\n \\"Id\\": 12300\\n }\\n}","type":"json"}]', + 'title' => 'DescribeDataLimitDetail', + 'description' => "\n" + ."\n", 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DeleteRule' => [ - 'summary' => 'Deletes a custom sensitive data detection rule from Data Security Center (DSC).', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2024-03-25T07:35:04.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:23.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataLimitDetail'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDataLimitDetail', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDataLimitSet' => [ + 'summary' => 'Call the DescribeDataLimitSet operation to query the authorization list for unstructured assets or the list of regions supported by Data Security Center.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '81978', - 'abilityTreeNodes' => [ - 'FEATUREsddpIUNEZP', - ], + 'abilityTreeCode' => '82014', + 'abilityTreeNodes' => ['FEATUREsddp2CRSZ1'], ], 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the sensitive data detection rule.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '122300', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh\\_cn**: Chinese (Simplified). This is the default value.'."\n" + ."\n" + .'- **en\\_us**: English (US).', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ - 'name' => 'FeatureType', + 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'description' => 'This parameter is deprecated.'."\n", - 'example' => '1', - ], + 'schema' => ['description' => 'The type of data asset. Valid values:'."\n" + ."\n" + .'- **1**: MaxCompute.'."\n" + ."\n" + .'- **2**: OSS.'."\n" + ."\n" + .'- **3**: ADS.'."\n" + ."\n" + .'- **4**: OTS.'."\n" + ."\n" + .'- **5**: RDS.'."\n" + ."\n" + .'- **6**: SELF\\_DB.'."\n" + ."\n" + .'> If you set this parameter to a value other than 2, the returned OssBucketList object is empty.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'SourceIp', + 'name' => 'ParentId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'description' => 'This parameter is deprecated.', - 'example' => '39.170.XX.XX', - ], + 'schema' => ['description' => 'The ID of the parent asset.'."\n" + ."\n" + .'The [DescribeDataLimitDetail](~~DescribeDataLimitDetail~~) or [DescribeDataLimits](~~DescribeDataLimits~~) operation returns this ID in the **ParentId** parameter.', 'type' => 'string', 'required' => false, 'example' => 'db', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values: **zh** and **en**. The value zh indicates Chinese, and the value en indicates English.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], + ], + [ + 'name' => 'RegionType', + 'in' => 'query', + 'schema' => ['description' => 'The region type.'."\n" + ."\n" + .'- **native\\_audit**: A region that supports traffic collection.', 'type' => 'string', 'required' => false, 'example' => 'native_audit', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The result of the request.'."\n", 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '7C3AC882-E5A8-4855-BE77-B6837B6*****', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', 'title' => ''], + 'DataLimitSet' => [ + 'description' => 'Information about the authorized data assets.', + 'type' => 'object', + 'properties' => [ + 'ResourceTypeCode' => ['description' => 'The code for the data asset type. Valid values:'."\n" + ."\n" + .'- **MaxCompute**'."\n" + ."\n" + .'- **OSS**'."\n" + ."\n" + .'- **ADS**'."\n" + ."\n" + .'- **OTS**'."\n" + ."\n" + .'- **RDS**'."\n" + ."\n" + .'- **SELF\\_DB**', 'type' => 'string', 'example' => 'OSS', 'title' => ''], + 'ResourceType' => ['description' => 'The type of the data asset. Valid values:'."\n" + ."\n" + .'- **1**: MaxCompute.'."\n" + ."\n" + .'- **2**: OSS.'."\n" + ."\n" + .'- **3**: ADS.'."\n" + ."\n" + .'- **4**: OTS.'."\n" + ."\n" + .'- **5**: RDS.'."\n" + ."\n" + .'- **6**: SELF\\_DB.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of assets found.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'DataLimitList' => [ + 'description' => 'A list of authorized data assets.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LocalName' => ['description' => 'The name of the region where the data asset is located.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'CheckStatus' => ['description' => 'The status of the connectivity test between Security Center and the authorized data asset.'."\n" + ."\n" + .'- **2**: The connectivity test is in progress.'."\n" + ."\n" + .'- **3**: The connectivity test is passed.'."\n" + ."\n" + .'- **4**: The connectivity test has failed.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'Connector' => ['description' => 'The connection string for the data asset.', 'type' => 'string', 'example' => 'jdbc:mysql://10.*.*.94:3306/test_demo', 'title' => ''], + 'CheckStatusName' => ['description' => 'The name of the connectivity test status.', 'type' => 'string', 'example' => 'Connected', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region where the data asset is located.', 'type' => 'string', 'example' => 'cn-****', 'title' => ''], + 'ParentId' => ['description' => 'The ID of the parent asset.', 'type' => 'string', 'example' => 'db', 'title' => ''], + 'ResourceType' => ['description' => 'The type of the data asset. Valid values:'."\n" + ."\n" + .'- **1**: MaxCompute.'."\n" + ."\n" + .'- **2**: OSS.'."\n" + ."\n" + .'- **3**: ADS.'."\n" + ."\n" + .'- **4**: OTS.'."\n" + ."\n" + .'- **5**: RDS.'."\n" + ."\n" + .'- **6**: SELF\\_DB.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the data asset was created. This value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1625587423000', 'title' => ''], + 'ResourceTypeCode' => ['description' => 'The code for the data asset type. Valid values:'."\n" + ."\n" + .'- **MaxCompute**'."\n" + ."\n" + .'- **OSS**'."\n" + ."\n" + .'- **ADS**'."\n" + ."\n" + .'- **OTS**'."\n" + ."\n" + .'- **RDS**'."\n" + ."\n" + .'- **SELF\\_DB**', 'type' => 'string', 'example' => 'OSS', 'title' => ''], + 'UserName' => ['description' => 'The username of the data owner.', 'type' => 'string', 'example' => 'tsts', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the data asset.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + ], + 'description' => 'A list of data assets.', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'OssBucketList' => [ + 'description' => 'A list of authorized OSS buckets.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The ID of the region where the OSS bucket is located.', 'type' => 'string', 'example' => 'cn-****', 'title' => ''], + 'BucketName' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'example' => 'oss-bucket', 'title' => ''], + ], + 'description' => 'The list of OSS objects that are authorized to be scanned.', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'RegionList' => [ + 'description' => 'A list of regions that support scanning.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-****', 'title' => ''], + 'LocalName' => ['description' => 'The region name.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + ], + 'description' => 'Details of a region.', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"DataLimitSet\\": {\\n \\"ResourceTypeCode\\": \\"OSS\\",\\n \\"ResourceType\\": 2,\\n \\"TotalCount\\": 10,\\n \\"DataLimitList\\": [\\n {\\n \\"LocalName\\": \\"cn-hangzhou\\",\\n \\"CheckStatus\\": 3,\\n \\"Connector\\": \\"jdbc:mysql://10.*.*.94:3306/test_demo\\",\\n \\"CheckStatusName\\": \\"Connected\\",\\n \\"RegionId\\": \\"cn-****\\",\\n \\"ParentId\\": \\"db\\",\\n \\"ResourceType\\": 2,\\n \\"GmtCreate\\": 1625587423000,\\n \\"ResourceTypeCode\\": \\"OSS\\",\\n \\"UserName\\": \\"tsts\\",\\n \\"Id\\": 1\\n }\\n ],\\n \\"OssBucketList\\": [\\n {\\n \\"RegionId\\": \\"cn-****\\",\\n \\"BucketName\\": \\"oss-bucket\\"\\n }\\n ],\\n \\"RegionList\\": [\\n {\\n \\"RegionId\\": \\"cn-****\\",\\n \\"LocalName\\": \\"cn-hangzhou\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'DescribeDataLimitSet', + 'description' => 'Use this operation to retrieve a list of authorized product assets. This list helps you search for and aggregate resources.'."\n" + ."\n" + .'## Notes'."\n" + ."\n" + .'In the future, this operation will be used only to retrieve the list of regions that a product supports. Other features will no longer be maintained.'."\n" + ."\n" + .'## QPS limits'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 calls per second for each user. API calls that exceed this limit are throttled. Throttling can affect your business. We recommend that you call this operation a reasonable number of times.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-06-30T11:18:08.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-03-25T07:35:04.000Z', 'description' => 'Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7C3AC882-E5A8-4855-BE77-B6837B6*****\\"\\n}","type":"json"}]', - 'title' => 'DeleteRule', - ], - 'CreateRule' => [ - 'summary' => 'Creates a custom sensitive data detection rule.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataLimitSet'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDataLimitSet', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeDataLimits' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '81967', - 'abilityTreeNodes' => [ - 'FEATUREsddpIUNEZP', - ], - 'tenantRelevance' => 'publicInformation', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '82013', + 'abilityTreeNodes' => ['FEATUREsddpXMFUF8'], ], 'parameters' => [ [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the sensitive data detection rule.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'rule-tst', - ], - ], - [ - 'name' => 'Category', - 'in' => 'query', - 'schema' => [ - 'description' => 'The content type of the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **0**: keyword'."\n" - .'* **2**: regular expression'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], - ], - [ - 'name' => 'Content', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The content of the sensitive data detection rule. You can specify a regular expression or keywords that are used to match sensitive fields or text.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '(?:\\\\D|^)((?:(?:25[0-4]|2[0-4]\\\\d|1\\\\d{2}|[1-9]\\\\d{1})\\\\.)(?:(?:25[0-5]|2[0-4]\\\\d|[01]?\\\\d?\\\\d)\\\\.){2}(?:25[0-5]|2[0-4]\\\\d|1[0-9]\\\\d|[1-9]\\\\d|[1-9]))(?:\\\\D|$)', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + .'- **zh**: Chinese.'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'StatExpress', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The statistical expression.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The maximum number of entries to return on each page when you perform a paged query. For more information about paging, refer to the paging parameters.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'RiskLevelId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The sensitivity level of the sensitive data that hits the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **1**: N/A, which indicates that no sensitive data is detected.'."\n" - .'* **2**: S1, which indicates the low sensitivity level.'."\n" - .'* **3**: S2, which indicates the medium sensitivity level.'."\n" - .'* **4**: S3, which indicates the high sensitivity level.'."\n" - .'* **5**: S4, which indicates the highest sensitivity level.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], - ], - [ - 'name' => 'RuleType', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **1**: sensitive data detection rule'."\n" - .'* **2**: audit rule'."\n" - .'* **3**: anomalous event detection rule'."\n" - .'* **99**: custom rule'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'Settings the page number of the current page when you perform a paged query. For more information about paging, refer to the paging parameters.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ProductCode', + 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the service to which data in the column of the table belongs. Valid values include **MaxCompute**, **OSS**, **ADS**, **OTS**, and **RDS**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'RDS', - ], + 'schema' => ['description' => 'Required. The type of the product to which the data asset belongs. Valid values:'."\n" + .'- **1**: MaxCompute'."\n" + .'- **2**: OSS'."\n" + .'- **3**: ADS'."\n" + .'- **4**: OTS'."\n" + .'- **5**: RDS'."\n" + .'- **6**: SELF_DB', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ProductId', + 'name' => 'ParentId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the service to which the data asset belongs. Valid values include **1**, **2**, **3**, **4**, and **5**. The value 1 indicates MaxCompute. The value 2 indicates Object Storage Service (OSS). The value 3 indicates AnalyticDB for MySQL. The value 4 indicates Tablestore. The value 5 indicates ApsaraDB RDS.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The ID of the parent asset to which the data asset belongs. Valid values:'."\n" + .'- The project name or ID for MaxCompute.'."\n" + .'- The bucket name or ID for OSS.'."\n" + .'- The instance name or ID, or the database name or ID for RDS.', 'type' => 'string', 'required' => false, 'example' => '1112', 'title' => ''], ], [ - 'name' => 'WarnLevel', - 'in' => 'query', - 'schema' => [ - 'description' => 'The risk level of the alert that is triggered. Valid values:'."\n" - ."\n" - .'* **1**: low'."\n" - .'* **2**: medium'."\n" - .'* **3**: high'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], - ], - [ - 'name' => 'Description', + 'name' => 'ServiceRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ID card'."\n", - ], + 'schema' => ['description' => 'The region where the asset resides.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'ContentCategory', + 'name' => 'CheckStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the content in the sensitive data detection rule. Valid values include **1**, **2**, **3**, **4**, and **5**. The value 1 indicates attempts to exploit SQL injections. The value 2 indicates bypass by using SQL injections. The value 3 indicates abuse of stored procedures. The value 4 indicates buffer overflow. The value 5 indicates SQL injections based on errors.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The data detection status. Valid values:'."\n" + .'- **0**: ready.'."\n" + .'- **1**: running.'."\n" + .'- **2**: connectivity test in progress.'."\n" + .'- **3**: connectivity test passed.'."\n" + .'- **4**: connectivity test failed.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], ], [ - 'name' => 'Status', + 'name' => 'AuditStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enable the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The audit status. Valid values:'."\n" + .'- **1**: audit enabled.'."\n" + .'- **0**: audit disabled.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'Target', + 'name' => 'EngineType', 'in' => 'query', - 'schema' => [ - 'description' => 'The code of the service to which the sensitive data detection rule is applied. Valid values include **MaxCompute**, **OSS**, **ADS**, **OTS**, and **RDS**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MaxCompute', - ], + 'schema' => ['description' => 'The database type. Valid values: **MySQL**, **SQLServer**, **Oracle**, **PostgreSQL**, **MongoDB**, and others.', 'type' => 'string', 'required' => false, 'example' => 'MySQL', 'title' => ''], ], [ - 'name' => 'MatchType', + 'name' => 'DatamaskStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'The match type. Valid values:'."\n" - ."\n" - .'* **1**: rule-based match'."\n" - .'* **2**: dictionary-based match'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The data masking permission status. Valid values:'."\n" + .'- **1**: enabled.'."\n" + .'- **0**: disabled.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'SupportForm', + 'name' => 'Enable', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the data asset. Valid values:'."\n" - ."\n" - .'* **0**: all data assets'."\n" - .'* **1**: structured data asset'."\n" - .'* **2**: unstructured data asset'."\n" - ."\n" - .'> If you set the parameter to 1 or 2, rules that support all data assets and rules that support the queried data asset type are returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The detection permission status. Valid values:'."\n" + .'- **1**: enabled.'."\n" + .'- **0**: disabled.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'SourceIp', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.', - 'type' => 'string', - 'required' => false, - 'example' => '39.170.XX.XX', - ], + 'schema' => ['description' => 'The start of the creation time range. Format: timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1616068534877', 'title' => ''], ], [ - 'name' => 'TemplateRuleIds', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of the templates that are used to audit sensitive data.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The end of the creation time range. Format: timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1616068534877', 'title' => ''], ], [ - 'name' => 'ModelRuleIds', + 'name' => 'MemberAccount', 'in' => 'query', - 'schema' => [ - 'description' => 'The IDs of the models for sensitive data audit.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1452', - ], + 'schema' => ['description' => 'The ID of the member accounts.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '**********8103', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], ], 'responses' => [ @@ -4403,37 +3489,160 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => 'The unique ID of the sensitive data detection rule.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '208B016D-4CB9-4A85-96A5-0B8ED1EBF271', + 'CurrentPage' => ['description' => 'The page number of the current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989***', 'title' => ''], + 'PageSize' => ['description' => 'The maximum number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Items' => [ + 'description' => 'The list of data assets.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data asset details.', + 'type' => 'object', + 'properties' => [ + 'SupportEvent' => ['description' => 'Indicates whether anomalous activity detection is supported. Valid values:'."\n" + .'- **true**: Supported.'."\n" + .'- **false**: Not supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ErrorMessage' => ['description' => 'The failure reason.', 'type' => 'string', 'example' => 'Incorrect password.', 'title' => ''], + 'CheckStatus' => ['description' => 'The data detection status. Valid values:'."\n" + .'- **0**: ready.'."\n" + .'- **1**: running.'."\n" + .'- **2**: connectivity test in progress.'."\n" + .'- **3**: connectivity test passed.'."\n" + .'- **4**: connectivity test failed.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'LocalName' => ['description' => 'The name of the region where the data resides.', 'type' => 'string', 'example' => 'China (Hangzhou)', 'title' => ''], + 'TenantName' => ['description' => 'The tenant alias.', 'type' => 'string', 'example' => 'insta_gram', 'title' => ''], + 'NextStartTime' => ['description' => 'The next execution time. Format: timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1676620236000', 'title' => ''], + 'Port' => ['description' => 'The port number of the self-managed database.', 'type' => 'integer', 'format' => 'int32', 'example' => '3306', 'title' => ''], + 'CheckStatusName' => ['description' => 'The name of the data detection status.', 'type' => 'string', 'example' => 'Connectivity detection status', 'title' => ''], + 'SamplingSize' => ['description' => 'The sensitive data sampling size. Valid values: **0**, **5**, and **10**. Unit: entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'ParentId' => ['description' => 'The parent ID of the asset to query. Valid values: **bucket**, **db**, **project**, and others.', 'type' => 'string', 'example' => 'project', 'title' => ''], + 'DatamaskStatus' => ['description' => 'The data masking permission status. Valid values:'."\n" + .'- **1**: enabled.'."\n" + .'- **0**: disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ProcessTotalCount' => ['description' => 'The total number of tables or files.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'ResourceType' => ['description' => 'The type of the product to which the data asset belongs. Valid values:'."\n" + .'- **1**: MaxCompute'."\n" + .'- **2**: OSS'."\n" + .'- **3**: ADS'."\n" + .'- **4**: OTS'."\n" + .'- **5**: RDS'."\n" + .'- **6**: SELF_DB', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'connect_network_error', 'title' => ''], + 'OcrStatus' => ['description' => 'The OCR status. Valid values:'."\n" + .'- **0**: disabled.'."\n" + .'- **1**: enabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'LogStoreDay' => ['description' => 'The raw log storage duration. Unit: days.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'EventStatus' => ['description' => 'The data leak prevention switch. Valid values:'."\n" + .'- **0**: disabled.'."\n" + .'- **1**: enabled (default).', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'SupportScan' => ['description' => 'Indicates whether scanning is supported. Valid values:'."\n" + .'- **true**: Supported.'."\n" + .'- **false**: Not supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'LastFinishedTime' => ['description' => 'The time when the last full scan was completed.'."\n" + .'- Format: timestamp'."\n" + .'- Unit: milliseconds', 'type' => 'integer', 'format' => 'int64', 'example' => '145600000', 'title' => ''], + 'UserName' => ['description' => 'The username of the data owner.', 'type' => 'string', 'example' => 'tsts', 'title' => ''], + 'AuditStatus' => ['description' => 'The audit status. Valid values:'."\n" + .'- **1**: audit enabled.'."\n" + .'- **0**: audit disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'SupportOcr' => ['description' => 'Indicates whether OCR is supported. Valid values:'."\n" + .'- **true**: Supported.'."\n" + .'- **false**: Not supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'EngineType' => ['description' => 'The database type. Valid values: **MySQL**, **SQLServer**, **Oracle**, **PostgreSQL**, **MongoDB**, and others.', 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID of the asset to which the data asset table belongs.', 'type' => 'string', 'example' => '12332', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of fields in the data asset table.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'InstanceDescription' => ['description' => 'The description of the instance.', 'type' => 'string', 'example' => '123', 'title' => ''], + 'DbVersion' => ['description' => 'The database version.', 'type' => 'string', 'example' => '2.0', 'title' => ''], + 'RegionId' => ['description' => 'The region where the asset resides.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'GmtCreate' => ['description' => 'The creation time. Format: timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '145600000', 'title' => ''], + 'SupportAudit' => ['description' => 'Indicates whether auditing is supported. Valid values:'."\n" + .'- **true**: Supported.'."\n" + .'- **false**: Not supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'AutoScan' => ['description' => 'Indicates whether automatic scanning is enabled. Valid values:'."\n" + .'- **0**: disabled.'."\n" + .'- **1**: enabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ResourceTypeCode' => ['description' => 'The product type code of the data source. Valid values: **MaxCompute**, **OSS**, **ADS**, **OTS**, **RDS**, and others.', 'type' => 'string', 'example' => 'RDS', 'title' => ''], + 'SupportDatamask' => ['description' => 'Indicates whether data masking is supported. Valid values:'."\n" + .'- **true**: Supported.'."\n" + .'- **false**: Not supported.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ProcessStatus' => ['description' => 'The scan status. Valid values:'."\n" + .'- **-1**: invalid.'."\n" + .'- **0**: waiting.'."\n" + .'- **1**: scanning.'."\n" + .'- **2**: paused.'."\n" + .'- **3**: completed.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the data asset.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'Enable' => ['description' => 'The detection permission status. Valid values:'."\n" + .'- **1**: enabled.'."\n" + .'- **0**: disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'SecurityGroupIdList' => [ + 'description' => 'The list of security group IDs used by PrivateLink in agent-based auditing.', + 'type' => 'array', + 'items' => ['description' => 'The security group ID used by PrivateLink in agent-based auditing.', 'type' => 'string', 'example' => 'sg-bp113yf20quxkvy****', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'VSwitchIdList' => [ + 'description' => 'The list of vSwitch IDs used by PrivateLink in agent-based auditing.', + 'type' => 'array', + 'items' => ['description' => 'The vSwitch ID used by PrivateLink in agent-based auditing.', 'type' => 'string', 'example' => 'vsw-bp1kk2mtrtey7o4ju****', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'VpcId' => ['description' => 'The VPC ID to which the data asset belongs.', 'type' => 'string', 'example' => 'vpc-2zevcqke6hh09c41****', 'title' => ''], + 'MemberAccount' => ['description' => 'The member accounts ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '**********8103'."\n", 'title' => ''], + 'LastStartTime' => ['description' => 'The time when the last scan of the data asset started. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '145600000', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": 1,\\n \\"RequestId\\": \\"208B016D-4CB9-4A85-96A5-0B8ED1EBF271\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateRuleResponse>\\n <Id>1</Id>\\n <RequestId>208B016D-4CB9-4A85-96A5-0B8ED1EBF271</RequestId>\\n</CreateRuleResponse>","errorExample":""}]', - 'title' => 'CreateRule', + 'title' => 'Query data asset scan authorization list', + 'summary' => 'Queries the list of data assets, including authorized instances, databases, and buckets.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeRules' => [ - 'summary' => 'Queries sensitive data detection rules.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-08-09T07:58:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-04-18T05:56:10.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-03-25T07:35:04.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-07-18T03:59:28.000Z', 'description' => 'Response parameters changed, Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataLimits'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDataLimits', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989***\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 200,\\n \\"Items\\": [\\n {\\n \\"SupportEvent\\": true,\\n \\"ErrorMessage\\": \\"Incorrect password.\\",\\n \\"CheckStatus\\": 3,\\n \\"LocalName\\": \\"China (Hangzhou)\\",\\n \\"TenantName\\": \\"insta_gram\\",\\n \\"NextStartTime\\": 1676620236000,\\n \\"Port\\": 3306,\\n \\"CheckStatusName\\": \\"Connectivity detection status\\",\\n \\"SamplingSize\\": 5,\\n \\"ParentId\\": \\"project\\",\\n \\"DatamaskStatus\\": 1,\\n \\"ProcessTotalCount\\": 100,\\n \\"ResourceType\\": 5,\\n \\"ErrorCode\\": \\"connect_network_error\\",\\n \\"OcrStatus\\": 1,\\n \\"LogStoreDay\\": 30,\\n \\"EventStatus\\": 1,\\n \\"SupportScan\\": true,\\n \\"LastFinishedTime\\": 145600000,\\n \\"UserName\\": \\"tsts\\",\\n \\"AuditStatus\\": 1,\\n \\"SupportOcr\\": true,\\n \\"EngineType\\": \\"MySQL\\",\\n \\"InstanceId\\": \\"12332\\",\\n \\"TotalCount\\": 100,\\n \\"InstanceDescription\\": \\"123\\",\\n \\"DbVersion\\": \\"2.0\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"GmtCreate\\": 145600000,\\n \\"SupportAudit\\": true,\\n \\"AutoScan\\": 1,\\n \\"ResourceTypeCode\\": \\"RDS\\",\\n \\"SupportDatamask\\": true,\\n \\"ProcessStatus\\": 3,\\n \\"Id\\": 1,\\n \\"Enable\\": 1,\\n \\"SecurityGroupIdList\\": [\\n \\"sg-bp113yf20quxkvy****\\"\\n ],\\n \\"VSwitchIdList\\": [\\n \\"vsw-bp1kk2mtrtey7o4ju****\\"\\n ],\\n \\"VpcId\\": \\"vpc-2zevcqke6hh09c41****\\",\\n \\"MemberAccount\\": 0,\\n \\"LastStartTime\\": 145600000\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeDataMaskingRunHistory' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4444,272 +3653,275 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82070', - 'abilityTreeNodes' => [ - 'FEATUREsddpIUNEZP', - ], + 'abilityTreeNodes' => ['FEATUREsddpNV5XKZ'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: **zh_cn**. Valid values:'."\n" + .'- **zh_cn**: Chinese.'."\n" + .'- **en_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '12', - ], + 'schema' => ['description' => 'The ID of the data masking task.', 'type' => 'string', 'required' => false, 'example' => 'mt4HBgtw1B******', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The start time of the task execution to query. The value is a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1582992000000', 'title' => ''], ], [ - 'name' => 'CustomType', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **0**: built-in rule'."\n" - .'* **1**: custom rule'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The end time of the task execution to query. The value is a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1583856000000', 'title' => ''], ], [ - 'name' => 'Category', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => 'The content type of the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **0**: keyword'."\n" - .'* **2**: regular expression'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The task execution status. Valid values:'."\n" + .'- **-1**: Waiting for execution.'."\n" + .'- **0**: Running.'."\n" + .'- **1**: Executed successfully.'."\n" + .'- **2**: Execution failed.'."\n" + .'- **3**: Terminated by user.'."\n" + .'- **4**: Partially failed.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], ], [ - 'name' => 'Name', + 'name' => 'SrcType', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the sensitive data detection rule. Fuzzy match is supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '\\*\\*\\* rule'."\n", - ], + 'schema' => ['description' => 'The type of the source product to which the data to be masked belongs. Valid values: **1**: MaxCompute, **2**: OSS, **3**: ADS, **4**: OTS, **5**: RDS, and others.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'RiskLevelId', + 'name' => 'DstType', 'in' => 'query', - 'schema' => [ - 'description' => 'The sensitivity level of the sensitive data that hits the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **1**: N/A, which indicates that no sensitive data is detected.'."\n" - .'* **2**: S1, which indicates the low sensitivity level.'."\n" - .'* **3**: S2, which indicates the medium sensitivity level.'."\n" - .'* **4**: S3, which indicates the high sensitivity level.'."\n" - .'* **5**: S4, which indicates the highest sensitivity level.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The type of the destination product where the masked data is stored. Valid values: **1**: MaxCompute, **2**: OSS, **3**: ADS, **4**: OTS, **5**: RDS, and others.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'RuleType', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **1**: sensitive data detection rule'."\n" - .'* **2**: audit rule'."\n" - .'* **3**: anomalous event detection rule'."\n" - .'* **99**: custom rule'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The maximum number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'MatchType', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The match type. Valid values:'."\n" - ."\n" - .'* 1: rule-based match'."\n" - .'* 2: dictionary-based match'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The page number for a paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ProductCode', + 'name' => 'MainProcessId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the service to which the data asset belongs. Valid values include **MaxCompute, OSS, ADS, OTS, and RDS**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => 'MaxCompute', - ], + 'schema' => ['description' => 'The ID of the main task.'."\n" + ."\n" + .'>If the task contains subtasks, this parameter is set to the current task ID. Otherwise, this parameter is empty.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '366731', 'title' => ''], ], [ - 'name' => 'ProductId', + 'name' => 'SrcTableName', 'in' => 'query', + 'schema' => ['description' => 'The name of the source table.', 'type' => 'string', 'required' => false, 'example' => 'add', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The ID of the service to which the sensitive data detection rule is applied. Valid values include **1**, **2**, **3**, **4**, and **5**. The value 1 indicates MaxCompute. The value 2 indicates Object Storage Service (OSS). The value 3 indicates AnalyticDB for MySQL. The value 4 indicates Tablestore. The value 5 indicates ApsaraDB RDS.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['description' => 'The page number of the current page in the results.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '769FB3C1-F4C9-4******', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page in the results.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries in the results.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'Items' => [ + 'description' => 'The list of data masking task information.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the query result.', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The task execution status. Valid values:'."\n" + .'- **-1**: Waiting for execution.'."\n" + .'- **0**: Running.'."\n" + .'- **1**: Executed successfully.'."\n" + .'- **2**: Execution failed.'."\n" + .'- **3**: Terminated by user.'."\n" + .'- **4**: Partially failed.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Type' => ['description' => 'The execution mode. Valid values:'."\n" + .'- **1**: Manual.'."\n" + .'- **2**: Scheduled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'SrcType' => ['description' => 'The type of the source product to which the data to be masked belongs. Valid values: **1**: MaxCompute, **2**: OSS, **3**: ADS, **4**: OTS, **5**: RDS, and others.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'SrcTableName' => ['description' => 'The name of the source table.', 'type' => 'string', 'example' => 'add', 'title' => ''], + 'MaskingCount' => ['description' => 'The number of rows masked.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'Percentage' => ['description' => 'The execution progress.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'DstType' => ['description' => 'The type of the destination product where the masked data is stored. Valid values: **1**: MaxCompute, **2**: OSS, **3**: ADS, **4**: OTS, **5**: RDS, and others.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'FailMsg' => ['description' => 'The reason for the task execution failure.', 'type' => 'string', 'example' => 'error', 'title' => ''], + 'FailCode' => ['description' => 'The error code for the task execution failure. This parameter has a value only when the task execution fails.', 'type' => 'string', 'example' => 'masking_task_not_found', 'title' => ''], + 'ConflictCount' => ['description' => 'The number of data conflict rows, which indicates the number of rows where the masked data to be inserted into the destination table conflicts with the existing data in the destination table.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'DstTypeCode' => ['description' => 'The type of the destination product. Valid values: **MaxCompute, OSS, ADS, OTS, RDS**, and others.', 'type' => 'string', 'example' => 'OSS', 'title' => ''], + 'EndTime' => ['description' => 'The end time of the execution.', 'type' => 'integer', 'format' => 'int64', 'example' => '1582251233000', 'title' => ''], + 'RunIndex' => ['description' => 'The sequence number of the task execution.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'StartTime' => ['description' => 'The execution time. The value is a timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1582251233000', 'title' => ''], + 'HasSubProcess' => ['description' => 'The number of subtasks that have been created.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], + 'HasDownloadFile' => ['description' => 'Indicates whether a download file exists. Valid values:'."\n" + ."\n" + .'- **1**: Yes.'."\n" + .'- **0**: No.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'mt4HBgtw1B******', 'title' => ''], + 'SrcTypeCode' => ['description' => 'The type of the source product. Valid values: **MaxCompute, OSS, ADS, OTS, RDS**, and others.', 'type' => 'string', 'example' => 'OSS', 'title' => ''], + 'Id' => ['description' => 'The ID of the execution record.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'WarnLevel', - 'in' => 'query', - 'schema' => [ - 'description' => 'The severity level of the alert. Valid values:'."\n" - ."\n" - .'* **1**: low'."\n" - .'* **2**: medium'."\n" - .'* **3**: high'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', + ], + 'title' => 'Query data masking task execution history', + 'summary' => 'Queries the execution history of data masking tasks.', + 'description' => 'This operation is used to retrieve the execution status of static data masking tasks, allowing you to search for task statuses and view task progress.'."\n" + ."\n" + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:22.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataMaskingRunHistory'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDataMaskingRunHistory', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-4******\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"Items\\": [\\n {\\n \\"Status\\": 1,\\n \\"Type\\": 1,\\n \\"SrcType\\": 2,\\n \\"SrcTableName\\": \\"add\\",\\n \\"MaskingCount\\": 100,\\n \\"Percentage\\": 100,\\n \\"DstType\\": 2,\\n \\"FailMsg\\": \\"error\\",\\n \\"FailCode\\": \\"masking_task_not_found\\",\\n \\"ConflictCount\\": 0,\\n \\"DstTypeCode\\": \\"OSS\\",\\n \\"EndTime\\": 1582251233000,\\n \\"RunIndex\\": 1,\\n \\"StartTime\\": 1582251233000,\\n \\"HasSubProcess\\": 4,\\n \\"HasDownloadFile\\": 1,\\n \\"TaskId\\": \\"mt4HBgtw1B******\\",\\n \\"SrcTypeCode\\": \\"OSS\\",\\n \\"Id\\": 1\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeDataMaskingTasks' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ContentCategory', - 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the content in the sensitive data detection rule. Valid values include **1**, **2**, **3**, **4**, and **5**. The value 1 indicates attempts to exploit SQL injections. The value 2 indicates bypass by using SQL injections. The value 3 indicates abuse of stored procedures. The value 4 indicates buffer overflow. The value 5 indicates SQL injections based on errors.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '82022', + 'abilityTreeNodes' => ['FEATUREsddpNV5XKZ'], + ], + 'parameters' => [ [ - 'name' => 'Status', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **1**: enabled'."\n" - .'* **0**: disabled'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: **zh_cn**. Valid values:'."\n" + .'- **zh_cn**: Chinese.'."\n" + .'- **en_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ - 'name' => 'KeywordCompatible', + 'name' => 'SearchKey', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to allow earlier versions of request parameters to support keywords that are supported in later versions of request parameters. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n" - ."\n" - .'> To specify keywords as the content type of the sensitive data detection rule, you can set the Category parameter to 0 for earlier versions of request parameters and set the Category parameter to 5 for later versions of request parameters. You can specify the KeywordCompatible parameter based on your business requirements.'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The keyword used to search for tasks. You can search by task name or task ID.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'GroupId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The parent group type of the rule.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '4_1', - ], + 'schema' => ['description' => 'The start time of the task creation period. Format: timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1582992000000', 'title' => ''], ], [ - 'name' => 'SupportForm', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the data asset. Valid values:'."\n" - ."\n" - .'* **0**: all data assets'."\n" - .'* **1**: structured data asset'."\n" - .'* **2**: unstructured data asset'."\n" - ."\n" - .'> If you set the parameter to 1 or 2, rules that support all data assets and rules that support the queried data asset type are returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The end time of the task creation period. Format: timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1583856000000', 'title' => ''], ], [ - 'name' => 'FeatureType', + 'name' => 'DstType', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The service to which the destination data source belongs. Valid values:'."\n" + .'- **1**: MaxCompute.'."\n" + .'- **2**: OSS.'."\n" + .'- **3**: ADS.'."\n" + .'- **4**: OTS.'."\n" + .'- **5**: RDS.'."\n" + .'- **6**: SELF_DB.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'CooperationChannel', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The external cooperation channel. Valid values:'."\n" - ."\n" - .'* DAS'."\n" - .'* YAOCHI'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'DAS', - ], + 'schema' => ['description' => 'The maximum number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'Simplify', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to query a simplified rule. The simplified rule contains only the rule name. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => 'The page number for a paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -4717,313 +3929,229 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '23', - ], + 'CurrentPage' => ['description' => 'The page number of the current page in the results.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '769FB3C1-F4C9-4******', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page in the results.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries in the results.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], 'Items' => [ - 'description' => 'The sensitive data detection rules.'."\n", + 'description' => 'The list of static data masking tasks.', 'type' => 'array', 'items' => [ - 'description' => 'The sensitive data detection rule.'."\n", + 'description' => 'The details of a static data masking task.', 'type' => 'object', 'properties' => [ - 'DisplayName' => [ - 'description' => 'The display name of the account that is used to create the sensitive data detection rule.'."\n", - 'type' => 'string', - 'example' => '****test', - ], - 'Status' => [ - 'description' => 'The status of the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **0**: disabled'."\n" - .'* **1**: enabled'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'SupportForm' => [ - 'description' => 'The data asset type that is supported by the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **0**: all data assets'."\n" - .'* **1**: structured data assets'."\n" - .'* **2**: unstructured data assets'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'WarnLevel' => [ - 'description' => 'The severity level. Valid values:'."\n" - ."\n" - .'* **1**: low'."\n" - .'* **2**: medium'."\n" - .'* **3**: high'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'UserId' => [ - 'description' => 'The ID of the account that is used to create the sensitive data detection rule.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'StatExpress' => [ - 'description' => 'The statistical expression.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'GmtModified' => [ - 'description' => 'The time when the sensitive data detection rule is modified. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1545277010000', - ], - 'RiskLevelId' => [ - 'description' => 'The sensitivity level of the sensitive data that hits the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **1**: N/A, which indicates that no sensitive data is detected.'."\n" - .'* **2**: S1, which indicates the low sensitivity level.'."\n" - .'* **3**: S2, which indicates the medium sensitivity level.'."\n" - .'* **4**: S3, which indicates the high sensitivity level.'."\n" - .'* **5**: S4, which indicates the highest sensitivity level.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Description' => [ - 'description' => 'The description of the sensitive data detection rule.'."\n", - 'type' => 'string', - 'example' => 'The sensitive data detection rule is used to detect IP addresses.'."\n", - ], - 'ProductId' => [ - 'description' => 'The ID of the service to which the sensitive data detection rule is applied. Valid values include **1**, **2**, **3**, **4**, and **5**. The value 1 indicates MaxCompute. The value 2 indicates OSS. The value 3 indicates AnalyticDB for MySQL. The value 4 indicates Tablestore. The value 5 indicates ApsaraDB RDS.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Name' => [ - 'description' => 'The name of the sensitive data detection rule.'."\n", - 'type' => 'string', - 'example' => 'IP address'."\n", - ], - 'Content' => [ - 'description' => 'The content in the sensitive data detection rule.'."\n" - ."\n" - .'> A built-in detection rule whose CustomType is 0 does not return the content of the rule.'."\n", - 'type' => 'string', - 'example' => '(?:\\\\D|^)((?:(?:25[0-4]|2[0-4]\\\\d|1\\\\d{2}|[1-9]\\\\d{1})\\\\.)(?:(?:25[0-5]|2[0-4]\\\\d|[01]?\\\\d?\\\\d)\\\\.){2}(?:25[0-5]|2[0-4]\\\\d|1[0-9]\\\\d|[1-9]\\\\d|[1-9]))(?:\\\\D|$)', - ], - 'Target' => [ - 'description' => 'The name of the service to which the data asset belongs. Valid values include **MaxCompute, OSS, ADS, OTS, and RDS**.'."\n", - 'type' => 'string', - 'example' => 'MaxCompute', - ], - 'LoginName' => [ - 'description' => 'The username of the account that is used to create the sensitive data detection rule.'."\n", - 'type' => 'string', - 'example' => 'det1111', - ], - 'CategoryName' => [ - 'description' => 'The name of the content type of the sensitive data detection rule.'."\n", - 'type' => 'string', - 'example' => 'Regular expression'."\n", - ], - 'ContentCategory' => [ - 'description' => 'The type of the content in the sensitive data detection rule. Valid values include **1**, **2**, **3**, **4**, and **5**. The value 1 indicates attempts to exploit SQL injections. The value 2 indicates bypass by using SQL injections. The value 3 indicates abuse of stored procedures. The value 4 indicates buffer overflow. The value 5 indicates SQL injections based on errors.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'HitTotalCount' => [ - 'description' => 'The number of times that the sensitive data detection rule is hit.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'GroupId' => [ - 'description' => 'The parent group type of the rule.'."\n", - 'type' => 'string', - 'example' => '4_1', - ], - 'CustomType' => [ - 'description' => 'The type of the sensitive data detection rule.'."\n" - ."\n" - .'* 0: built-in rule'."\n" - .'* 1: custom rule'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RiskLevelName' => [ - 'description' => 'The sensitivity level of data that hits the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **N/A**: indicates that no sensitive data is detected.'."\n" - .'* **S1**: indicates the low sensitivity level.'."\n" - .'* **S2**: indicates the medium sensitivity level.'."\n" - .'* **S3**: indicates the high sensitivity level.'."\n" - .'* **S4**: indicates the highest sensitivity level.'."\n", - 'type' => 'string', - 'example' => 'S2', - ], - 'GmtCreate' => [ - 'description' => 'The time when the sensitive data detection rule is created. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1545277010000', - ], - 'Category' => [ - 'description' => 'The content type of the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **0**: keyword'."\n" - .'* **2**: regular expression'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'MajorKey' => [ - 'description' => 'The key of the primary dimension.'."\n", - 'type' => 'string', - 'example' => 'key', - ], - 'Id' => [ - 'description' => 'The ID of the sensitive data detection rule.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20000', - ], - 'ProductCode' => [ - 'description' => 'The name of the service to which the data asset belongs. Valid values include **MaxCompute, OSS, ADS, OTS, and RDS**.'."\n", - 'type' => 'string', - 'example' => 'MaxCompute', - ], - 'MatchType' => [ - 'description' => 'The match type. Valid values:'."\n" - ."\n" - .'* **1**: rule-based match'."\n" - .'* **2**: dictionary-based match'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TemplateRuleIds' => [ - 'description' => 'The IDs of the templates that are used to audit sensitive data.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'ModelRuleIds' => [ - 'description' => 'The IDs of the models for sensitive data audit.'."\n", - 'type' => 'string', - 'example' => '1452', - ], - 'ThreatAnalysisStatus' => [ - 'title' => '威胁分析模式状态。0:关闭,1:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - 'enum' => [ - '0', - '1', - ], - ], - 'AuditMode' => [ - 'title' => '审计模式', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'Status' => ['description' => 'The task status. Valid values:'."\n" + .'- **0**: Disabled.'."\n" + .'- **1**: Enabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Owner' => ['description' => 'The task creator.', 'type' => 'string', 'example' => 'owner', 'title' => ''], + 'TaskName' => ['description' => 'The task name.', 'type' => 'string', 'example' => 'Task name', 'title' => ''], + 'SrcType' => ['description' => 'The source service type. Valid values:'."\n" + .'- **1**: MaxCompute.'."\n" + .'- **2**: OSS.'."\n" + .'- **3**: ADS.'."\n" + .'- **4**: OTS.'."\n" + .'- **5**: RDS.'."\n" + .'- **6**: SELF_DB.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'DstType' => ['description' => 'The service to which the destination data source belongs. Valid values:'."\n" + .'- **1**: MaxCompute.'."\n" + .'- **2**: OSS.'."\n" + .'- **3**: ADS.'."\n" + .'- **4**: OTS.'."\n" + .'- **5**: RDS.'."\n" + .'- **6**: SELF_DB.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'HasUnfinishProcess' => ['description' => 'Indicates whether the task is being executed.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'OriginalTable' => ['description' => 'Indicates whether the task masks data in the original table.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'TriggerType' => ['description' => 'The execution mode. Valid values:'."\n" + .'- **1**: Manual.'."\n" + .'- **2**: Scheduled.'."\n" + .'- **3**: Manual and scheduled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'DstTypeCode' => ['description' => 'The destination service type. Valid values:'."\n" + .'- **MaxCompute**.'."\n" + .'- **OSS**.'."\n" + .'- **ADS**.'."\n" + .'- **OTS**.'."\n" + .'- **RDS**.'."\n" + .'- **SELF_DB**.', 'type' => 'string', 'example' => 'RDS', 'title' => ''], + 'RunCount' => ['description' => 'The number of executions.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'GmtCreate' => ['description' => 'The creation time. Format: timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1582992000000', 'title' => ''], + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'mt4HBgtw1B******', 'title' => ''], + 'DstPath' => ['description' => 'The destination path.', 'type' => 'string', 'example' => '***/table1', 'title' => ''], + 'SrcTypeCode' => ['description' => 'The source service type. Valid values:'."\n" + .'- **MaxCompute**.'."\n" + .'- **OSS**.'."\n" + .'- **ADS**.'."\n" + .'- **OTS**.'."\n" + .'- **RDS**.'."\n" + .'- **SELF_DB**.', 'type' => 'string', 'example' => 'RDS', 'title' => ''], + 'Id' => ['description' => 'The task ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'SrcPath' => ['description' => 'The source path.', 'type' => 'string', 'example' => '***/table2', 'title' => ''], + 'SrcMemberAccount' => ['description' => 'The member accounts to which the source data belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '192479427903xxxx', 'title' => ''], + 'DstMemberAccount' => ['description' => 'The member accounts to which the destination data belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '192479427903xxxx', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"PageSize\\": 12,\\n \\"TotalCount\\": 23,\\n \\"Items\\": [\\n {\\n \\"DisplayName\\": \\"****test\\",\\n \\"Status\\": 1,\\n \\"SupportForm\\": 2,\\n \\"WarnLevel\\": 2,\\n \\"UserId\\": 0,\\n \\"StatExpress\\": \\"1\\",\\n \\"GmtModified\\": 1545277010000,\\n \\"RiskLevelId\\": 2,\\n \\"Description\\": \\"用于识别IP地址\\",\\n \\"ProductId\\": 2,\\n \\"Name\\": \\"IP地址\\",\\n \\"Content\\": \\"(?:\\\\\\\\\\\\\\\\D|^)((?:(?:25[0-4]|2[0-4]\\\\\\\\\\\\\\\\d|1\\\\\\\\\\\\\\\\d{2}|[1-9]\\\\\\\\\\\\\\\\d{1})\\\\\\\\\\\\\\\\.)(?:(?:25[0-5]|2[0-4]\\\\\\\\\\\\\\\\d|[01]?\\\\\\\\\\\\\\\\d?\\\\\\\\\\\\\\\\d)\\\\\\\\\\\\\\\\.){2}(?:25[0-5]|2[0-4]\\\\\\\\\\\\\\\\d|1[0-9]\\\\\\\\\\\\\\\\d|[1-9]\\\\\\\\\\\\\\\\d|[1-9]))(?:\\\\\\\\\\\\\\\\D|$)\\",\\n \\"Target\\": \\"MaxCompute\\",\\n \\"LoginName\\": \\"det1111\\",\\n \\"CategoryName\\": \\"正则表达式\\",\\n \\"ContentCategory\\": \\"1\\",\\n \\"HitTotalCount\\": 3,\\n \\"GroupId\\": \\"4_1\\",\\n \\"CustomType\\": 1,\\n \\"RiskLevelName\\": \\"S2\\",\\n \\"GmtCreate\\": 1545277010000,\\n \\"Category\\": 2,\\n \\"MajorKey\\": \\"key\\",\\n \\"Id\\": 20000,\\n \\"ProductCode\\": \\"MaxCompute\\",\\n \\"MatchType\\": 1,\\n \\"TemplateRuleIds\\": \\"1\\",\\n \\"ModelRuleIds\\": \\"1452\\",\\n \\"ThreatAnalysisStatus\\": 0,\\n \\"AuditMode\\": 0\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeRulesResponse>\\n <CurrentPage>1</CurrentPage>\\n <RequestId>769FB3C1-F4C9-42DF-9B72-7077A8989C13</RequestId>\\n <PageSize>12</PageSize>\\n <TotalCount>23</TotalCount>\\n <Items>\\n <DisplayName>****test</DisplayName>\\n <Status>1</Status>\\n <WarnLevel>2</WarnLevel>\\n <UserId>0</UserId>\\n <StatExpress>1</StatExpress>\\n <GmtModified>1545277010000</GmtModified>\\n <RiskLevelId>2</RiskLevelId>\\n <Description>用于识别IP地址</Description>\\n <ProductId>2</ProductId>\\n <Name>IP地址</Name>\\n <Content>(?:\\\\\\\\D|^)((?:(?:25[0-4]|2[0-4]\\\\\\\\d|1\\\\\\\\d{2}|[1-9]\\\\\\\\d{1})\\\\\\\\.)(?:(?:25[0-5]|2[0-4]\\\\\\\\d|[01]?\\\\\\\\d?\\\\\\\\d)\\\\\\\\.){2}(?:25[0-5]|2[0-4]\\\\\\\\d|1[0-9]\\\\\\\\d|[1-9]\\\\\\\\d|[1-9]))(?:\\\\\\\\D|$)</Content>\\n <Target>ODPS</Target>\\n <LoginName>det1111</LoginName>\\n <CategoryName>正则表达式</CategoryName>\\n <ContentCategory>1</ContentCategory>\\n <HitTotalCount>3</HitTotalCount>\\n <GroupId>4_1</GroupId>\\n <CustomType>1</CustomType>\\n <RiskLevelName>S2</RiskLevelName>\\n <GmtCreate>1545277010000</GmtCreate>\\n <Category>2</Category>\\n <MajorKey>key</MajorKey>\\n <Id>20000</Id>\\n <ProductCode>MaxCompute</ProductCode>\\n </Items>\\n</DescribeRulesResponse>","errorExample":""}]', - 'title' => 'DescribeRules', + 'title' => 'Query static data masking tasks', + 'summary' => 'Queries the list of static data masking tasks.', + 'description' => 'This operation is used to retrieve the list of static data masking tasks for search and task management purposes.'."\n" + ."\n" + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as appropriate.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeRiskLevels' => [ - 'summary' => 'Queries the sensitivity levels that are defined in a rule template provided by Data Security Center (DSC).', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2024-04-18T05:56:08.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:21.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataMaskingTasks'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDataMaskingTasks', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-4******\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"Items\\": [\\n {\\n \\"Status\\": 1,\\n \\"Owner\\": \\"owner\\",\\n \\"TaskName\\": \\"Task name\\",\\n \\"SrcType\\": 5,\\n \\"DstType\\": 5,\\n \\"HasUnfinishProcess\\": false,\\n \\"OriginalTable\\": false,\\n \\"TriggerType\\": 1,\\n \\"DstTypeCode\\": \\"RDS\\",\\n \\"RunCount\\": 1,\\n \\"GmtCreate\\": 1582992000000,\\n \\"TaskId\\": \\"mt4HBgtw1B******\\",\\n \\"DstPath\\": \\"***/table1\\",\\n \\"SrcTypeCode\\": \\"RDS\\",\\n \\"Id\\": 1,\\n \\"SrcPath\\": \\"***/table2\\",\\n \\"SrcMemberAccount\\": 0,\\n \\"DstMemberAccount\\": 0\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeDataObjectColumnDetail' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82064', - 'abilityTreeNodes' => [ - 'FEATUREsddpIUNEZP', - ], + 'abilityTreeCode' => '149483', + 'abilityTreeNodes' => ['FEATUREsddp2VFD4T'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* zh_cn: Chinese (default)'."\n" - .'* en_us: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: **zh_cn**. Valid values:'."\n" + .'- **zh_cn**: Chinese.'."\n" + .'- **en_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of data asset instances to display on each page in a paged query. Settings this parameter for paging. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => 'The page number of the current page in a paged query. Settings this parameter for paging. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'ProductId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the product to which the data object belongs. Valid values:'."\n" + .'- **1**: MaxCompute'."\n" + .'- **2**: OSS'."\n" + .'- **3**: ADB-MYSQL'."\n" + .'- **4**: TableStore'."\n" + .'- **5**: RDS'."\n" + .'- **6**: SELF_DB'."\n" + .'- **7**: PolarDB-X'."\n" + .'- **8**: PolarDB'."\n" + .'- **9**: ADB-PG'."\n" + .'- **10**: OceanBase'."\n" + .'- **11**: MongoDB'."\n" + .'- **25**: Redis', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5', 'title' => ''], + ], + [ + 'name' => 'Id', + 'in' => 'query', + 'schema' => ['description' => 'The unique ID of the data object to query.'."\n" + ."\n" + .'> You can call [DescribeDataObjects](~~2399253~~) to obtain the ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '318248', 'title' => ''], ], [ 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the industry-specific rule template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The industry template ID.'."\n" + .'> You can call [DescribeDataObjects](~~2399253~~) to obtain the industry template ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'description' => 'This parameter is deprecated.'."\n", - 'example' => '2', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], ], 'responses' => [ @@ -5031,544 +4159,631 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '136082B3-B21F-5E9D-B68E-991FFD205D24', - ], - 'RiskLevelList' => [ - 'description' => 'An array that consists of sensitivity levels.'."\n", + 'CurrentPage' => ['description' => 'The page number of the current page in a paged query. Settings this parameter for paging. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '8C8036CC-961D-514E-88E8-3088B5A50CA9', 'title' => ''], + 'PageSize' => ['description' => 'The maximum number of data asset instances to display on each page in a paged query. Settings this parameter for paging. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '61', 'title' => ''], + 'Items' => [ + 'description' => 'The list of column detection results of the data table.', 'type' => 'array', 'items' => [ + 'description' => 'The column detection result object of the data table.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the sensitivity level. The highest sensitivity level varies based on rule templates. The highest sensitivity level is S10. The highest sensitivity level of the **Built-in data security classification templates for Alibaba and Ant Group** is S4, and that of the **built-in classification templates for financial data** and **built-in classification templates for assets** is S5. For more information about the built-in classification templates for financial data, see Guidelines for Security Classification of Financial Data and Security Data - JRT 0197-2020. For a copied rule template, the highest sensitivity level is S10. The following list describes the sensitivity level names and the corresponding IDs:'."\n" - ."\n" - .'* **NA**: 1'."\n" - .'* **S1**: 2'."\n" - .'* **S2**: 3'."\n" - .'* **S3**: 4'."\n" - .'* **S4**: 5'."\n" - .'* **S5**: 6'."\n" - .'* **S6**: 7'."\n" - .'* **S7**: 8'."\n" - .'* **S8**: 9'."\n" - .'* **S9**: 10'."\n" - .'* **S10**: 11'."\n", - 'type' => 'string', - 'example' => 'S1', - ], - 'Description' => [ - 'description' => 'The description of the sensitivity level. You can enter a custom description.'."\n" - ."\n" - .'The following list describes the sensitivity level names and the corresponding default description:'."\n" - ."\n" - .'* **NA**: which indicates that no sensitive data is detected.'."\n" - .'* **S1**: which indicates the sensitive data at sensitivity level 1.'."\n" - .'* **S2**: which indicates the sensitive data at sensitivity level 2.'."\n" - .'* **S3**: which indicates the sensitive data at sensitivity level 3.'."\n" - .'* **S4**: which indicates the sensitive data at sensitivity level 4.'."\n" - .'* **S5**: which indicates the sensitive data at sensitivity level 5.'."\n" - .'* **S6**: which indicates the sensitive data at sensitivity level 6.'."\n" - .'* **S7**: which indicates the sensitive data at sensitivity level 7.'."\n" - .'* **S8**: which indicates the sensitive data at sensitivity level 8.'."\n" - .'* **S9**: which indicates the sensitive data at sensitivity level 9.'."\n" - .'* **S10**: which indicates the sensitive data at sensitivity level 10.'."\n", - 'type' => 'string', - 'example' => 'Sensitive data at sensitivity level 1'."\n", - ], - 'Id' => [ - 'description' => 'The unique ID of the sensitivity level. Valid values: 1 to 11. Each sensitivity level ID maps a sensitivity level. For example, the sensitivity level ID of 2 corresponds to the sensitivity level S1.'."\n" - ."\n" - .'For more information, see the description of the Name parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', + 'ColumnName' => ['description' => 'The column name.', 'type' => 'string', 'example' => 'hide14', 'title' => ''], + 'DataType' => ['description' => 'The data type of the column.', 'type' => 'string', 'example' => 'varchar', 'title' => ''], + 'ColumnComment' => ['description' => 'The comment of the column.', 'type' => 'string', 'example' => 'column comment', 'title' => ''], + 'PrimaryKey' => ['description' => 'Indicates whether the column is a primary key. Valid values:'."\n" + ."\n" + .'- **true**: The column is a primary key.'."\n" + .'- **false**: The column is not a primary key.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the column object.', 'type' => 'string', 'example' => '1509415150052786176', 'title' => ''], + 'RiskLevelId' => ['description' => 'The risk level ID. Valid values:'."\n" + .'- **1**: N/A. No sensitive data is detected.'."\n" + .'- **2**: S1. Level 1 sensitive data.'."\n" + .'- **3**: S2. Level 2 sensitive data.'."\n" + .'- **4**: S3. Level 3 sensitive data.'."\n" + .'- **5**: S4. Level 4 sensitive data.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'RiskLevelName' => ['description' => 'The risk level name. Valid values:'."\n" + .'- **N/A**: No sensitive data is detected.'."\n" + .'- **S1**: Level 1 sensitive data.'."\n" + .'- **S2**: Level 2 sensitive data.'."\n" + .'- **S3**: Level 3 sensitive data.'."\n" + .'- **S4**: Level 4 sensitive data.', 'type' => 'string', 'example' => 'S1', 'title' => ''], + 'RuleId' => ['description' => 'The ID of the sensitive data detection rule that is hit.', 'type' => 'integer', 'format' => 'int64', 'example' => '1004', 'title' => ''], + 'RuleName' => ['description' => 'The name of the sensitive data detection rule that is hit.', 'type' => 'string', 'example' => 'name', 'title' => ''], + 'Categories' => [ + 'description' => 'The list of industry categories to which the sensitive data belongs.', + 'type' => 'array', + 'items' => ['description' => 'The industry category to which the sensitive data belongs. Multiple categories are separated by commas.', 'type' => 'string', 'example' => 'general sensitive information', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'ReferenceNum' => [ - 'description' => 'The number of times that each sensitivity level is referenced in the rule template. Default value: 0.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', + 'ModelTags' => [ + 'description' => 'The list of data tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data tag object.', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The ID that corresponds to the data tag name. Valid values:'."\n" + .'- **101**: personal sensitive information'."\n" + .'- **102**: personal information'."\n" + .'- **107**: general information', 'type' => 'integer', 'format' => 'int64', 'example' => '101', 'title' => ''], + 'Name' => ['description' => 'The data tag name. Valid values:'."\n" + .'- **101**: personal sensitive information'."\n" + .'- **102**: personal information'."\n" + .'- **107**: general information', 'type' => 'string', 'example' => 'personal sensitive information', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'EngineType' => ['description' => 'The engine type. Valid values:'."\n" + .'- **MySQL**'."\n" + .'- **MariaDB**'."\n" + .'- **Oracle**'."\n" + .'- **PostgreSQL**'."\n" + .'- **SQLServer**', 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'MaskingStatus' => ['description' => 'The encryption status of the column. Valid values:'."\n" + ."\n" + .'- **-1**: Not encrypted.'."\n" + ."\n" + .'- **1**: Encrypted.'."\n" + ."\n" + .'- **2**: Encryption failed.', 'type' => 'integer', 'format' => 'int32', 'example' => '-1', 'title' => ''], + 'InstanceName' => ['description' => 'The instance name of the data asset table.', 'type' => 'string', 'example' => 'rm-1234', 'title' => ''], + 'TableName' => ['description' => 'The table name.', 'type' => 'string', 'example' => 'it_table', 'title' => ''], + 'RegionId' => ['description' => 'The region where the asset resides.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'ProductId' => ['description' => 'The ID of the product to which the data object belongs. Valid values:'."\n" + .'- **1**: MaxCompute'."\n" + .'- **2**: OSS'."\n" + .'- **3**: ADB-MYSQL'."\n" + .'- **4**: TableStore'."\n" + .'- **5**: RDS'."\n" + .'- **6**: SELF_DB'."\n" + .'- **7**: PolarDB-X'."\n" + .'- **8**: PolarDB'."\n" + .'- **9**: ADB-PG'."\n" + .'- **10**: OceanBase'."\n" + .'- **11**: MongoDB'."\n" + .'- **25**: Redis', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"136082B3-B21F-5E9D-B68E-991FFD205D24\\",\\n \\"RiskLevelList\\": [\\n {\\n \\"Name\\": \\"S1\\",\\n \\"Description\\": \\"1级敏感数据\\",\\n \\"Id\\": 2,\\n \\"ReferenceNum\\": 20\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeRiskLevelsResponse>\\n<RequestId>136082B3-B21F-5E9D-B68E-991FFD205D24</RequestId>\\n<RiskLevelList>\\n <Description>未识别到敏感数据</Description>\\n <Id>1</Id>\\n <ReferenceNum>0</ReferenceNum>\\n <Name>N/A</Name>\\n</RiskLevelList>\\n<RiskLevelList>\\n <Description>1级敏感数据</Description>\\n <Id>2</Id>\\n <ReferenceNum>9</ReferenceNum>\\n <Name>S1</Name>\\n</RiskLevelList>\\n<RiskLevelList>\\n <Description>2级敏感数据</Description>\\n <Id>3</Id>\\n <ReferenceNum>22</ReferenceNum>\\n <Name>S2</Name>\\n</RiskLevelList>\\n<RiskLevelList>\\n <Description>3级敏感数据</Description>\\n <Id>4</Id>\\n <ReferenceNum>18</ReferenceNum>\\n <Name>S3</Name>\\n</RiskLevelList>\\n<RiskLevelList>\\n <Description>4级敏感数据</Description>\\n <Id>5</Id>\\n <ReferenceNum>0</ReferenceNum>\\n <Name>S4</Name>\\n</RiskLevelList>\\n</DescribeRiskLevelsResponse>","errorExample":""}]', - 'title' => 'DescribeRiskLevels', - 'description' => 'You can call this operation to query the sensitivity levels that are defined in the current rule template provided by DSC. This helps you learn about the number of times that each sensitivity level is referenced in the rule template and the highest sensitivity level.'."\n" - ."\n" - .'# Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeDataAssets' => [ - 'summary' => 'Queries the sensitive data detection results of data assets that Data Security Center (DSC) is authorized to access.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Query data object column details', + 'summary' => 'Queries the column detection results of a data table.', + 'description' => '## Before you begin'."\n" + .'The DescribeDataObjectColumnDetail operation has been revised to DescribeDataObjectColumnDetailV2. Use the newer version DescribeDataObjectColumnDetailV2 when developing applications.', + 'changeSet' => [ + ['createdAt' => '2025-02-14T03:25:31.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-03-25T07:35:04.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:20.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataObjectColumnDetail'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDataObjectColumnDetail', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"8C8036CC-961D-514E-88E8-3088B5A50CA9\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 61,\\n \\"Items\\": [\\n {\\n \\"ColumnName\\": \\"hide14\\",\\n \\"DataType\\": \\"varchar\\",\\n \\"ColumnComment\\": \\"column comment\\",\\n \\"PrimaryKey\\": true,\\n \\"Id\\": \\"1509415150052786176\\",\\n \\"RiskLevelId\\": 2,\\n \\"RiskLevelName\\": \\"S1\\",\\n \\"RuleId\\": 1004,\\n \\"RuleName\\": \\"name\\",\\n \\"Categories\\": [\\n \\"general sensitive information\\"\\n ],\\n \\"ModelTags\\": [\\n {\\n \\"Id\\": 101,\\n \\"Name\\": \\"personal sensitive information\\"\\n }\\n ],\\n \\"EngineType\\": \\"MySQL\\",\\n \\"MaskingStatus\\": -1,\\n \\"InstanceName\\": \\"rm-1234\\",\\n \\"TableName\\": \\"it_table\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ProductId\\": 5\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeDataObjectColumnDetailV2' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsddp2VFD4T', - ], + 'abilityTreeCode' => '186089', + 'abilityTreeNodes' => ['FEATUREsddp2VFD4T'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Simplified Chinese'."\n" - .'* **en_us**: English'."\n", - 'example' => 'zh_cn', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: **zh_cn**. Valid values:'."\n" + .'- **zh_cn**: Chinese.'."\n" + .'- **en_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ - 'name' => 'Name', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword that is used to search for data assets. Fuzzy search is supported.'."\n", - 'example' => 'test', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'Settings for paging query. The maximum number of data asset instances to display on each page. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'RiskLevels', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The sensitivity level of the data asset. Separate multiple sensitivity levels with commas (,). Valid values:'."\n" - ."\n" - .'* **2**: S1, indicating the low sensitivity level'."\n" - .'* **3**: S2, indicating the medium sensitivity level'."\n" - .'* **4**: S3, indicating the high sensitivity level'."\n" - .'* **5**: S4, indicating the highest sensitivity level'."\n", - 'example' => '2', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'Settings for paging query. The page number of the current page. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'RuleId', + 'name' => 'ProductId', 'in' => 'query', - 'schema' => [ - 'description' => 'The unique ID of the sensitive data detection rule that the data assets to be queried hit.'."\n" - ."\n" - .'> If you query sensitive data detection results based on the sensitive data detection rule that the data assets hit, you can call the [DescribeRules](~~DescribeRules~~) operation to query the ID of the sensitive data detection rule.'."\n", - 'example' => '11122200', - 'format' => 'int64', - 'required' => false, - 'type' => 'integer', - ], + 'schema' => ['description' => 'The ID of the product to which the data object belongs. Valid values:'."\n" + .'- **1**: MaxCompute'."\n" + .'- **2**: OSS'."\n" + .'- **3**: ADB-MYSQL'."\n" + .'- **4**: TableStore'."\n" + .'- **5**: RDS'."\n" + .'- **6**: SELF_DB'."\n" + .'- **7**: PolarDB-X'."\n" + .'- **8**: PolarDB'."\n" + .'- **9**: ADB-PG'."\n" + .'- **10**: OceanBase'."\n" + .'- **11**: MongoDB'."\n" + .'- **25**: Redis', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5', 'title' => ''], ], [ - 'name' => 'RangeId', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the data asset that you want to query. Valid values:'."\n" - ."\n" - .'* **1**: MaxCompute project'."\n" - .'* **2**: MaxCompute table'."\n" - .'* **3**: MaxCompute package'."\n" - .'* **11**: AnalyticDB for MySQL database'."\n" - .'* **12**: AnalyticDB for MySQL table'."\n" - .'* **21**: Object Storage Service (OSS) bucket'."\n" - .'* **22**: OSS object'."\n" - .'* **31**: Tablestore instance'."\n" - .'* **32**: Tablestore table'."\n" - .'* **51**: ApsaraDB RDS database'."\n" - .'* **52**: ApsaraDB RDS table'."\n" - .'* **61**: self-managed database hosted on an Elastic Compute Service (ECS) instance'."\n" - .'* **62**: self-managed table hosted on an ECS instance'."\n" - .'* **71**: PolarDB-X database'."\n" - .'* **72**: PolarDB-X table'."\n" - .'* **81**: PolarDB database'."\n" - .'* **82**: PolarDB table'."\n" - .'* **91**: AnalyticDB for PostgreSQL database'."\n" - .'* **92**: AnalyticDB for PostgreSQL table'."\n", - 'example' => '1', - 'format' => 'int32', - 'required' => false, - 'type' => 'integer', - ], + 'schema' => ['description' => 'The unique ID of the data object to query.'."\n" + ."\n" + .'> You can call [DescribeDataObjects](~~2399253~~) to obtain the ID.', 'type' => 'string', 'required' => true, 'example' => '13456723343', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Default value: **20**.'."\n", - 'example' => '20', - 'format' => 'int32', - 'required' => false, - 'type' => 'integer', - ], + 'schema' => ['description' => 'The industry template ID.'."\n" + .'> You can call [DescribeDataObjects](~~2399253~~) to obtain the industry template ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'example' => '1', - 'format' => 'int32', - 'required' => false, - 'type' => 'integer', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => 'The page number of the returned page.'."\n", - 'example' => '1', - 'format' => 'int32', - 'type' => 'integer', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'example' => '71064826-726F-4ADA-B879-05D8055476FB', - 'type' => 'string', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'example' => '20', - 'format' => 'int32', - 'type' => 'integer', - ], - 'TotalCount' => [ - 'description' => 'The total number of queried data assets that contain sensitive data.'."\n", - 'example' => '1', - 'format' => 'int32', - 'type' => 'integer', - ], + 'CurrentPage' => ['description' => 'The page number in the paging query. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', 'title' => ''], + 'PageSize' => ['description' => 'Settings for paging query. The maximum number of data asset instances to display on each page. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '231', 'title' => ''], 'Items' => [ - 'description' => 'An array that consists of data assets.'."\n", + 'description' => 'The list of column detection results for the data table.', + 'type' => 'array', 'items' => [ + 'description' => 'The column detection result object for the data table.', + 'type' => 'object', 'properties' => [ - 'Acl' => [ - 'description' => 'The access control list (ACL) that controls the access permissions on the OSS bucket.'."\n" - ."\n" - .'> This parameter is returned only when you set the parameter **RangeId** to **21**.'."\n", - 'example' => 'private', - 'type' => 'string', - ], - 'CreationTime' => [ - 'description' => 'The time when the data asset was created. Unit: milliseconds.'."\n", - 'example' => '1536751124000', - 'format' => 'int64', - 'type' => 'integer', - ], - 'DataType' => [ - 'description' => 'The data type of the data asset.'."\n", - 'example' => 'OSS_BUCKET', - 'type' => 'string', - ], - 'Owner' => [ - 'description' => 'The account that owns the data asset.'."\n", - 'example' => 'dtdep-239-******', - 'type' => 'string', - ], - 'SensitiveRatio' => [ - 'description' => 'The percentage of sensitive data in all data assets.'."\n", - 'example' => '45%', - 'type' => 'string', - ], - 'Protection' => [ - 'description' => 'Indicates whether the data protection mechanism is enabled for the data asset. The value is fixed as **false**. **true** or **false** is returned for this parameter only when you set the parameter **RangeId** to **1**.'."\n" - ."\n" - .'* **false**: The data protection mechanism is disabled.'."\n" - .'* **true**: The data protection mechanism is enabled. Only data inbound is supported. Data outbound is not supported.'."\n", - 'example' => 'false', - 'type' => 'boolean', - ], - 'Labelsec' => [ - 'description' => 'The sensitivity tag of the data. The value is fixed as **0**. **0**, **1**, **2**, or **3** is returned for this parameter only when you set the parameter **RangeId** to **1**.'."\n" - ."\n" - .'* **0**: unclassified'."\n" - .'* **1**: confidential'."\n" - .'* **2**: sensitive'."\n" - .'* **3**: highly sensitive'."\n", - 'example' => '0', - 'type' => 'boolean', - ], - 'TotalCount' => [ - 'description' => 'The total number of data assets. For example, the value can be the total number of MaxCompute projects, packages, or tables, the total number of ApsaraDB RDS databases or tables, or the total number of OSS buckets or objects.'."\n", - 'example' => '432', - 'format' => 'int32', - 'type' => 'integer', - ], - 'RiskLevelId' => [ - 'description' => 'The sensitivity level of the data asset. A higher sensitivity level indicates that the identified data is more sensitive. Valid values:'."\n" - ."\n" - .'* **1**: No sensitive data is identified.'."\n" - .'* **2**: sensitive data at level 1.'."\n" - .'* **3**: sensitive data at level 2.'."\n" - .'* **3**: sensitive data at level 3.'."\n" - .'* **5**: sensitive data at level 4.'."\n" - .'* **6**: sensitive data at level 5.'."\n" - .'* **7**: sensitive data at level 6.'."\n" - .'* **8**: sensitive data at level 7.'."\n" - .'* **9**: sensitive data at level 8.'."\n" - .'* **10**: sensitive data at level 9.'."\n" - .'* **11**: sensitive data at level 10.'."\n", - 'example' => '2', - 'format' => 'int64', - 'type' => 'integer', - ], - 'RuleName' => [ - 'description' => 'The name of the sensitive data detection rule that the data asset hits.'."\n", - 'example' => '\\*\\*\\* rule'."\n", - 'type' => 'string', - ], - 'Sensitive' => [ - 'description' => 'Indicates whether the data asset contains sensitive data. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'example' => 'true', - 'type' => 'boolean', - ], - 'ObjectKey' => [ - 'description' => 'The key value of the OSS object.'."\n" - ."\n" - .'> This parameter is returned only when you set the parameter **RangeId** to **22**.'."\n", - 'example' => 'Internal'."\n", - 'type' => 'string', - ], - 'RiskLevelName' => [ - 'description' => 'The name of the sensitivity level for the data asset.'."\n", - 'example' => 'Medium sensitivity level'."\n", - 'type' => 'string', - ], - 'OdpsRiskLevelName' => [ - 'description' => 'The sensitivity level of the MaxCompute data asset. Valid values:'."\n" - ."\n" - .'* **S1**: low sensitivity level'."\n" - .'* **S2**: medium sensitivity level'."\n" - .'* **S3**: high sensitivity level'."\n" - .'* **S4**: highest sensitivity level'."\n" - ."\n" - .'> This parameter is returned only when you set the parameter **RangeId** to **1**.'."\n", - 'example' => 'S4', - 'type' => 'string', - ], - 'ProductId' => [ - 'description' => 'The ID of the service to which the data asset belongs. Valid values:'."\n" - ."\n" - .'* **1**: MaxCompute'."\n" - .'* **2**: OSS'."\n" - .'* **3**: AnalyticDB for MySQL'."\n" - .'* **4**: Tablestore'."\n" - .'* **5**: ApsaraDB RDS'."\n", - 'example' => '5', - 'type' => 'string', - ], - 'Name' => [ - 'description' => 'The name of the data asset.'."\n", - 'example' => 'gxdata', - 'type' => 'string', - ], - 'SensitiveCount' => [ - 'description' => 'The total number of sensitive data assets. For example, the value can be the total number of sensitive MaxCompute projects, packages, or tables, the total number of sensitive ApsaraDB RDS databases or tables, or the total number of sensitive OSS buckets or objects.'."\n", - 'example' => '24', - 'format' => 'int32', - 'type' => 'integer', - ], - 'Id' => [ - 'description' => 'The ID of the data asset.'."\n", - 'example' => '268', - 'type' => 'string', + 'ColumnName' => ['description' => 'The column name.', 'type' => 'string', 'example' => 'hide14', 'title' => ''], + 'DataType' => ['description' => 'The data type of the column.', 'type' => 'string', 'example' => 'varchar', 'title' => ''], + 'ColumnComment' => ['description' => 'The comment of the column.', 'type' => 'string', 'example' => 'column comment', 'title' => ''], + 'PrimaryKey' => ['description' => 'Indicates whether the column is a primary key. Valid values:'."\n" + ."\n" + .'- **true**: The column is a primary key.'."\n" + .'- **false**: The column is not a primary key.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the data object.', 'type' => 'string', 'example' => '1392973973691383808', 'title' => ''], + 'RiskLevelId' => ['description' => 'The risk level ID. Valid values:'."\n" + .'- **1**: N/A. No sensitive data is detected.'."\n" + .'- **2**: S1. Level 1 sensitive data.'."\n" + .'- **3**: S2. Level 2 sensitive data.'."\n" + .'- **4**: S3. Level 3 sensitive data.'."\n" + .'- **5**: S4. Level 4 sensitive data.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'RiskLevelName' => ['description' => 'The risk level name. Valid values:'."\n" + .'- **N/A**: No sensitive data is detected.'."\n" + .'- **S1**: Level 1 sensitive data.'."\n" + .'- **S2**: Level 2 sensitive data.'."\n" + .'- **S3**: Level 3 sensitive data.'."\n" + .'- **S4**: Level 4 sensitive data.', 'type' => 'string', 'example' => 'S1', 'title' => ''], + 'RuleId' => ['description' => 'The ID of the sensitive data detection rule that is hit.', 'type' => 'integer', 'format' => 'int64', 'example' => '51', 'title' => ''], + 'RuleName' => ['description' => 'The name of the sensitive data detection rule that is hit.', 'type' => 'string', 'example' => 'name', 'title' => ''], + 'Categories' => [ + 'description' => 'The list of industry categories to which the sensitive data belongs.', + 'type' => 'array', + 'items' => ['description' => 'The industry category to which the sensitive data belongs. Multiple categories are separated by commas.', 'type' => 'string', 'example' => 'general sensitive information', 'title' => ''], + 'title' => '', + 'example' => '', ], - 'ProductCode' => [ - 'description' => 'The name of the service to which the data asset belongs.'."\n", - 'example' => 'RDS', - 'type' => 'string', + 'ModelTags' => [ + 'description' => 'The list of data tags.', + 'type' => 'array', + 'items' => [ + 'description' => 'The data tag object.', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The ID of the data tag. Valid values:'."\n" + .'- **101**: personal sensitive information'."\n" + .'- **102**: personal information'."\n" + .'- **107**: general information', 'type' => 'integer', 'format' => 'int64', 'example' => '101', 'title' => ''], + 'Name' => ['description' => 'The name of the data tag. Valid values:'."\n" + .'- Personal sensitive information'."\n" + .'- Personal information'."\n" + .'- General information', 'type' => 'string', 'example' => 'personal sensitive information', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'EngineType' => ['description' => 'The engine type. Valid values:'."\n" + .'- **MySQL**'."\n" + .'- **MariaDB**'."\n" + .'- **Oracle**'."\n" + .'- **PostgreSQL**'."\n" + .'- **SQLServer**', 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'MaskingStatus' => ['description' => 'The encryption status of the column. Valid values:'."\n" + ."\n" + .'- **-1**: Not encrypted.'."\n" + ."\n" + .'- **1**: Encrypted.'."\n" + ."\n" + .'- **2**: Encryption failed.', 'type' => 'integer', 'format' => 'int32', 'example' => '-1', 'title' => ''], + 'InstanceName' => ['description' => 'The instance name of the data asset table.', 'type' => 'string', 'example' => 'rm-bp17t1htja573l5i8****', 'title' => ''], + 'TableName' => ['description' => 'The table name.', 'type' => 'string', 'example' => 'it_table', 'title' => ''], + 'RegionId' => ['description' => 'The region where the asset resides.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'ProductId' => ['description' => 'The ID of the product to which the data object belongs. Valid values:'."\n" + .'- **1**: MaxCompute'."\n" + .'- **2**: OSS'."\n" + .'- **3**: ADB-MYSQL'."\n" + .'- **4**: TableStore'."\n" + .'- **5**: RDS'."\n" + .'- **6**: SELF_DB'."\n" + .'- **7**: PolarDB-X'."\n" + .'- **8**: PolarDB'."\n" + .'- **9**: ADB-PG'."\n" + .'- **10**: OceanBase'."\n" + .'- **11**: MongoDB'."\n" + .'- **25**: Redis', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''], ], - 'type' => 'object', + 'title' => '', + 'example' => '', ], - 'type' => 'array', + 'title' => '', + 'example' => '', ], ], - 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"71064826-726F-4ADA-B879-05D8055476FB\\",\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 1,\\n \\"Items\\": [\\n {\\n \\"Acl\\": \\"private\\",\\n \\"CreationTime\\": 1536751124000,\\n \\"DataType\\": \\"OSS_BUCKET\\",\\n \\"Owner\\": \\"dtdep-239-******\\",\\n \\"SensitiveRatio\\": \\"45%\\",\\n \\"Protection\\": false,\\n \\"Labelsec\\": true,\\n \\"TotalCount\\": 432,\\n \\"RiskLevelId\\": 2,\\n \\"RuleName\\": \\"***规则\\",\\n \\"Sensitive\\": true,\\n \\"ObjectKey\\": \\"内部\\",\\n \\"RiskLevelName\\": \\"中等风险等级\\",\\n \\"OdpsRiskLevelName\\": \\"S4\\",\\n \\"ProductId\\": \\"5\\",\\n \\"Name\\": \\"gxdata\\",\\n \\"SensitiveCount\\": 24,\\n \\"Id\\": \\"268\\",\\n \\"ProductCode\\": \\"RDS\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeDataAssetsResponse>\\n <CurrentPage>1</CurrentPage>\\n <RequestId>71064826-726F-4ADA-B879-05D8055476FB</RequestId>\\n <PageSize>20</PageSize>\\n <TotalCount>1</TotalCount>\\n <Items>\\n <Acl>private</Acl>\\n <CreationTime>1536751124000</CreationTime>\\n <DataType>OSS_BUCKET</DataType>\\n <Owner>dtdep-239-******</Owner>\\n <SensitiveRatio>45%</SensitiveRatio>\\n <Protection>false</Protection>\\n <Labelsec>false</Labelsec>\\n <TotalCount>432</TotalCount>\\n <RiskLevelId>2</RiskLevelId>\\n <RuleName>***规则</RuleName>\\n <Sensitive>true</Sensitive>\\n <ObjectKey>内部</ObjectKey>\\n <RiskLevelName>中等风险等级</RiskLevelName>\\n <OdpsRiskLevelName>S4</OdpsRiskLevelName>\\n <ProductId>5</ProductId>\\n <Name>gxdata</Name>\\n <SensitiveCount>24</SensitiveCount>\\n <Id>268</Id>\\n <ProductCode>RDS</ProductCode>\\n </Items>\\n</DescribeDataAssetsResponse>","errorExample":""}]', - 'extraInfo' => ' ', - 'title' => 'DescribeDataAssets', - ], - 'DescribeInstances' => [ - 'summary' => 'Queries data assets such as MaxCompute, ApsaraDB RDS, and Object Storage Service (OSS) that you authorize Data Security Center (DSC) to access.', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query data object column details V2', + 'summary' => 'Queries the column detection results of a data table.', + 'changeSet' => [ + ['createdAt' => '2025-02-14T03:25:31.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-03-25T07:35:04.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataObjectColumnDetailV2'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDataObjectColumnDetailV2', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 231,\\n \\"Items\\": [\\n {\\n \\"ColumnName\\": \\"hide14\\",\\n \\"DataType\\": \\"varchar\\",\\n \\"ColumnComment\\": \\"column comment\\",\\n \\"PrimaryKey\\": true,\\n \\"Id\\": \\"1392973973691383808\\",\\n \\"RiskLevelId\\": 2,\\n \\"RiskLevelName\\": \\"S1\\",\\n \\"RuleId\\": 51,\\n \\"RuleName\\": \\"name\\",\\n \\"Categories\\": [\\n \\"general sensitive information\\"\\n ],\\n \\"ModelTags\\": [\\n {\\n \\"Id\\": 101,\\n \\"Name\\": \\"personal sensitive information\\"\\n }\\n ],\\n \\"EngineType\\": \\"MySQL\\",\\n \\"MaskingStatus\\": -1,\\n \\"InstanceName\\": \\"rm-bp17t1htja573l5i8****\\",\\n \\"TableName\\": \\"it_table\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ProductId\\": 5\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeDataObjects' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82047', - 'abilityTreeNodes' => [ - 'FEATUREsddp2VFD4T', - ], + 'abilityTreeCode' => '149455', + 'abilityTreeNodes' => ['FEATUREsddp2VFD4T'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Simplified Chinese'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The language of the content within the request and response. Default value: **zh\\_cn**. Valid values:'."\n" + ."\n" + .'- **zh\\_cn**: Chinese.'."\n" + ."\n" + .'- **en\\_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ - 'name' => 'Name', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword that is used to search for data assets. DSC searches for data assets based on the keyword that you specify in fuzzy match mode. For example, if you specify data, all data assets whose names contain data are queried.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'data', - ], + 'schema' => ['description' => 'The number of data assets to return on each page. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'ProductId', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the service to which the data asset belongs. You can call the [DescribeDataAssets](~~DescribeDataAssets~~) operation to query the ID of the service.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The page number of the returned page. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'RiskLevelId', + 'name' => 'ProductIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The sensitivity level ID of the data asset. A higher sensitivity level indicates that the identified data is more sensitive. Valid values:'."\n" - ."\n" - .'* **1**: No sensitive data is identified.'."\n" - .'* **2**: sensitive data at level 1.'."\n" - .'* **3**: sensitive data at level 2.'."\n" - .'* **4**: sensitive data at level 3'."\n" - .'* **5**: sensitive data at level 4.'."\n" - .'* **6**: sensitive data at level 5.'."\n" - .'* **7**: sensitive data at level 6.'."\n" - .'* **8**: sensitive data at level 7.'."\n" - .'* **9**: sensitive data at level 8.'."\n" - .'* **10**: sensitive data at level 9.'."\n" - .'* **11**: sensitive data at level 10.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The IDs of the products to which the data assets to be queried belong. You can specify multiple product IDs. Separate them with commas (,). We recommend that you specify this parameter. Valid values:'."\n" + ."\n" + .'- **1**: MaxCompute'."\n" + ."\n" + .'- **2**: OSS'."\n" + ."\n" + .'- **3**: ADB-MYSQL'."\n" + ."\n" + .'- **4**: TableStore'."\n" + ."\n" + .'- **5**: RDS'."\n" + ."\n" + .'- **6**: SELF\\_DB'."\n" + ."\n" + .'- **7**: PolarDB-X'."\n" + ."\n" + .'- **8**: PolarDB'."\n" + ."\n" + .'- **9**: ADB-PG'."\n" + ."\n" + .'- **10**: OceanBase'."\n" + ."\n" + .'- **11**: MongoDB'."\n" + ."\n" + .'- **25**: Redis'."\n" + ."\n" + .'> If you want to query data assets that belong to OSS, you cannot query data assets of other products. By default, data assets of products other than OSS are queried.', 'type' => 'string', 'required' => false, 'example' => '1,5', 'title' => ''], ], [ - 'name' => 'RuleId', + 'name' => 'ParentCategoryIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the sensitive data detection rule that the data asset hits. You can call the [DescribeRules](~~DescribeRules~~) operation and obtain the ID of the sensitive data detection rule from the **Id** response parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1111111', - ], + 'schema' => ['description' => 'The IDs of the parent asset categories to be queried. You can specify multiple IDs. Separate them with commas (,).', 'type' => 'string', 'required' => false, 'example' => '234,236,238', 'title' => ''], + ], + [ + 'name' => 'QueryName', + 'in' => 'query', + 'schema' => ['description' => 'The keyword of the data asset to be queried.', 'type' => 'string', 'required' => false, 'example' => 't_sddp_selfmysql_pers0', 'title' => ''], ], [ 'name' => 'ServiceRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region where the data asset resides. For more information, see [Supported regions](~~214257~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region where the data asset resides. Valid values:'."\n" + ."\n" + .'- **cn-beijing**: China (Beijing)'."\n" + ."\n" + .'- **cn-zhangjiakou**: China (Zhangjiakou)'."\n" + ."\n" + .'- **cn-huhehaote**: China (Hohhot)'."\n" + ."\n" + .'- **cn-hangzhou**: China (Hangzhou)'."\n" + ."\n" + .'- **cn-shanghai**: China (Shanghai)'."\n" + ."\n" + .'- **cn-shenzhen**: China (Shenzhen)'."\n" + ."\n" + .'- **cn-hongkong**: China (Hong Kong)', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the industry-specific rule template.'."\n" + ."\n" + .'> You can call the [DescribeCategoryTemplateList](~~2399296~~) operation to obtain the ID of the industry-specific rule template.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'DomainId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the data domain to which the data asset belongs.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''], + ], + [ + 'name' => 'ModelTagIds', + 'in' => 'query', + 'schema' => ['description' => 'The data labels to be queried. You can specify multiple data labels. Separate them with commas (,). Valid values:'."\n" + ."\n" + .'- **101**: personal sensitive information'."\n" + ."\n" + .'- **102**: personal information'."\n" + ."\n" + .'- **107**: general information', 'type' => 'string', 'required' => false, 'example' => '101,102', 'title' => ''], + ], + [ + 'name' => 'RiskLevels', + 'in' => 'query', + 'schema' => ['description' => 'The sensitivity level of the data asset. You can specify multiple sensitivity levels. Separate them with commas (,).'."\n" + ."\n" + .'- **2**: S1, low sensitivity level'."\n" + ."\n" + .'- **3**: S2, medium sensitivity level'."\n" + ."\n" + .'- **4**: S3, high sensitivity level'."\n" + ."\n" + .'- **5**: S4, highest sensitivity level', 'type' => 'string', 'example' => '2', 'required' => false, 'title' => ''], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The keyword of the instance ID.', 'type' => 'string', 'example' => '8vb54hn2g9j191ddz', 'required' => false, 'title' => ''], + ], + [ + 'name' => 'ModelIds', + 'in' => 'query', + 'schema' => ['description' => 'The model ID of the industry-specific rule template. You can specify multiple IDs. Separate them with commas (,).'."\n" + ."\n" + .'> You can call the [DescribeTemplateAllRules](~~2536491~~) operation to obtain the model ID of the industry-specific rule template.', 'type' => 'string', 'example' => '101', 'required' => false, 'title' => ''], + ], + [ + 'name' => 'FileType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the OSS file.'."\n" + ."\n" + .'> This parameter is valid only for querying data assets of the OSS type. You can call the [DescribeDocTypes](~~2536492~~) operation to obtain the supported OSS file types. Use the value of the `Code` parameter in the response.', 'type' => 'integer', 'format' => 'int64', 'example' => '100001', 'required' => false, 'title' => ''], + ], + [ + 'name' => 'FileCategoryCode', + 'in' => 'query', + 'schema' => ['description' => 'The code of the file category.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'required' => false, 'title' => ''], + ], + [ + 'name' => 'MemberAccount', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the member.', 'type' => 'integer', 'format' => 'int64', 'example' => '**********8103', 'required' => false, 'title' => ''], ], [ 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'required' => false, 'title' => ''], ], [ - 'name' => 'ProductCode', + 'name' => 'APIVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the service to which the data asset belongs, such as MaxCompute, OSS, and ApsaraDB RDS. For more information about the types of data assets from which DSC can scan for sensitive data, see [Supported data assets](~~212906~~).'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'RDS', - ], + 'schema' => ['description' => 'The version of the API.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false], ], [ - 'name' => 'PageSize', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Default value: **10**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The region in which the data asset catalog resides.', 'type' => 'string', 'example' => 'cn-zhangjiakou', 'title' => '', 'required' => false], ], [ - 'name' => 'CurrentPage', + 'name' => 'ProductId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the product.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => '', 'required' => false], + ], + [ + 'name' => 'RuleIds', + 'in' => 'query', + 'schema' => ['description' => 'The IDs of the rules. You can specify multiple rule IDs. Separate them with commas (,).', 'type' => 'string', 'example' => '1,2,3', 'title' => '', 'required' => false], + ], + [ + 'name' => 'RiskLevelIdList', + 'in' => 'query', + 'schema' => ['description' => 'The IDs of the sensitivity levels. You can specify multiple sensitivity level IDs. Separate them with commas (,).', 'type' => 'string', 'example' => '1,2,3', 'title' => '', 'required' => false], + ], + [ + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the table.', 'type' => 'string', 'example' => 'TableName', 'title' => '', 'required' => false], + ], + [ + 'name' => 'DbName', + 'in' => 'query', + 'schema' => ['description' => 'The name of the database.', 'type' => 'string', 'example' => 'dataBaseName', 'title' => '', 'required' => false], + ], + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the task.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Bucket', + 'in' => 'query', + 'schema' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'example' => 'bucketName', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Project', + 'in' => 'query', + 'schema' => ['description' => 'The name of the Simple Log Service project.', 'type' => 'string', 'example' => 'project', 'title' => '', 'required' => false], + ], + [ + 'name' => 'LogStore', + 'in' => 'query', + 'schema' => ['description' => 'The name of the Logstore.', 'type' => 'string', 'example' => 'logstore', 'title' => '', 'required' => false], + ], + [ + 'name' => 'LogStoreFlag', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to query data at the Logstore level. The Simple Log Service data catalog has two layers. Set this parameter to 1 to query data at the Logstore level.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Path', + 'in' => 'query', + 'schema' => ['description' => 'The path of the file.', 'type' => 'string', 'example' => 'road', 'title' => '', 'required' => false], ], ], 'responses' => [ @@ -5576,222 +4791,229 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '71064826-726F-4ADA-B879-05D8055476FB', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'The total number of data assets.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '231', - ], + 'CurrentPage' => ['description' => 'The number of the page to return. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The unique ID of the request. Alibaba Cloud generates this ID to help you troubleshoot issues.', 'type' => 'string', 'example' => 'E6F6460E-4330-549A-BD89-C183FB17571E', 'title' => ''], + 'PageSize' => ['description' => 'The number of data asset instances to return on each page. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries that match the query.', 'type' => 'integer', 'format' => 'int32', 'example' => '21', 'title' => ''], 'Items' => [ - 'description' => 'The data assets.'."\n", + 'description' => 'A list of data objects.', 'type' => 'array', 'items' => [ + 'description' => 'A data object.', 'type' => 'object', 'properties' => [ - 'CreationTime' => [ - 'description' => 'The time when the data asset was created. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1637226782000', - ], - 'LastFinishTime' => [ - 'description' => 'The time when the data asset was last scanned. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1637622793000', - ], - 'Owner' => [ - 'description' => 'The Alibaba Cloud account to which the data asset belongs.'."\n", - 'type' => 'string', - 'example' => 'dtdep-239-******', - ], - 'TenantName' => [ - 'description' => 'The name of the tenant.'."\n", - 'type' => 'string', - 'example' => 'Tenant 1'."\n", - ], - 'Protection' => [ - 'description' => 'The protection status of the data asset. Valid values:'."\n" - ."\n" - .'* **true**: The data asset is being protected.'."\n" - .'* **false**: The data asset is not protected.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'DepartName' => [ - 'description' => 'The name of the department to which the data asset belongs.'."\n", - 'type' => 'string', - 'example' => '***DemoCenter', - ], - 'Labelsec' => [ - 'description' => 'The security status of the data asset. Valid values:'."\n" - ."\n" - .'* **true**: The data asset is secure.'."\n" - .'* **false**: The data asset is insecure.'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'RiskLevelId' => [ - 'description' => 'The ID of the sensitivity level for the data asset. A higher sensitivity level ID indicates that the identified data is more sensitive.'."\n" - ."\n" - .'* **1**: No sensitive data is detected.'."\n" - .'* **2**: sensitive data at level 1.'."\n" - .'* **3**: sensitive data at level 2.'."\n" - .'* **4**: sensitive data at level 3.'."\n" - .'* **5**: sensitive data at level 4.'."\n" - .'* **6**: sensitive data at level 5.'."\n" - .'* **7**: sensitive data at level 6.'."\n" - .'* **8**: sensitive data at level 7.'."\n" - .'* **9**: sensitive data at level 8.'."\n" - .'* **10**: sensitive data at level 9.'."\n" - .'* **11**: sensitive data at level 10.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'ProductId' => [ - 'description' => 'The ID of the service to which the data asset belongs.'."\n", - 'type' => 'string', - 'example' => '5', - ], - 'Name' => [ - 'description' => 'The name of the data asset.'."\n", - 'type' => 'string', - 'example' => 'gxdata', - ], - 'TotalCount' => [ - 'description' => 'The total number of data objects in the data asset. For example, if the data asset is an ApsaraDB RDS instance, the value indicates the total number of tables in all databases of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '231', - ], - 'InstanceDescription' => [ - 'description' => 'The description of the data asset.'."\n", - 'type' => 'string', - 'example' => 'Data asset Information 1'."\n", - ], - 'RuleName' => [ - 'description' => 'The name of the sensitive data detection rule that the data asset hits.'."\n", - 'type' => 'string', - 'example' => '\\*\\*\\* rule'."\n", - ], - 'Sensitive' => [ - 'description' => 'Indicates whether the data asset contains sensitive data. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'RiskLevelName' => [ - 'description' => 'The name of the sensitivity level for the data asset.'."\n", - 'type' => 'string', - 'example' => 'Sensitive data at level 1'."\n", - ], - 'OdpsRiskLevelName' => [ - 'description' => 'This parameter is deprecated.'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'SensitiveCount' => [ - 'description' => 'The number of sensitive data objects in the data asset. For example, if the data asset is an ApsaraDB RDS instance, the value indicates the number of sensitive tables in all databases of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '123', - ], - 'Id' => [ - 'description' => 'The unique ID of the data asset in DSC.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11111', - ], - 'ProductCode' => [ - 'description' => 'The name of the service to which the data asset belongs, such as MaxCompute, OSS, and ApsaraDB RDS. For more information about the types of data assets that DSC can scan to detect sensitive data, see [Supported data assets](~~212906~~).'."\n", - 'type' => 'string', - 'example' => 'RDS', + 'Name' => ['description' => 'The name of the data object.', 'type' => 'string', 'example' => 't_sddp_selfmysql_pers0', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the data object.', 'type' => 'string', 'example' => '20000', 'title' => ''], + 'TemplateId' => ['description' => 'The ID of the industry template.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'ProductId' => ['description' => 'The ID of the product to which the data object belongs. Valid values:'."\n" + ."\n" + .'- **1**: MaxCompute'."\n" + ."\n" + .'- **2**: OSS'."\n" + ."\n" + .'- **3**: ADB-MYSQL'."\n" + ."\n" + .'- **4**: Table Store'."\n" + ."\n" + .'- **5**: RDS'."\n" + ."\n" + .'- **6**: SELF\\_DB'."\n" + ."\n" + .'- **7**: PolarDB-X'."\n" + ."\n" + .'- **8**: PolarDB'."\n" + ."\n" + .'- **9**: ADB-PG'."\n" + ."\n" + .'- **10**: OceanBase'."\n" + ."\n" + .'- **11**: MongoDB'."\n" + ."\n" + .'- **25**: Redis', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''], + 'InstanceDescription' => ['description' => 'The description of the data asset instance.', 'type' => 'string', 'example' => 'instance description', 'title' => ''], + 'ProductCode' => ['description' => 'The name of the product to which the data object belongs. Valid values:'."\n" + ."\n" + .'- **MaxCompute**'."\n" + ."\n" + .'- **OSS**'."\n" + ."\n" + .'- **ADB-MYSQL**'."\n" + ."\n" + .'- **Table Store**'."\n" + ."\n" + .'- **RDS**'."\n" + ."\n" + .'- **SELF\\_DB**'."\n" + ."\n" + .'- **PolarDB-X**'."\n" + ."\n" + .'- **PolarDB**'."\n" + ."\n" + .'- **ADB-PG**'."\n" + ."\n" + .'- **OceanBase**'."\n" + ."\n" + .'- **MongoDB**'."\n" + ."\n" + .'- **Redis**', 'type' => 'string', 'example' => 'RDS', 'title' => ''], + 'SensitiveCount' => ['description' => 'The number of sensitive data fields.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ObjectType' => ['description' => 'The type of the data object.', 'type' => 'string', 'example' => 'text type', 'title' => ''], + 'Path' => ['description' => 'The path of the data object.', 'type' => 'string', 'example' => 'rm-12**.db_***', 'title' => ''], + 'RegionName' => ['description' => 'The name of the region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'Categories' => [ + 'description' => 'An array of industry categories to which the sensitive data belongs.', + 'type' => 'array', + 'items' => ['description' => 'The industry classification of the sensitive data.', 'type' => 'string', 'example' => 'general sensitive information', 'title' => ''], + 'title' => '', + 'example' => '', ], 'ModelTags' => [ - 'description' => 'A list of tags.'."\n", + 'description' => 'A list of data tags.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'A data tag.', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the tag. Valid values:'."\n" - ."\n" - .'* **101**: personal sensitive information'."\n" - .'* **102**: personal information'."\n" - .'* **107**: general information'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '101', - ], - 'Name' => [ - 'description' => 'The name of the tag. Valid values:'."\n" - ."\n" - .'* Personal sensitive information'."\n" - .'* Personal information'."\n" - .'* General information'."\n", - 'type' => 'string', - 'example' => 'personal sensitive data', - ], + 'Id' => ['description' => 'The ID of the data tag. Valid values:'."\n" + ."\n" + .'- **101**: Personal sensitive information'."\n" + ."\n" + .'- **102**: Personal information'."\n" + ."\n" + .'- **107**: General information', 'type' => 'integer', 'format' => 'int64', 'example' => '101', 'title' => ''], + 'Name' => ['description' => 'The name of the data tag. Valid values:'."\n" + ."\n" + .'- **Personal sensitive information**'."\n" + ."\n" + .'- **Personal information**'."\n" + ."\n" + .'- **General information**', 'type' => 'string', 'example' => 'Personal sensitive information', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'MemberAliUid' => [ - 'description' => 'If the management account has opened multiple accounts and the asset belongs to other member accounts, this field displays the UID of the member accounts.', - 'type' => 'string', - 'example' => '12567890126', + 'RuleList' => [ + 'description' => 'A list of matched detection models.', + 'type' => 'array', + 'items' => [ + 'description' => 'A matched detection model.', + 'type' => 'object', + 'properties' => [ + 'RuleId' => ['description' => 'The ID of the detection model.', 'type' => 'integer', 'format' => 'int64', 'example' => '1080', 'title' => ''], + 'RuleName' => ['description' => 'The name of the detection model.', 'type' => 'string', 'example' => 'name', 'title' => ''], + 'RiskLevelId' => ['description' => 'The ID of the risk level. Valid values:'."\n" + ."\n" + .'- **1**: N/A - No sensitive data is detected'."\n" + ."\n" + .'- **2**: S1 - Level-1 sensitive data'."\n" + ."\n" + .'- **3**: S2 - Level-2 sensitive data'."\n" + ."\n" + .'- **4**: S3 - Level-3 sensitive data'."\n" + ."\n" + .'- **5**: S4 - Level-4 sensitive data', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'RiskLevelName' => ['description' => 'The name of the risk level. Valid values:'."\n" + ."\n" + .'- **N/A**: No sensitive data is detected'."\n" + ."\n" + .'- **S1**: Level-1 sensitive data'."\n" + ."\n" + .'- **S2**: Level-2 sensitive data'."\n" + ."\n" + .'- **S3**: Level-3 sensitive data'."\n" + ."\n" + .'- **S4**: Level-4 sensitive data', 'type' => 'string', 'example' => 'S1', 'title' => ''], + 'RuleCount' => ['description' => 'The number of matched detection models.', 'type' => 'integer', 'format' => 'int32', 'example' => '590', 'title' => ''], + 'RuleCategoryNameList' => ['description' => 'The hierarchical category of the rule, from the top-level to the leaf-level category in the template.', 'type' => 'string', 'example' => 'Personal sensitive information-ID card', 'title' => ''], + 'SampleList' => ['description' => 'The sample data.', 'type' => 'string', 'example' => '["Lucy","Tom"]', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'ObjectFileCategory' => ['description' => 'The name of the file category.', 'type' => 'string', 'example' => 'text file', 'title' => ''], + 'MemberAccount' => ['description' => 'The ID of the member account.', 'type' => 'integer', 'format' => 'int64', 'example' => '**********8103', 'title' => ''], + 'LastModifiedTime' => ['description' => 'The last modification time of the file, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1687676649830', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the data asset instance.', 'type' => 'string', 'example' => 'rm-12*****', 'title' => ''], + 'LastScanTime' => ['description' => 'The timestamp of the last scan, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1687676649830', 'title' => ''], + 'RegionId' => ['description' => 'The ID of the region where the data object is located.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'Comment' => ['description' => 'The comment on the column.', 'type' => 'string', 'example' => 'comment', 'title' => ''], + 'DataType' => ['description' => 'The data type of the database column.', 'type' => 'string', 'example' => 'varchar', 'title' => ''], + 'DbName' => ['description' => 'The name of the database.', 'type' => 'string', 'example' => 'DataBaseName', 'title' => ''], + 'TableName' => ['description' => 'The name of the table.', 'type' => 'string', 'example' => 'tableName', 'title' => ''], + 'RiskLevelId' => ['description' => 'The risk level.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'TaskId' => ['description' => 'The ID of the task.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'TaskNumber' => ['description' => 'The task number.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'TaskName' => ['description' => 'The name of the task.', 'type' => 'string', 'example' => 'test-task', 'title' => ''], + 'IsRevision' => ['description' => 'The revision status.', 'type' => 'integer', 'format' => 'int32', 'example' => '-1', 'title' => ''], + 'MaskStatus' => ['description' => 'The column encryption status.', 'type' => 'integer', 'format' => 'int32', 'example' => '-1', 'title' => ''], + 'FileCategoryCode' => ['description' => 'The code for the file category.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Size' => ['description' => 'The size of the file in bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '1000', 'title' => ''], + 'RuleCount' => ['description' => 'The number of matched rules.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'Sx' => ['description' => 'A comma-separated string that specifies the count of matched rules for each risk level. The string follows the format `S1,S2...S10`, where the value at each position represents the count for the corresponding risk level.', 'type' => 'string', 'example' => '1,2,3,0,0,0,0,5,0,0', 'title' => ''], + 'TemplateName' => ['description' => 'The name of the template.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'Project' => ['description' => 'The name of the Simple Log Service (SLS) project.', 'type' => 'string', 'example' => 'project', 'title' => ''], + 'LogStore' => ['description' => 'The name of the Logstore in SLS.', 'type' => 'string', 'example' => 'logStore', 'title' => ''], + 'ClusterType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], ], - 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"71064826-726F-4ADA-B879-05D8055476FB\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 231,\\n \\"Items\\": [\\n {\\n \\"CreationTime\\": 1637226782000,\\n \\"LastFinishTime\\": 1637622793000,\\n \\"Owner\\": \\"dtdep-239-******\\",\\n \\"TenantName\\": \\"tenant\\",\\n \\"Protection\\": false,\\n \\"DepartName\\": \\"***DemoCenter\\",\\n \\"Labelsec\\": true,\\n \\"RiskLevelId\\": 2,\\n \\"ProductId\\": \\"5\\",\\n \\"Name\\": \\"gxdata\\",\\n \\"TotalCount\\": 231,\\n \\"InstanceDescription\\": \\"instance dscription\\",\\n \\"RuleName\\": \\"*** rule\\",\\n \\"Sensitive\\": true,\\n \\"RiskLevelName\\": \\"S1\\",\\n \\"OdpsRiskLevelName\\": \\"1\\",\\n \\"SensitiveCount\\": 123,\\n \\"Id\\": 11111,\\n \\"ProductCode\\": \\"RDS\\",\\n \\"ModelTags\\": [\\n {\\n \\"Id\\": 101,\\n \\"Name\\": \\"personal sensitive data\\"\\n }\\n ],\\n \\"MemberAliUid\\": \\"12567890126\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeInstancesResponse>\\n <CurrentPage>1</CurrentPage>\\n <RequestId>71064826-726F-4ADA-B879-05D8055476FB</RequestId>\\n <PageSize>10</PageSize>\\n <TotalCount>231</TotalCount>\\n <Items>\\n <CreationTime>1637226782000</CreationTime>\\n <LastFinishTime>1637622793000</LastFinishTime>\\n <Owner>dtdep-239-******</Owner>\\n <TenantName>租户1</TenantName>\\n <Protection>false</Protection>\\n <DepartName>***DemoCenter</DepartName>\\n <Labelsec>true</Labelsec>\\n <RiskLevelId>2</RiskLevelId>\\n <ProductId>5</ProductId>\\n <Name>gxdata</Name>\\n <TotalCount>231</TotalCount>\\n <InstanceDescription>实例信息1</InstanceDescription>\\n <RuleName>***规则</RuleName>\\n <Sensitive>true</Sensitive>\\n <RiskLevelName>1级敏感数据风险</RiskLevelName>\\n <OdpsRiskLevelName>1</OdpsRiskLevelName>\\n <SensitiveCount>123</SensitiveCount>\\n <Id>11111</Id>\\n <ProductCode>RDS</ProductCode>\\n </Items>\\n</DescribeInstancesResponse>","errorExample":""}]', - 'title' => 'DescribeInstances', - 'description' => 'When you call the DescribeInstances operation, you can specify parameters such as Name and RiskLevelId to query data assets that meet filter conditions.'."\n" + 'title' => 'Query Data Object List', + 'summary' => 'Query data detection results for tables and files.', + 'description' => 'This operation queries data detection results for tables and files, to provide a comprehensive view across all your assets.'."\n" ."\n" - .'# Limits'."\n" + .'## QPS limit'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - ], - 'DescribeTables' => [ - 'summary' => 'Queries tables in data assets such as MaxCompute projects and ApsaraDB RDS instances that Data Security Center (DSC) is authorized to access.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + .'The per-user QPS limit for this operation is 10 requests per second. If you exceed this limit, the system throttles your API calls. To prevent business disruptions, call this operation only when necessary.', + 'changeSet' => [ + ['createdAt' => '2024-07-22T03:50:36.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-06-03T02:01:02.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-04-18T05:56:10.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-03-25T07:35:04.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-09-25T03:20:39.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-08-18T02:08:54.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataObjects'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDataObjects', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"E6F6460E-4330-549A-BD89-C183FB17571E\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 21,\\n \\"Items\\": [\\n {\\n \\"Name\\": \\"t_sddp_selfmysql_pers0\\",\\n \\"Id\\": \\"20000\\",\\n \\"TemplateId\\": 1,\\n \\"ProductId\\": 5,\\n \\"InstanceDescription\\": \\"instance description\\",\\n \\"ProductCode\\": \\"RDS\\",\\n \\"SensitiveCount\\": 1,\\n \\"ObjectType\\": \\"text type\\",\\n \\"Path\\": \\"rm-12**.db_***\\",\\n \\"RegionName\\": \\"cn-hangzhou\\",\\n \\"Categories\\": [\\n \\"general sensitive information\\"\\n ],\\n \\"ModelTags\\": [\\n {\\n \\"Id\\": 101,\\n \\"Name\\": \\"Personal sensitive information\\"\\n }\\n ],\\n \\"RuleList\\": [\\n {\\n \\"RuleId\\": 1080,\\n \\"RuleName\\": \\"name\\",\\n \\"RiskLevelId\\": 2,\\n \\"RiskLevelName\\": \\"S1\\",\\n \\"RuleCount\\": 590,\\n \\"RuleCategoryNameList\\": \\"Personal sensitive information-ID card\\",\\n \\"SampleList\\": \\"[\\\\\\"Lucy\\\\\\",\\\\\\"Tom\\\\\\"]\\"\\n }\\n ],\\n \\"ObjectFileCategory\\": \\"text file\\",\\n \\"MemberAccount\\": 0,\\n \\"LastModifiedTime\\": 1687676649830,\\n \\"InstanceId\\": \\"rm-12*****\\",\\n \\"LastScanTime\\": 1687676649830,\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"Comment\\": \\"comment\\",\\n \\"DataType\\": \\"varchar\\",\\n \\"DbName\\": \\"DataBaseName\\",\\n \\"TableName\\": \\"tableName\\",\\n \\"RiskLevelId\\": 1,\\n \\"TaskId\\": 1,\\n \\"TaskNumber\\": 1000,\\n \\"TaskName\\": \\"test-task\\",\\n \\"IsRevision\\": -1,\\n \\"MaskStatus\\": -1,\\n \\"FileCategoryCode\\": 1,\\n \\"Size\\": 1000,\\n \\"RuleCount\\": 10,\\n \\"Sx\\": \\"1,2,3,0,0,0,0,5,0,0\\",\\n \\"TemplateName\\": \\"test\\",\\n \\"Project\\": \\"project\\",\\n \\"LogStore\\": \\"logStore\\",\\n \\"ClusterType\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeDocTypes' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5799,345 +5021,585 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsddp2VFD4T', - ], + 'abilityTreeNodes' => ['FEATUREsddpIUNEZP'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => 'The language of the request and response. Default value: **zh_cn**. Valid values:'."\n" + .'- **zh_cn**: Chinese.'."\n" + .'- **en_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Chinese'."\n" - .'* **en_us**: English'."\n", - 'example' => 'zh_cn', - 'required' => false, - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The unique identifier that Alibaba Cloud generated for the request.', 'type' => 'string', 'example' => '769FB3C1-F4C9-4******', 'title' => ''], + 'DocTypeList' => [ + 'description' => 'The list of OSS file types in the result.', + 'type' => 'array', + 'items' => [ + 'description' => 'The file type object.', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The file type code.', 'type' => 'integer', 'format' => 'int64', 'example' => '100001', 'title' => ''], + 'Name' => ['description' => 'The file type name.', 'type' => 'string', 'example' => 'C/C++ Source Code', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the file type.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => 'The search keyword. Fuzzy match is supported. For example, if you specify test, all tables whose names contain test are retrieved.'."\n", - 'example' => 'test', - 'required' => false, - 'type' => 'string', + ], + 'title' => 'Query the list of detectable OSS file types', + 'summary' => 'Queries the list of OSS file types that can be detected.', + 'changeSet' => [ + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:19.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDocTypes'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDocTypes', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-4******\\",\\n \\"DocTypeList\\": [\\n {\\n \\"Code\\": 100001,\\n \\"Name\\": \\"C/C++ Source Code\\",\\n \\"Id\\": 1\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeEventDetail' => [ + 'summary' => 'Queries the details of a single anomalous activity, including the time when the anomalous activity occurred, the anomaly description, and the handling status.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'ProductId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the service to which the table belongs. You can call the [DescribeDataAssets](~~DescribeDataAssets~~) operation to obtain the ID of the service.'."\n", - 'example' => '1', - 'format' => 'int64', - 'required' => false, - 'type' => 'integer', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '82033', + 'abilityTreeNodes' => ['FEATUREsddpR2D59W', 'FEATUREsddpGH0F1O', 'FEATUREsddpCHNP1R'], + ], + 'parameters' => [ [ - 'name' => 'ProductCode', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the service to which the table belongs, such as MaxCompute, OSS, and ApsaraDB RDS. For more information about the types of data assets from which Data Security Center (DSC) can scan for sensitive data, see [Supported data assets](~~212906~~).'."\n", - 'example' => 'MaxCompute', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + .'- **zh**: Chinese.'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'RiskLevelId', + 'name' => 'Id', 'in' => 'query', + 'schema' => ['description' => 'The unique ID of the anomalous activity.'."\n" + ."\n" + .'> To query the details of a single anomalous activity, provide the unique ID of the anomalous activity. You can call the **DescribeEvents** operation to obtain the ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '13456723343', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The sensitivity level of the table. Each sensitivity level ID corresponds to a sensitivity level name. Valid values:'."\n" - ."\n" - .'* **1**: N/A, which indicates that no sensitive data is detected.'."\n" - .'* **2**: S1, which indicates the low sensitivity level.'."\n" - .'* **3**: S2, which indicates the medium sensitivity level.'."\n" - .'* **4**: S3, which indicates the high sensitivity level.'."\n" - .'* **5**: S4, which indicates the highest sensitivity level.'."\n", - 'example' => '2', - 'format' => 'int64', - 'required' => false, - 'type' => 'integer', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '69FB3C1-F4C9-42DF-9B72-7077A8989C13', 'title' => ''], + 'Event' => [ + 'description' => 'The details of the anomalous activity.', + 'type' => 'object', + 'properties' => [ + 'DisplayName' => ['description' => 'The display name of the account that triggered the anomalous activity.', 'type' => 'string', 'example' => 'yundunsr', 'title' => ''], + 'Status' => ['description' => 'The handling status of the anomalous activity. Valid values:'."\n" + .'- **0**: unhandled. '."\n" + .'- **1**: confirmed as a violation. '."\n" + .'- **2**: marked as a false positive.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'DealReason' => ['description' => 'The reason for handling the anomalous activity.', 'type' => 'string', 'example' => 'Anomaly confirmed'."\n", 'title' => ''], + 'UserId' => ['description' => 'The ID of the account that triggered the anomalous activity.', 'type' => 'integer', 'format' => 'int64', 'example' => '229157443385014***', 'title' => ''], + 'StatusName' => ['description' => 'The name of the handling status of the anomalous activity.', 'type' => 'string', 'example' => 'Pending', 'title' => ''], + 'DealTime' => ['description' => 'The time when the anomalous activity was handled. Format: UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1611139155000', 'title' => ''], + 'DealLoginName' => ['description' => 'The logon name of the account that handled the anomalous activity.', 'type' => 'string', 'example' => 'det1111', 'title' => ''], + 'SubTypeName' => ['description' => 'The name of the subtype of the anomalous activity.', 'type' => 'string', 'example' => 'Anomalous volume of downloaded data'."\n", 'title' => ''], + 'Backed' => ['description' => 'Indicates whether detection enhancement is enabled for the anomalous activity. Valid values:'."\n" + .'- **true**: Enabled.'."\n" + .'- **false**: Disabled.'."\n" + ."\n" + .'> Enhancing the detection capability for anomalous activities can improve detection accuracy and increase the event alerting rate for anomalous activities.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'DataInstance' => ['description' => 'The name of the asset instance of the product to which the anomalous activity belongs.', 'type' => 'string', 'example' => 'in-222***', 'title' => ''], + 'EventTime' => ['description' => 'The time when the anomalous activity occurred. Format: UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1545829129000', 'title' => ''], + 'LoginName' => ['description' => 'The logon name of the account that triggered the anomalous activity.', 'type' => 'string', 'example' => 'det1111', 'title' => ''], + 'SubTypeCode' => ['description' => 'The code of the subtype of the anomalous activity.', 'type' => 'string', 'example' => '020008', 'title' => ''], + 'LogDetail' => ['description' => 'The alert log information.', 'type' => 'string', 'example' => '{"client_ip": ["106.11.XX.XX", "106.11.XX.XX", "106.11.XX.XX", "106.11.XX.XX", "106.11.XX.XX", "106.11.XX.XX", "106.11.XX.XX", "106.11.XX.XX", "106.11.XX.XX"], "start_time": "2020-05-10 00:00:01", "instance": ["omniscience-data", "punish-beaver-data"], "end_time": "2020-05-10 00:21:22", "client_ua": ["Java/1.8.0_152", "Java/1.8.0_92", "aliyun-sdk-java/2.0.0", "aliyun-sdk-java/2.8.0(Linux/4.9.151-015.ali3000.alios7.x86_64/amd64;1.8.0_152)"], "user_name": 1512222261295262}', 'title' => ''], + 'TypeCode' => ['description' => 'The code of the parent type of the anomalous activity.', 'type' => 'string', 'example' => '02', 'title' => ''], + 'AlertTime' => ['description' => 'The time when the alert was triggered for the anomalous activity. Format: UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1545829129000', 'title' => ''], + 'DealUserId' => ['description' => 'The ID of the account that handled the anomalous activity.', 'type' => 'integer', 'format' => 'int64', 'example' => '229157443385014***', 'title' => ''], + 'TypeName' => ['description' => 'The name of the parent type of the anomalous activity. Valid values:'."\n" + .'- **01**: anomalous permission access.'."\n" + .'- **02**: anomalous data flow.'."\n" + .'- **03**: anomalous data operation.', 'type' => 'string', 'example' => 'Anomalous data flow'."\n", 'title' => ''], + 'DealDisplayName' => ['description' => 'The display name of the account that handled the anomalous activity.', 'type' => 'string', 'example' => 'yundunsr', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the anomalous activity recorded by Data Security Center.', 'type' => 'integer', 'format' => 'int64', 'example' => '52234', 'title' => ''], + 'ProductCode' => ['description' => 'The name of the product to which the anomalous activity belongs. Valid values: **MaxCompute, OSS, ADS, OTS, RDS**, and others.', 'type' => 'string', 'example' => 'MaxCompute', 'title' => ''], + 'HandleInfoList' => [ + 'description' => 'The handling history.', + 'type' => 'array', + 'items' => [ + 'description' => 'The details of the manually handled event.', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The unblocking status. Valid values:'."\n" + .'- **0**: blocked.'."\n" + .'- **1**: unblocked.'."\n" + .'- **-1**: blocking failed.'."\n" + .'- **-2**: unblocking failed.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'EnableTime' => ['description' => 'The time when the unblocking was performed. Format: UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1611139155000', 'title' => ''], + 'HandlerValue' => ['description' => 'The handling duration. If this parameter is empty, the handling is permanent. Unit: minutes.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'DisableTime' => ['description' => 'The time when the blocking was performed. Format: UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1611139155000', 'title' => ''], + 'HandlerName' => ['description' => 'The handling method.', 'type' => 'string', 'example' => 'Remove from the whitelist'."\n", 'title' => ''], + 'HandlerType' => ['description' => 'The handling type.', 'type' => 'string', 'example' => 'rds_security_ip', 'title' => ''], + 'CurrentValue' => ['description' => 'The account used for handling.', 'type' => 'string', 'example' => 'sddp-test2', 'title' => ''], + 'Id' => ['description' => 'The handling ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '11', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Detail' => [ + 'description' => 'The specific content in the anomalous activity details.', + 'type' => 'object', + 'properties' => [ + 'Content' => [ + 'description' => 'The content of the anomalous activity.', + 'type' => 'array', + 'items' => [ + 'description' => 'The content of the anomalous activity.', + 'type' => 'object', + 'properties' => [ + 'Label' => ['description' => 'The title of the anomalous activity content.', 'type' => 'string', 'example' => 'Anomaly description'."\n", 'title' => ''], + 'Value' => ['description' => 'The description of the anomalous activity content.', 'type' => 'string', 'example' => 'The account was used to access OSS from an unusual terminal whose IP address is 1.2.3.4 from 00:06:45 on September 9, 2019 to 00:57:37 on September 9, 2019.', 'title' => ''], + 'Name' => ['description' => 'The name of the anomalous activity.', 'type' => 'string', 'example' => 'daliaoyuncom', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Chart' => [ + 'description' => 'The baseline behavior profile of the anomalous activity.', + 'type' => 'array', + 'items' => [ + 'description' => 'The baseline behavior profile of the anomalous activity.', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The chart display type. Valid values:'."\n" + .'- **1**: bar chart.'."\n" + .'- **2**: line chart.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'Label' => ['description' => 'The name of the baseline behavior profile of the anomalous activity.', 'type' => 'string', 'example' => 'Baseline behavior chart'."\n", 'title' => ''], + 'XLabel' => ['description' => 'The label description of the X-axis data items.', 'type' => 'string', 'example' => 'Number of days'."\n", 'title' => ''], + 'YLabel' => ['description' => 'The label description of the Y-axis data items.', 'type' => 'string', 'example' => 'Value', 'title' => ''], + 'Data' => [ + 'description' => 'The data items of the baseline behavior profile of the anomalous activity.', + 'type' => 'object', + 'properties' => [ + 'Y' => [ + 'description' => 'The value of the Y-axis data item.', + 'type' => 'array', + 'items' => ['description' => 'The value of the Y-axis data item.', 'type' => 'string', 'example' => '[1,2,3,...]', 'title' => ''], + 'example' => '[1,2,3,...]', + 'title' => '', + ], + 'X' => [ + 'description' => 'The value of the X-axis data item.', + 'type' => 'array', + 'items' => ['description' => 'The value of the X-axis data item.', 'type' => 'string', 'example' => '[test1,test2,...]', 'title' => ''], + 'example' => '[test1,test2,...]', + 'title' => '', + ], + 'Z' => [ + 'description' => 'The value of the Z-axis data item.', + 'type' => 'array', + 'items' => ['description' => 'The value of the Z-axis data item.', 'type' => 'string', 'example' => '[5,7,...]', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'ChatType' => ['description' => 'The chart display type. Valid values:'."\n" + .'- **1**: bar chart.'."\n" + .'- **2**: line chart.'."\n" + ."\n" + .'> This field is returned only when NewAlarm is set to true.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Name' => ['description' => 'The chart title.'."\n" + ."\n" + .'> This field is returned only when NewAlarm is set to true.', 'type' => 'string', 'example' => 'misskingm', 'title' => ''], + 'ZLabel' => ['description' => 'The label description of the Z-axis data items.'."\n" + ."\n" + .'> This field is returned only when NewAlarm is set to true.', 'type' => 'string', 'example' => 'chart description', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'ResourceInfo' => [ + 'description' => 'The source information of the anomalous activity.', + 'type' => 'array', + 'items' => [ + 'description' => 'The source information of the anomalous activity.', + 'type' => 'object', + 'properties' => [ + 'Label' => ['description' => 'The title of the anomalous activity source.', 'type' => 'string', 'example' => 'Risk', 'title' => ''], + 'Value' => ['description' => 'The description of the anomalous activity source.', 'type' => 'string', 'example' => 'Based on the record of authentication by using an unusual terminal, an attacker may have obtained the access permission of the account, or an employee accessed data from a personal terminal.', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'NewAlarm' => ['description' => 'Indicates whether the alert is of the new version. Valid values:'."\n" + .'- **true**: Yes. '."\n" + .'- **false**: No.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + ], + 'title' => 'Query anomalous activity details', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-04-22T09:33:59.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-04-18T04:09:58.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventDetail'], + ], + ], + 'ramActions' => [ [ - 'name' => 'RuleId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the sensitive data detection rule that the table hits. You can call the [DescribeRules](~~DescribeRules~~) operation to obtain the ID of the sensitive data detection rule.'."\n", - 'example' => '333322', - 'format' => 'int64', - 'required' => false, - 'type' => 'integer', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeEventDetail', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"69FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"Event\\": {\\n \\"DisplayName\\": \\"yundunsr\\",\\n \\"Status\\": 0,\\n \\"DealReason\\": \\"Anomaly confirmed\\\\n\\",\\n \\"UserId\\": 0,\\n \\"StatusName\\": \\"Pending\\",\\n \\"DealTime\\": 1611139155000,\\n \\"DealLoginName\\": \\"det1111\\",\\n \\"SubTypeName\\": \\"Anomalous volume of downloaded data\\\\n\\",\\n \\"Backed\\": false,\\n \\"DataInstance\\": \\"in-222***\\",\\n \\"EventTime\\": 1545829129000,\\n \\"LoginName\\": \\"det1111\\",\\n \\"SubTypeCode\\": \\"020008\\",\\n \\"LogDetail\\": \\"{\\\\\\"client_ip\\\\\\": [\\\\\\"106.11.XX.XX\\\\\\", \\\\\\"106.11.XX.XX\\\\\\", \\\\\\"106.11.XX.XX\\\\\\", \\\\\\"106.11.XX.XX\\\\\\", \\\\\\"106.11.XX.XX\\\\\\", \\\\\\"106.11.XX.XX\\\\\\", \\\\\\"106.11.XX.XX\\\\\\", \\\\\\"106.11.XX.XX\\\\\\", \\\\\\"106.11.XX.XX\\\\\\"], \\\\\\"start_time\\\\\\": \\\\\\"2020-05-10 00:00:01\\\\\\", \\\\\\"instance\\\\\\": [\\\\\\"omniscience-data\\\\\\", \\\\\\"punish-beaver-data\\\\\\"], \\\\\\"end_time\\\\\\": \\\\\\"2020-05-10 00:21:22\\\\\\", \\\\\\"client_ua\\\\\\": [\\\\\\"Java/1.8.0_152\\\\\\", \\\\\\"Java/1.8.0_92\\\\\\", \\\\\\"aliyun-sdk-java/2.0.0\\\\\\", \\\\\\"aliyun-sdk-java/2.8.0(Linux/4.9.151-015.ali3000.alios7.x86_64/amd64;1.8.0_152)\\\\\\"], \\\\\\"user_name\\\\\\": 1512222261295262}\\",\\n \\"TypeCode\\": \\"02\\",\\n \\"AlertTime\\": 1545829129000,\\n \\"DealUserId\\": 0,\\n \\"TypeName\\": \\"Anomalous data flow\\\\n\\",\\n \\"DealDisplayName\\": \\"yundunsr\\",\\n \\"Id\\": 52234,\\n \\"ProductCode\\": \\"MaxCompute\\",\\n \\"HandleInfoList\\": [\\n {\\n \\"Status\\": 1,\\n \\"EnableTime\\": 1611139155000,\\n \\"HandlerValue\\": 10,\\n \\"DisableTime\\": 1611139155000,\\n \\"HandlerName\\": \\"Remove from the whitelist\\\\n\\",\\n \\"HandlerType\\": \\"rds_security_ip\\",\\n \\"CurrentValue\\": \\"sddp-test2\\",\\n \\"Id\\": 11\\n }\\n ],\\n \\"Detail\\": {\\n \\"Content\\": [\\n {\\n \\"Label\\": \\"Anomaly description\\\\n\\",\\n \\"Value\\": \\"The account was used to access OSS from an unusual terminal whose IP address is 1.2.3.4 from 00:06:45 on September 9, 2019 to 00:57:37 on September 9, 2019.\\",\\n \\"Name\\": \\"daliaoyuncom\\"\\n }\\n ],\\n \\"Chart\\": [\\n {\\n \\"Type\\": \\"1\\",\\n \\"Label\\": \\"Baseline behavior chart\\\\n\\",\\n \\"XLabel\\": \\"Number of days\\\\n\\",\\n \\"YLabel\\": \\"Value\\",\\n \\"Data\\": {\\n \\"Y\\": [\\n \\"[1,2,3,...]\\"\\n ],\\n \\"X\\": [\\n \\"[test1,test2,...]\\"\\n ],\\n \\"Z\\": [\\n \\"[5,7,...]\\"\\n ]\\n },\\n \\"ChatType\\": 1,\\n \\"Name\\": \\"misskingm\\",\\n \\"ZLabel\\": \\"chart description\\"\\n }\\n ],\\n \\"ResourceInfo\\": [\\n {\\n \\"Label\\": \\"Risk\\",\\n \\"Value\\": \\"Based on the record of authentication by using an unusual terminal, an attacker may have obtained the access permission of the account, or an employee accessed data from a personal terminal.\\"\\n }\\n ]\\n },\\n \\"NewAlarm\\": true\\n }\\n}","type":"json"}]', + ], + 'DescribeEventTypes' => [ + 'summary' => 'Queries anomalous activity types.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the data asset to which the table belongs. You can call the [DescribeInstances](~~DescribeInstances~~) operation to obtain the ID of the data asset.'."\n", - 'example' => '1', - 'format' => 'int64', - 'required' => false, - 'type' => 'integer', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '82039', + 'abilityTreeNodes' => ['FEATUREsddpR2D59W', 'FEATUREsddpGH0F1O', 'FEATUREsddpCHNP1R'], + ], + 'parameters' => [ [ - 'name' => 'PackageId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the package to which the table belongs. You can call the [DescribePackages](~~DescribePackages~~) operation to obtain the ID of the package.'."\n", - 'example' => '555555', - 'format' => 'int64', - 'required' => false, - 'type' => 'integer', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh**: Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'ParentTypeId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Default value: 10.'."\n", - 'example' => '10', - 'format' => 'int32', - 'required' => false, - 'type' => 'integer', - ], + 'schema' => ['description' => 'The ID of the parent anomalous activity type to which the child anomalous activity type belongs. Valid values:'."\n" + ."\n" + .'- **01**: anomalous permission access.'."\n" + ."\n" + .'- **02**: anomalous data flow.'."\n" + ."\n" + .'- **03**: anomalous data operation.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '01', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number of the page to return. Default value: 1.'."\n", - 'example' => '1', - 'format' => 'int32', - 'required' => false, - 'type' => 'integer', - ], + 'schema' => ['description' => 'The resource type of the product. Valid values:'."\n" + ."\n" + .'- **1**: MaxCompute.'."\n" + ."\n" + .'- **2**: Object Storage Service (OSS).'."\n" + ."\n" + .'- **3**: AnalyticDB for MySQL.'."\n" + ."\n" + .'- **4**: Tablestore.'."\n" + ."\n" + .'- **5**. ApsaraDB RDS.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5', 'title' => ''], ], [ - 'name' => 'ServiceRegionId', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => 'The region in which DSC is activated. For more information, see [Supported regions](~~214257~~).'."\n", - 'example' => 'cn-hangzhou', - 'required' => false, - 'type' => 'string', - ], + 'schema' => ['description' => 'The status. Valid values:'."\n" + ."\n" + .'- **1**: active.'."\n" + ."\n" + .'- **2**: inactive.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'TemplateId', + 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the industry-specific rule template.'."\n", - 'example' => '1', - 'format' => 'int64', - 'required' => false, - 'type' => 'integer', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => 'The page number of the returned page.'."\n", - 'example' => '1', - 'format' => 'int32', - 'type' => 'integer', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', - 'type' => 'string', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'example' => '10', - 'format' => 'int32', - 'type' => 'integer', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'example' => '13', - 'format' => 'int32', - 'type' => 'integer', - ], - 'Items' => [ - 'description' => 'An array that consists of tables.'."\n", + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', 'title' => ''], + 'EventTypeList' => [ + 'description' => 'The list of anomalous activity types.'."\n" + ."\n" + .'> If ParentTypeId is empty, the parent anomalous activity types are returned. If ParentTypeId is not empty, the child anomalous activity types are returned.', + 'type' => 'array', 'items' => [ + 'description' => 'The details of the anomalous activity type.', + 'type' => 'object', 'properties' => [ - 'CreationTime' => [ - 'description' => 'The point in time when the table was created. Unit: milliseconds.'."\n", - 'example' => '1536751124000', - 'format' => 'int64', - 'type' => 'integer', - ], - 'Owner' => [ - 'description' => 'The Alibaba Cloud account to which the table belongs.'."\n", - 'example' => 'dtdep-239-******', - 'type' => 'string', - ], - 'SensitiveRatio' => [ - 'description' => 'The percentage of sensitive fields in the table.'."\n", - 'example' => '21%', - 'type' => 'string', - ], - 'TenantName' => [ - 'description' => 'The name of the tenant.'."\n", - 'example' => 'Tenant 1'."\n", - 'type' => 'string', - ], - 'RiskLevelId' => [ - 'description' => 'The sensitivity level of the table. Each sensitivity level ID corresponds to a sensitivity level name. Valid values:'."\n" - ."\n" - .'* **1**: N/A, which indicates that no sensitive data is detected.'."\n" - .'* **2**: S1, which indicates the low sensitivity level.'."\n" - .'* **3**: S2, which indicates the medium sensitivity level.'."\n" - .'* **4**: S3, which indicates the high sensitivity level.'."\n" - .'* **5**: S4, which indicates the highest sensitivity level.'."\n", - 'example' => '2', - 'format' => 'int64', - 'type' => 'integer', - ], - 'InstanceName' => [ - 'description' => 'The name of the data asset to which the table belongs.'."\n", - 'example' => 'Data Asset 1'."\n", - 'type' => 'string', - ], - 'ProductId' => [ - 'description' => 'The ID of the service to which the table belongs.'."\n", - 'example' => '1', - 'type' => 'string', - ], - 'Name' => [ - 'description' => 'The name of the table.'."\n", - 'example' => 'gxdata', - 'type' => 'string', - ], - 'InstanceId' => [ - 'description' => 'The ID of the data asset to which the table belongs.'."\n", - 'example' => '1', - 'format' => 'int64', - 'type' => 'integer', - ], - 'TotalCount' => [ - 'description' => 'The total number of fields in the table.'."\n", - 'example' => '1234', - 'format' => 'int32', - 'type' => 'integer', - ], - 'InstanceDescription' => [ - 'description' => 'The description of the data asset.'."\n", - 'example' => 'Description 1'."\n", - 'type' => 'string', - ], - 'Sensitive' => [ - 'description' => 'Indicates whether the table contains sensitive fields. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'example' => 'true', - 'type' => 'boolean', - ], - 'RiskLevelName' => [ - 'description' => 'The name of the sensitivity level for the table. Valid values:'."\n" - ."\n" - .'* **N/A**: indicates that no sensitive data is detected.'."\n" - .'* **S1**: indicates the low sensitivity level.'."\n" - .'* **S2**: indicates the medium sensitivity level.'."\n" - .'* **S3**: indicates the high sensitivity level.'."\n" - .'* **S4**: indicates the highest sensitivity level.'."\n", - 'example' => 'S2', - 'type' => 'string', - ], - 'SensitiveCount' => [ - 'description' => 'The total number of sensitive fields in the table.'."\n", - 'example' => '32', - 'format' => 'int32', - 'type' => 'integer', - ], - 'Id' => [ - 'description' => 'The ID of the table.'."\n", - 'example' => '222', - 'format' => 'int64', - 'type' => 'integer', - ], - 'ProductCode' => [ - 'description' => 'The name of the service to which the table belongs. Valid values include **MaxCompute, OSS, ADS, OTS, and RDS**. For more information about the types of data assets from which DSC can scan for sensitive data, see [Supported data assets](~~212906~~).'."\n", - 'example' => 'MaxCompute', - 'type' => 'string', - ], - 'RuleList' => [ - 'description' => 'The information about the sensitive data detection rules that are hit.'."\n", + 'Code' => ['description' => 'The code of the parent anomalous activity type.', 'type' => 'string', 'example' => '01', 'title' => ''], + 'Description' => ['description' => 'The description of the parent anomalous activity type.', 'type' => 'string', 'example' => 'Permission usage anomaly, ****', 'title' => ''], + 'Name' => ['description' => 'The name of the parent anomalous activity type.', 'type' => 'string', 'example' => 'Permission usage anomaly', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the parent anomalous activity type.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'SubTypeList' => [ + 'description' => 'The list of child anomalous activity types.', + 'type' => 'array', 'items' => [ + 'description' => 'The details of the child anomalous activity type.', + 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the rule.'."\n", - 'example' => 'Rule name'."\n", - 'type' => 'string', - ], - 'RiskLevelId' => [ - 'description' => 'The sensitivity level of the sensitive data that hits the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **1**: N/A, which indicates that no sensitive data is detected.'."\n" - .'* **2**: S1, which indicates the low sensitivity level.'."\n" - .'* **3**: S2, which indicates the medium sensitivity level.'."\n" - .'* **4**: S3, which indicates the high sensitivity level.'."\n" - .'* **5**: S4, which indicates the highest sensitivity level.'."\n", - 'example' => '1', - 'format' => 'int64', - 'type' => 'integer', - ], - 'Count' => [ - 'description' => 'The total number of rules.'."\n", - 'example' => '12', - 'format' => 'int64', - 'type' => 'integer', - ], + 'Status' => ['description' => 'The detection feature of Data Security Center (DSC) for the child anomalous activity type. Valid values:'."\n" + ."\n" + .'- **1**: enabled.'."\n" + ."\n" + .'- **0**: disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Description' => ['description' => 'The description of the child anomalous activity type.', 'type' => 'string', 'example' => 'Configuration error - MaxCompute sensitive project not protected,****', 'title' => ''], + 'ConfigContentType' => ['description' => 'The format of the rule item. Valid values:'."\n" + ."\n" + .'- **0**: numeric (such as a threshold).'."\n" + ."\n" + .'- **1**: text (such as an IP address).', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'EventHitCount' => ['description' => 'The number of times the rule is hit.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'ConfigValue' => ['description' => 'The configuration value.', 'type' => 'string', 'example' => '90', 'title' => ''], + 'ConfigCode' => ['description' => 'The configuration code.', 'type' => 'string', 'example' => '0100**', 'title' => ''], + 'Code' => ['description' => 'The code of the child anomalous activity type.', 'type' => 'string', 'example' => '020008', 'title' => ''], + 'ConfigDescription' => ['description' => 'The configuration description.', 'type' => 'string', 'example' => 'Permission idle period exceeds threshold: current threshold is defined as 7 natural days'."\n" + ."\n\n", 'title' => ''], + 'Name' => ['description' => 'The name of the child anomalous activity type.', 'type' => 'string', 'example' => 'Configuration error - MaxCompute sensitive project not protected', 'title' => ''], + 'AdaptedProduct' => ['description' => 'The products to which the rule applies, including MaxCompute, OSS, AnalyticDB for MySQL, Tablestore, and ApsaraDB RDS.', 'type' => 'string', 'example' => 'RDS', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the child anomalous activity type.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], ], - 'type' => 'object', + 'title' => '', + 'example' => '', ], - 'type' => 'array', + 'title' => '', + 'example' => '', ], ], - 'type' => 'object', + 'title' => '', + 'example' => '', ], - 'type' => 'array', + 'title' => '', + 'example' => '', ], ], - 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 13,\\n \\"Items\\": [\\n {\\n \\"CreationTime\\": 1536751124000,\\n \\"Owner\\": \\"dtdep-239-******\\",\\n \\"SensitiveRatio\\": \\"21%\\",\\n \\"TenantName\\": \\"租户1\\",\\n \\"RiskLevelId\\": 2,\\n \\"InstanceName\\": \\"实例1\\",\\n \\"ProductId\\": \\"1\\",\\n \\"Name\\": \\"gxdata\\",\\n \\"InstanceId\\": 1,\\n \\"TotalCount\\": 1234,\\n \\"InstanceDescription\\": \\"备注1\\",\\n \\"Sensitive\\": true,\\n \\"RiskLevelName\\": \\"S2\\",\\n \\"SensitiveCount\\": 32,\\n \\"Id\\": 222,\\n \\"ProductCode\\": \\"MaxCompute\\",\\n \\"RuleList\\": [\\n {\\n \\"Name\\": \\"规则名称\\",\\n \\"RiskLevelId\\": 1,\\n \\"Count\\": 12\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<TotalCount>13</TotalCount>\\n<PageSize>10</PageSize>\\n<RequestId>769FB3C1-F4C9-42DF-9B72-7077A8989C13</RequestId>\\n<CurrentPage>1</CurrentPage>\\n<Items>\\n <Owner>dtdep-239-******</Owner>\\n <ProductCode>MaxCompute</ProductCode>\\n <InstanceId>1</InstanceId>\\n <TenantName>租户1</TenantName>\\n <SensitiveRatio>21%</SensitiveRatio>\\n <ProductId>1</ProductId>\\n <RiskLevelId>2</RiskLevelId>\\n <Name>gxdata</Name>\\n <InstanceName>实例1</InstanceName>\\n <TotalCount>1234</TotalCount>\\n <CreationTime>1536751124000</CreationTime>\\n <Sensitive>true</Sensitive>\\n <RiskLevelName>最高风险等级</RiskLevelName>\\n <InstanceDescription>备注1</InstanceDescription>\\n <Id>222</Id>\\n <SensitiveCount>32</SensitiveCount>\\n <RuleList>\\n <Count>12</Count>\\n <RiskLevelId>1</RiskLevelId>\\n <Name>规则名称</Name>\\n </RuleList>\\n</Items>","errorExample":""}]', - 'description' => 'When you call the DescribeTables operation to query tables, you can specify parameters such as Name and RiskLevelId to filter tables.'."\n" - ."\n" - .'# Limits'."\n" - ."\n" - .'You can send up to 10 requests per second to call this operation by using your Alibaba Cloud account. If you send excessive requests, throttling is implemented, and your business may be affected.'."\n", + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"EventTypeList\\": [\\n {\\n \\"Code\\": \\"01\\",\\n \\"Description\\": \\"Permission usage anomaly, ****\\",\\n \\"Name\\": \\"Permission usage anomaly\\",\\n \\"Id\\": 1,\\n \\"SubTypeList\\": [\\n {\\n \\"Status\\": 1,\\n \\"Description\\": \\"Configuration error - MaxCompute sensitive project not protected,****\\",\\n \\"ConfigContentType\\": 1,\\n \\"EventHitCount\\": 2,\\n \\"ConfigValue\\": \\"90\\",\\n \\"ConfigCode\\": \\"0100**\\",\\n \\"Code\\": \\"020008\\",\\n \\"ConfigDescription\\": \\"Permission idle period exceeds threshold: current threshold is defined as 7 natural days\\\\n\\\\n\\\\n\\",\\n \\"Name\\": \\"Configuration error - MaxCompute sensitive project not protected\\",\\n \\"AdaptedProduct\\": \\"RDS\\",\\n \\"Id\\": 1\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeEventTypes', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - 'title' => 'DescribeTables', - ], - 'DescribeColumns' => [ - 'summary' => 'Queries data in the columns of the tables that Data Security Center (DSC) is authorized to access. The tables include the tables of MaxCompute and ApsaraDB RDS.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2024-03-25T07:35:03.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventTypes'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeEventTypes', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeEvents' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6145,713 +5607,494 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82001', - 'abilityTreeNodes' => [ - 'FEATUREsddp2VFD4T', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '82036', + 'abilityTreeNodes' => ['FEATUREsddpR2D59W', 'FEATUREsddpGH0F1O', 'FEATUREsddpCHNP1R'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" + 'description' => 'The language of the request and response. The default value is **zh\\_cn**. Valid values:'."\n" ."\n" - .'* **zh_cn**: Chinese'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => 'The search keyword. Fuzzy match is supported.'."\n" + .'- **zh\\_cn**: Chinese.'."\n" ."\n" - .'For example, if you enter **test**, all columns whose names contain **test** are retrieved.'."\n", + .'- **en\\_us**: English.', + 'enumValueTitles' => [], 'type' => 'string', 'required' => false, - 'example' => 'test', + 'example' => 'zh_cn', + 'title' => '', ], ], [ - 'name' => 'TableId', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the table to which the column belongs.'."\n" - ."\n" - .'> You can call the [DescribeTables](~~DescribeTables~~) operation to query the IDs of tables.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '11132334', - ], + 'schema' => ['description' => 'The unique ID of the anomalous activity.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '789026', 'title' => ''], ], [ - 'name' => 'RuleId', + 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the sensitive data detection rule that data in the column of the table hits.'."\n" - ."\n" - .'> You can call the [DescribeRules](~~DescribeRules~~) operation to query the IDs of sensitive data detection rules.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '11111', - ], + 'schema' => ['description' => 'The ID of the account that performed the operation that triggered the anomalous activity.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1978132506596***', 'title' => ''], ], [ - 'name' => 'ProductCode', + 'name' => 'DealUserId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the service to which data in the column of the table belongs. Valid values include **MaxCompute, OSS, ADS, OTS, and RDS**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MaxCompute', - ], + 'schema' => ['description' => 'The ID of the account that handled the anomalous activity.', 'type' => 'string', 'required' => false, 'example' => 'yundun-***', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance to which data in the column of the table belongs.'."\n" - ."\n" - .'> You can call the [DescribeInstances](~~DescribeRules~~) operation to query the IDs of instances.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The processing status of the anomalous activity.'."\n" + ."\n" + .'- 0: Unhandled.'."\n" + ."\n" + .'- 1: Confirmed.'."\n" + ."\n" + .'- 2: Dismissed.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'InstanceName', + 'name' => 'TypeCode', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the instance to which data in the column of the table belongs.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rm-bp17t1htja573l5i8****', - ], + 'schema' => ['description' => 'The code of the parent type of the anomalous activity.'."\n" + ."\n" + .'- 01: Anomalous permission access.'."\n" + ."\n" + .'- 02: Anomalous data flow.'."\n" + ."\n" + .'- 03: Anomalous data operation.', 'type' => 'string', 'required' => false, 'example' => '02', 'title' => ''], ], [ - 'name' => 'TableName', + 'name' => 'SubTypeCode', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the table.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'it_table', - ], + 'schema' => ['description' => 'The name of the child type of the anomalous activity.'."\n" + ."\n" + .'> To query anomalous activities by the child type name, call the **DescribeEventTypes** operation to get the name.', 'type' => 'string', 'required' => false, 'example' => 'Abnormal data download volume', 'title' => ''], ], [ - 'name' => 'RuleName', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the sensitive data detection rule that data in the column of the table hits.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ID card number (the Chinese mainland)'."\n", - ], + 'schema' => ['description' => 'The time when the anomalous activity occurred. This is the start time of the detection. The value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1657900000', 'title' => ''], ], [ - 'name' => 'SensLevelName', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the sensitivity level of the data that hits the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **N/A**: No sensitive data is detected.'."\n" - .'* **S1**: indicates the low sensitivity level.'."\n" - .'* **S2**: indicates the medium sensitivity level.'."\n" - .'* **S3**: indicates the high sensitivity level.'."\n" - .'* **S4**: indicates the highest sensitivity level.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'S2', - ], + 'schema' => ['description' => 'The time when the detection of the anomalous activity ended. The value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1698700000', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12', 'title' => ''], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The page number of the page to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'RiskLevelId', + 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => 'The sensitivity level of the sensitive data that hits the sensitive data detection rule. Valid values:'."\n" - ."\n" - .'* **1**: N/A'."\n" - .'* **2**: S1'."\n" - .'* **3**: S2'."\n" - .'* **4**: S3'."\n" - .'* **5**: S4'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The name of the data asset instance.', 'type' => 'string', 'required' => false, 'example' => 'rm-uf6yzvbc2tg90iuxk.l****', 'title' => ''], ], [ - 'name' => 'TemplateRuleId', + 'name' => 'ProductCode', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the template rule that is hit.'."\n" - ."\n" - .'> You can call the [DescribeCategoryTemplateRuleList](~~410143~~) operation to obtain the IDs of hit template rules.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1542', - ], + 'schema' => ['description' => 'The service to which the data asset belongs. Valid values include MaxCompute, OSS, ADS, OTS, and **RDS**.', 'type' => 'string', 'required' => false, 'example' => 'OSS', 'title' => ''], ], [ - 'name' => 'EngineType', - 'in' => 'query', - 'schema' => [ - 'description' => 'The engine type. Valid values:'."\n" - ."\n" - .'* **MySQL**'."\n" - .'* **MariaDB**'."\n" - .'* **Oracle**'."\n" - .'* **PostgreSQL**'."\n" - .'* **SQLServer**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'MySQL', - ], - ], - [ - 'name' => 'ProductId', + 'name' => 'TargetProductCode', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the service to which the data object belongs. Valid values:'."\n" - ."\n" - .'* **1**: MaxCompute'."\n" - .'* **2**: Object Storage Service (OSS)'."\n" - .'* **3**: AnalyticDB for MySQL'."\n" - .'* **4**: Tablestore (OTS)'."\n" - .'* **5**: ApsaraDB RDS'."\n" - .'* **6**: self-managed database'."\n" - .'* **7**: PolarDB for Xscale (PolarDB-X)'."\n" - .'* **8**: PolarDB'."\n" - .'* **9**: AnalyticDB for PostgreSQL'."\n" - .'* **10**: ApsaraDB for OceanBase'."\n" - .'* **11**: ApsaraDB for MongoDB'."\n" - .'* **25**: ApsaraDB for Redis'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '5', - ], + 'schema' => ['description' => 'The destination service for an anomalous data flow event. Valid values include MaxCompute, OSS, ADS, OTS, and **RDS**.', 'type' => 'string', 'required' => false, 'example' => 'RDS', 'title' => ''], ], [ - 'name' => 'ModelTagId', + 'name' => 'UserName', 'in' => 'query', - 'schema' => [ - 'description' => 'The data tag.'."\n" - ."\n" - .'* 101: personal sensitive information'."\n" - .'* 102: personal information'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '101', - ], + 'schema' => ['description' => 'The username of the RAM user.', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''], ], [ - 'name' => 'TemplateId', + 'name' => 'WarnLevel', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the industry-specific classification template.'."\n" - ."\n" - .'> You can call the [DescribeCategoryTemplateList](~~2399296~~) operation to obtain the IDs of industry-specific classification templates.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '5', - ], + 'schema' => ['description' => 'The risk level of the anomalous activity.'."\n" + ."\n" + .'- **1**: Low.'."\n" + ."\n" + .'- **2**: Medium.'."\n" + ."\n" + .'- **3**: High.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '769FB3C1-F4C9-4******', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], + 'CurrentPage' => ['description' => 'The page number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], 'Items' => [ - 'description' => 'The data in the columns of the table.'."\n", + 'description' => 'A list of anomalous activities.', 'type' => 'array', 'items' => [ + 'description' => 'An anomalous activity object.', 'type' => 'object', 'properties' => [ - 'CreationTime' => [ - 'description' => 'The time when the data in the column of the table is created. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1536751124000', - ], - 'TableName' => [ - 'description' => 'The name of the table to which the revised column belongs.'."\n", - 'type' => 'string', - 'example' => 'it_table', - ], - 'DataType' => [ - 'description' => 'The type of data in the column of the table.'."\n", - 'type' => 'string', - 'example' => 'String', - ], - 'OdpsRiskLevelValue' => [ - 'description' => 'The ID of the sensitivity level of the asset. Valid values:'."\n" - ."\n" - .'* **1**: N/A'."\n" - .'* **2**: S1'."\n" - .'* **3**: S2'."\n" - .'* **4**: S3'."\n" - .'* **5**: S4'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance to which data in the column of the table belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RiskLevelId' => [ - 'description' => 'The ID of the sensitivity level of data in the column of the table. Valid values:'."\n" - ."\n" - .'* **1**: N/A'."\n" - .'* **2**: S1'."\n" - .'* **3**: S2'."\n" - .'* **4**: S3'."\n" - .'* **5**: S4'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'RuleName' => [ - 'description' => 'The name of the sensitive data detection rule that data in the column of the table hits.'."\n", - 'type' => 'string', - 'example' => '\\*\\* rule'."\n", - ], - 'RuleId' => [ - 'description' => 'The ID of the sensitive data detection rule that data in the column of the table hits.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Sensitive' => [ - 'description' => 'Indicates whether the column contains sensitive data. Valid values:'."\n" - ."\n" - .'* true'."\n" - .'* false'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'SensLevelName' => [ - 'description' => 'The name of the sensitivity level. Valid values:'."\n" - ."\n" - .'* **N/A**: indicates that no sensitive data is detected.'."\n" - .'* **S1**: indicates the low sensitivity level.'."\n" - .'* **S2**: indicates the medium sensitivity level.'."\n" - .'* **S3**: indicates the high sensitivity level.'."\n" - .'* **S4**: indicates the highest sensitivity level.'."\n", - 'type' => 'string', - 'example' => 'S2', - ], - 'InstanceName' => [ - 'description' => 'The name of the instance to which data in the column of the table belongs.'."\n", - 'type' => 'string', - 'example' => 'rm-bp17t1htja573l5i8****', - ], - 'RiskLevelName' => [ - 'description' => 'The name of the sensitivity level for data in the column of the table. Valid values:'."\n" - ."\n" - .'* **N/A**: indicates that no sensitive data is detected.'."\n" - .'* **S1**: indicates the low sensitivity level.'."\n" - .'* **S2**: indicates the medium sensitivity level.'."\n" - .'* **S3**: indicates the high sensitivity level.'."\n" - .'* **S4**: indicates the highest sensitivity level.'."\n", - 'type' => 'string', - 'example' => 'S2', - ], - 'OdpsRiskLevelName' => [ - 'description' => 'The name of the sensitivity level for asset. Valid values:'."\n" - ."\n" - .'* **N/A**: indicates that no sensitive data is detected.'."\n" - .'* **S1**: indicates the low sensitivity level.'."\n" - .'* **S2**: indicates the medium sensitivity level.'."\n" - .'* **S3**: indicates the high sensitivity level.'."\n" - .'* **S4**: indicates the highest sensitivity level.'."\n", - 'type' => 'string', - 'example' => 'S3', - ], - 'Name' => [ - 'description' => 'The name of the column of the table.'."\n", - 'type' => 'string', - 'example' => 'gxdata', - ], - 'TableId' => [ - 'description' => 'The ID of the table.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Id' => [ - 'description' => 'The ID of the column of the table.'."\n", - 'type' => 'string', - 'example' => '268', - ], - 'ProductCode' => [ - 'description' => 'The name of the service to which data in the column of the table belongs. Valid values include **MaxCompute, OSS, ADS, OTS, and RDS**.'."\n", - 'type' => 'string', - 'example' => 'MaxCompute', - ], - 'RevisionStatus' => [ - 'description' => 'Indicates whether the column is revised. Valid values:'."\n" - ."\n" - .'* 1: yes'."\n" - .'* 0: no'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RevisionId' => [ - 'description' => 'The ID of the revision record.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'ModelTags' => [ - 'description' => 'A list of tags for data that hits the recognition model.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'The tag ID.'."\n" - ."\n" - .'* **101**: sensitive personal information'."\n" - .'* **102**: personal information'."\n" - .'* **103**: important information'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '101', - ], - 'Name' => [ - 'description' => 'The tag name.'."\n" - ."\n" - .'* Sensitive personal information'."\n" - .'* Personal information'."\n" - .'* Important information'."\n", - 'type' => 'string', - 'example' => 'personal sensitive data', - ], - ], - ], - ], - 'RegionId' => [ - 'description' => 'The region in which the asset resides.'."\n", - 'type' => 'string', - 'example' => 'cn-***', - ], - 'EngineType' => [ - 'description' => 'The type of the database engine.'."\n", - 'type' => 'string', - 'example' => 'MySQL', - ], - 'MaskingStatus' => [ - 'description' => 'The column encryption status. Valid values:'."\n" - ."\n" - .'* **-1**: unencrypted'."\n" - .'* **1**: encrypted'."\n" - .'* **2**: encryption failed'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '-1', - ], - 'ProductId' => [ - 'description' => 'The ID of the service to which the data object belongs. Valid values:'."\n" - ."\n" - .'* **1**: MaxCompute'."\n" - .'* **2**: Object Storage Service (OSS)'."\n" - .'* **3**: AnalyticDB for MySQL'."\n" - .'* **4**: Tablestore (OTS)'."\n" - .'* **5**: ApsaraDB RDS'."\n" - .'* **6**: self-managed database'."\n" - .'* **7**: PolarDB for Xscale (PolarDB-X)'."\n" - .'* **8**: PolarDB'."\n" - .'* **9**: AnalyticDB for PostgreSQL'."\n" - .'* **10**: ApsaraDB for OceanBase'."\n" - .'* **11**: ApsaraDB for MongoDB'."\n" - .'* **25**: ApsaraDB for Redis'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], + 'DisplayName' => ['description' => 'The display name of the account that performed the operation.', 'type' => 'string', 'example' => 'yundunsr', 'title' => ''], + 'Status' => ['description' => 'The processing status of the anomalous activity.'."\n" + ."\n" + .'- 0: Unhandled.'."\n" + ."\n" + .'- 1: Confirmed.'."\n" + ."\n" + .'- 2: Dismissed.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'WarnLevel' => ['description' => 'The risk level of the anomalous activity.'."\n" + ."\n" + .'- **1**: Low.'."\n" + ."\n" + .'- **2**: Medium.'."\n" + ."\n" + .'- **3**: High.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'UserId' => ['description' => 'The ID of the account that performed the operation.', 'type' => 'integer', 'format' => 'int64', 'example' => '1978132506596***', 'title' => ''], + 'StatusName' => ['description' => 'The name of the processing status.', 'type' => 'string', 'example' => 'Pending', 'title' => ''], + 'DealTime' => ['description' => 'The time when the anomalous activity was handled. The value is a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '12223300', 'title' => ''], + 'DealLoginName' => ['description' => 'The logon name of the account that handled the anomalous activity.', 'type' => 'string', 'example' => 'det1111', 'title' => ''], + 'SubTypeName' => ['description' => 'The name of the child type of the anomalous activity.', 'type' => 'string', 'example' => 'Abnormal data download volume', 'title' => ''], + 'Backed' => ['description' => 'Indicates whether enhanced detection is enabled for the anomalous activity. Enhanced detection improves detection accuracy and the alert reporting rate.'."\n" + ."\n" + .'- true: Enhanced detection is enabled.'."\n" + ."\n" + .'- false: Enhanced detection is disabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'EventTime' => ['description' => 'The time when the anomalous activity occurred. The value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1545829129000', 'title' => ''], + 'LoginName' => ['description' => 'The logon name of the account that performed the operation.', 'type' => 'string', 'example' => 'det1111', 'title' => ''], + 'SubTypeCode' => ['description' => 'The code of the child type of the anomalous activity.', 'type' => 'string', 'example' => '020008', 'title' => ''], + 'TargetProductCode' => ['description' => 'The destination service for the anomalous data flow event.', 'type' => 'string', 'example' => 'RDS', 'title' => ''], + 'TypeCode' => ['description' => 'The code of the parent type of the anomalous activity.', 'type' => 'string', 'example' => '02', 'title' => ''], + 'AlertTime' => ['description' => 'The time when an alert was generated for the anomalous activity. The value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '154529000', 'title' => ''], + 'DealUserId' => ['description' => 'The ID of the account that handled the anomalous activity.', 'type' => 'integer', 'format' => 'int64', 'example' => '229157443385014***', 'title' => ''], + 'TypeName' => ['description' => 'The name of the parent type of the anomalous activity.', 'type' => 'string', 'example' => 'Abnormal data flow', 'title' => ''], + 'DealDisplayName' => ['description' => 'The display name of the account that handled the anomalous activity.', 'type' => 'string', 'example' => 'yundunsr', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the anomalous activity that is recorded in Data Security Center (DSC).', 'type' => 'integer', 'format' => 'int64', 'example' => '42233335555', 'title' => ''], + 'ProductCode' => ['description' => 'The service to which the anomalous activity belongs.', 'type' => 'string', 'example' => 'RDS', 'title' => ''], ], - 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], - 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-4******\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 12,\\n \\"Items\\": [\\n {\\n \\"CreationTime\\": 1536751124000,\\n \\"TableName\\": \\"it_table\\",\\n \\"DataType\\": \\"String\\",\\n \\"OdpsRiskLevelValue\\": 3,\\n \\"InstanceId\\": 1,\\n \\"RiskLevelId\\": 2,\\n \\"RuleName\\": \\"name\\",\\n \\"RuleId\\": 1,\\n \\"Sensitive\\": false,\\n \\"SensLevelName\\": \\"S2\\",\\n \\"InstanceName\\": \\"rm-bp17t1htja573l5i8****\\",\\n \\"RiskLevelName\\": \\"S2\\",\\n \\"OdpsRiskLevelName\\": \\"S3\\",\\n \\"Name\\": \\"gxdata\\",\\n \\"TableId\\": 123,\\n \\"Id\\": \\"268\\",\\n \\"ProductCode\\": \\"MaxCompute\\",\\n \\"RevisionStatus\\": 1,\\n \\"RevisionId\\": 12,\\n \\"ModelTags\\": [\\n {\\n \\"Id\\": 101,\\n \\"Name\\": \\"personal sensitive data\\"\\n }\\n ],\\n \\"RegionId\\": \\"cn-***\\",\\n \\"EngineType\\": \\"MySQL\\",\\n \\"MaskingStatus\\": -1,\\n \\"ProductId\\": 5\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeColumnsResponse>\\r\\n\\t<RequestId>769FB3C1-F4C9-4******</RequestId>\\r\\n\\t<TotalCount>4</TotalCount>\\r\\n\\t<PageSize>10</PageSize>\\r\\n\\t<CurrentPage>1</CurrentPage>\\r\\n\\t<Items>\\r\\n\\t\\t<Owner>dtdep-239-***</Owner>\\r\\n\\t\\t<ProductCode>RDS</ProductCode>\\r\\n\\t\\t<RiskLevelId>2</RiskLevelId>\\r\\n\\t\\t<RiskLevelName>S2</RiskLevelName>\\r\\n\\t\\t<DepartName>***DemoCenter</DepartName>\\r\\n\\t\\t<Name>gxdata</Name>\\r\\n\\t\\t<CreationTime>1536751124000</CreationTime>\\r\\n\\t\\t<Sensitive>true</Sensitive>\\r\\n\\t\\t<Id>268</Id>\\r\\n\\t\\t<RuleId>1</RuleId>\\r\\n\\t\\t<RuleName>**规则</RuleName>\\r\\n\\t\\t<InstanceId>1</InstanceId>\\r\\n\\t\\t<TableId>123</TableId>\\r\\n\\t</Items>\\r\\n</DescribeColumnsResponse>\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribeColumns', - 'description' => 'You can call this operation to query the data in columns of a table that may contain sensitive data. This helps you analyze sensitive data.'."\n" - ."\n" - .'## [](#)Precautions'."\n" - ."\n" - .'The DescribeColumns operation is changed to DescribeColumnsV2. We recommend that you call the DescribeColumnsV2 operation when you develop your applications.'."\n" + 'title' => 'DescribeEvents', + 'summary' => 'Lists anomalous events.', + 'description' => 'This operation queries alerts for data breach risks to help you find and handle them.'."\n" ."\n" - .'## [](#qps)Limits'."\n" + .'## QPS limits'."\n" ."\n" - .'Each Alibaba Cloud account can call this operation up to 10 times per second. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", + .'The queries per second (QPS) limit for this operation is 10 for each user. If you exceed the limit, your API calls are throttled. This may affect your business. Plan your API calls accordingly.', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeColumnsV2' => [ - 'summary' => 'Query data in columns of data assets such as MaxCompute, RDS, etc., that are authorized by the Data Security Center.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2024-01-16T03:33:30.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:18.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEvents'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeEvents', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"PageSize\\": 12,\\n \\"TotalCount\\": 1,\\n \\"Items\\": [\\n {\\n \\"DisplayName\\": \\"yundunsr\\",\\n \\"Status\\": 0,\\n \\"WarnLevel\\": 2,\\n \\"UserId\\": 0,\\n \\"StatusName\\": \\"Pending\\",\\n \\"DealTime\\": 12223300,\\n \\"DealLoginName\\": \\"det1111\\",\\n \\"SubTypeName\\": \\"Abnormal data download volume\\",\\n \\"Backed\\": false,\\n \\"EventTime\\": 1545829129000,\\n \\"LoginName\\": \\"det1111\\",\\n \\"SubTypeCode\\": \\"020008\\",\\n \\"TargetProductCode\\": \\"RDS\\",\\n \\"TypeCode\\": \\"02\\",\\n \\"AlertTime\\": 154529000,\\n \\"DealUserId\\": 0,\\n \\"TypeName\\": \\"Abnormal data flow\\",\\n \\"DealDisplayName\\": \\"yundunsr\\",\\n \\"Id\\": 42233335555,\\n \\"ProductCode\\": \\"RDS\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeIdentifyTaskStatus' => [ + 'summary' => 'Queries the completion status of a detection task by task ID. You can obtain the task ID from the ID field in the response of the CreateScanTask or ScanOssObjectV1 operation.', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsddp2VFD4T', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '240902', + 'abilityTreeNodes' => ['FEATUREsddpXMFUF8'], ], 'parameters' => [ [ + 'name' => 'Id', + 'in' => 'query', + 'schema' => ['description' => 'The task ID. You can obtain the task ID from the ID field in the response of the CreateScanTask or ScanOssObjectV1 operation.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '268', 'title' => ''], + ], + [ 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => 'The language of the request and response. Default value: **zh_cn**. Valid values:'."\n" + .'- **zh_cn**: Simplified Chinese.'."\n" + .'- **en_us**: English (US).', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'Sets the language type for requests and received messages, default is **zh_cn**.'."\n" - .'Values:'."\n" - ."\n" - .'- **zh_cn**: Simplified Chinese'."\n" - .'- **en_us**: English (United States)', - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => 'The ID of the request, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '71064826-726F-4ADA-B879-05D8055476FB'], + 'Content' => [ + 'description' => 'The detection task status.', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'The running status of the task. Valid values:'."\n" + .'- 0: not started.'."\n" + .'- 1: running.'."\n" + .'- 2: paused.'."\n" + .'- 3: stopped.'."\n" + .'- 200: completed.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'title' => 'Query detection task status', + 'description' => '## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIdentifyTaskStatus'], + ], + ], + 'ramActions' => [ [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'description' => 'Search keyword, supports fuzzy matching.'."\n" - ."\n" - .'For example, entering **test** will search for all data information containing **test** in the search items.', - 'type' => 'string', - 'required' => false, - 'example' => 'test', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeIdentifyTaskStatus', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"71064826-726F-4ADA-B879-05D8055476FB\\",\\n \\"Content\\": {\\n \\"Status\\": 200\\n }\\n}","type":"json"}]', + ], + 'DescribeInstanceSources' => [ + 'summary' => 'Queries a list of data assets.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'TableId', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '82049', + 'abilityTreeNodes' => ['FEATUREsddp2CRSZ1'], + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'Unique identifier ID of the asset table to which the column in MaxCompute, RDS, etc., belongs.'."\n" - ."\n" - .'> Query the data in the columns of the data assets authorized by the Data Security Center based on the ID of the asset table. The asset table ID can be obtained by calling the [DescribeTables](~~141709~~) interface.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '11132334', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh\\_cn**: Simplified Chinese. This is the default value.'."\n" + ."\n" + .'- **en\\_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ - 'name' => 'RuleId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'Unique identifier ID of the sensitive data recognition rule hit by the column data in the asset table.'."\n" - ."\n" - .'> Query the data in the columns of the data assets authorized by the Data Security Center based on the ID of the sensitive data recognition rule hit by the column data in the asset table. The sensitive data recognition rule ID can be obtained by calling the [DescribeRules](~~141389~~) interface.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '11122200', - ], + 'schema' => ['description' => 'The number of entries per page in a paginated query. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'ProductCode', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'Product name to which the column data in the data asset table belongs. Values: **MaxCompute, OSS, ADS, OTS, RDS**, etc.', - 'type' => 'string', - 'required' => false, - 'example' => 'MaxCompute', - ], + 'schema' => ['description' => 'The page number. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'ServiceRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'ID of the asset instance to which the column data in the data asset table belongs.'."\n" - ."\n" - .'> Query the data in the columns of the data assets authorized by the Data Security Center based on the ID of the asset instance to which the column data in the data asset table belongs. The asset instance ID can be obtained by calling the [DescribeInstances](~~141708~~) interface.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The region where the asset is located. For more information, see [Supported regions](~~214257~~).', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'InstanceName', + 'name' => 'EngineType', 'in' => 'query', - 'schema' => [ - 'description' => 'Name of the asset instance to which the column data in the data asset table belongs.', - 'type' => 'string', - 'required' => false, - 'example' => 'rm-bp17t1htja573l5i8****', - ], + 'schema' => ['description' => 'The database engine type. Valid values:'."\n" + ."\n" + .'- **MySQL**'."\n" + ."\n" + .'- **MariaDB**'."\n" + ."\n" + .'- **Oracle**'."\n" + ."\n" + .'- **PostgreSQL**'."\n" + ."\n" + .'- **SQLServer**', 'type' => 'string', 'required' => false, 'example' => 'MySQL', 'title' => ''], ], [ - 'name' => 'TableName', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'Name of the data asset table.', - 'type' => 'string', - 'required' => false, - 'example' => 'it_table', - ], + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'instance-demo-****', 'title' => ''], ], [ - 'name' => 'RuleName', + 'name' => 'ProductId', 'in' => 'query', - 'schema' => [ - 'description' => 'Name of the sensitive data recognition rule hit by the column data in the data asset table.', - 'type' => 'string', - 'required' => false, - 'example' => 'name', - ], + 'schema' => ['description' => 'The product type ID to query. Valid values:'."\n" + ."\n" + .'- **1**: MaxCompute'."\n" + ."\n" + .'- **2**: OSS'."\n" + ."\n" + .'- **3**: ADS'."\n" + ."\n" + .'- **4**: OTS'."\n" + ."\n" + .'- **5**: RDS'."\n" + ."\n" + .'- **6**: SELF\\_DB', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'SensLevelName', + 'name' => 'ProductCode', 'in' => 'query', - 'schema' => [ - 'description' => 'Sensitive level name. Values:'."\n" - .'- **N/A**: No sensitive data detected.'."\n" - .'- **S1**: Level 1 sensitive data.'."\n" - .'- **S2**: Level 2 sensitive data.'."\n" - .'- **S3**: Level 3 sensitive data.'."\n" - .'- **S4**: Level 4 sensitive data.', - 'type' => 'string', - 'required' => false, - 'example' => 'S2', - ], + 'schema' => ['description' => 'The name of the product to query. Valid values: MaxCompute, OSS, ADS, OTS, and RDS.', 'type' => 'string', 'required' => false, 'example' => 'MaxCompute', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'AuditStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'When performing a paginated query, sets the maximum number of data asset instances displayed per page. Default value: **10**.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The audit status. Valid values:'."\n" + ."\n" + .'- **1**: Auditing is enabled.'."\n" + ."\n" + .'- **0**: Auditing is disabled.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'SearchType', 'in' => 'query', - 'schema' => [ - 'description' => 'When performing a paginated query, sets the current page number. Default value: **1**.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The type of the fuzzy search for data assets. Valid values:'."\n" + ."\n" + .'- **InstanceId**: The instance ID.'."\n" + ."\n" + .'- **InstanceName**: The instance name.'."\n" + ."\n" + .'- **DatabaseName**: The database name.', 'type' => 'string', 'required' => false, 'example' => 'InstanceId', 'title' => ''], ], [ - 'name' => 'RiskLevelId', + 'name' => 'SearchKey', 'in' => 'query', - 'schema' => [ - 'description' => 'Risk level ID of the sensitive data recognition rule. Values:'."\n" - .'- **1**: N/A.'."\n" - .'- **2**: S1.'."\n" - .'- **3**: S2.'."\n" - .'- **4**: S3.'."\n" - .'- **5**: S4.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The keyword for the fuzzy search of data assets.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'EngineType', + 'name' => 'AuthStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'Engine type. Values:'."\n" - .'- **MySQL**.'."\n" - .'- **MariaDB**.'."\n" - .'- **Oracle**.'."\n" - .'- **PostgreSQL**.'."\n" - .'- **SQLServer**.', - 'type' => 'string', - 'required' => false, - 'example' => 'MySQL', - ], + 'schema' => ['description' => 'The authorization status of the data asset instance.'."\n" + ."\n" + .'- **0**: Unauthorized.'."\n" + ."\n" + .'- **1**: Authorized.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'FeatureType', + 'in' => 'query', + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -6859,264 +6102,152 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => 'When performing a paginated query, sets the current page number. Default value: **1**.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The unique identifier generated by Alibaba Cloud for this request.', - 'type' => 'string', - 'example' => 'B1F2BB1F-04EC-5D36-B136-B4DE17FD8DE0', - ], - 'PageSize' => [ - 'description' => 'When performing a paginated query, sets the maximum number of data asset instances displayed per page. Default value: **10**.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'Total number of data entries in the result.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], + 'CurrentPage' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '5A7E8FB9-5011-5A90-97D9-AE587047****', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of assets.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], 'Items' => [ - 'description' => 'List of recognition results for the columns in the data table.', + 'description' => 'A list of assets.', 'type' => 'array', 'items' => [ - 'description' => 'Recognition result object for the columns in the data table.', + 'description' => 'A list of assets.', 'type' => 'object', 'properties' => [ - 'CreationTime' => [ - 'description' => 'The creation time of the column data in the data asset table, in milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1536751124000', - ], - 'TableName' => [ - 'description' => 'The name of the table to which the target column for correction belongs.', - 'type' => 'string', - 'example' => 'it_table', - ], - 'DataType' => [ - 'description' => 'The data type of the column data in the data asset table.', - 'type' => 'string', - 'example' => 'varchar', - ], - 'OdpsRiskLevelValue' => [ - 'description' => 'The risk level code of the asset. Values:'."\n" - ."\n" - .'- **1**: N/A.'."\n" - .'- **2**: S1.'."\n" - .'- **3**: S2.'."\n" - .'- **4**: S3.'."\n" - .'- **5**: S4.'."\n" - ."\n" - .'> A return value <= 1 represents N/A.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'InstanceId' => [ - 'description' => 'The ID of the asset instance to which the column data in the data asset table belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1232122', - ], - 'RiskLevelId' => [ - 'description' => 'The risk level ID of the column data in the data asset table. Values:'."\n" - .'- **1**: N/A.'."\n" - .'- **2**: S1.'."\n" - .'- **3**: S2.'."\n" - .'- **4**: S3.'."\n" - .'- **5**: S4.'."\n" - ."\n" - .'> A return value <= 1 represents N/A.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4', - ], - 'RuleName' => [ - 'description' => 'The name of the sensitive data recognition rule that the column data in the data asset table hits.', - 'type' => 'string', - 'example' => 'name', - ], - 'RuleId' => [ - 'description' => 'The ID of the sensitive data recognition rule that the column data in the data asset table hits.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1004', - ], - 'Sensitive' => [ - 'description' => 'Whether the column data in the data asset table contains sensitive data. Values:'."\n" - ."\n" - .'- true: The column data in the data asset table contains sensitive data.'."\n" - .'- false: The column data in the data asset table does not contain sensitive data.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'SensLevelName' => [ - 'description' => 'The sensitivity level name. Values:'."\n" - .'- **N/A**: No sensitive data detected.'."\n" - .'- **S1**: Level 1 sensitive data.'."\n" - .'- **S2**: Level 2 sensitive data.'."\n" - .'- **S3**: Level 3 sensitive data.'."\n" - .'- **S4**: Level 4 sensitive data.', - 'type' => 'string', - 'example' => 'S2', - ], - 'InstanceName' => [ - 'description' => 'The name of the asset instance to which the column data in the data asset table belongs.', - 'type' => 'string', - 'example' => 'rm-1234', - ], - 'RiskLevelName' => [ - 'description' => 'The risk level name of the column data in the data asset table. Values:'."\n" - .'- **N/A**: No sensitive data detected.'."\n" - .'- **S1**: Level 1 sensitive data.'."\n" - .'- **S2**: Level 2 sensitive data.'."\n" - .'- **S3**: Level 3 sensitive data.'."\n" - .'- **S4**: Level 4 sensitive data.', - 'type' => 'string', - 'example' => 'S1', - ], - 'OdpsRiskLevelName' => [ - 'description' => 'The risk level name of the asset. Values:'."\n" - .'- **N/A**: No sensitive data detected.'."\n" - .'- **S1**: Level 1 sensitive data.'."\n" - .'- **S2**: Level 2 sensitive data.'."\n" - .'- **S3**: Level 3 sensitive data.'."\n" - .'- **S4**: Level 4 sensitive data.', - 'type' => 'string', - 'example' => 'S4', - ], - 'Name' => [ - 'description' => 'The name of the column in the data asset table.', - 'type' => 'string', - 'example' => 'obj_id', - ], - 'TableId' => [ - 'description' => 'The ID of the asset table to which the column data in the data asset table belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'Id' => [ - 'description' => 'The unique identifier ID of the column in the data asset table.', - 'type' => 'string', - 'example' => '111111', - ], - 'ProductCode' => [ - 'description' => 'The product name to which the column data in the data asset table belongs. Values: **MaxCompute, OSS, ADS, OTS, RDS**, etc.', - 'type' => 'string', - 'example' => 'RDS', - ], - 'RevisionStatus' => [ - 'description' => 'Correction status. Values:'."\n" - .'- 1: Corrected.'."\n" - .'- 0: Not corrected.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RevisionId' => [ - 'description' => 'Correction record ID.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'ModelTags' => [ - 'description' => 'Data tag list.', - 'type' => 'array', - 'items' => [ - 'description' => 'Data tag object.', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'Data tag ID. Values:'."\n" - .'- **101**: Personal sensitive information'."\n" - .'- **102**: Personal information'."\n" - .'- **107**: General information', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '101', - ], - 'Name' => [ - 'description' => 'Data tag name. Values:'."\n" - .'- Personal sensitive information'."\n" - .'- Personal information'."\n" - .'- General information', - 'type' => 'string', - 'example' => 'personal sensitive information', - ], - ], - ], - ], - 'EngineType' => [ - 'description' => 'Engine type. Values:'."\n" - .'- **MySQL**'."\n" - .'- **MariaDB**'."\n" - .'- **Oracle**'."\n" - .'- **PostgreSQL**'."\n" - .'- **SQLServer**', - 'type' => 'string', - 'example' => 'MySQL', - ], - 'MaskingStatus' => [ - 'description' => 'Column encryption status. Values:'."\n" - ."\n" - .'- **-1**: Not encrypted'."\n" - ."\n" - .'- **1**: Encryption successful'."\n" - ."\n" - .'- **2**: Encryption failed', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '-1', - ], - 'ProductId' => [ - 'description' => 'The ID corresponding to the product name of the data asset. Values:'."\n" - .'- **1**: MaxCompute'."\n" - .'- **2**: OSS'."\n" - .'- **3**: ADS'."\n" - .'- **4**: OTS'."\n" - .'- **5**: RDS'."\n" - .'- **6**: SELF_DB', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'RegionId' => [ - 'description' => 'The region where the asset is located.', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], + 'LastModifyUserId' => ['description' => 'The ID of the account that last modified the asset.', 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'PasswordStatus' => ['description' => 'The status of the password. Valid values:'."\n" + ."\n" + .'- **1**: In use.'."\n" + ."\n" + .'- **0**: Not in use.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'EngineType' => ['description' => 'The database engine type. Valid values:'."\n" + ."\n" + .'- **MySQL**'."\n" + ."\n" + .'- **MariaDB**'."\n" + ."\n" + .'- **Oracle**'."\n" + ."\n" + .'- **PostgreSQL**'."\n" + ."\n" + .'- **SQLServer**', 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'TenantName' => ['description' => 'The name of the tenant.', 'type' => 'string', 'example' => 'user1', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'rm-****', 'title' => ''], + 'InstanceDescription' => ['description' => 'The description of the instance.', 'type' => 'string', 'example' => 'instance test', 'title' => ''], + 'RegionId' => ['description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'DbName' => ['description' => 'The name of the database to which the asset belongs.', 'type' => 'string', 'example' => 'demo', 'title' => ''], + 'LastModifyTime' => ['description' => 'The timestamp when the asset was last modified. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1625587423000', 'title' => ''], + 'RegionName' => ['description' => 'The name of the region.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'CanModifyUserName' => ['description' => 'Indicates whether the username and password can be modified. Valid values:'."\n" + ."\n" + .'- **true**: Yes.'."\n" + ."\n" + .'- **false**: No.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'LogStoreDay' => ['description' => 'The storage duration of raw logs. Unit: days.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the asset was created. This value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1625587423000', 'title' => ''], + 'AutoScan' => ['description' => 'Indicates whether automatic scanning for sensitive data is enabled. Valid values:'."\n" + ."\n" + .'- **0**: Disabled.'."\n" + ."\n" + .'- **1**: Enabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], + 'ProductId' => ['description' => 'The product type ID. Valid values:'."\n" + ."\n" + .'- **1**: MaxCompute'."\n" + ."\n" + .'- **2**: OSS'."\n" + ."\n" + .'- **3**: ADS'."\n" + ."\n" + .'- **4**: OTS'."\n" + ."\n" + .'- **5**: RDS'."\n" + ."\n" + .'- **6**: SELF\\_DB', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'InstanceSize' => ['description' => 'The size of the instance. This parameter is valid only for OSS assets. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '409600', 'title' => ''], + 'UserName' => ['description' => 'The username of the account.', 'type' => 'string', 'example' => 'User01', 'title' => ''], + 'AuditStatus' => ['description' => 'The audit authorization status. Valid values:'."\n" + ."\n" + .'- **1**: Authorized.'."\n" + ."\n" + .'- **0**: Unauthorized.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the asset.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'TenantId' => ['description' => 'The tenant ID.', 'type' => 'string', 'example' => '11', 'title' => ''], + 'Enable' => ['description' => 'Indicates whether sensitive data detection is enabled for the asset. Valid values:'."\n" + ."\n" + .'- **1**: Enabled.'."\n" + ."\n" + .'- **0**: Disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'CheckStatus' => ['description' => 'The data check status. Valid values:'."\n" + ."\n" + .'- **0**: Ready.'."\n" + ."\n" + .'- **1**: Running.'."\n" + ."\n" + .'- **2**: Connectivity test in progress.'."\n" + ."\n" + .'- **3**: Connectivity test passed.'."\n" + ."\n" + .'- **4**: Connectivity test failed.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'DatamaskStatus' => ['description' => 'The status of data masking authorization. Valid values:'."\n" + ."\n" + .'- **1**: Enabled.'."\n" + ."\n" + .'- **0**: Disabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'ErrorMessage' => ['description' => 'The reason for the failure.', 'type' => 'string', 'example' => 'password error', 'title' => ''], + 'SamplingSize' => ['description' => 'The sensitive data sampling size. Valid values: **0**, **5**, and **10**. Unit: number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"5A7E8FB9-5011-5A90-97D9-AE587047****\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 2,\\n \\"Items\\": [\\n {\\n \\"LastModifyUserId\\": \\"demo\\",\\n \\"PasswordStatus\\": 1,\\n \\"EngineType\\": \\"MySQL\\",\\n \\"TenantName\\": \\"user1\\",\\n \\"InstanceId\\": \\"rm-****\\",\\n \\"InstanceDescription\\": \\"instance test\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"DbName\\": \\"demo\\",\\n \\"LastModifyTime\\": 1625587423000,\\n \\"RegionName\\": \\"cn-hangzhou\\",\\n \\"CanModifyUserName\\": true,\\n \\"LogStoreDay\\": 30,\\n \\"GmtCreate\\": 1625587423000,\\n \\"AutoScan\\": 0,\\n \\"ProductId\\": 2,\\n \\"InstanceSize\\": 409600,\\n \\"UserName\\": \\"User01\\",\\n \\"AuditStatus\\": 1,\\n \\"Id\\": 1,\\n \\"TenantId\\": \\"11\\",\\n \\"Enable\\": 1,\\n \\"CheckStatus\\": 3,\\n \\"DatamaskStatus\\": 1,\\n \\"ErrorMessage\\": \\"password error\\",\\n \\"SamplingSize\\": 10\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeInstanceSources', + 'description' => 'Queries the list of authorized or unauthorized data assets based on the AuthStatus parameter to help you understand the authorization status of your data assets.'."\n" + ."\n" + .'This operation is no longer used in the new console.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'Each user can call this operation up to 10 times per second. If this limit is exceeded, API calls are throttled, which may affect your business.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-03-25T07:35:03.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-09-29T01:55:47.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2021-09-27T09:29:07.000Z', 'description' => 'Error codes changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"B1F2BB1F-04EC-5D36-B136-B4DE17FD8DE0\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 12,\\n \\"Items\\": [\\n {\\n \\"CreationTime\\": 1536751124000,\\n \\"TableName\\": \\"it_table\\",\\n \\"DataType\\": \\"varchar\\",\\n \\"OdpsRiskLevelValue\\": 3,\\n \\"InstanceId\\": 1232122,\\n \\"RiskLevelId\\": 4,\\n \\"RuleName\\": \\"name\\",\\n \\"RuleId\\": 1004,\\n \\"Sensitive\\": true,\\n \\"SensLevelName\\": \\"S2\\",\\n \\"InstanceName\\": \\"rm-1234\\",\\n \\"RiskLevelName\\": \\"S1\\",\\n \\"OdpsRiskLevelName\\": \\"S4\\",\\n \\"Name\\": \\"obj_id\\",\\n \\"TableId\\": 123,\\n \\"Id\\": \\"111111\\",\\n \\"ProductCode\\": \\"RDS\\",\\n \\"RevisionStatus\\": 1,\\n \\"RevisionId\\": 12,\\n \\"ModelTags\\": [\\n {\\n \\"Id\\": 101,\\n \\"Name\\": \\"personal sensitive information\\"\\n }\\n ],\\n \\"EngineType\\": \\"MySQL\\",\\n \\"MaskingStatus\\": -1,\\n \\"ProductId\\": 5,\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'Query Data in Columns of Data Assets V2', - 'translator' => 'machine', - ], - 'DescribeOssObjects' => [ - 'summary' => 'Queries Object Storage Service (OSS) objects that you authorize Data Security Center (DSC) to access.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceSources'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeInstanceSources', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeInstances' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7127,163 +6258,74 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82058', - 'abilityTreeNodes' => [ - 'FEATUREsddp2VFD4T', - ], + 'abilityTreeCode' => '82047', + 'abilityTreeNodes' => ['FEATUREsddp2VFD4T'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: **zh_cn**. Valid values:'."\n" + ."\n" + .'- **zh_cn**: Chinese (Simplified).'."\n" + .'- **en_us**: English (US).', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'The search keyword. Fuzzy match is supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - ], - [ - 'name' => 'RiskLevelId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The sensitivity level of the OSS object. Valid values:'."\n" - ."\n" - .'* **1**: N/A, which indicates that no sensitive data is detected.'."\n" - .'* **2**: S1, which indicates the low sensitivity level.'."\n" - .'* **3**: S2, which indicates the medium sensitivity level.'."\n" - .'* **4**: S3, which indicates the high sensitivity level.'."\n" - .'* **5**: S4, which indicates the highest sensitivity level.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], - ], - [ - 'name' => 'RuleId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the sensitive data detection rule that the OSS object hits.'."\n" - ."\n" - .'> You can call the **DescribeRules** operation to query the ID of the sensitive data detection rule.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1222', - ], + 'schema' => ['description' => 'The search keyword. Fuzzy match is supported. For example, if you enter data, all data entries that contain data in the search item are returned.', 'type' => 'string', 'required' => false, 'example' => 'data', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'ProductId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance to which the OSS object belongs.'."\n" - ."\n" - .'> You can call the **DescribeInstances** operation to query the instance ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'ins-2222', - ], + 'schema' => ['description' => 'The ID of the product to which the data asset instance belongs. You can call the [DescribeDataAssets](~~DescribeDataAssets~~) operation to obtain the product ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'RiskLevelId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '12', - ], + 'schema' => ['description' => 'The risk level ID of the data asset instance. A higher risk level ID indicates more sensitive data is detected. Valid values:'."\n" + ."\n" + .'- **1**: No sensitive data is detected. No risk.'."\n" + .'- **2**: Sensitive data risk at level 1.'."\n" + .'- **3**: Sensitive data risk at level 2.'."\n" + .'- **4**: Sensitive data risk at level 3.'."\n" + .'- **5**: Sensitive data risk at level 4.'."\n" + .'- **6**: Sensitive data risk at level 5.'."\n" + .'- **7**: Sensitive data risk at level 6.'."\n" + .'- **8**: Sensitive data risk at level 7.'."\n" + .'- **9**: Sensitive data risk at level 8.'."\n" + .'- **10**: Sensitive data risk at level 9.'."\n" + .'- **11**: Sensitive data risk at level 10.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the sensitive data detection rule that the data asset instance hits. You can call the [DescribeRules](~~DescribeRules~~) operation and obtain the rule ID from the **Id** response parameter.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1111111', 'title' => ''], ], [ 'name' => 'ServiceRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The region in which the data asset resides.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The region of the data asset instance. For more information, see [Supported regions](~~214257~~).', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'LastScanTimeStart', + 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'description' => 'The start time of the last scan. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1536751124000', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'LastScanTimeEnd', + 'name' => 'ProductCode', 'in' => 'query', - 'schema' => [ - 'description' => 'The end time of the last scan. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1536751124000', - ], + 'schema' => ['description' => 'The name of the product to which the data asset instance belongs, such as MaxCompute, OSS, or RDS. For supported product names, see [Data types from which sensitive data can be detected](~~212906~~).', 'type' => 'string', 'required' => false, 'example' => 'RDS', 'title' => ''], ], [ - 'name' => 'TemplateId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the industry-specific rule template.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The maximum number of data asset instances to return on each page in a paged query. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'FileCategoryCode', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The code of the file type.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'Marker', - 'in' => 'query', - 'schema' => [ - 'description' => 'When you query data by page, use the `Marker` parameter to query the data that follows the `Marker` value.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1754786235714378752', - ], + 'schema' => ['description' => 'The page number of the current page in a paged query. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -7291,207 +6333,184 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Marker' => [ - 'description' => 'This parameter is deprecated.'."\n", - 'type' => 'string', - 'example' => '-1', - ], - 'NextMarker' => [ - 'description' => 'The ID value from which the next page of results starts.'."\n" - ."\n" - .'> This parameter is returned only when the `Truncated` parameter is set to `true`.'."\n", - 'type' => 'string', - 'example' => '1754786235714378752', - ], - 'Truncated' => [ - 'description' => 'Indicates whether the queried entries are truncated. Valid values:'."\n" - ."\n" - .'* **true**'."\n" - .'* **false**'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], + 'CurrentPage' => ['description' => 'The page number of the current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '71064826-726F-4ADA-B879-05D8055476FB', 'title' => ''], + 'PageSize' => ['description' => 'The number of data asset instances on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of data asset instances returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '231', 'title' => ''], 'Items' => [ - 'description' => 'The OSS objects.'."\n", + 'description' => 'The details of the data asset instances returned.', 'type' => 'array', 'items' => [ - 'description' => 'The OSS object.'."\n", 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'description' => 'The ID of the instance to which the OSS object belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1232122', - ], - 'CategoryName' => [ - 'description' => 'The name of the file type.'."\n", - 'type' => 'string', - 'example' => 'MP4 file'."\n", - ], - 'RiskLevelId' => [ - 'description' => 'The ID of the sensitivity level of the OSS object. Valid values:'."\n" - ."\n" - .'* **1**: N/A, which indicates that no sensitive data is detected.'."\n" - .'* **2**: S1, which indicates the low sensitivity level.'."\n" - .'* **3**: S2, which indicates the medium sensitivity level.'."\n" - .'* **4**: S3, which indicates the high sensitivity level.'."\n" - .'* **5**: S4, which indicates the highest sensitivity level.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'RegionId' => [ - 'description' => 'The region ID of the OSS object.'."\n", - 'type' => 'string', - 'example' => 'cn-***', - ], - 'FileId' => [ - 'description' => 'The file ID of the OSS object.'."\n", - 'type' => 'string', - 'example' => 'file-22***', - ], - 'Size' => [ - 'description' => 'The size of the file. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'BucketName' => [ - 'description' => 'The name of the bucket.'."\n", - 'type' => 'string', - 'example' => 'oss-duplicate-***', - ], - 'RiskLevelName' => [ - 'description' => 'The name of the sensitivity level for the OSS object.'."\n", - 'type' => 'string', - 'example' => 'Medium sensitivity level'."\n", - ], - 'Category' => [ - 'description' => 'The type of the OSS object. Valid values include **900001**, **800015**, or **800005**, which indicates the MP4 file, PDF file, or OSS configuration file, respectively.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '900001', - ], - 'Name' => [ - 'description' => 'The name of the OSS object.'."\n", - 'type' => 'string', - 'example' => 'obj_id', - ], - 'RuleCount' => [ - 'description' => 'The number of rules that are hit.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'SensitiveCount' => [ - 'description' => 'The number of fields that are hit.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'Id' => [ - 'description' => 'The ID of the OSS object.'."\n", - 'type' => 'string', - 'example' => '17383', - ], - 'RuleList' => [ - 'description' => 'The rules.'."\n", + 'CreationTime' => ['description' => 'The time when the data asset instance was created. The value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1637226782000', 'title' => ''], + 'LastFinishTime' => ['description' => 'The time when the most recent scan of the data asset instance was completed. The value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1637622793000', 'title' => ''], + 'Owner' => ['description' => 'The Alibaba Cloud account that owns the data asset instance.', 'type' => 'string', 'example' => 'dtdep-239-******', 'title' => ''], + 'TenantName' => ['description' => 'The name of the tenant.', 'type' => 'string', 'example' => 'tenant', 'title' => ''], + 'Protection' => ['description' => 'The protection status of the data asset instance. Valid values:'."\n" + ."\n" + .'- **true**: Protected.'."\n" + .'- **false**: Not protected.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'DepartName' => ['description' => 'The name of the department to which the data asset instance belongs.', 'type' => 'string', 'example' => '***DemoCenter', 'title' => ''], + 'Labelsec' => ['description' => 'The security status of the data asset instance. Valid values:'."\n" + ."\n" + .'- **true**: Secure.'."\n" + .'- **false**: Not secure.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RiskLevelId' => ['description' => 'The risk level ID of the data asset instance. A higher risk level ID indicates more sensitive data is detected.'."\n" + ."\n" + .'- **1**: No sensitive data is detected. No risk.'."\n" + .'- **2**: Sensitive data risk at level 1.'."\n" + .'- **3**: Sensitive data risk at level 2.'."\n" + .'- **4**: Sensitive data risk at level 3.'."\n" + .'- **5**: Sensitive data risk at level 4.'."\n" + .'- **6**: Sensitive data risk at level 5.'."\n" + .'- **7**: Sensitive data risk at level 6.'."\n" + .'- **8**: Sensitive data risk at level 7.'."\n" + .'- **9**: Sensitive data risk at level 8.'."\n" + .'- **10**: Sensitive data risk at level 9.'."\n" + .'- **11**: Sensitive data risk at level 10.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'ProductId' => ['description' => 'The ID of the product to which the data asset instance belongs.', 'type' => 'string', 'example' => '5', 'title' => ''], + 'Name' => ['description' => 'The name of the data asset instance.', 'type' => 'string', 'example' => 'gxdata', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of data items in the data asset instance. For example, if the data asset is ApsaraDB RDS, this value indicates the total number of tables in the databases of the instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '231', 'title' => ''], + 'InstanceDescription' => ['description' => 'The description of the data asset instance.', 'type' => 'string', 'example' => 'instance dscription', 'title' => ''], + 'RuleName' => ['description' => 'The name of the sensitive data detection rule that the data asset instance hits.', 'type' => 'string', 'example' => '*** rule', 'title' => ''], + 'Sensitive' => ['description' => 'Indicates whether the data asset instance contains sensitive data. Valid values:'."\n" + ."\n" + .'- **true**: Contains sensitive data.'."\n" + .'- **false**: Does not contain sensitive data.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RiskLevelName' => ['description' => 'The risk level name of the data asset instance.', 'type' => 'string', 'example' => 'S1', 'title' => ''], + 'OdpsRiskLevelName' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'SensitiveCount' => ['description' => 'The total number of sensitive data items in the data asset instance. For example, if the data asset is ApsaraDB RDS, this value indicates the total number of sensitive tables in the databases of the instance.', 'type' => 'integer', 'format' => 'int32', 'example' => '123', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the data asset instance recorded in Data Security Center.', 'type' => 'integer', 'format' => 'int64', 'example' => '11111', 'title' => ''], + 'ProductCode' => ['description' => 'The name of the product to which the data asset instance belongs, such as MaxCompute, OSS, or RDS. For supported product names, see [Data types from which sensitive data can be detected](~~212906~~).', 'type' => 'string', 'example' => 'RDS', 'title' => ''], + 'ModelTags' => [ + 'description' => 'The list of data tags.', 'type' => 'array', 'items' => [ - 'description' => 'The object of the rule.'."\n", + 'description' => 'The data tag object.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The search keyword. Fuzzy match is supported.'."\n", - 'type' => 'string', - 'example' => 'ID card'."\n", - ], - 'RiskLevelId' => [ - 'description' => 'The ID of the sensitivity level of the OSS object. Valid values:'."\n" - ."\n" - .'* **1**: N/A, which indicates that no sensitive data is detected.'."\n" - .'* **2**: S1, which indicates the low sensitivity level.'."\n" - .'* **3**: S2, which indicates the medium sensitivity level.'."\n" - .'* **4**: S3, which indicates the high sensitivity level.'."\n" - .'* **5**: S4, which indicates the highest sensitivity level.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Count' => [ - 'description' => 'The number of times that the rule is hit.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], + 'Id' => ['description' => 'The data tag ID. Valid values:'."\n" + .'- **101**: personal sensitive information'."\n" + .'- **102**: personal information'."\n" + .'- **107**: general information', 'type' => 'integer', 'format' => 'int64', 'example' => '101', 'title' => ''], + 'Name' => ['description' => 'The data tag name. Valid values:'."\n" + .'- 个人敏感信息'."\n" + .'- 个人信息'."\n" + .'- 通用信息', 'type' => 'string', 'example' => 'personal sensitive data', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'FileCategoryCode' => [ - 'description' => 'The code of the file type.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'FileCategoryName' => [ - 'description' => 'The name of the file type.'."\n", - 'type' => 'string', - 'example' => 'text file', - ], - 'LastModifiedTime' => [ - 'description' => 'The time when the file was last modified.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1536751124000', - ], + 'MemberAliUid' => ['description' => 'If the management account has enabled multi-account management and the asset belongs to another member account, this field displays the UID of the member account.', 'type' => 'string', 'example' => '12567890126', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"PageSize\\": 12,\\n \\"TotalCount\\": 1,\\n \\"Marker\\": \\"-1\\",\\n \\"NextMarker\\": \\"1754786235714378752\\",\\n \\"Truncated\\": false,\\n \\"Items\\": [\\n {\\n \\"InstanceId\\": 1232122,\\n \\"CategoryName\\": \\"MP4视频文件\\",\\n \\"RiskLevelId\\": 2,\\n \\"RegionId\\": \\"cn-***\\",\\n \\"FileId\\": \\"file-22***\\",\\n \\"Size\\": 20,\\n \\"BucketName\\": \\"oss-duplicate-***\\",\\n \\"RiskLevelName\\": \\"中等风险等级\\",\\n \\"Category\\": 900001,\\n \\"Name\\": \\"obj_id\\",\\n \\"RuleCount\\": 100,\\n \\"SensitiveCount\\": 50,\\n \\"Id\\": \\"17383\\",\\n \\"RuleList\\": [\\n {\\n \\"Name\\": \\"身份证\\",\\n \\"RiskLevelId\\": 2,\\n \\"Count\\": 100\\n }\\n ],\\n \\"FileCategoryCode\\": 1,\\n \\"FileCategoryName\\": \\"text file\\",\\n \\"LastModifiedTime\\": 1536751124000\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeOssObjectsResponse>\\n <CurrentPage>1</CurrentPage>\\n <RequestId>769FB3C1-F4C9-42DF-9B72-7077A8989C13</RequestId>\\n <PageSize>12</PageSize>\\n <TotalCount>1</TotalCount>\\n <Items>\\n <InstanceId>1232122</InstanceId>\\n <CategoryName>MP4视频文件</CategoryName>\\n <RiskLevelId>2</RiskLevelId>\\n <RegionId>cn-***</RegionId>\\n <FileId>file-22***</FileId>\\n <Size>20</Size>\\n <BucketName>oss-duplicate-***</BucketName>\\n <RiskLevelName>中等风险等级</RiskLevelName>\\n <Category>900001</Category>\\n <Name>obj_id</Name>\\n <RuleCount>100</RuleCount>\\n <SensitiveCount>50</SensitiveCount>\\n <Id>17383</Id>\\n <RuleList>\\n <Name>身份证</Name>\\n <RiskLevelId>2</RiskLevelId>\\n <Count>100</Count>\\n </RuleList>\\n </Items>\\n</DescribeOssObjectsResponse>","errorExample":""}]', - 'title' => 'DescribeOssObjects', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeOssObjectDetail' => [ - 'summary' => 'Queries the details of an Object Storage Service (OSS) object that Data Security Center (DSC) is authorized to access.', - 'methods' => [ - 'post', - 'get', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Query data asset instances', + 'summary' => 'Retrieves the list of data asset instances for authorized MaxCompute, ApsaraDB RDS, and OSS connections.', + 'description' => 'When you call the DescribeInstances operation, you can set parameters such as search keywords and risk levels of data asset instances to retrieve a list of data asset instances that meet the specified conditions.'."\n" + ."\n" + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the number of calls exceeds the limit, throttling is triggered, which may affect your business. Call this operation as needed.', + 'changeSet' => [ + ['createdAt' => '2024-09-18T02:46:51.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:15.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-12-28T06:59:58.000Z', 'description' => 'Response parameters changed, Response parameters changed'], + ['createdAt' => '2022-12-27T09:14:52.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-10-26T02:37:09.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstances'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeInstances', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"71064826-726F-4ADA-B879-05D8055476FB\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 231,\\n \\"Items\\": [\\n {\\n \\"CreationTime\\": 1637226782000,\\n \\"LastFinishTime\\": 1637622793000,\\n \\"Owner\\": \\"dtdep-239-******\\",\\n \\"TenantName\\": \\"tenant\\",\\n \\"Protection\\": false,\\n \\"DepartName\\": \\"***DemoCenter\\",\\n \\"Labelsec\\": true,\\n \\"RiskLevelId\\": 2,\\n \\"ProductId\\": \\"5\\",\\n \\"Name\\": \\"gxdata\\",\\n \\"TotalCount\\": 231,\\n \\"InstanceDescription\\": \\"instance dscription\\",\\n \\"RuleName\\": \\"*** rule\\",\\n \\"Sensitive\\": true,\\n \\"RiskLevelName\\": \\"S1\\",\\n \\"OdpsRiskLevelName\\": \\"1\\",\\n \\"SensitiveCount\\": 123,\\n \\"Id\\": 11111,\\n \\"ProductCode\\": \\"RDS\\",\\n \\"ModelTags\\": [\\n {\\n \\"Id\\": 101,\\n \\"Name\\": \\"personal sensitive data\\"\\n }\\n ],\\n \\"MemberAliUid\\": \\"12567890126\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeOssObjectDetail' => [ + 'summary' => 'Queries the details of a single OSS storage object that is authorized for connection in Data Security Center.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7502,36 +6521,22 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsddp2VFD4T', - ], + 'abilityTreeNodes' => ['FEATUREsddp2VFD4T'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Chinese'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: **zh_cn**. Valid values:'."\n" + .'- **zh_cn**: Chinese.'."\n" + .'- **en_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the OSS object.'."\n" - ."\n" - .'> You can call the [DescribeOssObjects](~~410152~~) operation to obtain the ID of the OSS object.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '12345213', - ], + 'schema' => ['description' => 'The unique ID of the OSS storage object.'."\n" + ."\n" + .'> Call the [DescribeOssObjects](~~410152~~) operation to obtain the ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12345213', 'title' => ''], ], ], 'responses' => [ @@ -7539,223 +6544,211 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', 'title' => ''], 'OssObjectDetail' => [ - 'description' => 'The details of the OSS object.'."\n", + 'description' => 'The details of the OSS storage object.', 'type' => 'object', 'properties' => [ - 'CategoryName' => [ - 'description' => 'The type of the OSS object.'."\n", - 'type' => 'string', - 'example' => 'Excel file'."\n", - ], - 'Name' => [ - 'description' => 'The name of the OSS object.'."\n", - 'type' => 'string', - 'example' => 'obj_id', - ], - 'BucketName' => [ - 'description' => 'The name of the OSS bucket to which the OSS object belongs.'."\n", - 'type' => 'string', - 'example' => 'bucke***', - ], - 'RiskLevelName' => [ - 'description' => 'The name of the sensitivity level for the OSS object.'."\n", - 'type' => 'string', - 'example' => 'Medium sensitivity level'."\n", - ], - 'RegionId' => [ - 'description' => 'The region ID of the OSS object.'."\n", - 'type' => 'string', - 'example' => 'cn-***', - ], + 'CategoryName' => ['description' => 'The object type name of the OSS storage object.', 'type' => 'string', 'example' => 'Excel', 'title' => ''], + 'Name' => ['description' => 'The name of the OSS storage object.', 'type' => 'string', 'example' => 'obj_id', 'title' => ''], + 'BucketName' => ['description' => 'The name of the bucket to which the OSS storage object belongs.', 'type' => 'string', 'example' => 'bucke***', 'title' => ''], + 'RiskLevelName' => ['description' => 'The risk level name of the OSS storage object.', 'type' => 'string', 'example' => 'S2', 'title' => ''], + 'RegionId' => ['description' => 'The region ID of the OSS storage object.', 'type' => 'string', 'example' => 'cn-***', 'title' => ''], 'RuleList' => [ - 'description' => 'A list of the sensitive data detection rules that the OSS object hits.'."\n", + 'description' => 'The list of sensitive data detection rules that the OSS storage object hits.', 'type' => 'array', 'items' => [ - 'description' => 'The details of the sensitive data detection rule.'."\n", + 'description' => 'The details of the sensitive data detection rule that is hit.', 'type' => 'object', 'properties' => [ - 'RiskLevelName' => [ - 'description' => 'The name of the sensitivity level for the OSS object.'."\n", - 'type' => 'string', - 'example' => 'Medium sensitivity level'."\n", - ], - 'CategoryName' => [ - 'description' => 'The type of the OSS object.'."\n", - 'type' => 'string', - 'example' => 'Excel file'."\n", - ], - 'RiskLevelId' => [ - 'description' => 'The ID of the sensitivity level of the OSS object.'."\n" - ."\n" - .'* **1**: No sensitive data is detected.'."\n" - .'* **2**: indicates the low sensitivity level.'."\n" - .'* **3**: indicates the medium sensitivity level.'."\n" - .'* **4**: indicates the high sensitivity level.'."\n" - .'* **5**: indicates the highest sensitivity level.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Count' => [ - 'description' => 'The number of times that the OSS object hits the sensitive data detection rule.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'RuleName' => [ - 'description' => 'The name of the sensitive data detection rule.'."\n", - 'type' => 'string', - 'example' => '\\*\\*\\* rule'."\n", - ], + 'RiskLevelName' => ['description' => 'The risk level name of the OSS storage object.', 'type' => 'string', 'example' => 'S2', 'title' => ''], + 'CategoryName' => ['description' => 'The object type name of the OSS storage object.', 'type' => 'string', 'example' => 'Excel', 'title' => ''], + 'RiskLevelId' => ['description' => 'The risk level ID of the OSS storage object. Valid values:'."\n" + .'- **1**: No sensitive data is detected.'."\n" + .'- **2**: Level 1 sensitive data.'."\n" + .'- **3**: Level 2 sensitive data.'."\n" + .'- **4**: Level 3 sensitive data.'."\n" + .'- **5**: Level 4 sensitive data.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'Count' => ['description' => 'The number of times the sensitive data detection rule is hit.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'RuleName' => ['description' => 'The name of the sensitive data detection rule that is hit.', 'type' => 'string', 'example' => 'name', 'title' => ''], 'ModelTags' => [ - 'description' => 'A list of tags for data that hits the recognition model.'."\n", + 'description' => 'The list of data tags for the detection model that is hit.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'The data tag object of the detection model that is hit.', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => 'The tag ID.'."\n" - ."\n" - .'* **101**: sensitive personal information'."\n" - .'* **102**: personal information'."\n" - .'* **103**: important information'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '101', - ], - 'Name' => [ - 'description' => 'The tag name.'."\n" - ."\n" - .'* Sensitive personal information'."\n" - .'* Personal information'."\n" - .'* Important information'."\n", - 'type' => 'string', - 'example' => 'personal sensitive data', - ], + 'Id' => ['description' => 'The data tag ID of the detection model. Valid values:'."\n" + .'- **101**: personal sensitive information.'."\n" + .'- **102**: personal information.'."\n" + .'- **103**: important data.', 'type' => 'integer', 'format' => 'int64', 'example' => '101', 'title' => ''], + 'Name' => ['description' => 'The data tag name of the detection model. Valid values:'."\n" + .'- Personal sensitive information.'."\n" + .'- Personal information.'."\n" + .'- Important data.', 'type' => 'string', 'example' => 'personal sensitive data', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"OssObjectDetail\\": {\\n \\"CategoryName\\": \\"Excel\\",\\n \\"Name\\": \\"obj_id\\",\\n \\"BucketName\\": \\"bucke***\\",\\n \\"RiskLevelName\\": \\"S2\\",\\n \\"RegionId\\": \\"cn-***\\",\\n \\"RuleList\\": [\\n {\\n \\"RiskLevelName\\": \\"S2\\",\\n \\"CategoryName\\": \\"Excel\\",\\n \\"RiskLevelId\\": 2,\\n \\"Count\\": 2,\\n \\"RuleName\\": \\"name\\",\\n \\"ModelTags\\": [\\n {\\n \\"Id\\": 101,\\n \\"Name\\": \\"personal sensitive data\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribeOssObjectDetail>\\r\\n\\t<RequestId>769FB3C1-F4C9-42DF-9B72-7077A8989C13</RequestId>\\r\\n\\t<OssObjectDetail>\\r\\n\\t\\t<RegionId>cn-***</RegionId>\\r\\n\\t\\t<BucketName>bucke***</BucketName>\\r\\n\\t\\t<RiskLevelName>中等风险等级</RiskLevelName>\\r\\n\\t\\t<Id>17383</Id>\\r\\n\\t\\t<RiskLevelId>2</RiskLevelId>\\r\\n\\t\\t<CategoryName>Excel文件</CategoryName>\\r\\n\\t\\t<Name>obj_id</Name>\\r\\n\\t\\t<RuleList>\\r\\n\\t\\t\\t<RuleName>***规则</RuleName>\\r\\n\\t\\t\\t<Count>10</Count>\\r\\n\\t\\t</RuleList>\\r\\n\\t</OssObjectDetail>\\r\\n</DescribeOssObjectDetail>\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribeOssObjectDetail', - 'description' => 'You can call this operation to query the details of an Object Storage Service (OSS) object. This helps you locate sensitive data detected in OSS.'."\n" + 'title' => 'Query details of an OSS storage object', + 'description' => 'This operation is used to query the details of an OSS storage object, which helps you accurately locate sensitive asset information in OSS.'."\n" ."\n" - .'## [](#)Precautions'."\n" + .'## Before you begin'."\n" + .'The DescribeOssObjectDetail operation has been revised to DescribeOssObjectDetailV2. Use the newer version DescribeOssObjectDetailV2 when developing applications.'."\n" ."\n" - .'The DescribeOssObjectDetail operation is chagned to DescribeOssObjectDetailV2. We recommend that you call the DescribeOssObjectDetailV2 operation when you develop your applications.'."\n" - ."\n" - .'## [](#qps)Limits'."\n" - ."\n" - .'Each Alibaba Cloud account can call this operation up to 10 times per second. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", + .'## Rate limit'."\n" + .'The single-user queries per second (QPS) limit for this operation is 10. If the number of calls exceeds the limit, throttling is triggered, which may affect your business. Call this operation as appropriate.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-12-28T06:59:58.000Z', 'description' => 'Response parameters changed, Response parameters changed'], + ['createdAt' => '2022-12-27T09:14:52.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOssObjectDetail'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeOssObjectDetail', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"OssObjectDetail\\": {\\n \\"CategoryName\\": \\"Excel\\",\\n \\"Name\\": \\"obj_id\\",\\n \\"BucketName\\": \\"bucke***\\",\\n \\"RiskLevelName\\": \\"S2\\",\\n \\"RegionId\\": \\"cn-***\\",\\n \\"RuleList\\": [\\n {\\n \\"RiskLevelName\\": \\"S2\\",\\n \\"CategoryName\\": \\"Excel\\",\\n \\"RiskLevelId\\": 2,\\n \\"Count\\": 2,\\n \\"RuleName\\": \\"name\\",\\n \\"ModelTags\\": [\\n {\\n \\"Id\\": 101,\\n \\"Name\\": \\"personal sensitive data\\"\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', ], 'DescribeOssObjectDetailV2' => [ - 'summary' => 'Call this interface to query the details of a single storage object in OSS that is authorized by the Data Security Center.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'summary' => 'Queries the details of a single storage object in OSS that is authorized for connection to Data Security Center.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', 'abilityTreeCode' => '186152', - 'abilityTreeNodes' => [ - 'FEATUREsddp2VFD4T', - ], + 'abilityTreeNodes' => ['FEATUREsddp2VFD4T'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'Sets the language type for request and response messages. The default value is **zh_cn**. Values:'."\n" - ."\n" - .'- **zh_cn**: Simplified Chinese'."\n" - .'- **en_us**: English (US)', - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: **zh_cn**. Valid values:'."\n" + ."\n" + .'- **zh_cn**: Simplified Chinese.'."\n" + .'- **en_us**: English (US).', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => 'The unique identifier ID of the OSS storage object.'."\n" - ."\n" - .'> Call the [DescribeOssObjects](~~410152~~) interface to get the ID.', - 'type' => 'string', - 'required' => false, - 'example' => '12300', - ], + 'schema' => ['description' => 'The unique ID of the OSS storage object.'."\n" + ."\n" + .'> Call the [DescribeOssObjects](~~410152~~) operation to obtain the ID.', 'type' => 'string', 'required' => false, 'example' => '12300', 'title' => ''], ], [ 'name' => 'ServiceRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'Service region ID, i.e., the region ID where the Bucket is located.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The service region ID, which is the region ID of the bucket.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'BucketName', 'in' => 'query', - 'schema' => [ - 'description' => 'Bucket name.', - 'type' => 'string', - 'required' => false, - 'example' => 'sddp-api-scan-demo', - ], + 'schema' => ['description' => 'The bucket name.', 'type' => 'string', 'required' => false, 'example' => 'sddp-api-scan-demo', 'title' => ''], ], [ 'name' => 'ObjectKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The full file name of the file stored on OSS.', - 'type' => 'string', - 'required' => false, - 'example' => 'dir1/test.png', - ], + 'schema' => ['description' => 'The full name of the file stored in OSS.', 'type' => 'string', 'required' => false, 'example' => 'dir1/test.png', 'title' => ''], ], [ 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'description' => 'Industry template ID.'."\n" - .'> You can obtain the industry template ID by calling the [DescribeCategoryTemplateList](~~2399296~~) interface.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The industry template ID.'."\n" + .'> Call the [DescribeCategoryTemplateList](~~2399296~~) operation to obtain the industry template ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -7763,174 +6756,122 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of this call request, which is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot and locate issues.', - 'type' => 'string', - 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', - ], + 'RequestId' => ['description' => 'The request ID. Alibaba Cloud generates a unique identifier for each request. You can use the request ID to troubleshoot issues.', 'type' => 'string', 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', 'title' => ''], 'OssObjectDetail' => [ - 'description' => 'Detailed information about the OSS storage object.', + 'description' => 'The details of the OSS storage object.', 'type' => 'object', 'properties' => [ - 'CategoryName' => [ - 'description' => 'The major category of the model.', - 'type' => 'string', - 'example' => 'Excel file', - ], - 'Name' => [ - 'description' => 'OSS storage object name.', - 'type' => 'string', - 'example' => 'dir1/test.png', - ], - 'BucketName' => [ - 'description' => 'The name of the Bucket to which the OSS storage object belongs.', - 'type' => 'string', - 'example' => 'sddp-api-scan-demo', - ], - 'RiskLevelName' => [ - 'description' => 'The risk level name of the OSS storage object.', - 'type' => 'string', - 'example' => 'S2', - ], - 'RegionId' => [ - 'description' => 'The region ID to which the OSS storage object belongs.', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], + 'CategoryName' => ['description' => 'The parent category of the model.', 'type' => 'string', 'example' => 'Sensitive image information', 'title' => ''], + 'Name' => ['description' => 'The name of the OSS storage object.', 'type' => 'string', 'example' => 'dir1/test.png', 'title' => ''], + 'BucketName' => ['description' => 'The name of the bucket to which the OSS storage object belongs.', 'type' => 'string', 'example' => 'sddp-api-scan-demo', 'title' => ''], + 'RiskLevelName' => ['description' => 'The risk level name of the OSS storage object.', 'type' => 'string', 'example' => 'S2', 'title' => ''], + 'RegionId' => ['description' => 'The region ID of the OSS storage object.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], 'RuleList' => [ - 'description' => 'A list of sensitive data recognition rules hit by the OSS storage object.', + 'description' => 'The list of sensitive data detection rules that the OSS storage object hits.', 'type' => 'array', 'items' => [ - 'description' => 'Details of the sensitive data recognition rule hit.', + 'description' => 'The details of the sensitive data detection rule that is hit.', 'type' => 'object', 'properties' => [ - 'RiskLevelName' => [ - 'description' => 'The risk level name of the OSS storage object.', - 'type' => 'string', - 'example' => 'S2', - ], - 'CategoryName' => [ - 'description' => 'The major category of the model.', - 'type' => 'string', - 'example' => 'Excel', - ], - 'RiskLevelId' => [ - 'description' => 'The risk level ID of the OSS storage object.'."\n" - .'- **1**: No sensitive data detected.'."\n" - .'- **2**: Level 1 sensitive data.'."\n" - .'- **3**: Level 2 sensitive data.'."\n" - .'- **4**: Level 3 sensitive data.'."\n" - .'- **5**: Level 4 sensitive data.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'Count' => [ - 'description' => 'The number of times the sensitive data recognition rule was hit.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'RuleName' => [ - 'description' => 'The name of the sensitive data recognition rule that was hit.', - 'type' => 'string', - 'example' => 'name', - ], + 'RiskLevelName' => ['description' => 'The risk level name of the OSS storage object.', 'type' => 'string', 'example' => 'S2', 'title' => ''], + 'CategoryName' => ['description' => 'The parent category of the model.', 'type' => 'string', 'example' => '敏感图片信息', 'title' => ''], + 'RiskLevelId' => ['description' => 'The risk level ID of the OSS storage object. Valid values:'."\n" + .'- **1**: No sensitive data is detected.'."\n" + .'- **2**: Level 1 sensitive data.'."\n" + .'- **3**: Level 2 sensitive data.'."\n" + .'- **4**: Level 3 sensitive data.'."\n" + .'- **5**: Level 4 sensitive data.', 'type' => 'integer', 'format' => 'int64', 'example' => '3', 'title' => ''], + 'Count' => ['description' => 'The number of times the sensitive data detection rule is hit.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'RuleName' => ['description' => 'The name of the sensitive data detection rule that is hit.', 'type' => 'string', 'example' => 'ID card number', 'title' => ''], 'ModelTags' => [ - 'description' => 'List of data tags.', + 'description' => 'The list of data tags.', 'type' => 'array', 'items' => [ - 'description' => 'Data tag object.', + 'description' => 'The data tag object.', 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => 'ID of the data label for the recognition model.'."\n" - .'- **101**: Personal sensitive information.'."\n" - .'- **102**: Personal information.'."\n" - .'- **103**: Important data.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '101', - ], - 'Name' => [ - 'description' => 'Name of the data label for the recognition model.'."\n" - .'- Personal sensitive information.'."\n" - .'- Personal information.'."\n" - .'- Important data.', - 'type' => 'string', - 'example' => 'personal sensitive data'."\n", - ], + 'Id' => ['description' => 'The data tag ID of the detection model. Valid values:'."\n" + .'- **101**: personal sensitive information.'."\n" + .'- **102**: personal information.'."\n" + .'- **103**: important data.', 'type' => 'integer', 'format' => 'int64', 'example' => '101', 'title' => ''], + 'Name' => ['description' => 'The data tag name of the detection model. Valid values:'."\n" + .'- Personal sensitive information.'."\n" + .'- Personal information.'."\n" + .'- Important data.', 'type' => 'string', 'example' => 'Personal sensitive information', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'FileCategoryName' => [ - 'description' => 'File type.', - 'type' => 'string', - 'example' => 'Text file', - ], - 'Size' => [ - 'description' => 'File size. Unit: Byte.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1024', - ], - 'ObjectAcl' => [ - 'description' => 'OSS Object ACL', - 'type' => 'string', - 'example' => 'private', - ], - 'ModelTagIds' => [ - 'description' => 'Data labels, separated by commas. Values:'."\n" - .'- **101**: Personal Sensitive Information.'."\n" - .'- **102**: Personal Information.'."\n" - .'- **107**: General Information.', - 'type' => 'string', - 'example' => '101,102', - ], - 'Id' => [ - 'description' => 'The unique ID of the OSS object.', - 'type' => 'string', - 'example' => '1757262735738932224', - ], - 'RiskLevelId' => [ - 'description' => 'The sensitivity level of the OSS object. Valid values:'."\n" - ."\n" - .'* **1**: N/A, which indicates that no sensitive data is detected.'."\n" - .'* **2**: S1, which indicates the low sensitivity level.'."\n" - .'* **3**: S2, which indicates the medium sensitivity level.'."\n" - .'* **4**: S3, which indicates the high sensitivity level.'."\n" - .'* **5**: S4, which indicates the highest sensitivity level.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], + 'FileCategoryName' => ['description' => 'The file type.', 'type' => 'string', 'example' => 'Image file', 'title' => ''], + 'Size' => ['description' => 'The file size. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '1024', 'title' => ''], + 'ObjectAcl' => ['description' => 'The ACL of the file object.', 'type' => 'string', 'example' => 'private', 'title' => ''], + 'ModelTagIds' => ['description' => 'The data tags, separated by commas, such as 101,102. Valid values:'."\n" + .'- **101**: personal sensitive information.'."\n" + .'- **102**: personal information.'."\n" + .'- **107**: general information.', 'type' => 'string', 'example' => '101,102', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the column object.', 'type' => 'string', 'example' => '1757262735738932224', 'title' => ''], + 'RiskLevelId' => ['description' => 'The risk level ID of the column data in the data asset table. Valid values:'."\n" + .'- **1**: N/A.'."\n" + .'- **2**: S1.'."\n" + .'- **3**: S2.'."\n" + .'- **4**: S3.'."\n" + .'- **5**: S4.'."\n" + ."\n" + .'> A return value less than or equal to 1 indicates N/A.', 'type' => 'integer', 'format' => 'int32', 'example' => '4', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Query details of an OSS storage object V2', + 'description' => 'This operation is used to query the details of an OSS storage object, which helps you accurately locate sensitive asset information in OSS.', + 'changeSet' => [ + ['createdAt' => '2024-09-18T02:46:51.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-08-16T08:30:01.000Z', 'description' => 'Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"OssObjectDetail\\": {\\n \\"CategoryName\\": \\"敏感图片信息\\",\\n \\"Name\\": \\"dir1/test.png\\",\\n \\"BucketName\\": \\"sddp-api-scan-demo\\",\\n \\"RiskLevelName\\": \\"S2\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"RuleList\\": [\\n {\\n \\"RiskLevelName\\": \\"S2\\",\\n \\"CategoryName\\": \\"敏感图片信息\\",\\n \\"RiskLevelId\\": 3,\\n \\"Count\\": 2,\\n \\"RuleName\\": \\"身份证\\",\\n \\"ModelTags\\": [\\n {\\n \\"Id\\": 101,\\n \\"Name\\": \\"个人敏感信息\\"\\n }\\n ]\\n }\\n ],\\n \\"FileCategoryName\\": \\"图像文件\\",\\n \\"Size\\": 1024,\\n \\"ObjectAcl\\": \\"private\\",\\n \\"ModelTagIds\\": \\"101,102\\",\\n \\"Id\\": \\"1757262735738932224\\",\\n \\"RiskLevelId\\": 4\\n }\\n}","type":"json"}]', - 'title' => 'DescribeOssObjectDetailV2', - 'description' => 'This interface is generally used to query the detailed information of OSS storage objects, which facilitates the accurate positioning of sensitive OSS assets.', - 'translator' => 'machine', - ], - 'DescribePackages' => [ - 'summary' => 'Queries information about the MaxCompute packages that Data Security Center (DSC) is authorized to access. The information includes the names of MaxCompute packages, the accounts of MaxCompute package owners, and the sensitivity levels of MaxCompute packages.', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOssObjectDetailV2'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeOssObjectDetailV2', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"OssObjectDetail\\": {\\n \\"CategoryName\\": \\"Sensitive image information\\",\\n \\"Name\\": \\"dir1/test.png\\",\\n \\"BucketName\\": \\"sddp-api-scan-demo\\",\\n \\"RiskLevelName\\": \\"S2\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"RuleList\\": [\\n {\\n \\"RiskLevelName\\": \\"S2\\",\\n \\"CategoryName\\": \\"敏感图片信息\\",\\n \\"RiskLevelId\\": 3,\\n \\"Count\\": 2,\\n \\"RuleName\\": \\"ID card number\\",\\n \\"ModelTags\\": [\\n {\\n \\"Id\\": 101,\\n \\"Name\\": \\"Personal sensitive information\\"\\n }\\n ]\\n }\\n ],\\n \\"FileCategoryName\\": \\"Image file\\",\\n \\"Size\\": 1024,\\n \\"ObjectAcl\\": \\"private\\",\\n \\"ModelTagIds\\": \\"101,102\\",\\n \\"Id\\": \\"1757262735738932224\\",\\n \\"RiskLevelId\\": 4\\n }\\n}","type":"json"}]', + ], + 'DescribeOssObjects' => [ + 'summary' => 'Lists authorized OSS objects.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7941,111 +6882,92 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsddp2CRSZ1', - ], + 'abilityTreeCode' => '82058', + 'abilityTreeNodes' => ['FEATUREsddp2VFD4T'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Chinese'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh**: Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'The search keyword. Fuzzy match is supported.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - ], - [ - 'name' => 'ProductId', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the service to which the package belongs.'."\n" - ."\n" - .'> You can call the **DescribeDataAssets** operation to query the ID of the service.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2566600', - ], + 'schema' => ['description' => 'The search keyword. Fuzzy match is supported.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'RiskLevelId', 'in' => 'query', - 'schema' => [ - 'description' => 'The sensitivity level of the package. Valid values:'."\n" - ."\n" - .'* **1**: N/A, which indicates that no sensitive data is detected.'."\n" - .'* **2**: S1, which indicates the low sensitivity level.'."\n" - .'* **3**: S2, which indicates the medium sensitivity level.'."\n" - .'* **4**: S3, which indicates the high sensitivity level.'."\n" - .'* **5**: S4, which indicates the highest sensitivity level.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The risk level ID of the OSS object. Valid values:'."\n" + ."\n" + .'- **1**: N/A. No sensitive data is detected.'."\n" + ."\n" + .'- **2**: S1. Level 1 sensitive data.'."\n" + ."\n" + .'- **3**: S2. Level 2 sensitive data.'."\n" + ."\n" + .'- **4**: S3. Level 3 sensitive data.'."\n" + ."\n" + .'- **5**: S4. Level 4 sensitive data.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], [ 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the sensitive data detection rule that the package hits.'."\n" - ."\n" - .'> You can call the **DescribeRules** operation to query the ID of the sensitive data detection rule.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '266666', - ], + 'schema' => ['description' => 'The ID of the sensitive data detection rule that the OSS object matches.'."\n" + ."\n" + .'> To query the list of authorized OSS objects by the ID of a matched sensitive data detection rule, call the **DescribeRules** operation to obtain the rule ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1222', 'title' => ''], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the instance to which the package belongs.'."\n" - ."\n" - .'> You can call the **DescribeInstances** operation to query the ID of the instance.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '12321', - ], + 'schema' => ['description' => 'The ID of the asset instance to which the OSS object belongs.'."\n" + ."\n" + .'> To query the list of authorized OSS objects by the ID of the asset instance, call the **DescribeInstances** operation to obtain the instance ID.', 'type' => 'string', 'required' => false, 'example' => 'ins-2222', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The maximum number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12', 'title' => ''], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'ServiceRegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region of the asset.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'LastScanTimeStart', + 'in' => 'query', + 'schema' => ['description' => 'The start time of the last scan. The value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1536751124000', 'title' => ''], + ], + [ + 'name' => 'LastScanTimeEnd', + 'in' => 'query', + 'schema' => ['description' => 'The end time of the last scan. The value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1536751124000', 'title' => ''], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the industry-specific template.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'FileCategoryCode', + 'in' => 'query', + 'schema' => ['description' => 'The code of the file category.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'Marker', + 'in' => 'query', + 'schema' => ['description' => 'The position where the query starts. To retrieve the next page of results, set this parameter to the value of `NextMarker` from the previous response.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1754786235714378752', 'title' => ''], ], ], 'responses' => [ @@ -8053,126 +6975,129 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], + 'CurrentPage' => ['description' => 'The page number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Marker' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'example' => '-1', 'title' => ''], + 'NextMarker' => ['description' => 'The token that marks the start of the next page of results.'."\n" + ."\n" + .'> This parameter is returned only when `Truncated` is `true`.', 'type' => 'string', 'example' => '1754786235714378752', 'title' => ''], + 'Truncated' => ['description' => 'Indicates whether the results are truncated. The default value is false. Valid values:'."\n" + ."\n" + .'- **true**: The results are truncated.'."\n" + ."\n" + .'- **false**: The results are not truncated.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], 'Items' => [ - 'description' => 'An array that consists of the information about the packages.'."\n", + 'description' => 'A list of OSS objects.', 'type' => 'array', 'items' => [ + 'description' => 'An OSS object.', 'type' => 'object', 'properties' => [ - 'CreationTime' => [ - 'description' => 'The point in time when the MaxCompute package was created. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1536751124000', - ], - 'Sensitive' => [ - 'description' => 'Indicates whether the package contains sensitive data. Valid values:'."\n" - ."\n" - .'* true: yes'."\n" - .'* false: no'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'Owner' => [ - 'description' => 'The account of the user that owns the package.'."\n", - 'type' => 'string', - 'example' => 'cou-2221', - ], - 'RiskLevelName' => [ - 'description' => 'The name of the sensitivity level for the package.'."\n", - 'type' => 'string', - 'example' => 'Highest sensitivity level'."\n", - ], - 'InstanceId' => [ - 'description' => 'The ID of the instance to which the package belongs.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '223453332', - ], - 'TotalCount' => [ - 'description' => 'The total volume of data in the package. For example, the value can be the total number of tables in the MaxCompute package.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '321', - ], - 'Name' => [ - 'description' => 'The name of the package.'."\n", - 'type' => 'string', - 'example' => 'gxdata', - ], - 'SensitiveCount' => [ - 'description' => 'The total volume of sensitive data in the package. For example, the value can be the total number of sensitive tables in the MaxCompute package.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '123', - ], - 'RiskLevelId' => [ - 'description' => 'The sensitivity level of the package. Valid values:'."\n" - ."\n" - .'* **1**: N/A, which indicates that no sensitive data is detected.'."\n" - .'* **2**: S1, which indicates the low sensitivity level.'."\n" - .'* **3**: S2, which indicates the medium sensitivity level.'."\n" - .'* **4**: S3, which indicates the high sensitivity level.'."\n" - .'* **5**: S4, which indicates the highest sensitivity level.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4', - ], - 'Id' => [ - 'description' => 'The ID of the package.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '111111', + 'InstanceId' => ['description' => 'The ID of the asset instance to which the OSS object belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '1232122', 'title' => ''], + 'CategoryName' => ['description' => 'The name of the file type.', 'type' => 'string', 'example' => 'MP4', 'title' => ''], + 'RiskLevelId' => ['description' => 'The risk level ID of the OSS object. Valid values:'."\n" + ."\n" + .'- **1**: N/A. No sensitive data is detected.'."\n" + ."\n" + .'- **2**: S1. Level 1 sensitive data.'."\n" + ."\n" + .'- **3**: S2. Level 2 sensitive data.'."\n" + ."\n" + .'- **4**: S3. Level 3 sensitive data.'."\n" + ."\n" + .'- **5**: S4. Level 4 sensitive data.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'RegionId' => ['description' => 'The region ID of the OSS object owner.', 'type' => 'string', 'example' => 'cn-***', 'title' => ''], + 'FileId' => ['description' => 'The ID of the OSS file.', 'type' => 'string', 'example' => 'file-22***', 'title' => ''], + 'Size' => ['description' => 'The file size. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '20', 'title' => ''], + 'BucketName' => ['description' => 'The bucket name.', 'type' => 'string', 'example' => 'oss-duplicate-***', 'title' => ''], + 'RiskLevelName' => ['description' => 'The name of the risk level for the OSS object.', 'type' => 'string', 'example' => 'High risk', 'title' => ''], + 'Category' => ['description' => 'The type of the OSS object, such as **900001** (MP4 video file), **800015** (PDF document), and **800005** (OSS configuration file).', 'type' => 'integer', 'format' => 'int64', 'example' => '900001', 'title' => ''], + 'Name' => ['description' => 'The name of the OSS object.', 'type' => 'string', 'example' => 'obj_id', 'title' => ''], + 'RuleCount' => ['description' => 'The number of matched rules.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'SensitiveCount' => ['description' => 'The number of matched fields.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the OSS object.', 'type' => 'string', 'example' => '17383', 'title' => ''], + 'RuleList' => [ + 'description' => 'A list of rules.', + 'type' => 'array', + 'items' => [ + 'description' => 'A rule.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the rule.', 'type' => 'string', 'example' => 'ID card', 'title' => ''], + 'RiskLevelId' => ['description' => 'The risk level ID of the rule. Valid values:'."\n" + ."\n" + .'- **1**: N/A. No sensitive data is detected.'."\n" + ."\n" + .'- **2**: S1. Level 1 sensitive data.'."\n" + ."\n" + .'- **3**: S2. Level 2 sensitive data.'."\n" + ."\n" + .'- **4**: S3. Level 3 sensitive data.'."\n" + ."\n" + .'- **5**: S4. Level 4 sensitive data.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'Count' => ['description' => 'The number of times the rule is matched.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], + 'FileCategoryCode' => ['description' => 'The code of the file category.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'FileCategoryName' => ['description' => 'The name of the file category.', 'type' => 'string', 'example' => 'text file', 'title' => ''], + 'LastModifiedTime' => ['description' => 'The time when the file was last modified.', 'type' => 'integer', 'format' => 'int64', 'example' => '1536751124000'."\n", 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 12,\\n \\"Items\\": [\\n {\\n \\"CreationTime\\": 1536751124000,\\n \\"Sensitive\\": true,\\n \\"Owner\\": \\"cou-2221\\",\\n \\"RiskLevelName\\": \\"最高风险等级\\",\\n \\"InstanceId\\": 223453332,\\n \\"TotalCount\\": 321,\\n \\"Name\\": \\"gxdata\\",\\n \\"SensitiveCount\\": 123,\\n \\"RiskLevelId\\": 4,\\n \\"Id\\": 111111\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<DescribePackages>\\r\\n\\t<RequestId>769FB3C1-F4C9-42DF-9B72-7077A8989C13</RequestId>\\r\\n\\t<TotalCount>4</TotalCount>\\r\\n\\t<PageSize>10</PageSize>\\r\\n\\t<CurrentPage>1</CurrentPage>\\r\\n\\t<Items>\\r\\n\\t\\t<Owner>dtdep-239-******</Owner>\\r\\n\\t\\t<RiskLevelId>2</RiskLevelId>\\r\\n\\t\\t<RiskLevelName>中等风险等级</RiskLevelName>\\r\\n\\t\\t<DepartName>***DemoCenter</DepartName>\\r\\n\\t\\t<Name>gxdata</Name>\\r\\n\\t\\t<CreationTime>1536751124000</CreationTime>\\r\\n\\t\\t<Sensitive>true</Sensitive>\\r\\n\\t\\t<Id>268</Id>\\r\\n\\t\\t<InstanceId>1</InstanceId>\\r\\n\\t</Items>\\r\\n</DescribePackages>\\t\\r\\n","errorExample":""}]', - 'title' => 'DescribePackages', - 'description' => 'You can call this operation to query MaxCompute packages that are scanned by DSC. This helps you search for MaxCompute packages and view the summary of MaxCompute packages.'."\n" - ."\n" - .'# Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"PageSize\\": 12,\\n \\"TotalCount\\": 1,\\n \\"Marker\\": \\"-1\\",\\n \\"NextMarker\\": \\"1754786235714378752\\",\\n \\"Truncated\\": false,\\n \\"Items\\": [\\n {\\n \\"InstanceId\\": 1232122,\\n \\"CategoryName\\": \\"MP4\\",\\n \\"RiskLevelId\\": 2,\\n \\"RegionId\\": \\"cn-***\\",\\n \\"FileId\\": \\"file-22***\\",\\n \\"Size\\": 20,\\n \\"BucketName\\": \\"oss-duplicate-***\\",\\n \\"RiskLevelName\\": \\"High risk\\",\\n \\"Category\\": 900001,\\n \\"Name\\": \\"obj_id\\",\\n \\"RuleCount\\": 100,\\n \\"SensitiveCount\\": 50,\\n \\"Id\\": \\"17383\\",\\n \\"RuleList\\": [\\n {\\n \\"Name\\": \\"ID card\\",\\n \\"RiskLevelId\\": 2,\\n \\"Count\\": 100\\n }\\n ],\\n \\"FileCategoryCode\\": 1,\\n \\"FileCategoryName\\": \\"text file\\",\\n \\"LastModifiedTime\\": 1536751124000\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeOssObjects', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeCategoryTemplateList' => [ - 'summary' => 'Call this interface to query the list of industry templates.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-08-13T07:01:55.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-06-03T02:01:02.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-25T03:20:39.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-09-22T08:24:06.000Z', 'description' => 'Request parameters changed, Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOssObjects'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeOssObjects', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DescribePackages' => [ + 'summary' => 'Retrieves information about MaxCompute packages authorized for scanning, including package names, owner accounts, and risk levels.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8183,428 +7108,435 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '81997', - 'abilityTreeNodes' => [ - 'FEATUREsddpIUNEZP', - ], + 'abilityTreeNodes' => ['FEATUREsddp2CRSZ1'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'Set the language type for the request and response messages, default is **zh_cn**.'."\n" - .'Values:'."\n" - ."\n" - .'- **zh_cn**: Chinese (Simplified)'."\n" - .'- **en_us**: English (United States)', - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The language of the request and response. The default value is **zh\\_cn**. Valid values:'."\n" + ."\n" + .'- **zh\\_cn**: Chinese.'."\n" + ."\n" + .'- **en\\_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'When performing a paginated query, set the number of items per page. Default value is **10**.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The keyword for the search. Fuzzy matching is supported.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'ProductId', 'in' => 'query', - 'schema' => [ - 'description' => 'Page number for paginated queries. Default value: 1.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the product to which the data asset package belongs.'."\n" + ."\n" + .'> To query the list of MaxCompute data asset packages that are authorized for an SDPP connection by product ID, call the **DescribeDataAssets** operation to obtain the product ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2566600', 'title' => ''], ], [ - 'name' => 'UsageScenario', + 'name' => 'RiskLevelId', 'in' => 'query', - 'schema' => [ - 'description' => 'API call scenario, default is **null**.'."\n" - .'Values:'."\n" - .'- **null**: Old version'."\n" - .'- **0**: Old version'."\n" - .'- **1**: New version', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the risk level for the data asset package.'."\n" + ."\n" + .'- **1**: N/A: No sensitive data is detected.'."\n" + ."\n" + .'- **2**: S1: Level 1 sensitive data.'."\n" + ."\n" + .'- **3**: S2: Level 2 sensitive data.'."\n" + ."\n" + .'- **4**: S3: Level 3 sensitive data.'."\n" + ."\n" + .'- **5**: S4: Level 4 sensitive data.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'FeatureType', + 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The ID of the sensitive data detection rule that the data asset package matches.'."\n" + ."\n" + .'> To query the list of MaxCompute data asset packages that are authorized for an SDPP connection by the ID of a matching sensitive data detection rule, call the **DescribeRules** operation to obtain the rule ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '266666', 'title' => ''], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the asset instance to which the data asset package belongs.'."\n" + ."\n" + .'> To query the list of MaxCompute data asset packages that are authorized for an SDPP connection by instance ID, call the **DescribeInstances** operation to obtain the instance ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12321', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => 'The page number to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'Return value object.', 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => 'Page number for paginated queries. Default value: 1.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The unique identifier generated by Alibaba Cloud for this request.', - 'type' => 'string', - 'example' => '8491DBFD-48C0-4E11-B6FC-6F38921244A9', - ], - 'PageSize' => [ - 'description' => 'Number of items per page in a paginated query. Default value: 10.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'Total number of data items returned.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], + 'CurrentPage' => ['description' => 'The page number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], 'Items' => [ - 'description' => 'List of industry templates.', + 'description' => 'The information about the data asset packages.', 'type' => 'array', 'items' => [ - 'description' => 'Industry template object.', 'type' => 'object', 'properties' => [ - 'CurrentRiskLevel' => [ - 'description' => 'Current risk level ID.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'Status' => [ - 'description' => 'Status of the industry template. Values:'."\n" - .'- **0**: Closed status.'."\n" - .'- **1**: Enabled status, user\'s current main template.'."\n" - .'- **2**: Active status, both enabled and active templates can be applied to recognition tasks.'."\n" - .'- **3**: General recognition model template status.'."\n" - ."\n" - .'> Templates in enabled and active status can be used as the industry template ID parameter for [DescribeDataObjects](~~2399253~~).', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Type' => [ - 'description' => 'Type of the industry template.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'SupportEdit' => [ - 'description' => 'Whether the industry template supports editing. Values:'."\n" - .'- **0**: Not supported.'."\n" - .'- **1**: Supported.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'MaxCategoryLevel' => [ - 'description' => 'Maximum category level.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'Name' => [ - 'description' => 'Name of the industry template.', - 'type' => 'string', - 'example' => 'built-in template', - ], - 'MaxRiskLevel' => [ - 'description' => 'Maximum risk level ID.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'Id' => [ - 'description' => 'Unique identifier ID of the industry template.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Description' => [ - 'description' => 'Description information of the industry template.', - 'type' => 'string', - 'example' => 'description', - ], - 'GmtCreate' => [ - 'description' => 'Industry template creation time.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582992000000', - ], - 'GmtModified' => [ - 'description' => 'Industry template modification time.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1545277010000', - ], + 'CreationTime' => ['description' => 'The time when the data asset package was created. This value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1536751124000', 'title' => ''], + 'Sensitive' => ['description' => 'Indicates whether the data asset package contains sensitive data.'."\n" + ."\n" + .'- true: Yes.'."\n" + ."\n" + .'- false: No.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'Owner' => ['description' => 'The account of the data asset package owner.', 'type' => 'string', 'example' => 'cou-2221', 'title' => ''], + 'RiskLevelName' => ['description' => 'The name of the risk level for the package.', 'type' => 'string', 'example' => 'S3', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the asset instance to which the data asset package belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '223453332', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of data entries in the data asset package. For example, the total number of tables in MaxCompute.', 'type' => 'integer', 'format' => 'int32', 'example' => '321', 'title' => ''], + 'Name' => ['description' => 'The name of the data asset package.', 'type' => 'string', 'example' => 'gxdata', 'title' => ''], + 'SensitiveCount' => ['description' => 'The total number of sensitive data entries in the data asset package. For example, the total number of sensitive tables in MaxCompute.', 'type' => 'integer', 'format' => 'int32', 'example' => '123', 'title' => ''], + 'RiskLevelId' => ['description' => 'The ID of the risk level for the data asset package.'."\n" + ."\n" + .'- **1**: N/A: No sensitive data is detected.'."\n" + ."\n" + .'- **2**: S1: Level 1 sensitive data.'."\n" + ."\n" + .'- **3**: S2: Level 2 sensitive data.'."\n" + ."\n" + .'- **4**: S3: Level 3 sensitive data.'."\n" + ."\n" + .'- **5**: S4: Level 4 sensitive data.', 'type' => 'integer', 'format' => 'int64', 'example' => '4', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the data asset package.', 'type' => 'integer', 'format' => 'int64', 'example' => '111111', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"8491DBFD-48C0-4E11-B6FC-6F38921244A9\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 12,\\n \\"Items\\": [\\n {\\n \\"CurrentRiskLevel\\": 5,\\n \\"Status\\": 1,\\n \\"Type\\": 6,\\n \\"SupportEdit\\": 0,\\n \\"MaxCategoryLevel\\": 2,\\n \\"Name\\": \\"built-in template\\",\\n \\"MaxRiskLevel\\": 5,\\n \\"Id\\": 1,\\n \\"Description\\": \\"description\\",\\n \\"GmtCreate\\": 1582992000000,\\n \\"GmtModified\\": 1545277010000\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'Query Industry Template List', - 'translator' => 'machine', - ], - 'DescribeCategoryTemplateRuleList' => [ - 'summary' => 'Queries rules in a classification template by page.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 12,\\n \\"Items\\": [\\n {\\n \\"CreationTime\\": 1536751124000,\\n \\"Sensitive\\": true,\\n \\"Owner\\": \\"cou-2221\\",\\n \\"RiskLevelName\\": \\"S3\\",\\n \\"InstanceId\\": 223453332,\\n \\"TotalCount\\": 321,\\n \\"Name\\": \\"gxdata\\",\\n \\"SensitiveCount\\": 123,\\n \\"RiskLevelId\\": 4,\\n \\"Id\\": 111111\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribePackages', + 'description' => 'This API is typically used to query a list of MaxCompute packages. This helps you search for packages and obtain an overview of sensitive information.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for a single user is 10 calls per second. If you exceed this limit, your API calls are throttled. This can affect your business. Make sure to call this API within the limit.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:12.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePackages'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribePackages', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeParentInstance' => [ + 'summary' => 'Queries the list of authorized or unauthorized assets.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '81998', - 'abilityTreeNodes' => [ - 'FEATUREsddpIUNEZP', - ], + 'abilityTreeCode' => '149789', + 'abilityTreeNodes' => ['FEATUREsddp2CRSZ1'], ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Simplified Chinese'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The page number when paging is used. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page. Default value: **10**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The number of entries per page when paging is used. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'ServiceRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return. Default value: **1**.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The region where the asset resides. Valid values:'."\n" + .'- **cn-beijing**: China (Beijing).'."\n" + .'- **cn-zhangjiakou**: China (Zhangjiakou).'."\n" + .'- **cn-huhehaote**: China (Hohhot).'."\n" + .'- **cn-hangzhou**: China (Hangzhou).'."\n" + .'- **cn-shanghai**: China (Shanghai).'."\n" + .'- **cn-shenzhen**: China (Shenzhen).'."\n" + .'- **cn-hongkong**: Hong Kong (China).', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai', 'title' => ''], ], [ - 'name' => 'Status', + 'name' => 'EngineType', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the rule. Default value: **null**. Valid values:'."\n" - ."\n" - .'* **0**: disabled'."\n" - .'* **1**: enabled'."\n" - .'* **null**: all states'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The engine type. Valid values:'."\n" + .'- **MySQL**'."\n" + .'- **MariaDB**'."\n" + .'- **Oracle**'."\n" + .'- **PostgreSQL**'."\n" + .'- **SQLServer**', 'type' => 'string', 'required' => false, 'example' => 'MySQL', 'title' => ''], ], [ - 'name' => 'RiskLevelId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'The sensitivity level of the data that is not compliant with the rule. Valid values: **1** to **11**. Default value: **null**.'."\n" - ."\n" - .'* **1**: No sensitive data is detected.'."\n" - .'* **2**: specifies the S1 sensitivity level.'."\n" - .'* **3**: specifies the S2 sensitivity level.'."\n" - .'* **4**: specifies the S3 sensitivity level.'."\n" - .'* **5**: specifies the S4 sensitivity level.'."\n" - .'* **6**: specifies the S5 sensitivity level.'."\n" - .'* **7**: specifies the S6 sensitivity level.'."\n" - .'* **8**: specifies the S7 sensitivity level.'."\n" - .'* **9**: specifies the S8 sensitivity level.'."\n" - .'* **10**: specifies the S9 sensitivity level.'."\n" - .'* **11**: specifies the S10 sensitivity level.'."\n" - .'* **null**: specifies all preceding sensitivity levels.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The instance ID of the asset to which the column data in the data asset table belongs.', 'type' => 'string', 'required' => false, 'example' => 'rm-*******xx', 'title' => ''], ], [ - 'name' => 'FeatureType', + 'name' => 'DbName', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'description' => 'This parameter is deprecated.'."\n", - 'example' => '1', - ], + 'schema' => ['description' => 'The database name.', 'type' => 'string', 'required' => false, 'example' => 'db_**t', 'title' => ''], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['description' => 'Required. The product type. Valid values:'."\n" + .'- **1**: MaxCompute'."\n" + .'- **2**: OSS'."\n" + .'- **3**: ADB-MYSQL'."\n" + .'- **4**: TableStore'."\n" + .'- **5**: RDS'."\n" + .'- **6**: SelfDB'."\n" + .'- **7**: PolarDB-X'."\n" + .'- **8**: PolarDB'."\n" + .'- **9**: ADB-PG'."\n" + .'- **10**: OceanBase'."\n" + .'- **11**: MongoDB'."\n" + .'- **25**: Redis', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5', 'title' => ''], + ], + [ + 'name' => 'CheckStatus', + 'in' => 'query', + 'schema' => ['description' => 'The database connection status of the instance or the database under the instance. Valid values:'."\n" + .'- **-3**: The database is not created.'."\n" + .'- **-2**: Released.'."\n" + .'- **-1**: Not connected.'."\n" + .'- **2**: Connectivity test in progress.'."\n" + .'- **3**: Connected.'."\n" + .'- **4**: Connection failed.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], + ], + [ + 'name' => 'ClusterStatus', + 'in' => 'query', + 'schema' => ['description' => 'The instance status. Valid values:'."\n" + .'- **Running**: Running.'."\n" + .'- **Released**: Released.'."\n" + .'- **DatabaseNotCreated**: The database is not created.', 'type' => 'string', 'required' => false, 'example' => 'Running', 'title' => ''], + ], + [ + 'name' => 'AuthStatus', + 'in' => 'query', + 'schema' => ['description' => 'The authorization status of the data asset instance. Valid values:'."\n" + .'- **0**: Unauthorized.'."\n" + .'- **1**: Authorized.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], + ], + [ + 'name' => 'MemberAccount', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the member accounts.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '**********8103', 'title' => ''], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + .'- **zh_cn**: Chinese (Simplified). This is the default value.'."\n" + .'- **en_us**: English (US).', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '136082B3-B21F-5E9D-B68E-991FFD205D24', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'The total number of rules in the template.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'ACEF9334-BB50-525D-8CF3-6CF504E4D1B3'], + 'CurrentPage' => ['description' => 'The page number of the current page when paging is used. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The maximum number of data asset instances displayed per page when paging is used. Default value: **10**.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], 'Items' => [ - 'description' => 'The list of rules.'."\n", + 'description' => 'The list of data assets returned.', 'type' => 'array', 'items' => [ + 'description' => 'The asset details.', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => 'The status of the rule. Valid values:'."\n" - ."\n" - .'* **0**: disabled'."\n" - .'* **1**: enabled'."\n" - .'* **null**: all states'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'IdentificationScope' => [ - 'description' => 'The scan scope of the rule. The value is a JSON array of the STRING type. Each element in a JSON array indicates a scan scope that contains the following fields:'."\n" - ."\n" - .'* **Asset**: the data asset type. Valid values: RDS, DRDS, PolarDB, OTS, ADB, and OceanBase. The value is of the STRING type.'."\n" - ."\n" - .'* **Content**: the scan scope. The value is of the STRING type. Each element in a JSON array indicates a scan scope that contains the following fields:'."\n" - ."\n" - .' * **Range**: the matching condition. Valid values: Instance, database, table, column, project, bucket, and object. The value project is valid only for data assets in MaxCompute. The values bucket and object are valid only for data assets in Object Storage Service (OSS). The value of this parameter is of the STRING type.'."\n" - .' * **Operator**: the operator. Valid values: equals, regex, prefix, and suffix. The operator equals indicates a full match. The operator regex indicates a match by regular expression. The operator prefix indicates a match by prefix. The operator suffix indicates a match by suffix.'."\n" - .' * **Value**: the matching content. The value is of the STRING type.'."\n", - 'type' => 'string', - 'example' => '[{"Asset":"RDS","Content":[{"Range":"database","Operator":"regex","Value":"register"}]},{"Asset":"RDS","Content":[{"Range":"table","Operator":"regex","Value":"register"}]},{"Asset":"RDS","Content":[{"Range":"column","Operator":"regex","Value":"register"}]},{"Asset":"ODPS","Content":[{"Range":"project","Operator":"regex","Value":"register"}]},{"Asset":"ODPS","Content":[{"Range":"table","Operator":"regex","Value":"register"}]},{"Asset":"ODPS","Content":[{"Range":"column","Operator":"regex","Value":"register"}]}]', - ], - 'RiskLevelId' => [ - 'description' => 'The sensitivity level of the data that is not compliant with the rule. Valid values: **1** to **11**.'."\n" - ."\n" - .'* **1**: No sensitive data is detected.'."\n" - .'* **2**: indicates the S1 sensitivity level.'."\n" - .'* **3**: indicates the S2 sensitivity level.'."\n" - .'* **4**: indicates the S3 sensitivity level.'."\n" - .'* **5**: indicates the S4 sensitivity level.'."\n" - .'* **6**: indicates the S5 sensitivity level.'."\n" - .'* **7**: indicates the S6 sensitivity level.'."\n" - .'* **8**: indicates the S7 sensitivity level.'."\n" - .'* **9**: indicates the S8 sensitivity level.'."\n" - .'* **10**: indicates the S9 sensitivity level.'."\n" - .'* **11**: indicates the S10 sensitivity level.'."\n" - .'* **null**: indicates all preceding sensitivity levels.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'Description' => [ - 'description' => 'The description of the rule.'."\n", - 'type' => 'string', - 'example' => 'Rule for identifying ID card numbers'."\n", - ], - 'IdentificationRuleIds' => [ - 'description' => 'The IDs of sensitive data types. Multiple IDs are separated by commas (,).'."\n", - 'type' => 'string', - 'example' => '1001,1002', - ], - 'Name' => [ - 'description' => 'The name of the rule.'."\n", - 'type' => 'string', - 'example' => 'ID card number'."\n", - ], - 'Id' => [ - 'description' => 'The unique ID of the rule.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'rm-*******t2vz', 'title' => ''], + 'LocalName' => ['description' => 'The region name. Valid values:'."\n" + ."\n" + .'- **China (Hangzhou)**'."\n" + .'- **China (Shanghai)**'."\n" + .'- **China (Beijing)**'."\n" + .'- **China (Zhangjiakou)**'."\n" + .'- **China (Shenzhen)**'."\n" + .'- **China (Guangzhou)**'."\n" + .'- **Hong Kong (China)**'."\n" + .'- **Singapore**'."\n" + .'- **US (Silicon Valley)**', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'EngineType' => ['description' => 'The engine type. Valid values:'."\n" + .'- **MySQL**'."\n" + .'- **MariaDB**'."\n" + .'- **Oracle**'."\n" + .'- **PostgreSQL**'."\n" + .'- **SQLServer**', 'type' => 'string', 'example' => 'MySQL', 'title' => ''], + 'ParentId' => ['description' => 'The identifier of the authorized asset. For structured data, the identifier is in the format of instance ID.database name.', 'type' => 'string', 'example' => 'rm-******xxx.**st', 'title' => ''], + 'DbNum' => ['description' => 'The number of databases under the instance.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'ClusterStatus' => ['description' => 'The instance status.', 'type' => 'string', 'example' => 'Running', 'title' => ''], + 'TenantId' => ['description' => 'The tenant ID. This parameter is valid only for OceanBase assets.', 'type' => 'string', 'example' => 'HB***-zh_CN', 'title' => ''], + 'TenantName' => ['description' => 'The tenant name. This parameter is valid only for OceanBase assets.', 'type' => 'string', 'example' => 'user1', 'title' => ''], + 'InstanceDescription' => ['description' => 'The description of the instance.', 'type' => 'string', 'example' => 'instance description', 'title' => ''], + 'ResourceType' => ['description' => 'The asset type name. Valid values:'."\n" + .'- **MaxCompute**'."\n" + .'- **OSS**'."\n" + .'- **ADB-MYSQL**'."\n" + .'- **TableStore**'."\n" + .'- **RDS**'."\n" + .'- **SelfDB**'."\n" + .'- **PolarDB-X**'."\n" + .'- **PolarDB**'."\n" + .'- **ADB-PG**'."\n" + .'- **OceanBase**'."\n" + .'- **MongoDB**'."\n" + .'- **Redis**', 'type' => 'string', 'example' => 'RDS', 'title' => ''], + 'UnConnectDbCount' => ['description' => 'The number of unconnected databases under the instance.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'UnSupportOneClickAuthReason' => ['description' => 'The reason why one-click authorization is not supported.', 'type' => 'string', 'example' => 'engine type not support', 'title' => ''], + 'ConnectNode' => ['description' => 'The connection node type. This parameter is valid only for the MongoDB Asset Type.', 'type' => 'string', 'example' => 'Primary', 'title' => ''], + 'SupportConnectNodes' => ['description' => 'The supported connection nodes. Multiple nodes are separated by commas (,).', 'type' => 'string', 'example' => 'Primary,Secondary', 'title' => ''], + 'AuthStatus' => ['description' => 'The authorization status of the data asset instance. Valid values:'."\n" + .'- **0**: Unauthorized.'."\n" + .'- **1**: Authorized.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'InstanceSize' => ['description' => 'The storage size of the instance. This parameter is valid only for the OSS Asset Type. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '409600', 'title' => ''], + 'AuditStatus' => ['description' => 'The audit authorization status. Valid values:'."\n" + .'- **1**: Authorized.'."\n" + .'- **0**: Unauthorized.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'MemberAccount' => ['description' => 'The ID of the member accounts.', 'type' => 'integer', 'format' => 'int64', 'example' => '**********8103', 'title' => ''], + 'AuthTime' => ['description' => 'The time when the instance was authorized. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1719882941000', 'title' => ''], + 'RegionId' => ['description' => 'The region where the asset resides.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"136082B3-B21F-5E9D-B68E-991FFD205D24\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 10,\\n \\"Items\\": [\\n {\\n \\"Status\\": 1,\\n \\"IdentificationScope\\": \\"[{\\\\\\"Asset\\\\\\":\\\\\\"RDS\\\\\\",\\\\\\"Content\\\\\\":[{\\\\\\"Range\\\\\\":\\\\\\"database\\\\\\",\\\\\\"Operator\\\\\\":\\\\\\"regex\\\\\\",\\\\\\"Value\\\\\\":\\\\\\"register\\\\\\"}]},{\\\\\\"Asset\\\\\\":\\\\\\"RDS\\\\\\",\\\\\\"Content\\\\\\":[{\\\\\\"Range\\\\\\":\\\\\\"table\\\\\\",\\\\\\"Operator\\\\\\":\\\\\\"regex\\\\\\",\\\\\\"Value\\\\\\":\\\\\\"register\\\\\\"}]},{\\\\\\"Asset\\\\\\":\\\\\\"RDS\\\\\\",\\\\\\"Content\\\\\\":[{\\\\\\"Range\\\\\\":\\\\\\"column\\\\\\",\\\\\\"Operator\\\\\\":\\\\\\"regex\\\\\\",\\\\\\"Value\\\\\\":\\\\\\"register\\\\\\"}]},{\\\\\\"Asset\\\\\\":\\\\\\"ODPS\\\\\\",\\\\\\"Content\\\\\\":[{\\\\\\"Range\\\\\\":\\\\\\"project\\\\\\",\\\\\\"Operator\\\\\\":\\\\\\"regex\\\\\\",\\\\\\"Value\\\\\\":\\\\\\"register\\\\\\"}]},{\\\\\\"Asset\\\\\\":\\\\\\"ODPS\\\\\\",\\\\\\"Content\\\\\\":[{\\\\\\"Range\\\\\\":\\\\\\"table\\\\\\",\\\\\\"Operator\\\\\\":\\\\\\"regex\\\\\\",\\\\\\"Value\\\\\\":\\\\\\"register\\\\\\"}]},{\\\\\\"Asset\\\\\\":\\\\\\"ODPS\\\\\\",\\\\\\"Content\\\\\\":[{\\\\\\"Range\\\\\\":\\\\\\"column\\\\\\",\\\\\\"Operator\\\\\\":\\\\\\"regex\\\\\\",\\\\\\"Value\\\\\\":\\\\\\"register\\\\\\"}]}]\\",\\n \\"RiskLevelId\\": 2,\\n \\"Description\\": \\"用于识别身份证号的模板规则\\",\\n \\"IdentificationRuleIds\\": \\"1001,1002\\",\\n \\"Name\\": \\"身份证号\\",\\n \\"Id\\": 100\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeCategoryTemplateRuleListResponse>\\n <CurrentPage>1</CurrentPage>\\n <RequestId>136082B3-B21F-5E9D-B68E-991FFD205D24</RequestId>\\n <PageSize>10</PageSize>\\n <TotalCount>10</TotalCount>\\n <Items>\\n <Status>1</Status>\\n <IdentificationScope>[{\\"Asset\\":\\"RDS\\",\\"Content\\":[{\\"Range\\":\\"database\\",\\"Operator\\":\\"regex\\",\\"Value\\":\\"register\\"}]},{\\"Asset\\":\\"RDS\\",\\"Content\\":[{\\"Range\\":\\"table\\",\\"Operator\\":\\"regex\\",\\"Value\\":\\"register\\"}]},{\\"Asset\\":\\"RDS\\",\\"Content\\":[{\\"Range\\":\\"column\\",\\"Operator\\":\\"regex\\",\\"Value\\":\\"register\\"}]},{\\"Asset\\":\\"ODPS\\",\\"Content\\":[{\\"Range\\":\\"project\\",\\"Operator\\":\\"regex\\",\\"Value\\":\\"register\\"}]},{\\"Asset\\":\\"ODPS\\",\\"Content\\":[{\\"Range\\":\\"table\\",\\"Operator\\":\\"regex\\",\\"Value\\":\\"register\\"}]},{\\"Asset\\":\\"ODPS\\",\\"Content\\":[{\\"Range\\":\\"column\\",\\"Operator\\":\\"regex\\",\\"Value\\":\\"register\\"}]}]</IdentificationScope>\\n <RiskLevelId>2</RiskLevelId>\\n <Description>用于识别身份证号的模板规则</Description>\\n <IdentificationRuleIds>1001,1002</IdentificationRuleIds>\\n <Name>身份证号</Name>\\n <Id>100</Id>\\n </Items>\\n</DescribeCategoryTemplateRuleListResponse>","errorExample":""}]', - 'title' => 'DescribeCategoryTemplateRuleList', - 'description' => 'You can call this operation to query rules in a classification template.'."\n" - ."\n" - .'# Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - ], - 'DescribeTemplateAllRules' => [ - 'summary' => 'Call this interface to query all models list of industry templates.', - 'methods' => [ - 'post', - 'get', + 'title' => 'Query authorized or unauthorized assets', + 'changeSet' => [ + ['createdAt' => '2024-08-16T10:59:31.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-06-27T06:35:53.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-04-18T05:56:11.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParentInstance'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeParentInstance', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"ACEF9334-BB50-525D-8CF3-6CF504E4D1B3\\",\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 3,\\n \\"Items\\": [\\n {\\n \\"InstanceId\\": \\"rm-*******t2vz\\",\\n \\"LocalName\\": \\"cn-hangzhou\\",\\n \\"EngineType\\": \\"MySQL\\",\\n \\"ParentId\\": \\"rm-******xxx.**st\\",\\n \\"DbNum\\": \\"3\\",\\n \\"ClusterStatus\\": \\"Running\\",\\n \\"TenantId\\": \\"HB***-zh_CN\\",\\n \\"TenantName\\": \\"user1\\",\\n \\"InstanceDescription\\": \\"instance description\\",\\n \\"ResourceType\\": \\"RDS\\",\\n \\"UnConnectDbCount\\": \\"1\\",\\n \\"UnSupportOneClickAuthReason\\": \\"engine type not support\\",\\n \\"ConnectNode\\": \\"Primary\\",\\n \\"SupportConnectNodes\\": \\"Primary,Secondary\\",\\n \\"AuthStatus\\": 1,\\n \\"InstanceSize\\": 409600,\\n \\"AuditStatus\\": 1,\\n \\"MemberAccount\\": 0,\\n \\"AuthTime\\": 1719882941000,\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeRiskLevels' => [ + 'summary' => 'Call the DescribeRiskLevels operation to retrieve a list of risk levels for sensitive data.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8612,50 +7544,33 @@ ], 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82084', - 'abilityTreeNodes' => [ - 'FEATUREsddpIUNEZP', - ], + 'abilityTreeCode' => '82064', + 'abilityTreeNodes' => ['FEATUREsddpIUNEZP'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language type for the request and response, default is **zh_cn**. Values:'."\n" - .'- **zh_cn**: Chinese.'."\n" - .'- **en_us**: English.', - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- zh\\_cn: Chinese. This is the default value.'."\n" + ."\n" + .'- en\\_us: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'description' => 'Industry template ID.'."\n" - ."\n" - .'> You can obtain the industry template ID by calling [DescribeCategoryTemplateList](~~2399296~~). If this parameter is not provided, the model list of the primary template will be returned by default.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the industry-specific template.'."\n" + ."\n" + .'> Call [DescribeCategoryTemplateList](~~2399296~~) to get the ID of the industry-specific template.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], ], 'responses' => [ @@ -8663,360 +7578,332 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The unique identifier generated by Alibaba Cloud for this request.', - 'type' => 'string', - 'example' => '769FB3C1-F4C9-4******', - ], - 'RuleList' => [ - 'description' => 'List of model objects.', + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '136082B3-B21F-5E9D-B68E-991FFD205D24', 'title' => ''], + 'RiskLevelList' => [ + 'description' => 'A list of risk levels.', 'type' => 'array', 'items' => [ - 'description' => 'Model object.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'Model name.', - 'type' => 'string', - 'example' => 'Model Name', - ], - 'Id' => [ - 'description' => 'Unique ID of the model.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '376', - ], + 'Name' => ['description' => 'The name of the risk level for the sensitive data. The maximum risk level is S10 and varies based on the data classification template. The maximum risk level is S4 for the **built-in data security classification template for Alibaba and Ant Group**, and S5 for the **built-in data classification template for the finance industry (with reference to JR/T 0197-2020 Financial Data Security - Guidelines for Data Security Classification)** and the **built-in data classification standard for the energy industry**. If you use a copied template, the maximum risk level is S10.'."\n" + .'The following list describes the mappings between risk level names and IDs:'."\n" + ."\n" + .'- **NA**: 1'."\n" + ."\n" + .'- **S1**: 2'."\n" + ."\n" + .'- **S2**: 3'."\n" + ."\n" + .'- **S3**: 4'."\n" + ."\n" + .'- **S4**: 5'."\n" + ."\n" + .'- **S5**: 6'."\n" + ."\n" + .'- **S6**: 7'."\n" + ."\n" + .'- **S7**: 8'."\n" + ."\n" + .'- **S8**: 9'."\n" + ."\n" + .'- **S9**: 10'."\n" + ."\n" + .'- **S10**: 11', 'type' => 'string', 'example' => 'S1', 'title' => ''], + 'Description' => ['description' => 'The description of the risk level. You can customize the description.'."\n" + ."\n" + .'The following list describes the mappings between risk level names and their default descriptions:'."\n" + ."\n" + .'- **NA**: No sensitive data is detected'."\n" + ."\n" + .'- **S1**: Level-1 sensitive data'."\n" + ."\n" + .'- **S2**: Level-2 sensitive data'."\n" + ."\n" + .'- **S3**: Level-3 sensitive data'."\n" + ."\n" + .'- **S4**: Level-4 sensitive data'."\n" + ."\n" + .'- **S5**: Level-5 sensitive data'."\n" + ."\n" + .'- **S6**: Level-6 sensitive data'."\n" + ."\n" + .'- **S7**: Level-7 sensitive data'."\n" + ."\n" + .'- **S8**: Level-8 sensitive data'."\n" + ."\n" + .'- **S9**: Level-9 sensitive data'."\n" + ."\n" + .'- **S10**: Level-10 sensitive data', 'type' => 'string', 'example' => 'S3', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the risk level. Valid values: 1 to 11. Each risk level ID corresponds to a risk level name. For example, the risk level ID 2 corresponds to the risk level S1.'."\n" + ."\n" + .'For more information about the mappings, see the description of the Name parameter.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'ReferenceNum' => ['description' => 'The number of times the risk level is referenced in the template. The default value is 0.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-4******\\",\\n \\"RuleList\\": [\\n {\\n \\"Name\\": \\"Model Name\\",\\n \\"Id\\": 376\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'Query All Models List of Industry Templates', - 'translator' => 'machine', - ], - 'DescribeDocTypes' => [ - 'summary' => 'Queries a list of OSS object types that can be identified.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"136082B3-B21F-5E9D-B68E-991FFD205D24\\",\\n \\"RiskLevelList\\": [\\n {\\n \\"Name\\": \\"S1\\",\\n \\"Description\\": \\"S3\\",\\n \\"Id\\": 2,\\n \\"ReferenceNum\\": 20\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeRiskLevels', + 'description' => 'You can use this operation to retrieve a list of risk levels for sensitive data that are defined in the current template. This lets you view the number of rules that reference each risk level and the maximum risk level in the template.'."\n" + ."\n" + .'## QPS limits'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 calls per second for a single user. If you exceed this limit, your API calls are throttled. This may affect your business. Plan your calls accordingly.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-03-25T07:35:03.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-22T08:24:06.000Z', 'description' => 'Request parameters changed'], ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsddpIUNEZP', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRiskLevels'], ], ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Chinese'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '769FB3C1-F4C9-4******', - ], - 'DocTypeList' => [ - 'description' => 'A list of OSS object types.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => 'The code of the object type.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100001', - ], - 'Name' => [ - 'description' => 'The name of the object type.'."\n", - 'type' => 'string', - 'example' => 'C/C++ Source Code', - ], - 'Id' => [ - 'description' => 'The ID of the object type.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeRiskLevels', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], ], - 'description' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-4******\\",\\n \\"DocTypeList\\": [\\n {\\n \\"Code\\": 100001,\\n \\"Name\\": \\"C/C++ Source Code\\",\\n \\"Id\\": 1\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'DescribeDocTypes', ], - 'DescribeDataObjects' => [ - 'summary' => 'Paginated Query of Data Catalog Objects', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeRules' => [ + 'summary' => 'Queries a list of sensitive data detection rules.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'deprecated' => false, + 'operationType' => 'read', 'systemTags' => [ 'operationType' => 'get', - 'abilityTreeCode' => '149455', - 'abilityTreeNodes' => [ - 'FEATUREsddp2VFD4T', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '82070', + 'abilityTreeNodes' => ['FEATUREsddpIUNEZP'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language type for request and response messages, default is **zh_cn**. Values:'."\n" - .'- **zh_cn**: Chinese.'."\n" - .'- **en_us**: English.', - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The language of the request and response messages. Valid values:'."\n" + ."\n" + .'- **zh**: Chinese'."\n" + ."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'When performing a paginated query, set the maximum number of data asset instances to display per page. Default value: **10**.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The number of entries to return on each page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12', 'title' => ''], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'Page number for the paginated query. Default value: 1.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The page number of the paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ProductIds', + 'name' => 'CustomType', 'in' => 'query', - 'schema' => [ - 'description' => 'It is recommended to fill in the list of product IDs to be queried, separated by commas. Values:'."\n" - .'- **1**: MaxCompute'."\n" - .'- **2**: OSS'."\n" - .'- **3**: ADB-MYSQL'."\n" - .'- **4**: TableStore'."\n" - .'- **5**: RDS'."\n" - .'- **6**: SELF_DB'."\n" - .'- **7**: PolarDB-X'."\n" - .'- **8**: PolarDB'."\n" - .'- **9**: ADB-PG'."\n" - .'- **10**: OceanBase'."\n" - .'- **11**: MongoDB'."\n" - .'- **25**: Redis'."\n" - ."\n" - .'> OSS is mutually exclusive with other products, meaning if OSS is included in the query, no other products can be listed; by default, non-OSS products are queried.', - 'type' => 'string', - 'required' => false, - 'example' => '1,5', - ], + 'schema' => ['description' => 'The type of the sensitive data detection rule. Valid values:'."\n" + ."\n" + .'- **0**: built-in'."\n" + ."\n" + .'- **1**: custom', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ParentCategoryIds', + 'name' => 'Category', 'in' => 'query', - 'schema' => [ - 'description' => 'List of parent category IDs for the template to be queried, separated by commas.', - 'type' => 'string', - 'required' => false, - 'example' => '234,236,238', - ], + 'schema' => ['description' => 'The type of content in the sensitive data detection rule. Valid values:'."\n" + ."\n" + .'- **0**: keyword'."\n" + ."\n" + .'- **2**: regular expression', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'QueryName', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'Keyword for the data object to be queried.', - 'type' => 'string', - 'required' => false, - 'example' => 't_sddp_selfmysql_pers0', - ], + 'schema' => ['description' => 'The name of the sensitive data detection rule. Fuzzy match is supported.', 'type' => 'string', 'required' => false, 'example' => '***Rule', 'title' => ''], ], [ - 'name' => 'ServiceRegionId', + 'name' => 'RiskLevelId', 'in' => 'query', - 'schema' => [ - 'description' => 'Region where the asset is located. Values:'."\n" - .'- **cn-beijing**: North China 2 (Beijing).'."\n" - .'- **cn-zhangjiakou**: North China 3 (Zhangjiakou).'."\n" - .'- **cn-huhehaote**: North China 5 (Hohhot).'."\n" - .'- **cn-hangzhou**: East China 1 (Hangzhou).'."\n" - .'- **cn-shanghai**: East China 2 (Shanghai).'."\n" - .'- **cn-shenzhen**: South China 1 (Shenzhen).'."\n" - .'- **cn-hongkong**: Hong Kong, China.', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => 'The sensitivity level ID of the sensitive data detection rule. Valid values:'."\n" + ."\n" + .'- **1**: N/A. No sensitive data is detected.'."\n" + ."\n" + .'- **2**: S1. Level 1 sensitive data.'."\n" + ."\n" + .'- **3**: S2. Level 2 sensitive data.'."\n" + ."\n" + .'- **4**: S3. Level 3 sensitive data.'."\n" + ."\n" + .'- **5**: S4. Level 4 sensitive data.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'TemplateId', + 'name' => 'RuleType', 'in' => 'query', - 'schema' => [ - 'description' => 'Industry template ID.'."\n" - ."\n" - .'> You can obtain the industry template identifier ID by calling [DescribeCategoryTemplateList](~~2399296~~).', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The type of the sensitive data detection rule. Valid values:'."\n" + ."\n" + .'- **1**: data detection rule'."\n" + ."\n" + .'- **2**: audit policy'."\n" + ."\n" + .'- **3**: anomaly detection rule'."\n" + ."\n" + .'- **99**: custom rule', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'DomainId', + 'name' => 'MatchType', 'in' => 'query', - 'schema' => [ - 'description' => 'ID of the data domain to which the data asset belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The match type. Valid values:'."\n" + ."\n" + .'- 1: rule-based match'."\n" + ."\n" + .'- 2: dictionary-based match', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ModelTagIds', + 'name' => 'ProductCode', 'in' => 'query', - 'schema' => [ - 'description' => 'Data labels to be queried, separated by commas. Values:'."\n" - .'- **101**: Personal Sensitive Information.'."\n" - .'- **102**: Personal Information.'."\n" - .'- **107**: General Information.', - 'type' => 'string', - 'required' => false, - 'example' => '101,102', - ], + 'schema' => ['description' => 'The name of the service to which the data asset belongs. Valid values:'."\n" + ."\n" + .'- **MaxCompute**'."\n" + ."\n" + .'- **OSS**'."\n" + ."\n" + .'- **ADS**'."\n" + ."\n" + .'- **OTS**'."\n" + ."\n" + .'- **RDS**'."\n" + ."\n" + .'- **SELF\\_DB**', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => 'MaxCompute', 'title' => ''], ], [ - 'name' => 'RiskLevels', + 'name' => 'ProductId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specify the risk levels of the data assets to be queried, separated by commas if multiple.'."\n" - .'- **2**: S1, low risk level.'."\n" - .'- **3**: S2, medium risk level.'."\n" - .'- **4**: S3, high risk level.'."\n" - .'- **5**: S4, highest risk level.', - 'type' => 'string', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The ID of the service to which the data asset belongs. Valid values:'."\n" + ."\n" + .'- **1**: MaxCompute'."\n" + ."\n" + .'- **2**: OSS'."\n" + ."\n" + .'- **3**: ADS'."\n" + ."\n" + .'- **4**: OTS'."\n" + ."\n" + .'- **5**: RDS'."\n" + ."\n" + .'- **6**: SELF\\_DB', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'WarnLevel', 'in' => 'query', - 'schema' => [ - 'description' => 'Keyword for the asset instance ID.', - 'type' => 'string', - 'required' => false, - 'example' => '8vb54hn2g9j191ddz', - ], + 'schema' => ['description' => 'The risk level.'."\n" + ."\n" + .'- **1**: Low'."\n" + ."\n" + .'- **2**: Medium'."\n" + ."\n" + .'- **3**: High', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'ModelIds', + 'name' => 'ContentCategory', 'in' => 'query', - 'schema' => [ - 'description' => 'Model IDs of the industry template, separated by commas.'."\n" - .'> You can obtain the industry template model identifier ID by calling [DescribeTemplateAllRules](~~2536491~~).', - 'type' => 'string', - 'required' => false, - 'example' => '101', - ], + 'schema' => ['description' => 'The content type. Valid values:'."\n" + ."\n" + .'- **1**: SQL injection exploits'."\n" + ."\n" + .'- **2**: SQL injection bypass attempts'."\n" + ."\n" + .'- **3**: stored procedure abuse'."\n" + ."\n" + .'- **4**: buffer overflows'."\n" + ."\n" + .'- **5**: error-based SQL injections', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'FileType', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => 'OSS file types that are supported for recognition.'."\n" - ."\n" - .'> You can obtain the supported OSS file types by calling [DescribeDocTypes](~~2536492~~), using the Code field value from the response. This parameter is only valid for querying OSS-type assets.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100001', - ], + 'schema' => ['description' => 'The status. Valid values:'."\n" + ."\n" + .'- **1**: Normal'."\n" + ."\n" + .'- **0**: Disabled', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'FileCategoryCode', + 'name' => 'KeywordCompatible', 'in' => 'query', - 'schema' => [ - 'description' => 'File category code.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'Specifies whether the keyword is compatible with earlier versions. Valid values:'."\n" + ."\n" + .'- **true**'."\n" + ."\n" + .'- **false**'."\n" + ."\n" + .'> In earlier versions, the Category parameter for keywords had a value of 0. In the current version, it has a value of 5. Enable this parameter based on your business needs.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'MemberAccount', + 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'Member account ID.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '**********8103', - ], + 'schema' => ['description' => 'The parent group of the rule.', 'type' => 'string', 'required' => false, 'example' => '4_1', 'title' => ''], + ], + [ + 'name' => 'SupportForm', + 'in' => 'query', + 'schema' => ['description' => 'The type of data asset that the rule supports. Valid values:'."\n" + ."\n" + .'- **0**: all assets'."\n" + ."\n" + .'- **1**: structured assets'."\n" + ."\n" + .'- **2**: unstructured assets'."\n" + ."\n" + .'> When you query for rules that support structured or unstructured assets, the response also includes rules that support all asset types.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], + ], + [ + 'name' => 'CooperationChannel', + 'in' => 'query', + 'schema' => ['description' => 'The source of the external cooperation request. Valid values:'."\n" + ."\n" + .'- DAS'."\n" + ."\n" + .'- YAOCHI', 'type' => 'string', 'required' => false, 'example' => 'DAS', 'title' => ''], + ], + [ + 'name' => 'Simplify', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to return a simplified version of the rule that contains only the rule name. Valid values:'."\n" + ."\n" + .'- true'."\n" + ."\n" + .'- false', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], ], ], 'responses' => [ @@ -9024,1024 +7911,475 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => 'When performing a paginated query, set the current page number. Default value: **1**.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of this call request is a unique identifier generated by Alibaba Cloud for the request, which can be used to troubleshoot and locate issues.', - 'type' => 'string', - 'example' => 'E6F6460E-4330-549A-BD89-C183FB17571E', - ], - 'PageSize' => [ - 'description' => 'When performing a paginated query, this sets the maximum number of data asset instances to display per page. Default value: **10**.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'The total number of query results.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '21', - ], + 'CurrentPage' => ['description' => 'The page number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '12', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '23', 'title' => ''], 'Items' => [ - 'description' => 'List of data objects.', + 'description' => 'A list of sensitive data detection rules.', 'type' => 'array', 'items' => [ - 'description' => 'List of data objects.', + 'description' => 'The details of the sensitive data detection rule.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the data object.', - 'type' => 'string', - 'example' => 't_sddp_selfmysql_pers0', - ], - 'Id' => [ - 'description' => 'The unique identifier ID of the data object.', - 'type' => 'string', - 'example' => '20000', - ], - 'TemplateId' => [ - 'description' => 'Industry template ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'ProductId' => [ - 'description' => 'The ID corresponding to the product name that the data object belongs to. Values:'."\n" - .'- **1**: MaxCompute'."\n" - .'- **2**: OSS'."\n" - .'- **3**: ADB-MYSQL'."\n" - .'- **4**: TableStore'."\n" - .'- **5**: RDS'."\n" - .'- **6**: SELF_DB'."\n" - .'- **7**: PolarDB-X'."\n" - .'- **8**: PolarDB'."\n" - .'- **9**: ADB-PG'."\n" - .'- **10**: OceanBase'."\n" - .'- **11**: MongoDB'."\n" - .'- **25**: Redis', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'InstanceDescription' => [ - 'description' => 'The instance description of the data object.', - 'type' => 'string', - 'example' => 'instance description', - ], - 'ProductCode' => [ - 'description' => 'The product name that the data object belongs to. Values:'."\n" - .'- **MaxCompute**'."\n" - .'- **OSS**'."\n" - .'- **ADB-MYSQL**'."\n" - .'- **TableStore**'."\n" - .'- **RDS**'."\n" - .'- **SELF_DB**'."\n" - .'- **PolarDB-X**'."\n" - .'- **PolarDB**'."\n" - .'- **ADB-PG**'."\n" - .'- **OceanBase**'."\n" - .'- **MongoDB**'."\n" - .'- **Redis**', - 'type' => 'string', - 'example' => 'RDS', - ], - 'InstanceId' => [ - 'description' => 'Data asset instance ID.', - 'type' => 'string', - 'example' => 'rm-12*****', - ], - 'LastScanTime' => [ - 'description' => 'The timestamp of the last scan, in milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1687676649830', - ], - 'SensitiveCount' => [ - 'description' => 'Number of sensitive data items.', + 'DisplayName' => ['description' => 'The display name of the user who created the sensitive data detection rule.', 'type' => 'string', 'example' => '****test', 'title' => ''], + 'Status' => ['description' => 'The detection status of the sensitive data detection rule. Valid values:'."\n" + ."\n" + .'- **0**: disabled'."\n" + ."\n" + .'- **1**: enabled', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'SupportForm' => ['description' => 'The type of data asset that the rule supports. Valid values:'."\n" + ."\n" + .'- **0**: all assets'."\n" + ."\n" + .'- **1**: structured assets'."\n" + ."\n" + .'- **2**: unstructured assets', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'WarnLevel' => ['description' => 'The risk level.'."\n" + ."\n" + .'- **1**: Low'."\n" + ."\n" + .'- **2**: Medium'."\n" + ."\n" + .'- **3**: High', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'UserId' => ['description' => 'The ID of the user who created the sensitive data detection rule.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'title' => ''], + 'StatExpress' => ['description' => 'The statistical expression.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'GmtModified' => ['description' => 'The time when the sensitive data detection rule was last modified. This value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1545277010000', 'title' => ''], + 'RiskLevelId' => ['description' => 'The sensitivity level ID of the sensitive data detection rule. Valid values:'."\n" + ."\n" + .'- **1**: N/A. No sensitive data is detected.'."\n" + ."\n" + .'- **2**: S1. Level 1 sensitive data.'."\n" + ."\n" + .'- **3**: S2. Level 2 sensitive data.'."\n" + ."\n" + .'- **4**: S3. Level 3 sensitive data.'."\n" + ."\n" + .'- **5**: S4. Level 4 sensitive data.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'Description' => ['description' => 'The description of the sensitive data detection rule.', 'type' => 'string', 'example' => 'Used to identify IP addresses', 'title' => ''], + 'ProductId' => ['description' => 'The ID of the service to which the data asset belongs. Valid values:'."\n" + ."\n" + .'- **1**: MaxCompute'."\n" + ."\n" + .'- **2**: OSS'."\n" + ."\n" + .'- **3**: ADS'."\n" + ."\n" + .'- **4**: OTS'."\n" + ."\n" + .'- **5**: RDS'."\n" + ."\n" + .'- **6**: SELF\\_DB', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'Name' => ['description' => 'The name of the sensitive data detection rule.', 'type' => 'string', 'example' => 'IP address', 'title' => ''], + 'Content' => ['description' => 'The content of the sensitive data detection rule.'."\n" + ."\n" + .'> The content of a built-in rule, for which CustomType is 0, is not returned.', 'type' => 'string', 'example' => '(?:\\\\D|^)((?:(?:25[0-4]|2[0-4]\\\\d|1\\\\d{2}|[1-9]\\\\d{1})\\\\.)(?:(?:25[0-5]|2[0-4]\\\\d|[01]?\\\\d?\\\\d)\\\\.){2}(?:25[0-5]|2[0-4]\\\\d|1[0-9]\\\\d|[1-9]\\\\d|[1-9]))(?:\\\\D|$)', 'title' => ''], + 'Target' => ['description' => 'The name of the service to which the data asset belongs. Valid values:'."\n" + ."\n" + .'- **MaxCompute**'."\n" + ."\n" + .'- **OSS**'."\n" + ."\n" + .'- **ADS**'."\n" + ."\n" + .'- **OTS**'."\n" + ."\n" + .'- **RDS**'."\n" + ."\n" + .'- **SELF\\_DB**', 'type' => 'string', 'example' => 'MaxCompute', 'title' => ''], + 'LoginName' => ['description' => 'The logon name of the user who created the sensitive data detection rule.', 'type' => 'string', 'example' => 'det1111', 'title' => ''], + 'CategoryName' => ['description' => 'The name of the content type for the sensitive data detection rule.', 'type' => 'string', 'example' => 'Regular expression', 'title' => ''], + 'ContentCategory' => ['description' => 'The content type. Valid values:'."\n" + ."\n" + .'- **1**: SQL injection exploits'."\n" + ."\n" + .'- **2**: SQL injection bypass attempts'."\n" + ."\n" + .'- **3**: stored procedure abuse'."\n" + ."\n" + .'- **4**: buffer overflows'."\n" + ."\n" + .'- **5**: error-based SQL injections', 'type' => 'string', 'example' => '1', 'title' => ''], + 'HitTotalCount' => ['description' => 'The number of times the rule was hit.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'GroupId' => ['description' => 'The parent group of the rule.', 'type' => 'string', 'example' => '4_1', 'title' => ''], + 'CustomType' => ['description' => 'The type of the sensitive data detection rule.'."\n" + ."\n" + .'- 0: built-in'."\n" + ."\n" + .'- 1: custom', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RiskLevelName' => ['description' => 'The name of the sensitivity level for the sensitive data detection rule. Valid values:'."\n" + ."\n" + .'- **N/A**: No sensitive data is detected.'."\n" + ."\n" + .'- **S1**: Level 1 sensitive data.'."\n" + ."\n" + .'- **S2**: Level 2 sensitive data.'."\n" + ."\n" + .'- **S3**: Level 3 sensitive data.'."\n" + ."\n" + .'- **S4**: Level 4 sensitive data.', 'type' => 'string', 'example' => 'S2', 'title' => ''], + 'GmtCreate' => ['description' => 'The time when the sensitive data detection rule was created. This value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1545277010000', 'title' => ''], + 'Category' => ['description' => 'The type of content in the sensitive data detection rule. Valid values:'."\n" + ."\n" + .'- **0**: keyword'."\n" + ."\n" + .'- **2**: regular expression', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''], + 'MajorKey' => ['description' => 'The primary dimension key.', 'type' => 'string', 'example' => 'key', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the sensitive data detection rule.', 'type' => 'integer', 'format' => 'int64', 'example' => '20000', 'title' => ''], + 'ProductCode' => ['description' => 'The name of the service to which the data asset belongs. Valid values:'."\n" + ."\n" + .'- **MaxCompute**'."\n" + ."\n" + .'- **OSS**'."\n" + ."\n" + .'- **ADS**'."\n" + ."\n" + .'- **OTS**'."\n" + ."\n" + .'- **RDS**'."\n" + ."\n" + .'- **SELF\\_DB**', 'type' => 'string', 'example' => 'MaxCompute', 'title' => ''], + 'MatchType' => ['description' => 'The match type. Valid values:'."\n" + ."\n" + .'- **1**: rule-based match'."\n" + ."\n" + .'- **2**: dictionary-based match', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'TemplateRuleIds' => ['description' => 'A collection of template IDs for sensitive data auditing.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'ModelRuleIds' => ['description' => 'A collection of model IDs for sensitive data auditing.', 'type' => 'string', 'example' => '1452', 'title' => ''], + 'ThreatAnalysisStatus' => [ + 'description' => 'The threat analysis mode status. Valid values: 0 (disabled), 1 (enabled).', 'type' => 'integer', 'format' => 'int32', - 'example' => '1', - ], - 'ObjectType' => [ - 'description' => 'The type of the data object.', - 'type' => 'string', - 'example' => 'text type', - ], - 'Path' => [ - 'description' => 'The path of the data object.', - 'type' => 'string', - 'example' => 'rm-12**.db_***', - ], - 'RegionName' => [ - 'description' => 'Region name.', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'Categories' => [ - 'description' => 'List of industry categories for the sensitive data.', - 'type' => 'array', - 'items' => [ - 'description' => 'List of industry categories for the sensitive data, separated by commas if multiple.', - 'type' => 'string', - 'example' => 'general sensitive information', - ], - ], - 'ModelTags' => [ - 'description' => 'List of data tags.', - 'type' => 'array', - 'items' => [ - 'description' => 'List of data tags.', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'Data tag ID. Values:'."\n" - .'- **101**: Personal sensitive information.'."\n" - .'- **102**: Personal information.'."\n" - .'- **107**: General information.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '101', - ], - 'Name' => [ - 'description' => 'Data tag name. Values:'."\n" - .'- **Personal sensitive information.**'."\n" - .'- **Personal information.**'."\n" - .'- **General information.**', - 'type' => 'string', - 'example' => 'Personal sensitive information', - ], - ], - ], - ], - 'RuleList' => [ - 'description' => 'List of matched identification models.', - 'type' => 'array', - 'items' => [ - 'description' => 'List of matched identification models.', - 'type' => 'object', - 'properties' => [ - 'RuleId' => [ - 'description' => 'Identification model ID.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1080', - ], - 'RuleName' => [ - 'description' => 'Identification model name.', - 'type' => 'string', - 'example' => 'name', - ], - 'RiskLevelId' => [ - 'description' => 'Risk level ID for sensitive data identification rules. Values:'."\n" - .'- **1**: N/A: No sensitive data identified.'."\n" - .'- **2**: S1: Level 1 sensitive data.'."\n" - .'- **3**: S2: Level 2 sensitive data.'."\n" - .'- **4**: S3: Level 3 sensitive data.'."\n" - .'- **5**: S4: Level 4 sensitive data.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'RiskLevelName' => [ - 'description' => 'Risk level name for the data asset table. Values:'."\n" - .'- **N/A**: No sensitive data identified.'."\n" - .'- **S1**: Level 1 sensitive data.'."\n" - .'- **S2**: Level 2 sensitive data.'."\n" - .'- **S3**: Level 3 sensitive data.'."\n" - .'- **S4**: Level 4 sensitive data.', - 'type' => 'string', - 'example' => 'S1', - ], - 'RuleCount' => [ - 'description' => 'Number of matched identification models.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '590', - ], - ], - ], - ], - 'ObjectFileCategory' => [ - 'description' => 'File category name.', - 'type' => 'string', - 'example' => 'text file', - ], - 'MemberAccount' => [ - 'description' => 'Member account ID.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '**********8103', - ], - 'LastModifiedTime' => [ - 'description' => 'Latest file modification time, in milliseconds.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1687676649830', - ], - 'RegionId' => [ - 'description' => 'The region ID to which the OSS storage object belongs.', - 'type' => 'string', - 'example' => 'cn-hangzhou', + 'example' => '0', + 'enum' => ['0', '1'], + 'title' => '', ], + 'AuditMode' => ['description' => 'The audit mode.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"E6F6460E-4330-549A-BD89-C183FB17571E\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 21,\\n \\"Items\\": [\\n {\\n \\"Name\\": \\"t_sddp_selfmysql_pers0\\",\\n \\"Id\\": \\"20000\\",\\n \\"TemplateId\\": 1,\\n \\"ProductId\\": 5,\\n \\"InstanceDescription\\": \\"instance description\\",\\n \\"ProductCode\\": \\"RDS\\",\\n \\"InstanceId\\": \\"rm-12*****\\",\\n \\"LastScanTime\\": 1687676649830,\\n \\"SensitiveCount\\": 1,\\n \\"ObjectType\\": \\"text type\\",\\n \\"Path\\": \\"rm-12**.db_***\\",\\n \\"RegionName\\": \\"cn-hangzhou\\",\\n \\"Categories\\": [\\n \\"general sensitive information\\"\\n ],\\n \\"ModelTags\\": [\\n {\\n \\"Id\\": 101,\\n \\"Name\\": \\"个人敏感信息\\"\\n }\\n ],\\n \\"RuleList\\": [\\n {\\n \\"RuleId\\": 1080,\\n \\"RuleName\\": \\"name\\",\\n \\"RiskLevelId\\": 2,\\n \\"RiskLevelName\\": \\"S1\\",\\n \\"RuleCount\\": 590\\n }\\n ],\\n \\"ObjectFileCategory\\": \\"text file\\",\\n \\"MemberAccount\\": 0,\\n \\"LastModifiedTime\\": 1687676649830,\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'Query Data Object List', - 'translator' => 'machine', - ], - 'DescribeDataObjectColumnDetail' => [ - 'summary' => 'View data object column details', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"PageSize\\": 12,\\n \\"TotalCount\\": 23,\\n \\"Items\\": [\\n {\\n \\"DisplayName\\": \\"****test\\",\\n \\"Status\\": 1,\\n \\"SupportForm\\": 2,\\n \\"WarnLevel\\": 2,\\n \\"UserId\\": 0,\\n \\"StatExpress\\": \\"1\\",\\n \\"GmtModified\\": 1545277010000,\\n \\"RiskLevelId\\": 2,\\n \\"Description\\": \\"Used to identify IP addresses\\",\\n \\"ProductId\\": 2,\\n \\"Name\\": \\"IP address\\",\\n \\"Content\\": \\"(?:\\\\\\\\\\\\\\\\D|^)((?:(?:25[0-4]|2[0-4]\\\\\\\\\\\\\\\\d|1\\\\\\\\\\\\\\\\d{2}|[1-9]\\\\\\\\\\\\\\\\d{1})\\\\\\\\\\\\\\\\.)(?:(?:25[0-5]|2[0-4]\\\\\\\\\\\\\\\\d|[01]?\\\\\\\\\\\\\\\\d?\\\\\\\\\\\\\\\\d)\\\\\\\\\\\\\\\\.){2}(?:25[0-5]|2[0-4]\\\\\\\\\\\\\\\\d|1[0-9]\\\\\\\\\\\\\\\\d|[1-9]\\\\\\\\\\\\\\\\d|[1-9]))(?:\\\\\\\\\\\\\\\\D|$)\\",\\n \\"Target\\": \\"MaxCompute\\",\\n \\"LoginName\\": \\"det1111\\",\\n \\"CategoryName\\": \\"Regular expression\\",\\n \\"ContentCategory\\": \\"1\\",\\n \\"HitTotalCount\\": 3,\\n \\"GroupId\\": \\"4_1\\",\\n \\"CustomType\\": 1,\\n \\"RiskLevelName\\": \\"S2\\",\\n \\"GmtCreate\\": 1545277010000,\\n \\"Category\\": 2,\\n \\"MajorKey\\": \\"key\\",\\n \\"Id\\": 20000,\\n \\"ProductCode\\": \\"MaxCompute\\",\\n \\"MatchType\\": 1,\\n \\"TemplateRuleIds\\": \\"1\\",\\n \\"ModelRuleIds\\": \\"1452\\",\\n \\"ThreatAnalysisStatus\\": 0,\\n \\"AuditMode\\": 0\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeRules', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-01-13T06:27:19.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-12-17T07:08:02.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-03-25T07:35:03.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-07-17T02:55:52.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-12-27T09:14:54.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-22T08:24:08.000Z', 'description' => 'Request parameters changed, Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRules'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeRules', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeTables' => [ + 'summary' => 'Queries tables in data assets, such as MaxCompute and RDS, that Data Security Center is authorized to access.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '149483', - 'abilityTreeNodes' => [ - 'FEATUREsddp2VFD4T', - ], + 'abilityTreeNodes' => ['FEATUREsddp2VFD4T'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language type for requests and responses. Default value: **zh_cn**. Values:'."\n" - .'- **zh_cn**: Chinese.'."\n" - .'- **en_us**: English.', - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: **zh\\_cn**. Valid values:'."\n" + ."\n" + .'- **zh\\_cn**: Chinese.'."\n" + ."\n" + .'- **en\\_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => 'When performing a paginated query, set the maximum number of data asset instances displayed per page. Default value: **10**.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'CurrentPage', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'When performing a paginated query, set the current page number. Default value: **1**.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The search keyword. Fuzzy search is supported. For example, if you enter test, all results that contain test are returned.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''], ], [ 'name' => 'ProductId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID corresponding to the product name of the data object. Values:'."\n" - .'- **1**: MaxCompute'."\n" - .'- **2**: OSS'."\n" - .'- **3**: ADB-MYSQL'."\n" - .'- **4**: TableStore'."\n" - .'- **5**: RDS'."\n" - .'- **6**: SELF_DB'."\n" - .'- **7**: PolarDB-X'."\n" - .'- **8**: PolarDB'."\n" - .'- **9**: ADB-PG'."\n" - .'- **10**: OceanBase'."\n" - .'- **11**: MongoDB'."\n" - .'- **25**: Redis', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '5', - ], + 'schema' => ['description' => 'The ID of the product to which the data asset table belongs. Call the [DescribeDataAssets](~~DescribeDataAssets~~) operation to obtain this ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'Id', + 'name' => 'ProductCode', 'in' => 'query', - 'schema' => [ - 'description' => 'Set the unique identifier ID of the data object to be queried.'."\n" - ."\n" - .'> You can obtain the identifier ID by calling [DescribeDataObjects](~~2399253~~).', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '318248', - ], + 'schema' => ['description' => 'The name of the product to which the data asset table belongs. Valid values include MaxCompute, OSS, ADS, OTS, and RDS. For more information about the supported products, see [Data asset types that support sensitive data detection](~~212906~~).', 'type' => 'string', 'required' => false, 'example' => 'MaxCompute', 'title' => ''], ], [ - 'name' => 'TemplateId', + 'name' => 'RiskLevelId', 'in' => 'query', - 'schema' => [ - 'description' => 'Industry template ID.'."\n" - .'> You can obtain the industry template identifier ID by calling [DescribeDataObjects](~~2399253~~).', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the risk level for the data asset table. Each risk level ID corresponds to a risk level name. Valid values:'."\n" + ."\n" + .'- **1**: N/A. No sensitive data is detected.'."\n" + ."\n" + .'- **2**: S1. Level 1 sensitive data.'."\n" + ."\n" + .'- **3**: S2. Level 2 sensitive data.'."\n" + ."\n" + .'- **4**: S3. Level 3 sensitive data.'."\n" + ."\n" + .'- **5**: S4. Level 4 sensitive data.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'FeatureType', + 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The ID of the sensitive data detection rule that the data asset table hits. Call the [DescribeRules](~~DescribeRules~~) operation to obtain this ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '333322', 'title' => ''], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'CurrentPage' => [ - 'description' => 'When performing a paginated query, set the current page number. Default value: **1**.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of this request, which is a unique identifier generated by Alibaba Cloud for the request. It can be used for troubleshooting and problem localization.', - 'type' => 'string', - 'example' => '8C8036CC-961D-514E-88E8-3088B5A50CA9', - ], - 'PageSize' => [ - 'description' => 'When performing a paginated query, set the maximum number of data asset instances displayed per page. Default value: **10**.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'The total number of data items in the result.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '61', - ], - 'Items' => [ - 'description' => 'List of identified results for the columns of the data table.', - 'type' => 'array', - 'items' => [ - 'description' => 'Identified result object for the columns of the data table.', - 'type' => 'object', - 'properties' => [ - 'ColumnName' => [ - 'description' => 'Column name.', - 'type' => 'string', - 'example' => 'hide14', - ], - 'DataType' => [ - 'description' => 'Data type of the column.', - 'type' => 'string', - 'example' => 'varchar', - ], - 'ColumnComment' => [ - 'description' => 'Comment on the column.', - 'type' => 'string', - 'example' => 'column comment', - ], - 'PrimaryKey' => [ - 'description' => 'Whether the column is a primary key. Values:'."\n" - ."\n" - .'- **true**: Primary key.'."\n" - .'- **false**: Not a primary key.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Id' => [ - 'description' => 'Unique identifier ID of the column object.', - 'type' => 'string', - 'example' => '1509415150052786176', - ], - 'RiskLevelId' => [ - 'description' => 'Risk level ID. Values:'."\n" - .'- **1**: N/A: No sensitive data detected.'."\n" - .'- **2**: S1: Level 1 sensitive data.'."\n" - .'- **3**: S2: Level 2 sensitive data.'."\n" - .'- **4**: S3: Level 3 sensitive data.'."\n" - .'- **5**: S4: Level 4 sensitive data.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'RiskLevelName' => [ - 'description' => 'Risk level name. Possible values:'."\n" - .'- **N/A**: No sensitive data detected.'."\n" - .'- **S1**: Level 1 sensitive data.'."\n" - .'- **S2**: Level 2 sensitive data.'."\n" - .'- **S3**: Level 3 sensitive data.'."\n" - .'- **S4**: Level 4 sensitive data.', - 'type' => 'string', - 'example' => 'S1', - ], - 'RuleId' => [ - 'description' => 'ID of the matched identification model.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1004', - ], - 'RuleName' => [ - 'description' => 'Name of the matched identification model.', - 'type' => 'string', - 'example' => 'name', - ], - 'Categories' => [ - 'description' => 'List of industry categories for the sensitive data.', - 'type' => 'array', - 'items' => [ - 'description' => 'Industry category for the sensitive data, multiple categories are separated by commas.', - 'type' => 'string', - 'example' => 'general sensitive information', - ], - ], - 'ModelTags' => [ - 'description' => 'List of data tags.', - 'type' => 'array', - 'items' => [ - 'description' => 'Data tag object.', - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'ID corresponding to the data tag name. Possible values:'."\n" - .'- **101**: Personal sensitive information.'."\n" - .'- **102**: Personal information.'."\n" - .'- **107**: General information.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '101', - ], - 'Name' => [ - 'description' => 'Data tag name. Possible values:'."\n" - .'- **101**: Personal sensitive information.'."\n" - .'- **102**: Personal information.'."\n" - .'- **107**: General information.', - 'type' => 'string', - 'example' => 'personal sensitive information', - ], - ], - ], - ], - 'EngineType' => [ - 'description' => 'Engine type. Possible values:'."\n" - .'- **MySQL**'."\n" - .'- **MariaDB**'."\n" - .'- **Oracle**'."\n" - .'- **PostgreSQL**'."\n" - .'- **SQLServer**', - 'type' => 'string', - 'example' => 'MySQL', - ], - 'MaskingStatus' => [ - 'description' => 'Column encryption status. Possible values:'."\n" - ."\n" - .'- **-1**: Not encrypted'."\n" - ."\n" - .'- **1**: Encryption successful'."\n" - ."\n" - .'- **2**: Encryption failed', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '-1', - ], - 'InstanceName' => [ - 'description' => 'Instance name of the data asset table.', - 'type' => 'string', - 'example' => 'rm-1234', - ], - 'TableName' => [ - 'description' => 'Table name.', - 'type' => 'string', - 'example' => 'it_table', - ], - 'RegionId' => [ - 'description' => 'Region where the asset is located.', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ProductId' => [ - 'description' => 'ID corresponding to the product name of the data object. Possible values:'."\n" - .'- **1**: MaxCompute'."\n" - .'- **2**: OSS'."\n" - .'- **3**: ADB-MYSQL'."\n" - .'- **4**: TableStore'."\n" - .'- **5**: RDS'."\n" - .'- **6**: SELF_DB'."\n" - .'- **7**: PolarDB-X'."\n" - .'- **8**: PolarDB'."\n" - .'- **9**: ADB-PG'."\n" - .'- **10**: OceanBase'."\n" - .'- **11**: MongoDB'."\n" - .'- **25**: Redis', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - ], - ], - ], - ], - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"8C8036CC-961D-514E-88E8-3088B5A50CA9\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 61,\\n \\"Items\\": [\\n {\\n \\"ColumnName\\": \\"hide14\\",\\n \\"DataType\\": \\"varchar\\",\\n \\"ColumnComment\\": \\"column comment\\",\\n \\"PrimaryKey\\": true,\\n \\"Id\\": \\"1509415150052786176\\",\\n \\"RiskLevelId\\": 2,\\n \\"RiskLevelName\\": \\"S1\\",\\n \\"RuleId\\": 1004,\\n \\"RuleName\\": \\"name\\",\\n \\"Categories\\": [\\n \\"general sensitive information\\"\\n ],\\n \\"ModelTags\\": [\\n {\\n \\"Id\\": 101,\\n \\"Name\\": \\"personal sensitive information\\"\\n }\\n ],\\n \\"EngineType\\": \\"MySQL\\",\\n \\"MaskingStatus\\": -1,\\n \\"InstanceName\\": \\"rm-1234\\",\\n \\"TableName\\": \\"it_table\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ProductId\\": 5\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'Query Data Object Column Details', - 'description' => '## Notes'."\n" - .'The DescribeDataObjectColumnDetail interface has been revised to DescribeDataObjectColumnDetailV2. It is recommended that you use the newer version, DescribeDataObjectColumnDetailV2, when developing your application.', - 'translator' => 'machine', - ], - 'DescribeDataObjectColumnDetailV2' => [ - 'summary' => 'View Data Object Column Details V2', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '186089', - 'abilityTreeNodes' => [ - 'FEATUREsddp2VFD4T', + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the instance to which the data asset table belongs. Call the [DescribeInstances](~~DescribeInstances~~) operation to obtain this ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'PackageId', 'in' => 'query', - 'schema' => [ - 'description' => 'The language type for the request and response messages, default is **zh_cn**. Values:'."\n" - .'- **zh_cn**: Chinese.'."\n" - .'- **en_us**: English.', - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The ID of the package to which the data asset table belongs. Call the [DescribePackages](~~DescribePackages~~) operation to obtain this ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '555555', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'When performing a paginated query, set the maximum number of data asset instances to display per page. Default value: **10**.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The maximum number of entries to return on each page. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'When performing a paginated query, set the current page number. Default value: **1**.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The number of the page to return. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ProductId', + 'name' => 'ServiceRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID corresponding to the product name of the data object. Values:'."\n" - .'- **1**: MaxCompute'."\n" - .'- **2**: OSS'."\n" - .'- **3**: ADB-MYSQL'."\n" - .'- **4**: TableStore'."\n" - .'- **5**: RDS'."\n" - .'- **6**: SELF_DB'."\n" - .'- **7**: PolarDB-X'."\n" - .'- **8**: PolarDB'."\n" - .'- **9**: ADB-PG'."\n" - .'- **10**: OceanBase'."\n" - .'- **11**: MongoDB'."\n" - .'- **25**: Redis', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '5', - ], - ], - [ - 'name' => 'Id', - 'in' => 'query', - 'schema' => [ - 'description' => 'Set the unique identifier ID of the data object to be queried.'."\n" - ."\n" - .'> You can obtain the identifier ID by calling [DescribeDataObjects](~~2399253~~).', - 'type' => 'string', - 'required' => true, - 'example' => '13456723343', - ], + 'schema' => ['description' => 'The region where Data Security Center is available. For more information, see [Supported regions](~~214257~~).', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'description' => 'Industry template ID.'."\n" - .'> You can obtain the industry template identifier ID by calling [DescribeDataObjects](~~2399253~~).', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'FeatureType', - 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The ID of the industry-specific template.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => 'Page number for paginated queries. Default value: 1.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of this call request, which is a unique identifier generated by Alibaba Cloud for the request, and can be used for troubleshooting and problem localization.', - 'type' => 'string', - 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', - ], - 'PageSize' => [ - 'description' => 'When performing a paginated query, set the maximum number of data asset instances to display per page. Default value: **10**.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'Total number of data entries.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '231', - ], + 'CurrentPage' => ['description' => 'The page number of the returned page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries returned.', 'type' => 'integer', 'format' => 'int32', 'example' => '13', 'title' => ''], 'Items' => [ - 'description' => 'List of recognition results for the columns in the data table.', - 'type' => 'array', + 'description' => 'A list of data asset tables.', 'items' => [ - 'description' => 'Recognition result object for the columns in the data table.', - 'type' => 'object', 'properties' => [ - 'ColumnName' => [ - 'description' => 'Column name.', - 'type' => 'string', - 'example' => 'hide14', - ], - 'DataType' => [ - 'description' => 'Data type of the column.', - 'type' => 'string', - 'example' => 'varchar', - ], - 'ColumnComment' => [ - 'description' => 'Comment for the column.', - 'type' => 'string', - 'example' => 'column comment', - ], - 'PrimaryKey' => [ - 'description' => 'Whether the column is a primary key. Value explanation:'."\n" - ."\n" - .'- **true**: Primary key.'."\n" - .'- **false**: Not a primary key.', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Id' => [ - 'description' => 'Unique identifier ID of the data object.', - 'type' => 'string', - 'example' => '1392973973691383808', - ], - 'RiskLevelId' => [ - 'description' => 'Risk level ID. Values:'."\n" - .'- **1**: N/A: No sensitive data detected.'."\n" - .'- **2**: S1: Level 1 sensitive data.'."\n" - .'- **3**: S2: Level 2 sensitive data.'."\n" - .'- **4**: S3: Level 3 sensitive data.'."\n" - .'- **5**: S4: Level 4 sensitive data.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'RiskLevelName' => [ - 'description' => 'Risk level name. Values:'."\n" - .'- **N/A**: No sensitive data was identified.'."\n" - .'- **S1**: Level 1 sensitive data.'."\n" - .'- **S2**: Level 2 sensitive data.'."\n" - .'- **S3**: Level 3 sensitive data.'."\n" - .'- **S4**: Level 4 sensitive data.', - 'type' => 'string', - 'example' => 'S1', - ], - 'RuleId' => [ - 'description' => 'The ID of the matched recognition model.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '51', - ], - 'RuleName' => [ - 'description' => 'The name of the matched recognition model.', - 'type' => 'string', - 'example' => 'name', - ], - 'Categories' => [ - 'description' => 'List of industry categories for sensitive data.', - 'type' => 'array', - 'items' => [ - 'description' => 'Industry categories for sensitive data, separated by commas if multiple.', - 'type' => 'string', - 'example' => 'general sensitive information', - ], - ], - 'ModelTags' => [ - 'description' => 'List of data tags.', - 'type' => 'array', + 'CreationTime' => ['description' => 'The time when the data asset table was created. The value is a UNIX timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1536751124000', 'title' => ''], + 'Owner' => ['description' => 'The Alibaba Cloud account that owns the data asset table.', 'type' => 'string', 'example' => 'dtdep-239-******', 'title' => ''], + 'SensitiveRatio' => ['description' => 'The percentage of sensitive fields in the data asset table.', 'type' => 'string', 'example' => '21%', 'title' => ''], + 'TenantName' => ['description' => 'The name of the tenant.', 'type' => 'string', 'example' => 'Tenate001', 'title' => ''], + 'RiskLevelId' => ['description' => 'The ID of the risk level for the data asset table. Each risk level ID corresponds to a risk level name. Valid values:'."\n" + ."\n" + .'- **1**: N/A. No sensitive data is detected.'."\n" + ."\n" + .'- **2**: S1. Level 1 sensitive data.'."\n" + ."\n" + .'- **3**: S2. Level 2 sensitive data.'."\n" + ."\n" + .'- **4**: S3. Level 3 sensitive data.'."\n" + ."\n" + .'- **5**: S4. Level 4 sensitive data.', 'type' => 'integer', 'format' => 'int64', 'example' => '2', 'title' => ''], + 'InstanceName' => ['description' => 'The name of the instance.', 'type' => 'string', 'example' => 'rm-****', 'title' => ''], + 'ProductId' => ['description' => 'The ID of the product to which the data asset table belongs.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'Name' => ['description' => 'The name of the data asset table.', 'type' => 'string', 'example' => 'gxdata', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance to which the data asset table belongs.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of fields in the data asset table.', 'type' => 'integer', 'format' => 'int32', 'example' => '1234', 'title' => ''], + 'InstanceDescription' => ['description' => 'The description of the instance.', 'type' => 'string', 'example' => 'instance description', 'title' => ''], + 'Sensitive' => ['description' => 'Indicates whether the data asset table contains sensitive fields.'."\n" + ."\n" + .'- **true**: yes.'."\n" + ."\n" + .'- **false**: no.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'RiskLevelName' => ['description' => 'The name of the risk level for the data asset table. Valid values:'."\n" + ."\n" + .'- **N/A**: No sensitive data is detected.'."\n" + ."\n" + .'- **S1**: Level 1 sensitive data.'."\n" + ."\n" + .'- **S2**: Level 2 sensitive data.'."\n" + ."\n" + .'- **S3**: Level 3 sensitive data.'."\n" + ."\n" + .'- **S4**: Level 4 sensitive data.', 'type' => 'string', 'example' => 'S2', 'title' => ''], + 'SensitiveCount' => ['description' => 'The total number of sensitive fields in the data asset table.', 'type' => 'integer', 'format' => 'int32', 'example' => '32', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the data asset table.', 'type' => 'integer', 'format' => 'int64', 'example' => '222', 'title' => ''], + 'ProductCode' => ['description' => 'The name of the product to which the data asset table belongs. Valid values include **MaxCompute, OSS, ADS, OTS, and RDS**. For more information about the supported products, see [Data asset types that support sensitive data detection](~~212906~~).', 'type' => 'string', 'example' => 'MaxCompute', 'title' => ''], + 'RuleList' => [ + 'description' => 'The information about the sensitive data detection rules that the data asset table hits.', 'items' => [ - 'description' => 'Data tag object.', - 'type' => 'object', 'properties' => [ - 'Id' => [ - 'description' => 'ID corresponding to the data tag name. Values:'."\n" - .'- **101**: Personal Sensitive Information.'."\n" - .'- **102**: Personal Information.'."\n" - .'- **107**: General Information.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '101', - ], - 'Name' => [ - 'description' => 'Data tag name. Values:'."\n" - .'- Personal Sensitive Information.'."\n" - .'- Personal Information.'."\n" - .'- General Information.', - 'type' => 'string', - 'example' => 'personal sensitive information', - ], + 'Name' => ['description' => 'The name of the rule.', 'type' => 'string', 'example' => 'Rule Name', 'title' => ''], + 'RiskLevelId' => ['description' => 'The ID of the risk level for the sensitive data detection rule. Valid values:'."\n" + ."\n" + .'- **1**: N/A. No sensitive data is detected.'."\n" + ."\n" + .'- **2**: S1. Level 1 sensitive data.'."\n" + ."\n" + .'- **3**: S2. Level 2 sensitive data.'."\n" + ."\n" + .'- **4**: S3. Level 3 sensitive data.'."\n" + ."\n" + .'- **5**: S4. Level 4 sensitive data.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + 'Count' => ['description' => 'The total number of rules.', 'type' => 'integer', 'format' => 'int64', 'example' => '12', 'title' => ''], ], + 'type' => 'object', + 'description' => 'A list of sensitive fields in the data asset table.', + 'title' => '', + 'example' => '', ], - ], - 'EngineType' => [ - 'description' => 'Engine type. Values:'."\n" - .'- **MySQL**'."\n" - .'- **MariaDB**'."\n" - .'- **Oracle**'."\n" - .'- **PostgreSQL**'."\n" - .'- **SQLServer**', - 'type' => 'string', - 'example' => 'MySQL', - ], - 'MaskingStatus' => [ - 'description' => 'Column encryption status. Values:'."\n" - ."\n" - .'- **-1**: Not encrypted'."\n" - ."\n" - .'- **1**: Encryption successful'."\n" - ."\n" - .'- **2**: Encryption failed', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '-1', - ], - 'InstanceName' => [ - 'description' => 'Instance name of the data asset table.', - 'type' => 'string', - 'example' => 'rm-bp17t1htja573l5i8****', - ], - 'TableName' => [ - 'description' => 'Table name.', - 'type' => 'string', - 'example' => 'it_table', - ], - 'RegionId' => [ - 'description' => 'Region where the asset is located.', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ProductId' => [ - 'description' => 'ID corresponding to the product name of the data object. Values:'."\n" - .'- **1**: MaxCompute'."\n" - .'- **2**: OSS'."\n" - .'- **3**: ADB-MYSQL'."\n" - .'- **4**: TableStore'."\n" - .'- **5**: RDS'."\n" - .'- **6**: SELF_DB'."\n" - .'- **7**: PolarDB-X'."\n" - .'- **8**: PolarDB'."\n" - .'- **9**: ADB-PG'."\n" - .'- **10**: OceanBase'."\n" - .'- **11**: MongoDB'."\n" - .'- **25**: Redis', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', + 'type' => 'array', + 'title' => '', + 'example' => '', ], ], + 'type' => 'object', + 'description' => 'A list of data tables.', + 'title' => '', + 'example' => '', ], + 'type' => 'array', + 'title' => '', + 'example' => '', ], ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 231,\\n \\"Items\\": [\\n {\\n \\"ColumnName\\": \\"hide14\\",\\n \\"DataType\\": \\"varchar\\",\\n \\"ColumnComment\\": \\"column comment\\",\\n \\"PrimaryKey\\": true,\\n \\"Id\\": \\"1392973973691383808\\",\\n \\"RiskLevelId\\": 2,\\n \\"RiskLevelName\\": \\"S1\\",\\n \\"RuleId\\": 51,\\n \\"RuleName\\": \\"name\\",\\n \\"Categories\\": [\\n \\"general sensitive information\\"\\n ],\\n \\"ModelTags\\": [\\n {\\n \\"Id\\": 101,\\n \\"Name\\": \\"personal sensitive information\\"\\n }\\n ],\\n \\"EngineType\\": \\"MySQL\\",\\n \\"MaskingStatus\\": -1,\\n \\"InstanceName\\": \\"rm-bp17t1htja573l5i8****\\",\\n \\"TableName\\": \\"it_table\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ProductId\\": 5\\n }\\n ]\\n}","type":"json"}]', - 'title' => 'Query Data Object Column Details V2', - 'translator' => 'machine', - ], - 'CreateConfig' => [ - 'summary' => 'Modifies the configurations of a common configuration item for alerts.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '81959', - 'abilityTreeNodes' => [ - 'FEATUREsddpR2D59W', - 'FEATUREsddpCHNP1R', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'Code', - 'in' => 'query', - 'schema' => [ - 'description' => 'The code of the common configuration item. Valid values:'."\n" - ."\n" - .'* **access_failed_cnt**: the maximum number of access attempts allowed when Data Security Center (DSC) fails to access an unauthorized resource.'."\n" - .'* **access_permission_exprie_max_days**: the maximum idle period allowed for access permissions before an alert is triggered.'."\n" - .'* **log_datasize_avg_days**: the minimum percentage of the volume of logs of a specific type generated on the current day to the average volume of logs generated in the previous 10 days before an alert is triggered.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'access_failed_cnt', - ], - ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => 'The description of the common configuration item.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Maximum number of access attempts allowed when DSC fails to access an unauthorized resource: 10'."\n", - ], - ], - [ - 'name' => 'Value', - 'in' => 'query', - 'schema' => [ - 'description' => 'The value of the common configuration item. The meaning of this parameter varies with the value of the Code parameter.'."\n" - ."\n" - .'* If you set the Code parameter to **access_failed_cnt**, the Value parameter specifies the maximum number of access attempts allowed when DSC fails to access an unauthorized resource.'."\n" - .'* If you set the Code parameter to **access_permission_exprie_max_days**, the Value parameter specifies the maximum idle period allowed for access permissions before an alert is triggered.'."\n" - .'* If you set the Code parameter to **log_datasize_avg_days**, the Value parameter specifies the minimum percentage of the volume of logs of a specific type generated on the current day to the average amount of logs generated in the previous 10 days before an alert is triggered.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '30', - ], - ], - [ - 'name' => 'FeatureType', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'description' => 'This parameter is deprecated.', - 'example' => '1', - ], - ], - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'example' => '39.170.XX.XX', - 'description' => 'This parameter is deprecated.', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Chinese'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'description' => 'The ID of the common alert configuration.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12300', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '208B016D-4CB9-4A85-96A5-0B8ED1EBF271', - ], - ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Id\\": 12300,\\n \\"RequestId\\": \\"208B016D-4CB9-4A85-96A5-0B8ED1EBF271\\"\\n}","errorExample":""},{"type":"xml","example":"<CreateConfigResponse>\\r\\n <RequestId>208B016D-4CB9-4A85-96A5-0B8ED1EBF271</RequestId>\\r\\n</CreateConfigResponse>","errorExample":""}]', - 'title' => 'CreateConfig', - 'description' => 'You can call this operation to create or restore configurations based on the codes of common configuration items. This allows you to manage the configurations of common configuration items.'."\n" + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 13,\\n \\"Items\\": [\\n {\\n \\"CreationTime\\": 1536751124000,\\n \\"Owner\\": \\"dtdep-239-******\\",\\n \\"SensitiveRatio\\": \\"21%\\",\\n \\"TenantName\\": \\"Tenate001\\",\\n \\"RiskLevelId\\": 2,\\n \\"InstanceName\\": \\"rm-****\\",\\n \\"ProductId\\": \\"1\\",\\n \\"Name\\": \\"gxdata\\",\\n \\"InstanceId\\": 1,\\n \\"TotalCount\\": 1234,\\n \\"InstanceDescription\\": \\"instance description\\",\\n \\"Sensitive\\": true,\\n \\"RiskLevelName\\": \\"S2\\",\\n \\"SensitiveCount\\": 32,\\n \\"Id\\": 222,\\n \\"ProductCode\\": \\"MaxCompute\\",\\n \\"RuleList\\": [\\n {\\n \\"Name\\": \\"Rule Name\\",\\n \\"RiskLevelId\\": 1,\\n \\"Count\\": 12\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'DescribeTables', + 'description' => 'You can call the DescribeTables operation to retrieve information about specific data asset tables. You can specify parameters such as search keywords and risk levels.'."\n" ."\n" - .'# Limits'."\n" + .'## QPS limits'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", + .'Each Alibaba Cloud account can call this operation up to 10 times per second. If you exceed this limit, throttling is triggered, which may affect your business. We recommend that you call this operation at a sustainable rate.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeConfigs' => [ - 'summary' => 'Queries common configuration items for alerts.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-06T07:46:06.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-12-28T06:59:57.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-22T08:24:06.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-10-09T10:05:21.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-10-09T10:05:21.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTables'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeTables', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DescribeTemplateAllRules' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10052,23 +8390,30 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsddpCHNP1R', - ], + 'abilityTreeCode' => '82084', + 'abilityTreeNodes' => ['FEATUREsddpIUNEZP'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: **zh\\_cn**. Valid values:'."\n" + ."\n" + .'- **zh\\_cn**: Chinese.'."\n" + ."\n" + .'- **en\\_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the industry template.'."\n" + ."\n" + .'> You can call the [DescribeCategoryTemplateList](~~2399296~~) operation to obtain the ID of the industry template. If you do not specify this parameter, the list of models for the primary template is returned by default.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'FeatureType', + 'in' => 'query', + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], ], 'responses' => [ @@ -10076,121 +8421,134 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', - ], - 'ConfigList' => [ - 'description' => 'An array that consists of common configuration items for alerts.'."\n", + 'RequestId' => ['description' => 'The unique ID of the request.', 'type' => 'string', 'example' => '769FB3C1-F4C9-4******', 'title' => ''], + 'RuleList' => [ + 'description' => 'A list of model objects.', 'type' => 'array', 'items' => [ + 'description' => 'A model object.', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => 'The code of the common configuration item.'."\n", - 'type' => 'string', - 'format' => 'int32', - 'example' => '1', - ], - 'Value' => [ - 'description' => 'The value of the common configuration item.'."\n", - 'type' => 'string', - 'format' => 'int64', - 'example' => '30', - ], - 'DefaultValue' => [ - 'description' => 'The description of the default value for the common configuration item.'."\n", - 'type' => 'string', - 'example' => 'The volume of logs of a specific type that are generated on the current day is less than 30% of the average volume of logs generated in the previous 10 days.'."\n", - ], - 'Description' => [ - 'description' => 'The description of the common configuration item.'."\n", - 'type' => 'string', - 'example' => 'Anomalous log output'."\n", - ], - 'Id' => [ - 'description' => 'The unique ID of the common configuration item.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2133', - ], + 'Name' => ['description' => 'The name of the model.', 'type' => 'string', 'example' => 'Model Name', 'title' => ''], + 'Id' => ['description' => 'The unique ID of the model.', 'type' => 'integer', 'format' => 'int64', 'example' => '376', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"ConfigList\\": [\\n {\\n \\"Code\\": 1,\\n \\"Value\\": 30,\\n \\"DefaultValue\\": \\"当日某类日志输出量低于前10天平均值的30%\\",\\n \\"Description\\": \\"日志未有效输出\\",\\n \\"Id\\": 2133\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\n<DescribeConfigs>\\n<RequestId>769FB3C1-F4C9-42DF-9B72-7077A8989C13</RequestId>\\n<ConfigList>\\n <Code>2001</Code>\\n <DefaultValue>目前的阈值定义为10次</DefaultValue>\\n <Description>当日某类日志输出量低于前10天平均值的30%</Description>\\n <Id>2133</Id>\\n <Value>10</Value>\\n</ConfigList>\\n</DescribeConfigs>","errorExample":""}]', - 'title' => 'DescribeConfigs', - 'extraInfo' => ' ', - ], - 'ModifyReportTaskStatus' => [ - 'summary' => 'Enables or disables the report task.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Query All Models List of Industry Templates', + 'summary' => 'Lists all rules in an industry-specific template.', + 'changeSet' => [ + ['createdAt' => '2024-03-25T07:35:03.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:05.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTemplateAllRules'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeTemplateAllRules', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-4******\\",\\n \\"RuleList\\": [\\n {\\n \\"Name\\": \\"Model Name\\",\\n \\"Id\\": 376\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeUserStatus' => [ + 'summary' => 'Queries the status of a user account by calling DescribeUserStatus.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '118114', - 'abilityTreeNodes' => [ - 'FEATUREsddp6DN9CR', - ], + 'abilityTreeCode' => '82092', + 'abilityTreeNodes' => ['FEATUREsddp4GFW27', 'FEATUREsddpKPIKAW', 'FEATUREsddp7JHQOS', 'FEATUREsddpXD0XSH'], ], 'parameters' => [ [ - 'name' => 'ReportTaskStatus', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies the status of the report task. Valid values:'."\n" - ."\n" - .'* **0**: disabled'."\n" - .'* **1**: enabled'."\n" - ."\n" - .'> This parameter is required.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + .'- **zh_cn**: Chinese (Simplified). This is the default value.'."\n" + .'- **en_us**: English (US).', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'description' => 'This parameter is deprecated.'."\n", - 'example' => '1', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Simplified Chinese'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], ], 'responses' => [ @@ -10198,81 +8556,141 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '208B016D-4CB9-4A85-96A5-0B8ED1EBF271', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', 'title' => ''], + 'UserStatus' => [ + 'description' => 'The details of the current logon account.', + 'type' => 'object', + 'properties' => [ + 'UseOssSize' => ['description' => 'The used OSS storage capacity. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '234', 'title' => ''], + 'UseInstanceNum' => ['description' => 'The number of instances that are used.', 'type' => 'integer', 'format' => 'int32', 'example' => '125', 'title' => ''], + 'InstanceNum' => ['description' => 'The number of instances in the current logon account.', 'type' => 'integer', 'format' => 'int32', 'example' => '32', 'title' => ''], + 'ChargeType' => ['description' => 'The billing method of the DSC service purchased by the current logon account. Valid values:'."\n" + .'- **PREPAY**: subscription.'."\n" + .'- **POSTPAY**: pay-as-you-go.', 'type' => 'string', 'example' => 'PREPAY', 'title' => ''], + 'Authed' => ['description' => 'Indicates whether the current logon account has authorized DSC to access RAM. Valid values:'."\n" + .'- **true**: authorized.'."\n" + .'- **false**: not authorized.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'LabStatus' => ['description' => 'Indicates whether the asset lab feature is enabled. Valid values:'."\n" + .'- **1**: enabled.'."\n" + .'- **0**: not enabled.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'RemainDays' => ['description' => 'The remaining days of the protection period for assets in the current logon account.', 'type' => 'integer', 'format' => 'int32', 'example' => '131', 'title' => ''], + 'Trail' => ['description' => 'Indicates whether the current logon account is using a trial version of DSC. Valid values:'."\n" + .'- **true**: trial.'."\n" + .'- **false**: non-trial.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID of the Data Security Center product purchased by the Alibaba Cloud account.', 'type' => 'string', 'example' => 'sddp-cn-****', 'title' => ''], + 'AccessKeyId' => ['description' => 'The AccessKey ID authorized by the user.', 'type' => 'string', 'example' => 'yourAccessKeyID', 'title' => ''], + 'Purchased' => ['description' => 'Indicates whether the DSC service is purchased. Valid values:'."\n" + ."\n" + .'- **true**: purchased.'."\n" + .'- **false**: not purchased.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'DataManagerRole' => ['description' => 'The permissions of the current account. Valid values:'."\n" + .'- **0**: has management or read-only permissions for Data Security Center.'."\n" + .'- **1**: has data domain management permissions.', 'type' => 'integer', 'format' => 'int32', 'default' => '1', 'example' => '1', 'title' => ''], + 'ReleaseDays' => ['description' => 'The number of days from expiration to release. Unit: days.', 'type' => 'integer', 'format' => 'int32', 'example' => '15', 'title' => ''], + 'AuditClosable' => ['description' => 'Indicates whether SQL Explorer can be disabled. Valid values:'."\n" + .'- **true**: can be disabled.'."\n" + .'- **false**: cannot be disabled.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'AuditReleasable' => ['description' => 'Indicates whether SQL Explorer can be released. Valid values:'."\n" + .'- **true**: can be released.'."\n" + .'- **false**: cannot be released.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + 'ReleaseTime' => ['description' => 'The release time. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '15000', 'title' => ''], + 'InstanceTotalCount' => ['description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'OssTotalSize' => ['description' => 'The total OSS storage capacity. Unit: bytes.', 'type' => 'integer', 'format' => 'int64', 'example' => '2048', 'title' => ''], + 'UseAgentAudit' => ['description' => 'Indicates whether the Agent audit feature has been used. Valid values:'."\n" + .'- **1**: has been used.'."\n" + .'- **0**: has not been used.', 'type' => 'boolean', 'example' => '1', 'title' => ''], + 'ProtectionDays' => ['description' => 'The total number of days that user assets have been protected.', 'type' => 'integer', 'format' => 'int32', 'example' => '22', 'title' => ''], + 'AssetRoleAuthed' => ['description' => 'Indicates whether the current logon account has authorized the service-linked role for DSC asset synchronization. Valid values:'."\n" + .'- **true**: authorized.'."\n" + .'- **false**: not authorized.', 'type' => 'boolean', 'example' => 'true', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'gatewayOptions' => [ + 'gatewayProtocols' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"208B016D-4CB9-4A85-96A5-0B8ED1EBF271\\"\\n}","errorExample":""},{"type":"xml","example":"<ModifyReportTaskStatusResponse>\\n <RequestId>208B016D-4CB9-4A85-96A5-0B8ED1EBF271</RequestId>\\n</ModifyReportTaskStatusResponse>","errorExample":""}]', - 'title' => 'ModifyReportTaskStatus', - 'description' => 'You can call this operation to enable or disable the report task. After you activate Data Security Center (DSC), the report task is enabled by default. After you disable the report task, you cannot view statistics that are newly generated in the Report Center module, on the Overview page of the Cloud Native Data Audit module, and in the Data security lab module. Existing statistics are not affected.'."\n" + 'title' => 'Query user account status', + 'description' => 'Queries information about the current logon account. This helps you gain a comprehensive understanding of the effectiveness of Data Security Center (DSC).'."\n" ."\n" - .'# Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeUserStatus' => [ - 'summary' => 'Queries the information about an account.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2024-10-25T08:51:38.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-10-25T08:49:28.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-03-25T07:35:03.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-27T07:12:28.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-01T07:35:36.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-10-14T11:42:18.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-11-26T06:59:59.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-11-15T07:13:55.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-09-28T03:16:50.000Z', 'description' => 'Response parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserStatus'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeUserStatus', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"UserStatus\\": {\\n \\"UseOssSize\\": 234,\\n \\"UseInstanceNum\\": 125,\\n \\"InstanceNum\\": 32,\\n \\"ChargeType\\": \\"PREPAY\\",\\n \\"Authed\\": true,\\n \\"LabStatus\\": 1,\\n \\"RemainDays\\": 131,\\n \\"Trail\\": true,\\n \\"InstanceId\\": \\"sddp-cn-****\\",\\n \\"AccessKeyId\\": \\"yourAccessKeyID\\",\\n \\"Purchased\\": true,\\n \\"DataManagerRole\\": 1,\\n \\"ReleaseDays\\": 15,\\n \\"AuditClosable\\": true,\\n \\"AuditReleasable\\": true,\\n \\"ReleaseTime\\": 15000,\\n \\"InstanceTotalCount\\": 10,\\n \\"OssTotalSize\\": 2048,\\n \\"UseAgentAudit\\": true,\\n \\"ProtectionDays\\": 22,\\n \\"AssetRoleAuthed\\": true\\n }\\n}","type":"json"}]', + ], + 'DisableUserConfig' => [ + 'summary' => 'Calls the DisableUserConfig operation to disable a user configuration. After the user configuration is disabled, you can call the CreateConfig operation with the same request parameter Code to restore the anomaly alert general configuration for the configuration item.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82092', - 'abilityTreeNodes' => [ - 'FEATUREsddp4GFW27', - 'FEATUREsddpKPIKAW', - 'FEATUREsddp7JHQOS', - 'FEATUREsddpXD0XSH', - ], + 'abilityTreeCode' => '82095', + 'abilityTreeNodes' => ['FEATUREsddpR2D59W', 'FEATUREsddpGH0F1O', 'FEATUREsddpCHNP1R'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Simplified Chinese (default)'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + .'- **zh_cn**: Chinese. This is the default value.'."\n" + .'- **en_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], + ], + [ + 'name' => 'Code', + 'in' => 'query', + 'schema' => ['description' => 'The code of the configuration item in the anomaly alert general configuration module. You can call [DescribeConfigs](~~DescribeConfigs~~) to obtain the Code of the configuration item.', 'type' => 'string', 'required' => false, 'example' => 'access_failed_cnt', 'title' => ''], ], [ 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], ], 'responses' => [ @@ -10280,184 +8698,101 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', - ], - 'UserStatus' => [ - 'description' => 'The information about the current account.'."\n", - 'type' => 'object', - 'properties' => [ - 'UseOssSize' => [ - 'description' => 'The occupied space of the Object Storage Service (OSS) bucket. Unit: bytes.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '234', - ], - 'UseInstanceNum' => [ - 'description' => 'The number of instances that are used.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '125', - ], - 'InstanceNum' => [ - 'description' => 'The number of instances within the current account.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '32', - ], - 'ChargeType' => [ - 'description' => 'The billing method of DCS that is purchased by using the current account. Valid values:'."\n" - ."\n" - .'* **PREPAY**: subscription'."\n" - .'* **POSTPAY**: pay-as-you-go'."\n", - 'type' => 'string', - 'example' => 'PREPAY', - ], - 'Authed' => [ - 'description' => 'Indicates whether DSC has permission to access user resources within the current account. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'LabStatus' => [ - 'description' => 'Indicates whether the data security lab feature is enabled. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RemainDays' => [ - 'description' => 'The remaining period for which the data assets within the current account can be protected by DSC.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '131', - ], - 'Trail' => [ - 'description' => 'Indicates whether the current account uses a free trial of DSC. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'InstanceId' => [ - 'description' => 'The ID of the data security center instance purchased by the main account.', - 'type' => 'string', - 'example' => 'sddp-cn-****', - ], - 'AccessKeyId' => [ - 'description' => 'The AccessKey ID of the current account.'."\n", - 'type' => 'string', - 'example' => 'yourAccessKeyID', - ], - 'Purchased' => [ - 'description' => 'Indicates whether DSC is purchased. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'DataManagerRole' => [ - 'description' => 'The permissions that the current account has. Valid values:'."\n" - ."\n" - .'* **0**: The current account has the administrative permissions or read-only permissions on Data Security Center.'."\n" - .'* **1**: The current account has the permissions to manage data domains.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'default' => '1', - ], - 'ReleaseDays' => [ - 'description' => 'The grace period between when DSC is expired and when DSC is released. Unit: days.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15', - ], - 'AuditClosable' => [ - 'description' => 'Indicates whether the SQL Explorer feature can be disabled. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'AuditReleasable' => [ - 'description' => 'Indicates whether the audit resources can be released.'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'example' => 'true', - ], - 'ReleaseTime' => [ - 'description' => 'The time when the audit resources are released. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '15000', - ], - 'InstanceTotalCount' => [ - 'description' => 'The total number of instances.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'OssTotalSize' => [ - 'description' => 'OSS total storage capacity. Unit: Bytes.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2048', - ], - 'UseAgentAudit' => [ - 'description' => 'Indicates whether the agent audit feature is used. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'boolean', - 'example' => '1', - ], - 'ProtectionDays' => [ - 'description' => 'Accumulate the number of days to protect user assets.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'AssetRoleAuthed' => [ - 'type' => 'boolean', - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'AC314611-D907-5EBF-B6D8-70425E5A8643', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"UserStatus\\": {\\n \\"UseOssSize\\": 234,\\n \\"UseInstanceNum\\": 125,\\n \\"InstanceNum\\": 32,\\n \\"ChargeType\\": \\"PREPAY\\",\\n \\"Authed\\": true,\\n \\"LabStatus\\": 1,\\n \\"RemainDays\\": 131,\\n \\"Trail\\": true,\\n \\"InstanceId\\": \\"sddp-cn-****\\",\\n \\"AccessKeyId\\": \\"yourAccessKeyID\\",\\n \\"Purchased\\": true,\\n \\"DataManagerRole\\": 1,\\n \\"ReleaseDays\\": 15,\\n \\"AuditClosable\\": true,\\n \\"AuditReleasable\\": true,\\n \\"ReleaseTime\\": 15000,\\n \\"InstanceTotalCount\\": 10,\\n \\"OssTotalSize\\": 2048,\\n \\"UseAgentAudit\\": true,\\n \\"ProtectionDays\\": 22,\\n \\"AssetRoleAuthed\\": true\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeUserStatusResponse>\\n <RequestId>769FB3C1-F4C9-42DF-9B72-7077A8989C13</RequestId>\\n <UserStatus>\\n <UseOssSize>234</UseOssSize>\\n <UseInstanceNum>125</UseInstanceNum>\\n <InstanceNum>32</InstanceNum>\\n <ChargeType>PREPAY</ChargeType>\\n <Authed>true</Authed>\\n <LabStatus>1</LabStatus>\\n <RemainDays>131</RemainDays>\\n <Trail>true</Trail>\\n <InstanceId>ins-****</InstanceId>\\n <AccessKeyId>LTAI4G67HRBzNRmMhfyv****</AccessKeyId>\\n <Purchased>true</Purchased>\\n </UserStatus>\\n</DescribeUserStatusResponse>","errorExample":""}]', - 'title' => 'DescribeUserStatus', - 'description' => 'You can call this operation to query the information about the current account. This helps you get familiar with your account that accesses Data Security Center (DSC).'."\n" - ."\n" - .'# Limits'."\n" + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'Disable a user configuration', + 'description' => 'This operation is used to disable a user configuration based on the code of a configuration item in the anomaly alert general configuration module, allowing you to promptly modify the effective status of the user configuration.'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as needed.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DisableUserConfig' => [ - 'summary' => 'Disables a configuration item. After you disable a configuration item, you can call the CreateConfig operation to enable the configuration item by specifying the code of the configuration item for the Code parameter in the request.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2024-03-25T07:35:03.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:04.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableUserConfig'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-sddp:DisableUserConfig', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AC314611-D907-5EBF-B6D8-70425E5A8643\\"\\n}","type":"json"}]', + ], + 'ExecDatamask' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10465,50 +8800,47 @@ ], 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82095', - 'abilityTreeNodes' => [ - 'FEATUREsddpR2D59W', - 'FEATUREsddpGH0F1O', - 'FEATUREsddpCHNP1R', - ], + 'abilityTreeCode' => '82098', + 'abilityTreeNodes' => ['FEATUREsddpUBRQH2'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'TemplateId', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Chinese (default)'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The ID of the data masking template. A template ID is generated after you create a template in the [Data Security Center console](https://yundun.console.aliyun.com/?p=sddp#/dm/dmConfig/cn-zhangjiakou). You can find the **Template ID** on the **Data Masking** > **Masking Configuration** > **Masking Template** page.'."\n" + ."\n" + .'- If the matching type of the data masking template is **Field Name**, the system matches the data against **dataHeaderList** in **Data**.'."\n" + ."\n" + .'- If the matching type of the data masking template is **Sensitive Data Type**, the system matches the data against **ruleList** in **Data**.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], [ - 'name' => 'Code', + 'name' => 'Data', 'in' => 'query', - 'schema' => [ - 'description' => 'The code of the configuration item. You can call the [DescribeConfigs](~~DescribeConfigs~~) operation to obtain the code of the configuration item.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'access_failed_cnt', - ], + 'schema' => ['description' => 'The data that you want to mask. The data must be a string in JSON format and include the following fields:'."\n" + ."\n" + .'- **dataHeaderList**: The column names of the data. The order of the column names must correspond to the order of the data that you want to mask.'."\n" + ."\n" + .'- **dataList**: The data that you want to mask.'."\n" + ."\n" + .'- **ruleList**: A list of sensitive data type IDs. The order of the IDs must correspond to the order of the data that you want to mask. Each ID is a number that represents a sensitive data type. You can call the [DescribeRules](~~410141~~) operation to obtain the IDs.', 'type' => 'string', 'required' => true, 'example' => '{"dataHeaderList":["name","age"],"dataList":[["lily",18],["lucy",17]],"ruleList":[1002,null]}', 'title' => ''], ], [ 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the request and response. Default value: **zh\\_cn**. Valid values:'."\n" + ."\n" + .'- **zh\\_cn**: Simplified Chinese'."\n" + ."\n" + .'- **en\\_us**: English (US)', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], ], 'responses' => [ @@ -10516,12 +8848,18 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => 'AC314611-D907-5EBF-B6D8-70425E5A8643', - ], + 'Data' => ['description' => 'The data after it is masked. The data is a string in JSON format and includes the following fields:'."\n" + ."\n" + .'- **dataHeaderList**: The column names of the masked data.'."\n" + ."\n" + .'- **dataList**: The masked data. The order of the fields corresponds to the order of the column names.'."\n" + ."\n" + .'- **ruleList**: The sensitive data type IDs. Each ID corresponds to the unique ID of a sensitive data type that is returned by the [DescribeRules](~~410141~~) operation.', 'type' => 'string', 'example' => '{"dataHeaderList":["name","age"],"dataList":[["l***",18],["l***",17]],"ruleList":[1002,null]}', 'title' => ''], + 'RequestId' => ['description' => 'The ID of the request. Alibaba Cloud generates a unique ID for each request. You can use this ID to troubleshoot issues.', 'type' => 'string', 'example' => '813BA9FA-D062-42C4-8CD5-11A7640B96E6', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], @@ -10529,26 +8867,41 @@ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AC314611-D907-5EBF-B6D8-70425E5A8643\\"\\n}","errorExample":""},{"type":"xml","example":"<DisableUserConfigResponse>\\r\\n<RequestId>AC314611-D907-5EBF-B6D8-70425E5A8643</RequestId>\\r\\n</DisableUserConfigResponse>","errorExample":""}]', - 'title' => 'DisableUserConfig', - 'description' => 'You can call this operation to disable a configuration item based on the code of the configuration item. This helps you modify configurations at the earliest opportunity.'."\n" - ."\n" - .'# Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", + 'title' => 'ExecDatamask', + 'summary' => 'You can call the ExecDatamask operation to dynamically mask data.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyEventTypeStatus' => [ - 'summary' => 'Enables the detection of anomalous events of subtypes.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-01-22T14:51:08.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-03-25T07:35:03.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-04-27T08:42:11.000Z', 'description' => 'Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecDatamask'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-sddp:ExecDatamask', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"{\\\\\\"dataHeaderList\\\\\\":[\\\\\\"name\\\\\\",\\\\\\"age\\\\\\"],\\\\\\"dataList\\\\\\":[[\\\\\\"l***\\\\\\",18],[\\\\\\"l***\\\\\\",17]],\\\\\\"ruleList\\\\\\":[1002,null]}\\",\\n \\"RequestId\\": \\"813BA9FA-D062-42C4-8CD5-11A7640B96E6\\"\\n}","type":"json"}]', + ], + 'ManualTriggerMaskingProcess' => [ + 'summary' => 'Triggers a data masking task.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10556,63 +8909,39 @@ ], 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82115', - 'abilityTreeNodes' => [ - 'FEATUREsddpR2D59W', - 'FEATUREsddpGH0F1O', - 'FEATUREsddpCHNP1R', - ], + 'abilityTreeCode' => '82102', + 'abilityTreeNodes' => ['FEATUREsddpNV5XKZ'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values: **zh** and **en**. The value zh indicates Chinese, and the value en indicates English.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'SubTypeIds', - 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the anomalous event subtype. Separate multiple IDs with commas (,).'."\n" - ."\n" - .'> You can call the **DescribeEventTypes** operation to query the ID of anomalous event subtype.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '020008', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: zh_cn. Valid values:'."\n" + ."\n" + .'- **zh_cn**: Chinese.'."\n" + .'- **en_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ - 'name' => 'FeatureType', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => 'This parameter is deprecated.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The ID of the data masking task, represented as a number.'."\n" + ."\n" + .'<note>The data masking task ID is represented by a string of characters. You can call the DescribeDataMaskingTasks operation to obtain the ID.</note>', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The result of the request.'."\n", + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '208B016D-4CB9-4A85-96A5-0B8ED1E*****', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7C3AC882-E5A8-4855-BE77-B6837B695EF1', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], ], @@ -10620,97 +8949,159 @@ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"208B016D-4CB9-4A85-96A5-0B8ED1E*****\\"\\n}","type":"json"}]', - 'title' => 'ModifyEventTypeStatus', - ], - 'ModifyEventStatus' => [ - 'summary' => 'Handles an anomalous event.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Trigger a data masking task', + 'changeSet' => [ + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:02.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ManualTriggerMaskingProcess'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:ManualTriggerMaskingProcess', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7C3AC882-E5A8-4855-BE77-B6837B695EF1\\"\\n}","type":"json"}]', + ], + 'MaskOssImage' => [ + 'summary' => 'Use the MaskOssImage operation to mask images stored as objects.', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsddpGH0F1O', - 'FEATUREsddpR2D59W', - ], + 'abilityTreeNodes' => ['FEATUREsddpIUXEIF'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'BucketName', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Chinese'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'required' => true, 'example' => 'sddp-api-demo-bucket', 'title' => ''], ], [ - 'name' => 'Id', + 'name' => 'ObjectKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the anomalous event.'."\n" - ."\n" - .'> You can call the **DescribeEvents** operation to query the ID of the anomalous event.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '12345', - ], + 'schema' => ['description' => 'The full key of the object stored in OSS.', 'type' => 'string', 'required' => true, 'example' => 'dir1/test.png', 'title' => ''], ], [ - 'name' => 'Backed', + 'name' => 'ServiceRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'Specifies whether to enhance the detection of anomalous events. If you enhance the detection of anomalous events, the detection accuracy and the rate of triggering alerts for anomalous events are improved. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n", - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'The region where the bucket is located.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'DealReason', + 'name' => 'MaskRuleIdList', 'in' => 'query', - 'schema' => [ - 'description' => 'The reason why the anomalous event is handled.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Anomaly confirmed'."\n", - ], + 'schema' => ['description' => 'A comma-separated list of masking rule IDs.'."\n" + ."\n" + .'The following rule IDs correspond to the listed sensitive data types:'."\n" + ."\n" + .'3000: Images that contain ID card information (Chinese mainland)'."\n" + ."\n" + .'3009: Images that contain license plate information (Chinese mainland)'."\n" + ."\n" + .'3002: Images that contain faces'."\n" + ."\n" + .'1002: Names (Simplified Chinese)'."\n" + ."\n" + .'1003: Addresses (Chinese mainland)'."\n" + ."\n" + .'4003: Unified Social Credit Code'."\n" + ."\n" + .'63009: Images that contain eyes', 'type' => 'string', 'required' => true, 'example' => '3000,3002', 'title' => ''], ], [ - 'name' => 'Status', + 'name' => 'IsSupportRestore', 'in' => 'query', - 'schema' => [ - 'description' => 'The method to handle the anomalous event. Valid values:'."\n" - ."\n" - .'* **1**: marks the anomalous event as a false positive.'."\n" - .'* **2**: confirms and handles the anomalous event.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'Specifies whether you can restore the original image from the masked version.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'IsAlwaysUpload', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to always upload the processed image.'."\n" + ."\n" + .'If you set this to false, the image is uploaded only if it matches a masking rule.'."\n" + ."\n" + .'If you set this to true, the processed image is always uploaded.', 'type' => 'boolean', 'default' => 'true', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'IsCoverObject', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['type' => 'boolean', 'title' => '', 'description' => '', 'example' => ''], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'example' => 'zh', 'title' => ''], ], ], 'responses' => [ @@ -10718,467 +9109,302 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '8491DBFD-48C0-4E11-B6FC-6F38921244A9', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '136082B3-B21F-5E9D-B68E-991FFD205D24'], ], + 'title' => '', + 'description' => 'Response schema', + 'example' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"8491DBFD-48C0-4E11-B6FC-6F38921244A9\\"\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<ModifyEventStatus>\\r\\n\\t<RequestId>8491DBFD-48C0-4E11-B6FC-6F38921244A9</RequestId>\\r\\n</ModifyEventStatus>\\t\\r\\n","errorExample":""}]', - 'title' => 'ModifyEventStatus', - 'description' => 'You can call this operation to handle anomalous events that involve data leaks. This helps protect your data assets at the earliest opportunity.'."\n" + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'MaskOssImage', + 'description' => '**Prerequisites**'."\n" ."\n" - .'# Limits'."\n" + .'To use this operation, you must have an image masking quota. Each call deducts one unit from your quota.'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'extraInfo' => ' ', - ], - 'DescribeEvents' => [ - 'summary' => 'Queries anomalous events.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + .'**QPS limit**'."\n" + ."\n" + .'The QPS limit for a single user is 10. If you exceed this limit, API calls are throttled, which can affect your business. To prevent service disruptions, operate within this limit.'."\n" + ."\n" + .'**Usage notes**'."\n" + ."\n" + .'After masking is complete, the system stores the masked image in the aliyun\\_dsc\\_desensitization folder within the source bucket.'."\n" + ."\n" + .'For example, an image at exampledir/test.png in a bucket is saved as aliyun\\_dsc\\_desensitization/exampledir/test.png after masking.'."\n" + ."\n" + .'For more information, see https\\://help.aliyun.com/zh/dsc/data-security-center/user-guide/picture-desensitization', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:MaskOssImage', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"136082B3-B21F-5E9D-B68E-991FFD205D24\\"\\n}","type":"json"}]', + ], + 'ModifyDataLimit' => [ + 'summary' => 'Modifies the configuration items of a Data Security Center (DSC) connection authorization.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82036', - 'abilityTreeNodes' => [ - 'FEATUREsddpR2D59W', - 'FEATUREsddpGH0F1O', - 'FEATUREsddpCHNP1R', - ], + 'abilityTreeCode' => '82106', + 'abilityTreeNodes' => ['FEATUREsddp2CRSZ1'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Chinese'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [], - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The language of the request and response messages. Valid values:'."\n" + ."\n" + .'- **zh**: Chinese (default)'."\n" + .'- **en**: English', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => 'The unique ID of the anomalous event.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '789026', - ], + 'schema' => ['description' => 'The unique ID of the data asset that belongs to the product associated with the DSC connection authorization configuration item.'."\n" + .'> To modify a DSC connection authorization configuration item, you must provide the unique ID of the data asset that belongs to the associated product. You can call the [DescribeDataLimits](~~DescribeDataLimits~~) operation to obtain the ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '11', 'title' => ''], ], [ - 'name' => 'UserId', + 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account that triggered the anomalous event.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1978132506596***', - ], + 'schema' => ['description' => 'The name of the product to which the data of the DSC connection authorization configuration item belongs. Valid values:'."\n" + .'- **1**: MaxCompute'."\n" + .'- **2**: OSS'."\n" + .'- **3**: ADS'."\n" + .'- **4**: OTS'."\n" + .'- **5**: RDS', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '5', 'title' => ''], ], [ - 'name' => 'DealUserId', + 'name' => 'ServiceRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the account that handles the anomalous event.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'yundun-***', - ], + 'schema' => ['description' => 'The region where the asset resides. Valid values:'."\n" + .'- **cn-beijing**: China (Beijing)'."\n" + .'- **cn-zhangjiakou**: China (Zhangjiakou)'."\n" + .'- **cn-huhehaote**: China (Hohhot)'."\n" + .'- **cn-hangzhou**: China (Hangzhou)'."\n" + .'- **cn-shanghai**: China (Shanghai)'."\n" + .'- **cn-shenzhen**: China (Shenzhen)'."\n" + .'- **cn-hongkong**: Hong Kong (China)', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Status', + 'name' => 'UserName', 'in' => 'query', - 'schema' => [ - 'description' => 'The handling status of the anomalous event. Valid values:'."\n" - ."\n" - .'* 0: unhandled'."\n" - .'* 1: confirmed'."\n" - .'* 2: marked as false positive'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The username used for the DSC connection authorization to the RDS database.', 'type' => 'string', 'required' => false, 'example' => 'User01', 'title' => ''], ], [ - 'name' => 'TypeCode', + 'name' => 'Password', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the anomalous event type. Valid values:'."\n" - ."\n" - .'* 01: anomalous permission usage'."\n" - .'* 02: anomalous data flow'."\n" - .'* 03: anomalous data operation'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '02', - ], + 'schema' => ['description' => 'The password used for the DSC connection authorization to the RDS database.', 'type' => 'string', 'required' => false, 'example' => '********', 'title' => ''], ], [ - 'name' => 'SubTypeCode', + 'name' => 'ModifyPassword', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the anomalous event subtype.'."\n" - ."\n" - .'> You can call the **DescribeEventTypes** operation to query the name of the anomalous event subtype.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'Anomalous volume of downloaded data'."\n", - ], + 'schema' => ['description' => 'Specifies whether to modify the username and password for connecting to the database. Valid values:'."\n" + .'- **true**: Modify.'."\n" + .'- **false**: Do not modify.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'AuditStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range during which the anomalous events are detected. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1657900000', - ], + 'schema' => ['description' => 'Specifies whether to enable auditing. Valid values:'."\n" + .'- **0**: Disable auditing.'."\n" + .'- **1**: Enable auditing.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'LogStoreDay', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range during which the anomalous events are detected. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1698700000', - ], + 'schema' => ['description' => 'The retention period of raw logs after auditing is enabled. Unit: days. Valid values:'."\n" + .'- **30**'."\n" + .'- **90**'."\n" + .'- **180**'."\n" + .'- **365**', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'EngineType', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '12', - ], + 'schema' => ['description' => 'The database type. Valid values:'."\n" + .'- **MySQL**'."\n" + .'- **SQLServer**', 'type' => 'string', 'required' => false, 'example' => 'MySQL', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'Port', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The port used to connect to the database.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3306', 'title' => ''], ], [ - 'name' => 'InstanceName', + 'name' => 'AutoScan', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the data asset.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'rm-uf6yzvbc2tg90iuxk.l****', - ], + 'schema' => ['description' => 'Specifies whether to automatically trigger a rescan when rules change. Valid values:'."\n" + .'- **0**: Do not trigger an automatic scan.'."\n" + .'- **1**: Trigger an automatic scan. '."\n" + ."\n" + .'> When a rule change triggers an automatic scan, a full scan is performed on all data in the data source.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'ProductCode', + 'name' => 'SamplingSize', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the service to which the table belongs. Valid values include **MaxCompute, OSS, ADS, OTS, and RDS**.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'OSS', - ], + 'schema' => ['description' => 'The number of sample entries for sensitive data detection after data detection is enabled. Valid values:'."\n" + .'- **0**'."\n" + .'- **5**'."\n" + .'- **10**', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], ], [ - 'name' => 'TargetProductCode', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the destination service in an anomalous data flow. Valid values include **MaxCompute, OSS, ADS, OTS, and RDS**'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'RDS', - ], + 'schema' => ['description' => 'The VPC ID to which the data asset belongs.', 'type' => 'string', 'required' => false, 'example' => 'vpc-2zevcqke6hh09c41****', 'title' => ''], ], [ - 'name' => 'UserName', + 'name' => 'SecurityGroupIdList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'The username of the RAM user.'."\n", - 'type' => 'string', + 'description' => 'The security groups used by PrivateLink in agent-based auditing.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the security group used by PrivateLink in agent-based auditing.', 'type' => 'string', 'required' => false, 'example' => 'sg-bp113yf20quxkvy****', 'title' => ''], 'required' => false, - 'example' => 'name', + 'maxItems' => 5, + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'WarnLevel', + 'name' => 'VSwitchIdList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'description' => 'The vSwitches used by PrivateLink in agent-based auditing.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the vSwitch used by PrivateLink in agent-based auditing.', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1kk2mtrtey7o4ju****', 'title' => ''], 'required' => false, - 'description' => 'The risk level of the alert that is triggered. Valid values:'."\n" - ."\n" - .'* **1**: low'."\n" - .'* **2**: medium'."\n" - .'* **3**: high'."\n", - 'example' => '1', + 'maxItems' => 2, + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'FeatureType', + 'in' => 'query', + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'The result of the request.'."\n", 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Items' => [ - 'description' => 'An array that consists of the anomalous events.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The anomalous event.'."\n", - 'type' => 'object', - 'properties' => [ - 'DisplayName' => [ - 'description' => 'The display name of the account that triggered the anomalous event.'."\n", - 'type' => 'string', - 'example' => 'yundunsr', - ], - 'Status' => [ - 'description' => 'The handling status for the anomalous event. Valid values:'."\n" - ."\n" - .'* 0: unhandled'."\n" - .'* 1: confirmed'."\n" - .'* 2: marked as false positive'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'WarnLevel' => [ - 'description' => 'The severity of the anomalous event.'."\n" - ."\n" - .'* **1**: low'."\n" - .'* **2**: medium'."\n" - .'* **3**: high'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'UserId' => [ - 'description' => 'The ID of the account that triggered the anomalous event.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1978132506596***', - ], - 'StatusName' => [ - 'description' => 'The name of the handling status for the anomalous event.'."\n", - 'type' => 'string', - 'example' => 'Pending'."\n", - ], - 'DealTime' => [ - 'description' => 'The time when the anomalous event was handled. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12223300', - ], - 'DealLoginName' => [ - 'description' => 'The username of the account that is used to handle the anomalous event.'."\n", - 'type' => 'string', - 'example' => 'det1111', - ], - 'SubTypeName' => [ - 'description' => 'The name of the anomalous event subtype.'."\n", - 'type' => 'string', - 'example' => 'Anomalous volume of downloaded data'."\n", - ], - 'Backed' => [ - 'description' => 'Indicates whether the detection of anomalous events is enhanced. If the detection of anomalous events is enhanced, the detection accuracy and the rate of triggering alerts for anomalous events are improved. Valid values:'."\n" - ."\n" - .'* true: yes'."\n" - .'* false: no'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'EventTime' => [ - 'description' => 'The time when the anomalous event occurred. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1545829129000', - ], - 'LoginName' => [ - 'description' => 'The username of the account that triggered the anomalous event.'."\n", - 'type' => 'string', - 'example' => 'det1111', - ], - 'SubTypeCode' => [ - 'description' => 'The code of the anomalous event subtype.'."\n", - 'type' => 'string', - 'example' => '020008', - ], - 'TargetProductCode' => [ - 'description' => 'The name of the destination service in an anomalous data flow.'."\n", - 'type' => 'string', - 'example' => 'RDS', - ], - 'TypeCode' => [ - 'description' => 'The code of the anomalous event type.'."\n", - 'type' => 'string', - 'example' => '02', - ], - 'AlertTime' => [ - 'description' => 'The time when an alert was triggered for the anomalous event. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '154529000', - ], - 'DealUserId' => [ - 'description' => 'The ID of the account that is used to handle the anomalous event.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '229157443385014***', - ], - 'TypeName' => [ - 'description' => 'The name of the anomalous event type.'."\n", - 'type' => 'string', - 'example' => 'Anomalous data flow'."\n", - ], - 'DealDisplayName' => [ - 'description' => 'The display name of the account that is used to handle the anomalous event.'."\n", - 'type' => 'string', - 'example' => 'yundunsr', - ], - 'Id' => [ - 'description' => 'The ID of the anomalous event.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '42233335555', - ], - 'ProductCode' => [ - 'description' => 'The name of the service in which the anomalous event was detected.'."\n", - 'type' => 'string', - 'example' => 'RDS', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID. Alibaba Cloud generates a unique ID for each request. You can use the ID to troubleshoot issues.', 'type' => 'string', 'example' => '7C3AC882-E5A8-4855-BE77-B6837B695EF1', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"PageSize\\": 12,\\n \\"TotalCount\\": 1,\\n \\"Items\\": [\\n {\\n \\"DisplayName\\": \\"yundunsr\\",\\n \\"Status\\": 0,\\n \\"WarnLevel\\": 2,\\n \\"UserId\\": 0,\\n \\"StatusName\\": \\"待处理\\",\\n \\"DealTime\\": 12223300,\\n \\"DealLoginName\\": \\"det1111\\",\\n \\"SubTypeName\\": \\"数据下载量异常\\",\\n \\"Backed\\": false,\\n \\"EventTime\\": 1545829129000,\\n \\"LoginName\\": \\"det1111\\",\\n \\"SubTypeCode\\": \\"020008\\",\\n \\"TargetProductCode\\": \\"RDS\\",\\n \\"TypeCode\\": \\"02\\",\\n \\"AlertTime\\": 154529000,\\n \\"DealUserId\\": 0,\\n \\"TypeName\\": \\"数据流转异常\\",\\n \\"DealDisplayName\\": \\"yundunsr\\",\\n \\"Id\\": 42233335555,\\n \\"ProductCode\\": \\"RDS\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\n<DescribeEvents>\\n<RequestId>769FB3C1-F4C9-42DF-9B72-7077A8989C13</RequestId>\\n<PageSize>10</PageSize>\\n<CurrentPage>1</CurrentPage>\\n<TotalCount>1</TotalCount>\\n<Items>\\n <Status>0</Status>\\n <TypeName>数据流转异常</TypeName>\\n <Backed>false</Backed>\\n <TypeCode>02</TypeCode>\\n <ProductCode>RDS</ProductCode>\\n <SubTypeName>数据下载量异常</SubTypeName>\\n <EventTime>1545829129000</EventTime>\\n <UserId>229157443385014140</UserId>\\n <LoginName>det1111</LoginName>\\n <DisplayName>yundunsr</DisplayName>\\n <Id>54122244</Id>\\n <SubTypeCode>020008</SubTypeCode>\\n <AlertTime>1545829129000</AlertTime>\\n <StatusName>待处理</StatusName>\\n <DealUserId>229157443385014140</DealUserId>\\n <DealLoginName>det1111</DealLoginName>\\n <DeaulDisplayName>yundunsr</DeaulDisplayName>\\n <DepartName>test</DepartName>\\n</Items>\\n</DescribeEvents>","errorExample":""}]', - 'title' => 'DescribeEvents', - 'description' => 'You can call this operation to query anomalous events that may involve data leaks. This helps you search for and handle anomalous events.'."\n" - ."\n" - .'# Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeEventDetail' => [ - 'summary' => 'Queries the details of an anomalous event. The details include the time when the anomalous event occurred, and the description and handling status of the anomalous event.', - 'methods' => [ - 'post', - 'get', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'Modify data asset scan authorization', + 'changeSet' => [ + ['createdAt' => '2024-03-25T07:35:02.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-07-18T03:59:27.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-05-25T10:35:43.000Z', 'description' => 'Request parameters changed, Error codes changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDataLimit'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-sddp:ModifyDataLimit', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7C3AC882-E5A8-4855-BE77-B6837B695EF1\\"\\n}","type":"json"}]', + ], + 'ModifyDefaultLevel' => [ + 'summary' => 'Modifies the risk level definition rules for sensitive data, including the default risk level for unrecognized data and the risk level for data classified as "sensitive".', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82033', - 'abilityTreeNodes' => [ - 'FEATUREsddpR2D59W', - 'FEATUREsddpGH0F1O', - 'FEATUREsddpCHNP1R', - ], + 'abilityTreeCode' => '82112', + 'abilityTreeNodes' => ['FEATUREsddpIUNEZP'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: **zh_cn**. Valid values:'."\n" + .'- **zh_cn**: Chinese.'."\n" + .'- **en_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ - 'name' => 'Id', + 'name' => 'DefaultId', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the anomalous event.'."\n" - ."\n" - .'> You can call the **DescribeEvents** operation to query the ID of the anomalous event.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '13456723343', - ], + 'schema' => ['description' => 'The default risk level ID for unrecognized data. Valid values:'."\n" + .'- **1**: N/A.'."\n" + .'- **2**: S1.'."\n" + .'- **3**: S2.'."\n" + .'- **4**: S3.'."\n" + .'- **5**: S4.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '4', 'title' => ''], + ], + [ + 'name' => 'SensitiveIds', + 'in' => 'query', + 'schema' => ['description' => 'The risk level IDs for data classified as "sensitive". Separate multiple IDs with commas (,). Valid values:'."\n" + ."\n" + .'- **1**: N/A.'."\n" + .'- **2**: S1.'."\n" + .'- **3**: S2.'."\n" + .'- **4**: S3.'."\n" + .'- **5**: S4.', 'type' => 'string', 'required' => false, 'example' => '1,2,3,4', 'title' => ''], ], ], 'responses' => [ @@ -11186,455 +9412,153 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '69FB3C1-F4C9-42DF-9B72-7077A8989C13', - ], - 'Event' => [ - 'description' => 'The details of the anomalous event.'."\n", - 'type' => 'object', - 'properties' => [ - 'DisplayName' => [ - 'description' => 'The display name of the account that triggered the anomalous event.'."\n", - 'type' => 'string', - 'example' => 'yundunsr', - ], - 'Status' => [ - 'description' => 'The handling status for the anomalous event. Valid values:'."\n" - ."\n" - .'* **0**: unhandled'."\n" - .'* **1**: confirmed'."\n" - .'* **2**: marked as false positive'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'DealReason' => [ - 'description' => 'The reason why the anomalous event is handled.'."\n", - 'type' => 'string', - 'example' => 'Anomaly confirmed'."\n", - ], - 'UserId' => [ - 'description' => 'The ID of the account that triggered the anomalous event.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '229157443385014***', - ], - 'StatusName' => [ - 'description' => 'The name of the handling status for the anomalous event.'."\n", - 'type' => 'string', - 'example' => 'Pending'."\n", - ], - 'DealTime' => [ - 'description' => 'The time when the anomalous event was handled. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1230000', - ], - 'DealLoginName' => [ - 'description' => 'The username of the account that is used to handle the anomalous event.'."\n", - 'type' => 'string', - 'example' => 'det1111', - ], - 'SubTypeName' => [ - 'description' => 'The name of the anomalous event subtype.'."\n", - 'type' => 'string', - 'example' => 'Anomalous volume of downloaded data'."\n", - ], - 'Backed' => [ - 'description' => 'Indicates whether the handling result of the anomalous event is used to enhance the detection of anomalous events. Valid values:'."\n" - ."\n" - .'* **true**: yes'."\n" - .'* **false**: no'."\n" - ."\n" - .'> If you enhance the detection of anomalous events, the detection accuracy and the rate of triggering alerts for anomalous events are improved.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'DataInstance' => [ - 'description' => 'The instance name of the service in which the anomalous event was detected.'."\n", - 'type' => 'string', - 'example' => 'in-222***', - ], - 'EventTime' => [ - 'description' => 'The time when the anomalous event occurred. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1545829129000', - ], - 'LoginName' => [ - 'description' => 'The username of the account that triggered the anomalous event.'."\n", - 'type' => 'string', - 'example' => 'det1111', - ], - 'SubTypeCode' => [ - 'description' => 'The code of the anomalous event subtype.'."\n", - 'type' => 'string', - 'example' => '020008', - ], - 'LogDetail' => [ - 'description' => 'The details of the alert logs.'."\n", - 'type' => 'string', - 'example' => '{"client_ip": ["106.11.XX.XX", "106.11.XX.XX", "106.11.XX.XX", "106.11.XX.XX", "106.11.XX.XX", "106.11.XX.XX", "106.11.XX.XX", "106.11.XX.XX", "106.11.XX.XX"], "start_time": "2020-05-10 00:00:01", "instance": ["omniscience-data", "punish-beaver-data"], "end_time": "2020-05-10 00:21:22", "client_ua": ["Java/1.8.0_152", "Java/1.8.0_92", "aliyun-sdk-java/2.0.0", "aliyun-sdk-java/2.8.0(Linux/4.9.151-015.ali3000.alios7.x86_64/amd64;1.8.0_152)"], "user_name": 1512222261295262}', - ], - 'TypeCode' => [ - 'description' => 'The code of the anomalous event type.'."\n", - 'type' => 'string', - 'example' => '02', - ], - 'AlertTime' => [ - 'description' => 'The time when the alert for the anomalous event was generated. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1545829129000', - ], - 'DealUserId' => [ - 'description' => 'The ID of the account that is used to handle the anomalous event.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '229157443385014***', - ], - 'TypeName' => [ - 'description' => 'The name of the anomalous event type. Valid values:'."\n" - ."\n" - .'* **01**: anomalous permission usage'."\n" - .'* **02**: anomalous data flow'."\n" - .'* **03**: anomalous data operation'."\n", - 'type' => 'string', - 'example' => 'Anomalous data flow'."\n", - ], - 'DealDisplayName' => [ - 'description' => 'The display name of the account that is used to handle the anomalous event.'."\n", - 'type' => 'string', - 'example' => 'yundunsr', - ], - 'Id' => [ - 'description' => 'The unique ID of the anomalous event.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '52234', - ], - 'ProductCode' => [ - 'description' => 'The name of the service in which the anomalous event was detected. Valid values include **MaxCompute, OSS, ADS, OTS, and RDS**.'."\n", - 'type' => 'string', - 'example' => 'MaxCompute', - ], - 'HandleInfoList' => [ - 'description' => 'An array that consists of the handling records of the anomalous event.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details of a record in which the anomalous event is manually handled.'."\n", - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The status of the account that triggered the anomalous event. Valid values:'."\n" - ."\n" - .'* **0**: disabled'."\n" - .'* **1**: enabled'."\n" - .'* **-1**: failed to disable the account'."\n" - .'* **-2**: failed to enable the account'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EnableTime' => [ - 'description' => 'The time when the disabled account is enabled. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1611139155000', - ], - 'HandlerValue' => [ - 'description' => 'The duration for which the handling operation takes effect. If you leave this parameter empty, the handling operation is permanently valid. Unit: minutes.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'DisableTime' => [ - 'description' => 'The time when the account is disabled. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1611139155000', - ], - 'HandlerName' => [ - 'description' => 'The handling method.'."\n", - 'type' => 'string', - 'example' => 'Remove from the whitelist'."\n", - ], - 'HandlerType' => [ - 'description' => 'The type of the handling method.'."\n", - 'type' => 'string', - 'example' => 'rds_security_ip', - ], - 'CurrentValue' => [ - 'description' => 'The account that is used to handle the anomalous event.'."\n", - 'type' => 'string', - 'example' => 'sddp-test2', - ], - 'Id' => [ - 'description' => 'The ID of the handling rule.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '11', - ], - ], - ], - ], - 'Detail' => [ - 'description' => 'The content in the details of the anomalous event.'."\n", - 'type' => 'object', - 'properties' => [ - 'Content' => [ - 'description' => 'The content in the anomalous event.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'An array that consists of the content in the anomalous event.'."\n", - 'type' => 'object', - 'properties' => [ - 'Label' => [ - 'description' => 'The title of the content in the anomalous event.'."\n", - 'type' => 'string', - 'example' => 'Anomaly description'."\n", - ], - 'Value' => [ - 'description' => 'The description of the content in the anomalous event.'."\n", - 'type' => 'string', - 'example' => 'The account was used to access OSS from an unusual terminal whose IP address is 1.2.3.4 from 00:06:45 on September 9, 2019 to 00:57:37 on September 9, 2019.'."\n", - ], - 'Name' => [ - 'description' => 'Exception event name.', - 'type' => 'string', - 'example' => 'daliaoyuncom', - ], - ], - ], - ], - 'Chart' => [ - 'description' => 'The baseline behavior chart of the anomalous event.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The baseline behavior chart of the anomalous event.'."\n", - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => 'The type of the chart. Valid values:'."\n" - ."\n" - .'* **1**: column chart'."\n" - .'* **2**: line chart'."\n", - 'type' => 'string', - 'example' => '1', - ], - 'Label' => [ - 'description' => 'The name of the baseline behavior chart of the anomalous event.'."\n", - 'type' => 'string', - 'example' => 'Baseline behavior chart'."\n", - ], - 'XLabel' => [ - 'description' => 'The descriptive label of data items on the X axis.'."\n", - 'type' => 'string', - 'example' => 'Number of days'."\n", - ], - 'YLabel' => [ - 'description' => 'The descriptive label of data items on the Y axis.'."\n", - 'type' => 'string', - 'example' => 'Value'."\n", - ], - 'Data' => [ - 'description' => 'The data in the baseline behavior profile of the anomalous event.'."\n", - 'type' => 'object', - 'properties' => [ - 'Y' => [ - 'description' => 'The value of the data item on the Y axis.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The value of the data item on the Y axis.'."\n", - 'type' => 'string', - 'example' => '[1,2,3,...]', - ], - 'example' => '[1,2,3,...]', - ], - 'X' => [ - 'description' => 'The value of the data item on the X axis.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The value of the data item on the X axis.'."\n", - 'type' => 'string', - 'example' => '[test1,test2,...]', - ], - 'example' => '[test1,test2,...]', - ], - 'Z' => [ - 'description' => 'The value of the data item for the Z axis.', - 'type' => 'array', - 'items' => [ - 'description' => 'The value of the data item for the Z axis.', - 'type' => 'string', - 'example' => '[5,7,...]'."\n", - ], - ], - ], - ], - 'ChatType' => [ - 'description' => 'The type of the chart. Valid values:'."\n" - ."\n" - .'* **1**: column chart'."\n" - .'* **2**: line chart'."\n" - ."\n" - .'>This field will be returned only when NewAlarm is true.', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Name' => [ - 'description' => 'Icon title.'."\n" - ."\n" - .'>This field will be returned only when NewAlarm is true.', - 'type' => 'string', - 'example' => 'misskingm', - ], - 'ZLabel' => [ - 'description' => 'The descriptive label of data items on the Z axis.'."\n" - ."\n" - .'>This field will be returned only when NewAlarm is true.', - 'type' => 'string', - 'example' => 'chart description'."\n", - ], - ], - ], - ], - 'ResourceInfo' => [ - 'description' => 'An array that consists of the source from which the information of the anomalous event is recorded.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The source.'."\n", - 'type' => 'object', - 'properties' => [ - 'Label' => [ - 'description' => 'The source title.'."\n", - 'type' => 'string', - 'example' => 'Risk'."\n", - ], - 'Value' => [ - 'description' => 'The source description.'."\n", - 'type' => 'string', - 'example' => 'Based on the record of authentication by using an unusual terminal, an attacker may have obtained the access permission of the account, or an employee accessed data from a personal terminal.'."\n", - ], - ], - ], - ], - ], - ], - 'NewAlarm' => [ - 'description' => 'Whether it is a new version of the alarm. Value:'."\n" - .'- **true**: Yes. '."\n" - .'- **false**: No.', - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '208B016D-4CB9-4A85-96A5-0B8ED1EBF271', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"69FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"Event\\": {\\n \\"DisplayName\\": \\"yundunsr\\",\\n \\"Status\\": 0,\\n \\"DealReason\\": \\"Anomaly confirmed\\\\n\\",\\n \\"UserId\\": 0,\\n \\"StatusName\\": \\"Pending\\",\\n \\"DealTime\\": 1611139155000,\\n \\"DealLoginName\\": \\"det1111\\",\\n \\"SubTypeName\\": \\"Anomalous volume of downloaded data\\\\n\\",\\n \\"Backed\\": false,\\n \\"DataInstance\\": \\"in-222***\\",\\n \\"EventTime\\": 1545829129000,\\n \\"LoginName\\": \\"det1111\\",\\n \\"SubTypeCode\\": \\"020008\\",\\n \\"LogDetail\\": \\"{\\\\\\"client_ip\\\\\\": [\\\\\\"106.11.XX.XX\\\\\\", \\\\\\"106.11.XX.XX\\\\\\", \\\\\\"106.11.XX.XX\\\\\\", \\\\\\"106.11.XX.XX\\\\\\", \\\\\\"106.11.XX.XX\\\\\\", \\\\\\"106.11.XX.XX\\\\\\", \\\\\\"106.11.XX.XX\\\\\\", \\\\\\"106.11.XX.XX\\\\\\", \\\\\\"106.11.XX.XX\\\\\\"], \\\\\\"start_time\\\\\\": \\\\\\"2020-05-10 00:00:01\\\\\\", \\\\\\"instance\\\\\\": [\\\\\\"omniscience-data\\\\\\", \\\\\\"punish-beaver-data\\\\\\"], \\\\\\"end_time\\\\\\": \\\\\\"2020-05-10 00:21:22\\\\\\", \\\\\\"client_ua\\\\\\": [\\\\\\"Java/1.8.0_152\\\\\\", \\\\\\"Java/1.8.0_92\\\\\\", \\\\\\"aliyun-sdk-java/2.0.0\\\\\\", \\\\\\"aliyun-sdk-java/2.8.0(Linux/4.9.151-015.ali3000.alios7.x86_64/amd64;1.8.0_152)\\\\\\"], \\\\\\"user_name\\\\\\": 1512222261295262}\\",\\n \\"TypeCode\\": \\"02\\",\\n \\"AlertTime\\": 1545829129000,\\n \\"DealUserId\\": 0,\\n \\"TypeName\\": \\"Anomalous data flow\\\\n\\",\\n \\"DealDisplayName\\": \\"yundunsr\\",\\n \\"Id\\": 52234,\\n \\"ProductCode\\": \\"MaxCompute\\",\\n \\"HandleInfoList\\": [\\n {\\n \\"Status\\": 1,\\n \\"EnableTime\\": 1611139155000,\\n \\"HandlerValue\\": 10,\\n \\"DisableTime\\": 1611139155000,\\n \\"HandlerName\\": \\"Remove from the whitelist\\\\n\\",\\n \\"HandlerType\\": \\"rds_security_ip\\",\\n \\"CurrentValue\\": \\"sddp-test2\\",\\n \\"Id\\": 11\\n }\\n ],\\n \\"Detail\\": {\\n \\"Content\\": [\\n {\\n \\"Label\\": \\"Anomaly description\\\\n\\",\\n \\"Value\\": \\"The account was used to access OSS from an unusual terminal whose IP address is 1.2.3.4 from 00:06:45 on September 9, 2019 to 00:57:37 on September 9, 2019.\\",\\n \\"Name\\": \\"daliaoyuncom\\"\\n }\\n ],\\n \\"Chart\\": [\\n {\\n \\"Type\\": \\"1\\",\\n \\"Label\\": \\"Baseline behavior chart\\\\n\\",\\n \\"XLabel\\": \\"Number of days\\\\n\\",\\n \\"YLabel\\": \\"Value\\",\\n \\"Data\\": {\\n \\"Y\\": [\\n \\"[1,2,3,...]\\"\\n ],\\n \\"X\\": [\\n \\"[test1,test2,...]\\"\\n ],\\n \\"Z\\": [\\n \\"[5,7,...]\\"\\n ]\\n },\\n \\"ChatType\\": 1,\\n \\"Name\\": \\"misskingm\\",\\n \\"ZLabel\\": \\"chart description\\"\\n }\\n ],\\n \\"ResourceInfo\\": [\\n {\\n \\"Label\\": \\"Risk\\",\\n \\"Value\\": \\"Based on the record of authentication by using an unusual terminal, an attacker may have obtained the access permission of the account, or an employee accessed data from a personal terminal.\\"\\n }\\n ]\\n },\\n \\"NewAlarm\\": true\\n }\\n}","errorExample":""},{"type":"xml","example":"<DescribeEventDetailResponse>\\n <RequestId>69FB3C1-F4C9-42DF-9B72-7077A8989C13</RequestId>\\n <Event>\\n <DisplayName>yundunsr</DisplayName>\\n <Status>0</Status>\\n <DealReason>确定为违例</DealReason>\\n <UserId>229157443385014140</UserId>\\n <StatusName>待处理</StatusName>\\n <DealTime>1230000</DealTime>\\n <DealLoginName>det1111</DealLoginName>\\n <SubTypeName>数据下载量异常</SubTypeName>\\n <Backed>false</Backed>\\n <DataInstance>in-222***</DataInstance>\\n <EventTime>1545829129000</EventTime>\\n <LoginName>det1111</LoginName>\\n <SubTypeCode>020008</SubTypeCode>\\n <LogDetail>{\\"client_ip\\": [\\"106.11.XX.XX\\", \\"106.11.XX.XX\\", \\"106.11.XX.XX\\", \\"106.11.XX.XX\\", \\"106.11.XX.XX\\", \\"106.11.XX.XX\\", \\"106.11.XX.XX\\", \\"106.11.XX.XX\\", \\"106.11.XX.XX\\"], \\"start_time\\": \\"2020-05-10 00:00:01\\", \\"instance\\": [\\"omniscience-data\\", \\"punish-beaver-data\\"], \\"end_time\\": \\"2020-05-10 00:21:22\\", \\"client_ua\\": [\\"Java/1.8.0_152\\", \\"Java/1.8.0_92\\", \\"aliyun-sdk-java/2.0.0\\", \\"aliyun-sdk-java/2.8.0(Linux/4.9.151-015.ali3000.alios7.x86_64/amd64;1.8.0_152)\\"], \\"user_name\\": 1512222261295262}</LogDetail>\\n <TypeCode>02</TypeCode>\\n <AlertTime>1545829129000</AlertTime>\\n <DealUserId>229157443385014140</DealUserId>\\n <TypeName>数据流转异常</TypeName>\\n <DealDisplayName>yundunsr</DealDisplayName>\\n <Id>52234</Id>\\n <ProductCode>MaxCompute</ProductCode>\\n <HandleInfoList>\\n <Status>1</Status>\\n <EnableTime>1611139155000</EnableTime>\\n <HandlerValue>10</HandlerValue>\\n <DisableTime>1611139155000</DisableTime>\\n <HandlerName>移除白名单</HandlerName>\\n <HandlerType>rds_security_ip</HandlerType>\\n <CurrentValue>sddp-test2</CurrentValue>\\n <Id>11</Id>\\n </HandleInfoList>\\n <Detail>\\n <Content>\\n <Label>异常描述</Label>\\n <Value>该账号在2019-09-09 00:06:45 至 2019-09-09 00:57:37之间使用异常终端(1.2.3.4)访问产品 OSS。</Value>\\n </Content>\\n <Chart>\\n <Type>1</Type>\\n <Label>基线行为画像</Label>\\n <XLabel>天数</XLabel>\\n <YLabel>值</YLabel>\\n <Data>\\n <Y>[1,2,3,...]</Y>\\n <X>[test1,test2,...]</X>\\n </Data>\\n </Chart>\\n <ResourceInfo>\\n <Label>事件风险</Label>\\n <Value>来自异常终端鉴权记录可能是由于账号访问权限被外部攻击者获取或者员工在使用非办公终端访问数据</Value>\\n </ResourceInfo>\\n </Detail>\\n </Event>\\n</DescribeEventDetailResponse>","errorExample":""}]', - 'title' => 'DescribeEventDetail', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'Modify risk level definition rules for sensitive data', + 'description' => 'This operation is used to modify the risk level definition rules for sensitive data, which helps you plan risk levels.'."\n" + ."\n" + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeEventTypes' => [ - 'summary' => 'Queries the types of anomalous events.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDefaultLevel'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:ModifyDefaultLevel', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"208B016D-4CB9-4A85-96A5-0B8ED1EBF271\\"\\n}","type":"json"}]', + ], + 'ModifyEventStatus' => [ + 'summary' => 'Handles anomalous activities.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82039', - 'abilityTreeNodes' => [ - 'FEATUREsddpR2D59W', - 'FEATUREsddpGH0F1O', - 'FEATUREsddpCHNP1R', - ], + 'abilityTreeNodes' => ['FEATUREsddpGH0F1O', 'FEATUREsddpR2D59W'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh**: Chinese'."\n" - .'* **en**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'The language of the request and response. The default value is **zh\\_cn**. Valid values:'."\n" + ."\n" + .'- **zh\\_cn**: Chinese.'."\n" + ."\n" + .'- **en\\_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ - 'name' => 'ParentTypeId', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of anomalous event for which you want to query the anomalous events of subtypes. Valid values:'."\n" - ."\n" - .'* **01**: anomalous permission usage'."\n" - .'* **02**: anomalous data flow'."\n" - .'* **03**: anomalous data operation'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '01', - ], + 'schema' => ['description' => 'The unique ID of the anomalous activity.'."\n" + ."\n" + .'> To handle an anomalous activity, you must provide its unique ID. You can obtain this ID by calling the **DescribeEvents** operation.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12345', 'title' => ''], ], [ - 'name' => 'ResourceId', + 'name' => 'Backed', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the resource. Valid values include **1**, **2**, **3**, **4**, and **5**. The value 1 indicates MaxCompute. The value 2 indicates Object Storage Service (OSS). The value 3 indicates AnalyticDB for MySQL. The value 4 indicates Tablestore. The value 5 indicates ApsaraDB RDS.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '5', - ], + 'schema' => ['description' => 'Specifies whether to enhance the detection of the anomalous activity. Enhancing detection improves accuracy and increases the alert rate for anomalous activities.'."\n" + ."\n" + .'- **true**: Yes.'."\n" + ."\n" + .'- **false**: No.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], ], [ - 'name' => 'Status', + 'name' => 'DealReason', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the anomalous event. Valid values:'."\n" - ."\n" - .'* **1**: enabled'."\n" - .'* **2**: disabled'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The reason for handling the anomalous activity.', 'type' => 'string', 'required' => false, 'example' => 'Confirmed as violation', 'title' => ''], ], [ - 'name' => 'FeatureType', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'description' => 'This parameter is deprecated.'."\n", - 'example' => '2', - ], + 'schema' => ['description' => 'The operation to perform on the anomalous activity.'."\n" + ."\n" + .'- **1**: Mark as false positive.'."\n" + ."\n" + .'- **2**: Confirm and handle the anomalous activity.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -11642,229 +9566,272 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', - ], - 'EventTypeList' => [ - 'description' => 'An array that consists of the types of anomalous events.'."\n" - ."\n" - .'> If you leave the ParentTypeId parameter empty, anomalous event types are returned. If you set the ParentTypeId parameter, anomalous event subtypes under the specified anomalous event type are returned.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'An array that consists of anomalous event types.'."\n", - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => 'The code of the anomalous event type.'."\n", - 'type' => 'string', - 'example' => '01', - ], - 'Description' => [ - 'description' => 'The description of the anomalous event type.'."\n", - 'type' => 'string', - 'example' => 'Anomalous permission usage,\\*\\*\\*\\*'."\n", - ], - 'Name' => [ - 'description' => 'The name of the anomalous event type.'."\n", - 'type' => 'string', - 'example' => 'Anomalous permission usage'."\n", - ], - 'Id' => [ - 'description' => 'The ID of the anomalous event type.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'SubTypeList' => [ - 'description' => 'An array that consists of anomalous event subtypes.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details of the anomalous event subtype.'."\n", - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'Indicates whether detection is enabled for the anomalous event subtype. Valid values:'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Description' => [ - 'description' => 'The description of the anomalous event subtype.'."\n", - 'type' => 'string', - 'example' => 'Inappropriate configuration-No protection for the MaxCompute sensitive project, \\*\\*\\*\\*'."\n", - ], - 'ConfigContentType' => [ - 'description' => 'The content format of anomalous event detection rule. Valid values:'."\n" - ."\n" - .'* **0**: numeric values such as thresholds'."\n" - .'* **1**: text such as IP addresses'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EventHitCount' => [ - 'description' => 'The number of times that the anomalous event hits the anomalous event detection rule.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ConfigValue' => [ - 'description' => 'The value of the configuration.'."\n", - 'type' => 'string', - 'example' => '90', - ], - 'ConfigCode' => [ - 'description' => 'The code of the configuration.'."\n", - 'type' => 'string', - 'example' => '0100**', - ], - 'Code' => [ - 'description' => 'The code of the anomalous event subtype.'."\n", - 'type' => 'string', - 'example' => '020008', - ], - 'ConfigDescription' => [ - 'description' => 'The description of the configuration.'."\n", - 'type' => 'string', - 'example' => 'The period of time for which the permission is not used exceeds the threshold. The specified threshold is ${value} calendar days.'."\n", - ], - 'Name' => [ - 'description' => 'The name of the anomalous event subtype.'."\n", - 'type' => 'string', - 'example' => 'Inappropriate configuration-No protection for the MaxCompute sensitive project'."\n", - ], - 'AdaptedProduct' => [ - 'description' => 'The service to which the anomalous event detection rule applies. Valid values include **MaxCompute, OSS, ADS, OTS, and RDS**.'."\n", - 'type' => 'string', - 'example' => 'RDS', - ], - 'Id' => [ - 'description' => 'The ID of the anomalous event subtype.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '8491DBFD-48C0-4E11-B6FC-6F38921244A9', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\",\\n \\"EventTypeList\\": [\\n {\\n \\"Code\\": \\"01\\",\\n \\"Description\\": \\"权限使用异常,****\\",\\n \\"Name\\": \\"权限使用异常\\",\\n \\"Id\\": 1,\\n \\"SubTypeList\\": [\\n {\\n \\"Status\\": 1,\\n \\"Description\\": \\"配置失当-ODPS敏感项目未设置保护,****\\",\\n \\"ConfigContentType\\": 1,\\n \\"EventHitCount\\": 2,\\n \\"ConfigValue\\": \\"90\\",\\n \\"ConfigCode\\": \\"0100**\\",\\n \\"Code\\": \\"020008\\",\\n \\"ConfigDescription\\": \\"权限闲置期间超过阈值:目前的阈值定义为${value}个自然日\\",\\n \\"Name\\": \\"配置失当-ODPS敏感项目未设置保护\\",\\n \\"AdaptedProduct\\": \\"RDS\\",\\n \\"Id\\": 1\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeEventTypesResponse>\\n <RequestId>769FB3C1-F4C9-42DF-9B72-7077A8989C13</RequestId>\\n <EventTypeList>\\n <Code>01</Code>\\n <Description>权限使用异常,***</Description>\\n <Name>权限使用异常</Name>\\n <Id>1</Id>\\n <SubTypeList>\\n <Status>1</Status>\\n <Description>配置失当-ODPS敏感项目未设置保护,****</Description>\\n <ConfigContentType>1</ConfigContentType>\\n <EventHitCount>2</EventHitCount>\\n <ConfigValue>90</ConfigValue>\\n <ConfigCode>0100**</ConfigCode>\\n <Code>020008</Code>\\n <ConfigDescription>权限闲置期间超过阈值:目前的阈值定义为${value}个自然日</ConfigDescription>\\n <Name>配置失当-ODPS敏感项目未设置保护</Name>\\n <AdaptedProduct>RDS</AdaptedProduct>\\n <Id>1</Id>\\n </SubTypeList>\\n </EventTypeList>\\n</DescribeEventTypesResponse>","errorExample":""}]', - 'title' => 'DescribeEventTypes', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8491DBFD-48C0-4E11-B6FC-6F38921244A9\\"\\n}","type":"json"}]', + 'title' => 'ModifyEventStatus', + 'description' => 'This API operation is typically used to handle alerts for data breach threats, helping you protect your data assets promptly.'."\n" + ."\n" + .'## QPS limits'."\n" + ."\n" + .'This API operation has a queries per second (QPS) limit of 10 for each user. If you exceed the limit, API calls are throttled, which can affect your business. We recommend calling the API operation at a reasonable rate.', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDataMaskingTasks' => [ - 'summary' => 'Queries de-identification tasks.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyEventStatus'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-sddp:ModifyEventStatus', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyEventTypeStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'list', - 'abilityTreeCode' => '82022', - 'abilityTreeNodes' => [ - 'FEATUREsddpNV5XKZ', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '82115', + 'abilityTreeNodes' => ['FEATUREsddpR2D59W', 'FEATUREsddpGH0F1O', 'FEATUREsddpCHNP1R'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Chinese'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:- **zh**: Chinese- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'SearchKey', + 'name' => 'SubTypeIds', 'in' => 'query', - 'schema' => [ - 'description' => 'The keyword used to query the de-identification tasks, which can be the task name or ID.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => 'The unique IDs of the anomalous activity child classes, separated by commas (,).'."\n" + ."\n" + .'> To enable the detection of anomalous activities of specified child classes, provide the unique IDs of the child classes. You can call the **DescribeEventTypes** operation to obtain the IDs.', 'type' => 'string', 'required' => false, 'example' => '020008', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'FeatureType', 'in' => 'query', + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'The beginning of the time range during which the de-identification tasks to be queried are created. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1582992000000', + 'description' => 'The response parameters.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '208B016D-4CB9-4A85-96A5-0B8ED1E*****', 'title' => ''], + ], + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range during which the de-identification tasks to be queried are created. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1583856000000', + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'Update detection status for anomalous activity child classes', + 'summary' => 'Invokes this operation to enable the feature for detecting anomalous activity events of specified child classes.', + 'changeSet' => [ + ['createdAt' => '2024-03-25T07:35:02.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:46:00.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyEventTypeStatus'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-sddp:ModifyEventTypeStatus', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"208B016D-4CB9-4A85-96A5-0B8ED1E*****\\"\\n}","type":"json"}]', + ], + 'ModifyReportTaskStatus' => [ + 'summary' => 'You can call the ModifyReportTaskStatus operation to enable or disable report tasks.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DstType', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '118114', + 'abilityTreeNodes' => ['FEATUREsddp6DN9CR'], + ], + 'parameters' => [ + [ + 'name' => 'ReportTaskStatus', 'in' => 'query', - 'schema' => [ - 'description' => 'The service to which the data to be de-identified belongs. Valid values include **1**, **2**, **3**, **4**, and **5**. The value 1 indicates MaxCompute. The value 2 indicates Object Storage Service (OSS). The value 3 indicates AnalyticDB for MySQL. The value 4 indicates Tablestore. The value 5 indicates ApsaraDB RDS.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The status to set for the report task. Valid values:'."\n" + ."\n" + .'- **0**: Disable'."\n" + ."\n" + .'- **1**: Enable'."\n" + ."\n" + .'><notice>'."\n" + ."\n" + .'This parameter is required.'."\n" + ."\n" + .'></notice>', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'FeatureType', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The page number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: **zh\\_cn**. Valid values:'."\n" + ."\n" + .'- **zh\\_cn**: Chinese'."\n" + ."\n" + .'- **en\\_us**: English', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], ], 'responses' => [ @@ -11872,315 +9839,177 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '769FB3C1-F4C9-4******', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'Items' => [ - 'description' => 'A list of de-identification tasks.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details of the de-identification task.'."\n", - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The status of the task. Valid values:'."\n" - ."\n" - .'* **0**: disabled'."\n" - .'* **1**: enabled'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Owner' => [ - 'description' => 'The user who created the de-identification task.'."\n", - 'type' => 'string', - 'example' => 'owner', - ], - 'TaskName' => [ - 'description' => 'The name of the task.'."\n", - 'type' => 'string', - 'example' => 'Task name'."\n", - ], - 'SrcType' => [ - 'description' => 'The type of the service to which the data to be de-identified belongs. Valid values: **1**, **2**, **3**, **4**, and **5**. The value 1 indicates MaxCompute. The value 2 indicates OSS. The value 3 indicates AnalyticDB for MySQL. The value 4 indicates Tablestore. The value 5 indicates ApsaraDB RDS.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'DstType' => [ - 'description' => 'The service to which the data to be de-identified belongs. Valid values: **1**, **2**, **3**, **4**, and **5**. The value 1 indicates MaxCompute. The value 2 indicates OSS. The value 3 indicates AnalyticDB for MySQL. The value 4 indicates Tablestore. The value 5 indicates ApsaraDB RDS.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'HasUnfinishProcess' => [ - 'description' => 'Indicates whether the de-identification task is running.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'OriginalTable' => [ - 'description' => 'Indicates whether the source table is de-identified.'."\n", - 'type' => 'boolean', - 'example' => 'false', - ], - 'TriggerType' => [ - 'description' => 'The mode in which the de-identification task is run. Valid values:'."\n" - ."\n" - .'* **1**: manual'."\n" - .'* **2**: scheduled'."\n" - .'* **3**: manual and scheduled'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DstTypeCode' => [ - 'description' => 'The type of the service to which the de-identified data belongs. Valid values: **MaxCompute, OSS, ADS, OTS, and RDS**.'."\n", - 'type' => 'string', - 'example' => 'RDS', - ], - 'RunCount' => [ - 'description' => 'The number of times that the de-identification task is run.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'GmtCreate' => [ - 'description' => 'The time when the de-identification task is created. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582992000000', - ], - 'TaskId' => [ - 'description' => 'The ID of the task.'."\n", - 'type' => 'string', - 'example' => 'mt4HBgtw1B******', - ], - 'DstPath' => [ - 'description' => 'The destination path.'."\n", - 'type' => 'string', - 'example' => '***/table1', - ], - 'SrcTypeCode' => [ - 'description' => 'The type of the service to which the data to be de-identified belongs. Valid values: **MaxCompute, OSS, ADS, OTS, and RDS**.'."\n", - 'type' => 'string', - 'example' => 'RDS', - ], - 'Id' => [ - 'description' => 'The task ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'SrcPath' => [ - 'description' => 'The source path.'."\n", - 'type' => 'string', - 'example' => '***/table2', - ], - 'SrcMemberAccount' => [ - 'description' => 'The member account to which the desensitization source belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '192479427903xxxx', - ], - 'DstMemberAccount' => [ - 'description' => 'The member account to which the desensitization target belongs.', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '192479427903xxxx', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request. This unique identifier is generated by Alibaba Cloud for each request. If you have an issue, provide this ID for troubleshooting.', 'type' => 'string', 'example' => '208B016D-4CB9-4A85-96A5-0B8ED1EBF271', 'title' => ''], ], 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-4******\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"Items\\": [\\n {\\n \\"Status\\": 1,\\n \\"Owner\\": \\"owner\\",\\n \\"TaskName\\": \\"任务名称\\",\\n \\"SrcType\\": 5,\\n \\"DstType\\": 5,\\n \\"HasUnfinishProcess\\": false,\\n \\"OriginalTable\\": false,\\n \\"TriggerType\\": 1,\\n \\"DstTypeCode\\": \\"RDS\\",\\n \\"RunCount\\": 1,\\n \\"GmtCreate\\": 1582992000000,\\n \\"TaskId\\": \\"mt4HBgtw1B******\\",\\n \\"DstPath\\": \\"***/table1\\",\\n \\"SrcTypeCode\\": \\"RDS\\",\\n \\"Id\\": 1,\\n \\"SrcPath\\": \\"***/table2\\",\\n \\"SrcMemberAccount\\": 0,\\n \\"DstMemberAccount\\": 0\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeDataMaskingTasksResponse>\\n<TotalCount>1</TotalCount>\\n<PageSize>5</PageSize>\\n<CurrentPage>1</CurrentPage>\\n<Items>\\n <Status>1</Status>\\n <TriggerType>1</TriggerType>\\n <Owner>***</Owner>\\n <TaskId>mt4HBgtw1B****</TaskId>\\n <DstPath>********</DstPath>\\n <HasUnfinishProcess>false</HasUnfinishProcess>\\n <DstTypeCode>OSS</DstTypeCode>\\n <SrcPath>*********</SrcPath>\\n <DstType>2</DstType>\\n <GmtCreate>1583739870000</GmtCreate>\\n <TaskName>任务名称</TaskName>\\n <SrcType>2</SrcType>\\n <RunCount>3</RunCount>\\n <Id>1</Id>\\n <SrcTypeCode>OSS</SrcTypeCode>\\n</Items>\\n</DescribeDataMaskingTasksResponse>","errorExample":""}]', - 'title' => 'DescribeDataMaskingTasks', - 'description' => 'You can call this operation to query static de-identification tasks. This facilitates task queries and management.'."\n" + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'ModifyReportTaskStatus', + 'description' => 'After you activate Data Security Center (DSC), report tasks are enabled by default. If you disable report tasks, Report Center, Cloud-native Data Audit Overview, and Data Security Lab will not generate new statistical data. Existing data is not affected.'."\n" ."\n" - .'# Limits'."\n" + .'## QPS limit'."\n" ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'requestParamsDescription' => ' ', + .'The queries per second (QPS) limit for a single user is 10 calls per second. If you exceed this limit, API calls are throttled, which may affect your business. We recommend that you call this operation at a reasonable rate.', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeDataMaskingRunHistory' => [ - 'summary' => 'Queries the execution information about a de-identification task.', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2024-03-25T07:35:02.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-12-28T12:04:54.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyReportTaskStatus'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-sddp:ModifyReportTaskStatus', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"208B016D-4CB9-4A85-96A5-0B8ED1EBF271\\"\\n}","type":"json"}]', + ], + 'ModifyRule' => [ + 'summary' => 'Modifies a custom sensitive data detection rule in Data Security Center (DSC).', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsddpNV5XKZ', - ], + 'abilityTreeCode' => '82121', + 'abilityTreeNodes' => ['FEATUREsddpEFXM0Z'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Chinese'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The language of the request and response. Default value: **zh_cn**. Valid values:'."\n" + ."\n" + .'- **zh_cn**: Simplified Chinese.'."\n" + .'- **en_us**: English (US).', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ - 'name' => 'TaskId', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the de-identification task.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'mt4HBgtw1B******', - ], + 'schema' => ['description' => 'The unique ID of the sensitive data detection rule.'."\n" + ."\n" + .'You can call the [DescribeRules](~~DescribeRules~~) operation to obtain the rule ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1****', 'title' => ''], ], [ - 'name' => 'StartTime', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'The beginning of the time range to query. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1582992000000', - ], + 'schema' => ['description' => 'The name of the sensitive data detection rule.'."\n" + ."\n" + .'You can call the [DescribeRules](~~DescribeRules~~) operation to obtain the rule name.', 'type' => 'string', 'required' => true, 'example' => 'esw', 'title' => ''], ], [ - 'name' => 'EndTime', + 'name' => 'Category', 'in' => 'query', - 'schema' => [ - 'description' => 'The end of the time range to query. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1583856000000', - ], + 'schema' => ['description' => 'The type of the sensitive data detection rule content. Valid values:'."\n" + .'- **2**: regular expression.'."\n" + .'- **3**: algorithm.'."\n" + .'- **5**: keyword.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'Status', + 'name' => 'Content', 'in' => 'query', - 'schema' => [ - 'description' => 'The status of the de-identification task. Valid values:'."\n" - ."\n" - .'* **-1**: waiting'."\n" - .'* **0**: being executed'."\n" - .'* **1**: executed'."\n" - .'* **2**: failed to be executed'."\n" - .'* **3**: terminated'."\n" - .'* **4**: partially failed'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'The content of the sensitive data detection rule. The content can be a regular expression, algorithm, or keyword that is used to match sensitive data fields or text.', 'type' => 'string', 'required' => true, 'example' => '(?:\\\\D|^)((?:(?:25[0-4]|2[0-4]\\\\d|1\\\\d{2}|[1-9]\\\\d{1})\\\\.)(?:(?:25[0-5]|2[0-4]\\\\d|[01]?\\\\d?\\\\d)\\\\.){2}(?:25[0-5]|2[0-4]\\\\d|1[0-9]\\\\d|[1-9]\\\\d|[1-9]))(?:\\\\D|$)', 'title' => ''], ], [ - 'name' => 'SrcType', + 'name' => 'RiskLevelId', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the service to which the data to be de-identified belongs. Valid values: **1**, **2**, **3**, **4**, and **5**. The value 1 indicates MaxCompute. The value 2 indicates Object Storage Service (OSS). The value indicates AnalyticDB for MySQL. The value 4 indicates Tablestore. The value 5 indicates ApsaraDB RDS.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The risk level ID of the sensitive data detection rule. Valid values:'."\n" + .'- **1**: N/A. No sensitive data is detected.'."\n" + .'- **2**: S1. Level-1 sensitive data.'."\n" + .'- **3**: S2. Level-2 sensitive data.'."\n" + .'- **4**: S3. Level-3 sensitive data.'."\n" + .'- **5**: S4. Level-4 sensitive data.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2', 'title' => ''], ], [ - 'name' => 'DstType', + 'name' => 'RuleType', 'in' => 'query', - 'schema' => [ - 'description' => 'The type of the service to which the de-identified data belongs. Valid values: **1**, **2**, **3**, **4**, and **5**. The value 1 indicates MaxCompute. The value 2 indicates OSS. The value indicates AnalyticDB for MySQL. The value 4 indicates Tablestore. The value 5 indicates ApsaraDB RDS.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => 'The type of the sensitive data detection rule. Valid values:'."\n" + .'- **1**: data detection rule.'."\n" + .'- **2**: audit policy.'."\n" + .'- **3**: anomalous activity rule.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'PageSize', + 'name' => 'ProductCode', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of entries to return on each page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The resource type of the product that contains the sensitive data detection rule. Valid values:'."\n" + .'- **MaxCompute**'."\n" + .'- **OSS**'."\n" + .'- **ADS**'."\n" + .'- **OTS**'."\n" + .'- **RDS**'."\n" + .'- **SELF_DB**', 'type' => 'string', 'required' => false, 'example' => 'RDS', 'title' => ''], ], [ - 'name' => 'CurrentPage', + 'name' => 'ProductId', 'in' => 'query', - 'schema' => [ - 'description' => 'The number of the page to return.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The product ID of the product that contains the sensitive data detection rule. Valid values:'."\n" + .'- **1**: MaxCompute.'."\n" + .'- **2**: OSS.'."\n" + .'- **3**: ADS.'."\n" + .'- **4**: OTS.'."\n" + .'- **5**: RDS.'."\n" + .'- **6**: SELF_DB.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5', 'title' => ''], ], [ - 'name' => 'MainProcessId', + 'name' => 'WarnLevel', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the task.'."\n" - ."\n" - .'> If a task has one or more subtasks, the value of the parameter must be the ID of the task. Otherwise, leave this parameter empty.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '366731', - ], + 'schema' => ['description' => 'The risk level of the sensitive data detection rule. Valid values:'."\n" + .'- **1**: low.'."\n" + .'- **2**: medium.'."\n" + .'- **3**: high.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], ], [ - 'name' => 'SrcTableName', + 'name' => 'MatchType', 'in' => 'query', - 'schema' => [ - 'description' => 'The name of the source table.'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'add', - ], + 'schema' => ['description' => 'The match type. Valid values:'."\n" + .'- **1**: rule match.'."\n" + .'- **2**: dictionary match.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'SupportForm', + 'in' => 'query', + 'schema' => ['description' => 'The data asset type supported by the rule. Valid values:'."\n" + .'- **0**: all assets.'."\n" + .'- **1**: structured assets.'."\n" + .'- **2**: unstructured assets.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'TemplateRuleIds', + 'in' => 'query', + 'schema' => ['description' => 'The collection of template IDs associated with the sensitive data audit.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'ModelRuleIds', + 'in' => 'query', + 'schema' => ['description' => 'The collection of model IDs associated with the sensitive data audit.', 'type' => 'string', 'required' => false, 'example' => '1452', 'title' => ''], ], ], 'responses' => [ @@ -12188,183 +10017,56 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => 'The page number of the returned page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '769FB3C1-F4C9-4******', - ], - 'PageSize' => [ - 'description' => 'The number of entries returned per page.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => 'The total number of entries returned.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'Items' => [ - 'description' => 'The execution information about the de-identification task.'."\n", - 'type' => 'array', - 'items' => [ - 'description' => 'The details of the de-identification task.'."\n", - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'The status of the de-identification task. Valid values:'."\n" - ."\n" - .'* **-1**: waiting'."\n" - .'* **0**: being executed'."\n" - .'* **1**: executed'."\n" - .'* **2**: failed to be executed'."\n" - .'* **3**: terminated'."\n" - .'* **4**: partially failed'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Type' => [ - 'description' => 'The mode in which the de-identification task is executed. Valid values:'."\n" - ."\n" - .'* **1**: manual'."\n" - .'* **2**: scheduled'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'SrcType' => [ - 'description' => 'The type of the service to which the data to be de-identified belongs. Valid values: **1**, **2**, **3**, **4**, and **5**. The value 1 indicates MaxCompute. The value 2 indicates OSS. The value indicates AnalyticDB for MySQL. The value 4 indicates Tablestore. The value 5 indicates ApsaraDB RDS.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'SrcTableName' => [ - 'description' => 'The name of the source table.'."\n", - 'type' => 'string', - 'example' => 'add', - ], - 'MaskingCount' => [ - 'description' => 'The number of rows that are de-identified.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Percentage' => [ - 'description' => 'The progress of the de-identification task.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'DstType' => [ - 'description' => 'The type of the service to which the de-identified data belongs. Valid values: **1**, **2**, **3**, **4**, and **5**. The value 1 indicates MaxCompute. The value 2 indicates OSS. The value indicates AnalyticDB for MySQL. The value 4 indicates Tablestore. The value 5 indicates ApsaraDB RDS.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'FailMsg' => [ - 'description' => 'The reason why the de-identification task fails.'."\n", - 'type' => 'string', - 'example' => 'error', - ], - 'FailCode' => [ - 'description' => 'The error code that is returned when the de-identification task fails.'."\n", - 'type' => 'string', - 'example' => 'masking_task_not_found', - ], - 'ConflictCount' => [ - 'description' => 'The number of rows that are in conflict with the data to be de-identified in the destination table to which the data to be de-identified is moved.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'DstTypeCode' => [ - 'description' => 'The service that stores the de-identified data. Valid values include **MaxCompute, OSS, ADS, OTS, and RDS**.'."\n", - 'type' => 'string', - 'example' => 'OSS', - ], - 'EndTime' => [ - 'description' => 'The end time of the de-identification task.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582251233000', - ], - 'RunIndex' => [ - 'description' => 'The number of times that the de-identification task is executed.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'StartTime' => [ - 'description' => 'The time when the de-identification task was executed. The value is a UNIX timestamp. Unit: milliseconds.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1582251233000', - ], - 'HasSubProcess' => [ - 'description' => 'The number of created subtasks.'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'HasDownloadFile' => [ - 'description' => 'Indicates whether a file is available for download.'."\n" - ."\n" - .'* **1**: yes'."\n" - .'* **0**: no'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TaskId' => [ - 'description' => 'The ID of the identification task.'."\n", - 'type' => 'string', - 'example' => 'mt4HBgtw1B******', - ], - 'SrcTypeCode' => [ - 'description' => 'The service to which the data to be de-identified belongs. Valid values include **MaxCompute, OSS, ADS, OTS, and RDS**.'."\n", - 'type' => 'string', - 'example' => 'OSS', - ], - 'Id' => [ - 'description' => 'The ID of the task execution record.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7C3AC882-E5A8-4855-BE77-B6837B695EF1', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"769FB3C1-F4C9-4******\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"Items\\": [\\n {\\n \\"Status\\": 1,\\n \\"Type\\": 1,\\n \\"SrcType\\": 2,\\n \\"SrcTableName\\": \\"add\\",\\n \\"MaskingCount\\": 100,\\n \\"Percentage\\": 100,\\n \\"DstType\\": 2,\\n \\"FailMsg\\": \\"error\\",\\n \\"FailCode\\": \\"masking_task_not_found\\",\\n \\"ConflictCount\\": 0,\\n \\"DstTypeCode\\": \\"OSS\\",\\n \\"EndTime\\": 1582251233000,\\n \\"RunIndex\\": 1,\\n \\"StartTime\\": 1582251233000,\\n \\"HasSubProcess\\": 4,\\n \\"HasDownloadFile\\": 1,\\n \\"TaskId\\": \\"mt4HBgtw1B******\\",\\n \\"SrcTypeCode\\": \\"OSS\\",\\n \\"Id\\": 1\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeDataMaskingRunHistory>\\n<TotalCount>1</TotalCount>\\n<PageSize>5</PageSize>\\n<CurrentPage>1</CurrentPage>\\n<Items>\\n <Status>1</Status>\\n <RunIndex>1</RunIndex>\\n <TaskId>Vd8Rj80eBXR*****</TaskId>\\n <Percentage>100</Percentage>\\n <MaskingCount>100000</MaskingCount>\\n <StartTime>1582251233000</StartTime>\\n <DstTypeCode>RDS</DstTypeCode>\\n <ConflictCount>0</ConflictCount>\\n <DstType>5</DstType>\\n <Type>1</Type>\\n <SrcType>1</SrcType>\\n <Id>4869</Id>\\n <SrcTypeCode>MaxCompute</SrcTypeCode>\\n</Items>\\n<RequestId>769FB3C1-F4C9-4******</RequestId>\\n</DescribeDataMaskingRunHistory>","errorExample":""}]', - 'title' => 'DescribeDataMaskingRunHistory', - 'description' => 'You can call this operation to query the execution information of a static de-identification task, including the status and progress.'."\n" + 'title' => 'Modify a custom sensitive data detection rule', + 'description' => 'When calling this operation, you must specify the rule name, rule ID, and rule content parameters.'."\n" ."\n" - .'# Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", + .'## QPS limit'."\n" + .'The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, the API call is throttled, which may affect your business. Call this operation at an appropriate frequency.', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ExecDatamask' => [ - 'summary' => 'Dynamically de-identifies sensitive data.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2025-01-13T06:27:18.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-12-27T09:14:53.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-22T08:24:07.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-10-26T02:54:24.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-10-26T02:54:24.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-10-21T13:07:48.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-10-12T07:42:54.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRule'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-sddp:ModifyRule', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7C3AC882-E5A8-4855-BE77-B6837B695EF1\\"\\n}","type":"json"}]', + ], + 'ModifyRuleStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12372,67 +10074,39 @@ ], 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82098', - 'abilityTreeNodes' => [ - 'FEATUREsddpUBRQH2', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '82123', + 'abilityTreeNodes' => ['FEATUREsddpEFXM0Z'], ], 'parameters' => [ [ - 'name' => 'TemplateId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'The ID of the de-identification template. The ID is generated after you create the de-identification template in the [Data Security Center (DSC) console](https://yundun.console.aliyun.com/?\\&p=sddpnext#/sddp/dm/template). You can choose **Data desensitization** > **Desensitization Template** in the left-side navigation pane and obtain the ID of the de-identification template from the **Desensitization Template** page.'."\n" - ."\n" - .'* If you select **Field name** as the matching mode of the template, DSC matches data based on the columns specified by the **dataHeaderList** parameter in the **Data** parameter.'."\n" - .'* If you select **Sensitive type** as the matching mode of the template, DSC matches data based on the sensitive data detection rules specified by the **ruleList** parameter in the **Data** parameter.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + .'- **zh**: Chinese.'."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], ], [ - 'name' => 'Data', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => 'The sensitive data to be de-identified. The value is a JSON string that contains the following parameters:'."\n" - ."\n" - .'* **dataHeaderList**: the names of the columns in which data needs to be de-identified. Specify the column names in accordance with the order of data that needs to be de-identified.'."\n" - .'* **dataList**: the data that needs to be de-identified.'."\n" - .'* **ruleList**: the IDs of sensitive data detection rules used to detect data that needs to be de-identified. Specify the rule IDs in accordance with the order of data that needs to be de-identified. Each ID identifies a sensitive data detection rule that is used to detect a type of sensitive data. You can call the [DescribeRules](~~DescribeRules~~) operation to query the IDs of sensitive data detection rules.'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '{"dataHeaderList":["name","age"],"dataList":[["lily",18],["lucy",17]],"ruleList":[1002,null]}', - ], + 'schema' => ['description' => 'The unique ID of the sensitive data detection rule.'."\n" + ."\n" + .'> To enable or disable the detection feature of a sensitive data detection rule, you must specify the unique ID of the rule. You can call the **DescribeRules** operation to obtain the ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '12341', 'title' => ''], ], [ - 'name' => 'FeatureType', + 'name' => 'Ids', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'description' => 'This parameter is deprecated.', - 'example' => '1', - ], + 'schema' => ['description' => 'The unique IDs of the sensitive data detection rules. Separate multiple IDs with commas (,).'."\n" + .'> To enable or disable the detection feature of a sensitive data detection rule, you must specify the unique ID of the rule. You can call the **DescribeRules** operation to obtain the ID.', 'type' => 'string', 'required' => false, 'example' => '1,2,3,4', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Default value: **zh_cn**. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Simplified Chinese'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'Specifies whether to enable or disable the detection feature of the sensitive data detection rule. Valid values:'."\n" + .'- **0**: disabled. '."\n" + .'- **1**: enabled.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], ], ], 'responses' => [ @@ -12440,21 +10114,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => 'The de-identified data, which is described in a JSON string. The JSON string contains the following parameters:'."\n" - ."\n" - .'* **dataHeaderList**: the names of columns that contain the de-identified data.'."\n" - .'* **dataList**: the de-identified data. The column order of the de-identified data is the same as that indicated by the dataHeaderList parameter.'."\n" - .'* **ruleList**: the IDs of sensitive data detection rules.'."\n", - 'type' => 'string', - 'example' => '{"dataHeaderList":["name","age"],"dataList":[["l***",18],["l***",17]],"ruleList":[1002,null]}', - ], - 'RequestId' => [ - 'description' => 'The ID of the request, which is used to locate and troubleshoot issues.'."\n", - 'type' => 'string', - 'example' => '813BA9FA-D062-42C4-8CD5-11A7640B96E6', - ], + 'FailedIds' => ['description' => 'The IDs of the rules whose status failed to be updated. Multiple IDs are separated by commas (,).', 'type' => 'string', 'example' => '1,2,3,4', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7C3AC882-E5A8-4855-BE77-B6837B695EF1', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], @@ -12462,503 +10127,1648 @@ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"{\\\\\\"dataHeaderList\\\\\\":[\\\\\\"name\\\\\\",\\\\\\"age\\\\\\"],\\\\\\"dataList\\\\\\":[[\\\\\\"l***\\\\\\",18],[\\\\\\"l***\\\\\\",17]],\\\\\\"ruleList\\\\\\":[1002,null]}\\",\\n \\"RequestId\\": \\"813BA9FA-D062-42C4-8CD5-11A7640B96E6\\"\\n}","errorExample":""},{"type":"xml","example":"<ExecDatamaskResponse>\\n <Data>{\\"dataHeaderList\\":[\\"name\\",\\"age\\"],\\"dataList\\":[[\\"l***\\",18],[\\"l***\\",17]],\\"ruleList\\":[1002,null]}</Data>\\n <RequestId>813BA9FA-D062-42C4-8CD5-11A7640B96E6</RequestId>\\n</ExecDatamaskResponse>","errorExample":""}]', - 'title' => 'ExecDatamask', + 'title' => 'Update the detection status of a sensitive data detection rule', + 'summary' => 'Enables or disables the detection feature of a sensitive data detection rule.', + 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'StopMaskingProcess' => [ - 'summary' => 'Stops a de-identification task. After you stop a de-identification task, you can resume the task by calling the ManualTriggerMaskingProcess operation.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'changeSet' => [ + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ['createdAt' => '2023-12-06T07:45:58.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRuleStatus'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-sddp:ModifyRuleStatus', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"FailedIds\\": \\"1,2,3,4\\",\\n \\"RequestId\\": \\"7C3AC882-E5A8-4855-BE77-B6837B695EF1\\"\\n}","type":"json"}]', + ], + 'RestoreOssImage' => [ + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82133', - 'abilityTreeNodes' => [ - 'FEATUREsddpNV5XKZ', - ], + 'abilityTreeNodes' => ['FEATUREsddpIUXEIF'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'Bucket', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Simplified Chinese (default)'."\n" - .'* **en_us**: English'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'required' => true, 'example' => 'test-sddp', 'title' => ''], ], [ - 'name' => 'Id', + 'name' => 'ObjectKey', 'in' => 'query', - 'schema' => [ - 'description' => 'The unique ID of the de-identification task. You can query the task ID by calling the [DescribeDataMaskingTasks](~~DescribeDataMaskingTasks~~) operation.'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['description' => 'The full name of the file stored in OSS.', 'type' => 'string', 'required' => true, 'example' => 'aliyun_dsc_desensitization/dir1/test.png', 'title' => ''], + ], + [ + 'name' => 'ServiceRegionId', + 'in' => 'query', + 'schema' => ['description' => 'The region ID of the bucket.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], + ], + [ + 'name' => 'TargetObjectKey', + 'in' => 'query', + 'schema' => ['description' => 'The storage path of the restored image.', 'type' => 'string', 'default' => 'aliyun_dsc_original', 'required' => false, 'example' => 'aliyun_dsc_original /dir1/test.png'."\n", 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '208B016D-4CB9-4A85-96A5-0B8ED1EBF271'], + 'RestoredImageKey' => ['description' => 'The storage path of the restored image in the bucket.', 'type' => 'string', 'example' => 'aliyun_dsc_original /dir1/test.png', 'title' => ''], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\"\\n}","errorExample":""},{"type":"xml","example":"<StopMaskingProcessResponse>\\r\\n<RequestId>769FB3C1-F4C9-42DF-9B72-7077A8989C13</RequestId>\\r\\n</StopMaskingProcessResponse>","errorExample":""}]', - 'title' => 'StopMaskingProcess', - 'description' => 'You can call this operation to stop a de-identification task that is running. For example, you can stop a de-identification task that is used to de-identify specific data.'."\n" - ."\n" - .'# Limits'."\n" - ."\n" - .'You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.'."\n", - 'extraInfo' => ' ', - ], - 'ManualTriggerMaskingProcess' => [ - 'summary' => 'Triggers a de-identification task.', - 'methods' => [ - 'post', - 'get', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => ''], + ], ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Restore a masked image', + 'summary' => 'Restores an image that has been masked by calling the RestoreOssImage operation.', + 'description' => 'For files that were masked by calling MaskOssImage with IsAlwaysUpload set to true, you can call RestoreOssImage to retrieve the original image.'."\n" + ."\n" + .'For example, the image aliyun_dsc_desensitization/exampledir/test.png in the bucket is stored as aliyun_dsc_original/exampledir/test.png after restoration.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:RestoreOssImage', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"208B016D-4CB9-4A85-96A5-0B8ED1EBF271\\",\\n \\"RestoredImageKey\\": \\"aliyun_dsc_original /dir1/test.png\\"\\n}","type":"json"}]', + ], + 'ScanOssObjectV1' => [ + 'summary' => 'The ScanOssObjectV1 operation creates a scan task to detect sensitive data in a specified object.', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '82102', - 'abilityTreeNodes' => [ - 'FEATUREsddpNV5XKZ', - ], + 'abilityTreeCode' => '236601', + 'abilityTreeNodes' => ['FEATUREsddpXMFUF8'], ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'ServiceRegionId', 'in' => 'query', - 'schema' => [ - 'description' => 'The language of the content within the request and response, default value zh_cn. Valid values:'."\n" - ."\n" - .'* **zh_cn**: Chinese'."\n" - .'* **en_us**: English', - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The ID of the region where the OSS bucket is located.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''], ], [ - 'name' => 'Id', + 'name' => 'BucketName', 'in' => 'query', + 'schema' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'required' => true, 'example' => 'sddp-api-demo-bucket', 'title' => ''], + ], + [ + 'name' => 'ObjectKeyList', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'The ID of the de-identification task.'."\n" - ."\n" - .'The ID of the de-identification task is a string. You can call the DescribeDataMaskingTasks operation to query the ID.'."\n", - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'A list of objects to scan in the OSS bucket. You can specify up to 50 ObjectKeys.', + 'type' => 'array', + 'items' => ['description' => 'The name of an object in the OSS bucket. You must specify the full path.', 'type' => 'string', 'required' => false, 'example' => 'dir1/object.txt', 'title' => ''], 'required' => true, - 'example' => '1', + 'title' => '', + 'example' => '', ], ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the industry-specific template.'."\n" + ."\n" + .'> Call **DescribeCategoryTemplateList** to get a list of templates. If you do not specify this parameter, the default active template is used for the scan.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh**: Chinese.'."\n" + ."\n" + .'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => 'The ID of the request.'."\n", - 'type' => 'string', - 'example' => '769FB3C1-F4C9-4******', - ], + 'RequestId' => ['title' => '', 'description' => 'The ID of the request. This is a unique identifier generated by Alibaba Cloud for the request. You can use it to troubleshoot and locate issues.', 'type' => 'string', 'example' => '7C3AC882-E5A8-4855-BE77-B6837B695EF1'], + 'Id' => ['description' => 'The ID of the scan task. This is returned after the task is successfully created.', 'type' => 'integer', 'format' => 'int64', 'example' => '268', 'title' => ''], ], - 'description' => 'Return result object.', + 'example' => '', ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7C3AC882-E5A8-4855-BE77-B6837B695EF1\\"\\n}","type":"json"}]', - 'title' => 'ManualTriggerMaskingProcess', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeIdentifyTaskStatus' => [ - 'summary' => 'Query the status of an identification task', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'ScanOssObjectV1', + 'description' => '### Prerequisites'."\n" + ."\n" + .'You must authorize and connect to the specified bucket before you call this operation. If the bucket is not authorized, the API call returns the bucket\\_not\\_authorized error code.'."\n" + ."\n" + .'### QPS limits'."\n" + ."\n" + .'The queries per second (QPS) limit for this operation is 10 calls per second for each user. If you exceed the limit, API calls are throttled. This may affect your business. We recommend that you call the operation at a reasonable rate.'."\n" + ."\n" + .'### Usage notes'."\n" + ."\n" + .'You can use the returned task ID to call the DescribeIdentifyTaskStatus operation to check the running status of the task.'."\n" + ."\n" + .'After the task is complete, call the DescribeOssObjectDetailV2 operation and provide the BucketName, ServiceRegionId, and ObjectKey to view the sensitive data detection results for the object.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ScanOssObjectV1'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:ScanOssObjectV1', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7C3AC882-E5A8-4855-BE77-B6837B695EF1\\",\\n \\"Id\\": 268\\n}","type":"json"}]', + ], + 'StopMaskingProcess' => [ + 'summary' => 'You can call the StopMaskingProcess operation to stop a data masking task. You can call the ManualTriggerMaskingProcess operation to restart a stopped task using its unique resource ID.', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '240902', - 'abilityTreeNodes' => [ - 'FEATUREsddpXMFUF8', - ], + 'abilityTreeCode' => '82133', + 'abilityTreeNodes' => ['FEATUREsddpNV5XKZ'], ], 'parameters' => [ [ - 'name' => 'Id', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'Task ID, obtained from the ID field in the response after calling CreateScanTask or ScanOssObjectV1.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '268', - ], + 'schema' => ['description' => 'The language of the request and response. Valid values:'."\n" + ."\n" + .'- **zh\\_cn**: Chinese (Simplified). This is the default value.'."\n" + ."\n" + .'- **en\\_us**: English (US).', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''], ], [ - 'name' => 'Lang', + 'name' => 'Id', 'in' => 'query', - 'schema' => [ - 'description' => 'Language type for request and response messages, default is **zh_cn**. Values:'."\n" - .'- **zh_cn**: Chinese (Simplified)'."\n" - .'- **en_us**: English (United States)', - 'type' => 'string', - 'required' => false, - 'example' => 'zh_cn', - ], + 'schema' => ['description' => 'The unique ID of the data masking task. You can obtain the ID of a data masking task from the return value of the [DescribeDataMaskingTasks](~~DescribeDataMaskingTasks~~) operation.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '3', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'The ID of this call request, a unique identifier generated by Alibaba Cloud for this request, which can be used to troubleshoot and locate issues.', - 'type' => 'string', - 'example' => '71064826-726F-4ADA-B879-05D8055476FB', - ], - 'Content' => [ - 'description' => '-', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '任务运行状态。'."\n" - .'- 0:未开始'."\n" - .'- 1:运行中'."\n" - .'- 2:已暂停'."\n" - .'- 3:已终止'."\n" - .'- 200:已完成', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - ], - ], + 'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + 'title' => 'StopMaskingProcess', + 'description' => 'This operation stops a running data masking task. For example, you can call this operation if you no longer need to mask data for a previously configured task.'."\n" + ."\n" + .'## QPS limit'."\n" + ."\n" + .'The queries per second (QPS) limit for a single user is 10 calls per second. If you exceed this limit, API calls are throttled. This may affect your business. Ensure that you call this operation within the specified limit.', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2021-09-28T03:16:50.000Z', 'description' => 'Request parameters changed, Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopMaskingProcess'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-sddp:StopMaskingProcess', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"769FB3C1-F4C9-42DF-9B72-7077A8989C13\\"\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'sddp-api.cn-hongkong.aliyuncs.com', 'endpoint' => 'sddp-api.cn-hongkong.aliyuncs.com', 'vpc' => 'sddp-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'sddp.ap-southeast-1.aliyuncs.com', 'endpoint' => 'sddp.ap-southeast-1.aliyuncs.com', 'vpc' => 'sddp-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'sddp.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'sddp.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'sddp-vpc.cn-zhangjiakou.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => '4030', 'message' => 'Sign is invalid.', 'http_code' => 403, 'description' => 'Signature verification error when calling the Data Security Center.'], + ['code' => '4032', 'message' => 'No permission.', 'http_code' => 403, 'description' => 'No permission to operate'], + ['code' => '4040', 'message' => 'Record not exists.', 'http_code' => 404, 'description' => 'User does not exist'], + ['code' => '9000', 'message' => 'Internal error', 'http_code' => 500, 'description' => 'System internal error'], + ['code' => 'data_limit_auth_exception', 'message' => 'The project is not yours.', 'http_code' => 403, 'description' => 'The project you added is not under your management'], + ['code' => 'InstanceStatusCheckFail', 'message' => 'The instance status is expired or overdue.', 'http_code' => 403, 'description' => 'The instance status is expired or overdue. You cannot use this function.'], + ['code' => 'Invalid parameter', 'message' => 'The parameter is not valid.', 'http_code' => 404, 'description' => 'Parameter error'], + ['code' => 'InvalidParameter', 'message' => 'The parameter is not valid.', 'http_code' => 403, 'description' => 'Request parameter error'], + ['code' => 'OperationDenied.UserNotValid', 'message' => 'The user is not valid.', 'http_code' => 403, 'description' => 'Invalid user'], + ['code' => 'user_sale_status_check_fail', 'message' => 'The instance status is expired or overdue.', 'http_code' => 403, 'description' => 'The current instance state has expired'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateRule'], + ['description' => 'Response parameters changed', 'api' => 'DescribeRules'], + ['description' => 'Request parameters changed', 'api' => 'ModifyRule'], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'createdAt' => '2025-01-13T06:27:57.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeRules'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"71064826-726F-4ADA-B879-05D8055476FB\\",\\n \\"Content\\": {\\n \\"Status\\": 200\\n }\\n}","type":"json"}]', - 'title' => 'Get Identification Task Status', - 'description' => '## QPS Limit'."\n" - .'The QPS limit for this interface per user is 10 times/second. Exceeding the limit will result in API calls being rate-limited, which may affect your business. Please call it reasonably.', - 'translator' => 'machine', + 'createdAt' => '2024-12-17T07:08:35.000Z', + 'description' => '', ], - 'RestoreOssImage' => [ - 'summary' => '图片复原', - 'path' => '', - 'methods' => [ - 'get', - 'post', + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeUserStatus'], ], - 'schemes' => [ - 'https', + 'createdAt' => '2024-10-25T08:51:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeUserStatus'], ], - 'security' => [ - [ - 'AK' => [], + 'createdAt' => '2024-10-25T08:50:00.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstances'], + ['description' => 'Response parameters changed', 'api' => 'DescribeOssObjectDetailV2'], + ], + 'createdAt' => '2024-09-18T02:47:26.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed, Response parameters changed', 'api' => 'DescribeColumns'], + ['description' => 'Response parameters changed', 'api' => 'DescribeParentInstance'], + ], + 'createdAt' => '2024-08-16T11:00:05.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeOssObjectDetailV2'], + ], + 'createdAt' => '2024-08-16T08:30:33.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeOssObjects'], + ], + 'createdAt' => '2024-08-13T07:02:28.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeDataLimits'], + ], + 'createdAt' => '2024-08-09T07:58:48.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeDataObjects'], + ], + 'createdAt' => '2024-07-22T03:51:06.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateDataLimit'], + ], + 'createdAt' => '2024-07-02T01:28:41.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeParentInstance'], + ], + 'createdAt' => '2024-06-27T06:36:21.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeDataObjects'], + ['description' => 'Response parameters changed', 'api' => 'DescribeOssObjects'], + ], + 'createdAt' => '2024-06-03T02:01:30.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeEventDetail'], + ], + 'createdAt' => '2024-04-22T09:34:31.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeDataLimits'], + ['description' => 'Response parameters changed', 'api' => 'DescribeDataMaskingTasks'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeDataObjects'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeParentInstance'], + ], + 'createdAt' => '2024-04-18T05:57:33.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateConfig'], + ['description' => 'Request parameters changed', 'api' => 'CreateDataLimit'], + ['description' => 'Request parameters changed', 'api' => 'CreateRule'], + ['description' => 'Request parameters changed', 'api' => 'CreateScanTask'], + ['description' => 'Request parameters changed', 'api' => 'CreateSlrRole'], + ['description' => 'Request parameters changed', 'api' => 'DeleteDataLimit'], + ['description' => 'Request parameters changed', 'api' => 'DeleteRule'], + ['description' => 'Request parameters changed', 'api' => 'DescribeCategoryTemplateList'], + ['description' => 'Request parameters changed', 'api' => 'DescribeCategoryTemplateRuleList'], + ['description' => 'Request parameters changed', 'api' => 'DescribeDataLimitDetail'], + ], + 'createdAt' => '2024-03-25T07:35:37.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeEvents'], + ], + 'createdAt' => '2024-01-16T03:33:55.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeUserStatus'], + ], + 'createdAt' => '2023-12-27T07:13:31.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'CreateConfig'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'CreateConfig'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'CreateConfig'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'CreateConfig'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'CreateConfig'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'CreateConfig'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'CreateConfig'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'CreateConfig'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'CreateConfig'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'CreateConfig'], + ], + 'createdAt' => '2023-12-06T07:48:21.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeDataObjects'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeOssObjects'], + ], + 'createdAt' => '2023-09-25T03:20:45.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeUserStatus'], + ], + 'createdAt' => '2023-09-01T07:36:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeDataObjects'], + ], + 'createdAt' => '2023-08-18T02:09:29.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DescribeRules'], + ], + 'createdAt' => '2023-07-17T02:57:24.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeCategoryTemplateRuleList'], + ], + 'createdAt' => '2023-01-11T06:28:08.000Z', + 'description' => '修改API适配子模型', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'DescribeColumns'], + ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'DescribeInstances'], + ['description' => 'Response parameters changed, Response parameters changed', 'api' => 'DescribeOssObjectDetail'], + ['description' => 'Response parameters changed', 'api' => 'DescribeTables'], + ], + 'createdAt' => '2022-12-28T07:00:41.000Z', + 'description' => 'ModelTags中的Id返回值类型修改', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateRule'], + ['description' => 'Response parameters changed', 'api' => 'DescribeColumns'], + ['description' => 'Response parameters changed', 'api' => 'DescribeInstances'], + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeOssObjectDetail'], + ['description' => 'Response parameters changed', 'api' => 'DescribeRules'], + ['description' => 'Request parameters changed', 'api' => 'ModifyRule'], + ], + 'createdAt' => '2022-12-27T09:17:18.000Z', + 'description' => 'Open APi support tag', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeUserStatus'], + ], + 'createdAt' => '2022-10-14T11:42:53.000Z', + 'description' => '增加工作台统计数据接口', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeDataLimits'], + ['description' => 'Request parameters changed', 'api' => 'ModifyDataLimit'], + ], + 'createdAt' => '2022-10-14T06:09:46.000Z', + 'description' => '增加数据导出API功能', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'CreateRule'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'DescribeOssObjects'], + ['description' => 'Request parameters changed', 'api' => 'DescribeRiskLevels'], + ['description' => 'Request parameters changed, Response parameters changed, Error codes changed', 'api' => 'DescribeRules'], + ['description' => 'Request parameters changed', 'api' => 'DescribeTables'], + ['description' => 'Request parameters changed', 'api' => 'ModifyRule'], + ], + 'createdAt' => '2022-09-22T08:24:29.000Z', + 'description' => 'update api', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateDataLimit'], + ], + 'createdAt' => '2022-09-05T06:20:30.000Z', + 'description' => '资产中心改版', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DescribeSelfDbType'], + ], + 'createdAt' => '2022-06-07T11:36:01.000Z', + 'description' => 'agent增加自建数据库场景支持', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateDataLimit'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'ModifyDataLimit'], + ], + 'createdAt' => '2022-05-25T10:38:07.000Z', + 'description' => '增加采样条数参数', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreateDomain'], + ['description' => 'OpenAPI offline', 'api' => 'DeleteDomain'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeAssets'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeDomainInstances'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeDomains'], + ['description' => 'OpenAPI offline', 'api' => 'ExportDomains'], + ['description' => 'OpenAPI offline', 'api' => 'ImportDomains'], + ['description' => 'OpenAPI offline', 'api' => 'ModifyAdmin'], + ['description' => 'OpenAPI offline', 'api' => 'MoveDomain'], + ['description' => 'OpenAPI offline', 'api' => 'MoveInstances'], + ], + 'createdAt' => '2022-05-23T13:05:29.000Z', + 'description' => '私有OpenAPI', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'ExecDatamask'], + ], + 'createdAt' => '2022-04-27T09:07:29.000Z', + 'description' => '单用户调用频率上调至:2000总API频率上调至:100000', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'CreateDataLimit'], + ], + 'createdAt' => '2022-04-21T04:06:26.000Z', + 'description' => 'CreateDataLimit增加Enable字段', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeEventDetail'], + ], + 'createdAt' => '2022-04-19T03:32:32.000Z', + 'description' => '修改DescribeEventDetail的返回数据结构', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreatePrivatelinkConnection'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeAuthList'], + ['description' => 'OpenAPI offline', 'api' => 'DescribeDataLimitRunConfig'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeInstanceSources'], + ['description' => 'OpenAPI offline', 'api' => 'ModifyAgentAuditConfig'], + ], + 'createdAt' => '2022-03-29T08:27:49.000Z', + 'description' => '增加agent审计接口', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'CreateSlrRole'], + ['description' => 'OpenAPI offline', 'api' => 'ModifyReportTaskStatus'], + ], + 'createdAt' => '2021-12-29T07:28:13.000Z', + 'description' => '公开CreateSlrRole新增ModifyReportTaskStatus接口', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeUserStatus'], + ], + 'createdAt' => '2021-11-26T07:03:50.000Z', + 'description' => 'DescribeUserStatus接口返回参数Buyed修改为Purchased', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeUserStatus'], + ], + 'createdAt' => '2021-11-18T05:35:34.000Z', + 'description' => '隐藏DescribeUserStatus不必要返回参数', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DescribeCategoryTemplateRuleList'], + ], + 'createdAt' => '2021-11-04T12:38:38.000Z', + 'description' => '隐藏部分参数', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed, Error codes changed', 'api' => 'DescribeCategoryTemplateRuleList'], + ], + 'createdAt' => '2021-11-03T13:42:43.000Z', + 'description' => '公开DescribeCategoryTemplateRuleList', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ModifyRule'], + ['description' => 'Request parameters changed', 'api' => 'ModifyRule'], + ], + 'createdAt' => '2021-10-26T02:55:38.000Z', + 'description' => '修复modifyRule', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeInstances'], + ], + 'createdAt' => '2021-10-26T02:38:01.000Z', + 'description' => '实例查询接口 ACL字段隐藏', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ModifyRule'], + ], + 'createdAt' => '2021-10-21T13:08:54.000Z', + 'description' => 'fix ModifyRule', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DescribeTables'], + ['description' => 'Response parameters changed', 'api' => 'DescribeTables'], + ], + 'createdAt' => '2021-10-21T03:00:56.000Z', + 'description' => 'API 设置private属性', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'ModifyRule'], + ], + 'createdAt' => '2021-10-13T09:51:39.000Z', + 'description' => 'ModifyRule隐藏不必要请求参数', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeConfigs'], + ['description' => 'Error codes changed', 'api' => 'DescribeInstanceSources'], + ], + 'createdAt' => '2021-09-28T06:40:35.000Z', + 'description' => 'fix api问题', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed, Error codes changed', 'api' => 'DescribeUserStatus'], + ['description' => 'Request parameters changed, Error codes changed', 'api' => 'StopMaskingProcess'], + ], + 'createdAt' => '2021-09-28T06:38:32.000Z', + 'description' => 'fix api', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOssObjectDetail'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCategoryTemplateRuleList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventTypes'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyEventStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceSources'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTemplateAllRules'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataAssets'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataObjectColumnDetailV2'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataMaskingTasks'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRule'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ScanOssObjectV1'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRuleStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDocTypes'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyReportTaskStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataLimitSet'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTables'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDataLimit'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSlrRole'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataObjects'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstances'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRiskLevels'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateConfig'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePackages'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeConfigs'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeColumnsV2'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataMaskingRunHistory'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataObjectColumnDetail'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRule'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableUserConfig'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ManualTriggerMaskingProcess'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeColumns'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataLimitDetail'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRules'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDataLimit'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeParentInstance'], + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExecDatamask'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCategoryTemplateList'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOssObjects'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataLimits'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeIdentifyTaskStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDataLimit'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEvents'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateScanTask'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRule'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeEventDetail'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOssObjectDetailV2'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDefaultLevel'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyEventTypeStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopMaskingProcess'], + ], + ], + 'ram' => [ + 'productCode' => 'SDDP', + 'productName' => 'Data Security Center', + 'ramCodes' => ['datatrust', 'yundun-sddp'], + 'ramLevel' => 'OPERATION', + 'ramConditions' => [ + [ + 'name' => 'yundun-sddp:ResourceGroupId', + 'schema' => ['type' => 'String', 'description' => 'ResourceGroupId'], + ], + [ + 'name' => 'acs:ResourceGroupId', + 'schema' => ['description' => 'ResourceGroupId'], + ], + ], + 'ramActions' => [ + [ + 'apiName' => 'ModifyRuleStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-sddp:ModifyRuleStatus', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeDataObjectColumnDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDataObjectColumnDetail', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyRule', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-sddp:ModifyRule', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateConfig', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-sddp:CreateConfig', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ScanOssObjectV1', + 'description' => '', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsddpIUXEIF', + 'ramAction' => [ + 'action' => 'yundun-sddp:ScanOssObjectV1', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'Bucket', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'test-sddp', + [ + 'apiName' => 'DescribeIdentifyTaskStatus', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeIdentifyTaskStatus', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ObjectKey', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'aliyun_dsc_desensitization/dir1/test.png', + ], + [ + 'apiName' => 'RestoreOssImage', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:RestoreOssImage', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ServiceRegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + ], + [ + 'apiName' => 'DescribeDataMaskingTasks', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDataMaskingTasks', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TargetObjectKey', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'aliyun_dsc_original /dir1/test.png'."\n", - 'default' => 'aliyun_dsc_original', + ], + [ + 'apiName' => 'CreateScanTask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-sddp:CreateScanTask', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '208B016D-4CB9-4A85-96A5-0B8ED1EBF271', - ], - 'RestoredImageKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'aliyun_dsc_original /dir1/test.png', - ], - ], + [ + 'apiName' => 'DescribeInstanceSources', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeInstanceSources', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + [ + 'apiName' => 'ModifyReportTaskStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-sddp:ModifyReportTaskStatus', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeRiskLevels', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeRiskLevels', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"208B016D-4CB9-4A85-96A5-0B8ED1EBF271\\",\\n \\"RestoredImageKey\\": \\"aliyun_dsc_original /dir1/test.png\\"\\n}","type":"json"}]', - ], - 'MaskOssImage' => [ - 'summary' => 'OSS图片脱敏', - 'path' => '', - 'methods' => [ - 'post', + [ + 'apiName' => 'DescribeColumnsV2', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeColumnsV2', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'DeleteDataLimit', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-sddp:DeleteDataLimit', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DisableUserConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-sddp:DisableUserConfig', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeUserStatus', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeUserStatus', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'MaskOssImage', + 'description' => '', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREsddpIUXEIF', + 'ramAction' => [ + 'action' => 'yundun-sddp:MaskOssImage', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'BucketName', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'sddp-api-demo-bucket', + [ + 'apiName' => 'DescribeInstances', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeInstances', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ObjectKey', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'dir1/test.png', + ], + [ + 'apiName' => 'CreateSlrRole', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-sddp:CreateSlrRole', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ServiceRegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', + ], + [ + 'apiName' => 'ExecDatamask', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-sddp:ExecDatamask', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'MaskRuleIdList', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3000,3002', + ], + [ + 'apiName' => 'DescribeDataLimitSet', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDataLimitSet', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'IsSupportRestore', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', + ], + [ + 'apiName' => 'DescribeOssObjectDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeOssObjectDetail', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'IsAlwaysUpload', - 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'true', + ], + [ + 'apiName' => 'DescribeDocTypes', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDocTypes', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '136082B3-B21F-5E9D-B68E-991FFD205D24', - ], - ], + [ + 'apiName' => 'DescribeEvents', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeEvents', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + [ + 'apiName' => 'DescribeTables', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeTables', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'ModifyDefaultLevel', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:ModifyDefaultLevel', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeColumns', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeColumns', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeEventDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeEventDetail', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateDataLimit', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-sddp:CreateDataLimit', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDataObjectColumnDetailV2', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDataObjectColumnDetailV2', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateRule', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-sddp:CreateRule', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDataMaskingRunHistory', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDataMaskingRunHistory', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeCategoryTemplateRuleList', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeCategoryTemplateRuleList', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeCategoryTemplateList', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeCategoryTemplateList', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeConfigs', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeConfigs', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDataObjects', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDataObjects', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'StopMaskingProcess', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-sddp:StopMaskingProcess', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ManualTriggerMaskingProcess', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:ManualTriggerMaskingProcess', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeAuditLogs', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeAuditLogs', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyDataLimit', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-sddp:ModifyDataLimit', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeOssObjectDetailV2', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeOssObjectDetailV2', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteRule', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-sddp:DeleteRule', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeRules', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeRules', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeTemplateAllRules', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeTemplateAllRules', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyEventTypeStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-sddp:ModifyEventTypeStatus', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeOssObjects', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeOssObjects', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribePackages', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribePackages', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeEventTypes', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeEventTypes', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDataAssets', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDataAssets', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeParentInstance', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeParentInstance', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyEventStatus', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-sddp:ModifyEventStatus', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDataLimits', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDataLimits', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeDataLimitDetail', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-sddp:DescribeDataLimitDetail', + 'authLevel' => 'operate', + 'actionConditions' => [ + ['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'], + ], + 'resources' => [ + ['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"136082B3-B21F-5E9D-B68E-991FFD205D24\\"\\n}","type":"json"}]', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'sddp-api.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'sddp.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-prod-1', - 'endpoint' => 'sddp.cn-hangzhou-internal-prod-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'sddp.cn-zhangjiakou.aliyuncs.com', ], + 'resourceTypes' => [], ], ]; |
