'1.0',
'info' => ['style' => 'RPC', 'product' => 'Sddp', 'version' => '2019-01-03'],
'directories' => [
[
'children' => ['DescribeAuditLogs'],
'type' => 'directory',
'title' => 'Data audit',
],
[
'children' => ['CreateSlrRole'],
'type' => 'directory',
'title' => 'Service-linked role',
],
[
'children' => ['DeleteDataLimit', 'DescribeDataLimits', 'ModifyDataLimit', 'DescribeDataLimitDetail', 'CreateDataLimit', 'DescribeDataLimitSet', 'DescribeInstanceSources', 'DescribeParentInstance'],
'type' => 'directory',
'title' => 'Authorization',
],
[
'children' => ['ScanOssObjectV1', 'CreateScanTask', 'ModifyDefaultLevel', 'ModifyRuleStatus'],
'type' => 'directory',
'title' => 'Detection configuration',
],
[
'children' => ['DescribeRules', 'DescribeRiskLevels', 'DescribeDataAssets', 'DescribeTables', 'DescribeColumns', 'DescribeColumnsV2', 'DescribeOssObjects', 'DescribeOssObjectDetail', 'DescribeOssObjectDetailV2', 'DescribePackages', 'DescribeCategoryTemplateList', 'DescribeCategoryTemplateRuleList', 'DescribeTemplateAllRules', 'DescribeDocTypes', 'DescribeDataObjects', 'DescribeDataObjectColumnDetail', 'DescribeDataObjectColumnDetailV2'],
'type' => 'directory',
'title' => 'Data detection',
],
[
'children' => ['DescribeConfigs', 'ModifyReportTaskStatus', 'DescribeUserStatus', 'DisableUserConfig'],
'type' => 'directory',
'title' => 'Security configuration',
],
[
'children' => ['ModifyEventTypeStatus', 'ModifyEventStatus', 'DescribeEventDetail', 'DescribeEventTypes'],
'type' => 'directory',
'title' => 'Anomaly alert',
],
[
'children' => ['DescribeDataMaskingTasks', 'DescribeDataMaskingRunHistory', 'ExecDatamask', 'StopMaskingProcess', 'ManualTriggerMaskingProcess'],
'type' => 'directory',
'title' => 'Data masking',
],
[
'children' => ['DescribeIdentifyTaskStatus', 'CreateConfig', 'CreateRule', 'DeleteRule', 'DescribeEvents', 'DescribeInstances', 'MaskOssImage', 'ModifyRule', 'RestoreOssImage'],
'type' => 'directory',
'title' => 'Others',
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'CreateConfig' => [
'summary' => 'Modifies the general alert configuration parameters.',
'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"
."\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' => 'Description',
'in' => 'query',
'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' => '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"
."\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' => 'FeatureType',
'in' => 'query',
'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => '106.11.XX.XX', '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"
."\n"
.'- **en\\_us**: English', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''],
],
],
'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' => '',
'title' => '',
'example' => '',
],
],
],
'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' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '81960',
'abilityTreeNodes' => ['FEATUREsddp2CRSZ1'],
],
'parameters' => [
[
'name' => 'ResourceType',
'in' => 'query',
'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' => 'ServiceRegionId',
'in' => 'query',
'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' => 'ParentId',
'in' => 'query',
'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' => 'UserName',
'in' => 'query',
'schema' => ['description' => 'The username of the database asset.', 'type' => 'string', 'required' => false, 'example' => 'y*****m', 'title' => ''],
],
[
'name' => 'Password',
'in' => 'query',
'schema' => ['description' => 'The password used to access the database asset.', 'type' => 'string', 'required' => false, 'example' => 'p****d', 'title' => ''],
],
[
'name' => 'AuditStatus',
'in' => 'query',
'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' => 'AutoScan',
'in' => 'query',
'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' => 'LogStoreDay',
'in' => 'query',
'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' => 'EngineType',
'in' => 'query',
'schema' => ['description' => 'The type of the database. Valid values:'."\n"
.'- **MySQL**'."\n"
.'- **SQLServer**', 'type' => 'string', 'required' => false, 'example' => 'MySQL', 'title' => ''],
],
[
'name' => 'Port',
'in' => 'query',
'schema' => ['description' => 'The database connection port.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3306', 'title' => ''],
],
[
'name' => 'OcrStatus',
'in' => 'query',
'schema' => ['description' => 'The OCR status. Valid values:'."\n"
.'- **1**: Enabled.'."\n"
.'- **0**: Disabled.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'title' => ''],
],
[
'name' => 'EventStatus',
'in' => 'query',
'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' => 'Enable',
'in' => 'query',
'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' => 'SamplingSize',
'in' => 'query',
'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' => 'CertificatePermission',
'in' => 'query',
'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' => 'FeatureType',
'in' => 'query',
'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => '106.11.XX.XX', 'title' => ''],
],
[
'name' => 'InstantlyScan',
'in' => 'query',
'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' => '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' => [
'type' => 'object',
'properties' => [
'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' => '',
],
],
],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
'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' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '81967',
'abilityTreeNodes' => ['FEATUREsddpIUNEZP'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
'schema' => ['description' => 'The name of the sensitive data detection rule.', 'type' => 'string', 'required' => true, 'example' => 'rule-tst', 'title' => ''],
],
[
'name' => 'Category',
'in' => 'query',
'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' => 'Content',
'in' => 'query',
'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' => 'StatExpress',
'in' => 'query',
'schema' => ['description' => 'The statistical expression.', 'type' => 'string', 'required' => false, 'example' => '{"time":"24","groupby":"1003","having":[{"key":"2001","value":"50"}]}', 'title' => ''],
],
[
'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' => ''],
],
[
'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' => ''],
],
[
'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' => ''],
],
[
'name' => 'ProductId',
'in' => 'query',
'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' => 'WarnLevel',
'in' => 'query',
'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' => ['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 type for the request and response messages. Valid values:'."\n"
.'- **zh**: Chinese.'."\n"
.'- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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' => '',
],
],
],
'title' => 'Create a custom sensitive data detection rule',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'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' => 'write',
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '81968',
'abilityTreeNodes' => ['FEATUREsddpXMFUF8'],
],
'parameters' => [
[
'name' => 'DataLimitId',
'in' => 'query',
'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' => 'IntervalDay',
'in' => 'query',
'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' => 'RunHour',
'in' => 'query',
'schema' => ['description' => 'The runtime of the next scan task. Unit: hours.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '12', 'title' => ''],
],
[
'name' => 'RunMinute',
'in' => 'query',
'schema' => ['description' => 'The runtime of the next scan task. Unit: minutes.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30', 'title' => ''],
],
[
'name' => 'TaskName',
'in' => 'query',
'schema' => ['description' => 'The name of the scan task.', 'type' => 'string', 'required' => true, 'example' => 'scan-test-sample****', 'title' => ''],
],
[
'name' => 'TaskUserName',
'in' => 'query',
'schema' => ['description' => 'The account that creates the scan task.', 'type' => 'string', 'required' => false, 'example' => 'demo', 'title' => ''],
],
[
'name' => 'OssScanPath',
'in' => 'query',
'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' => 'ScanRange',
'in' => 'query',
'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' => 'ScanRangeContent',
'in' => 'query',
'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' => 'ResourceType',
'in' => 'query',
'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' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => '106.11.XX.XX', 'title' => ''],
],
[
'name' => 'FeatureType',
'in' => 'query',
'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', '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' => [
'type' => 'object',
'properties' => [
'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' => '',
],
],
],
'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' => ' ',
'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' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '81970',
'abilityTreeNodes' => ['FEATUREsddp2CRSZ1'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => '106.11.XX.XX', 'title' => ''],
],
[
'name' => 'FeatureType',
'in' => 'query',
'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 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' => 'ServiceName',
'in' => 'query',
'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'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' => '',
],
],
],
'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' => [
[
'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' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '81976',
'abilityTreeNodes' => ['FEATUREsddp2CRSZ1'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
'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' => 'FeatureType',
'in' => 'query',
'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => '106.11.XX.XX', 'title' => ''],
],
[
'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' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7C3AC882-E5A8-4855-BE77-B6837B695EF1', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
'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' => 'write',
'systemTags' => [
'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '81978',
'abilityTreeNodes' => ['FEATUREsddpIUNEZP'],
],
'parameters' => [
[
'name' => 'Id',
'in' => 'query',
'schema' => ['description' => 'The ID of the sensitive data detection rule.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '122300', 'title' => ''],
],
[
'name' => 'FeatureType',
'in' => 'query',
'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'SourceIp',
'in' => 'query',
'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'string', 'required' => false, 'example' => '106.11.XX.XX', 'title' => ''],
],
[
'name' => 'Lang',
'in' => 'query',
'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 request ID.', 'type' => 'string', 'example' => '7C3AC882-E5A8-4855-BE77-B6837B6*****', 'title' => ''],
],
'title' => '',
'example' => '',
],
],
],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
'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' => 'read',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '81992',
'abilityTreeNodes' => ['FEATUREsddpH8R72I'],
'tenantRelevance' => 'publicInformation',
],
'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', 'title' => ''],
],
[
'name' => 'UserName',
'in' => 'query',
'schema' => ['description' => 'The username.', 'type' => 'string', 'required' => false, 'example' => 'admin', 'title' => ''],
],
[
'name' => 'ClientIp',
'in' => 'query',
'schema' => ['description' => 'The IP address of the request client.', 'type' => 'string', 'required' => false, 'example' => '10.*.*.94', 'title' => ''],
],
[
'name' => 'ClientUa',
'in' => 'query',
'schema' => ['description' => 'The client type.', 'type' => 'string', 'required' => false, 'example' => 'mysql', 'title' => ''],
],
[
'name' => 'InstanceName',
'in' => 'query',
'schema' => ['description' => 'The name of the asset instance.', 'type' => 'string', 'required' => false, 'example' => 'i-2zeftaaq4gqcqb9kfkzg', 'title' => ''],
],
[
'name' => 'DatabaseName',
'in' => 'query',
'schema' => ['description' => 'The database name.', 'type' => 'string', 'required' => false, 'example' => 'bose_o2o_data', 'title' => ''],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => ['description' => 'The start time of the alert log, in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1616068534877', 'title' => ''],
],
[
'name' => 'EndTime',
'in' => 'query',
'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' => 'ProductCode',
'in' => 'query',
'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' => 'ProductId',
'in' => 'query',
'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' => 'SqlText',
'in' => 'query',
'schema' => ['description' => 'The content of the SQL statement.', 'type' => 'string', 'required' => false, 'example' => 'select * from test03', 'title' => ''],
],
[
'name' => 'ExecuteTimeRange',
'in' => 'query',
'schema' => ['description' => 'The range of execution time.', 'type' => 'string', 'required' => false, 'example' => 'in[1000 2000]', 'title' => ''],
],
[
'name' => 'EffectRowRange',
'in' => 'query',
'schema' => ['description' => 'The range of affected rows.', 'type' => 'string', 'required' => false, 'example' => 'in[1 33]', 'title' => ''],
],
[
'name' => 'RuleName',
'in' => 'query',
'schema' => ['description' => 'The name of the audit policy.', 'type' => 'string', 'required' => false, 'example' => 'test_rule', 'title' => ''],
],
[
'name' => 'OperateType',
'in' => 'query',
'schema' => ['description' => 'The operation type.', 'type' => 'string', 'required' => false, 'example' => 'Insert', 'title' => ''],
],
[
'name' => 'OssObjectKey',
'in' => 'query',
'schema' => ['description' => 'The key of the OSS object.', 'type' => 'string', 'required' => false, 'example' => 'oss-key', 'title' => ''],
],
[
'name' => 'AsyncRequestId',
'in' => 'query',
'schema' => ['description' => 'The request ID.', 'type' => 'string', 'required' => false, 'example' => 'CE4681BA-8019-5BE1-9F4B-8973BEA9CF57', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
'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' => 'CurrentPage',
'in' => 'query',
'schema' => ['description' => 'The page number in a paged query. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'RuleCategory',
'in' => 'query',
'schema' => ['description' => 'The rule type.', 'type' => 'string', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'LoadWhiteList',
'in' => 'query',
'schema' => ['description' => 'Specifies whether to load the whitelist status.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
[
'name' => 'MemberAccount',
'in' => 'query',
'schema' => ['description' => 'The UID of the member accounts.', 'type' => 'string', 'required' => false, 'example' => '**********8103', 'title' => ''],
],
[
'name' => 'IpType',
'in' => 'query',
'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' => 'LogQueryOpJson',
'in' => 'query',
'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' => 'Message',
'in' => 'query',
'schema' => ['description' => 'The message content.', 'type' => 'string', 'required' => false, 'example' => 'success', 'title' => ''],
],
[
'name' => 'LogSource',
'in' => 'query',
'schema' => ['title' => '', 'description' => 'The data source.', 'type' => 'string', 'example' => 'SLOW_SQL', 'required' => false],
],
[
'name' => 'RuleAggQuery',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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' => '',
],
],
],
'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"
.'## 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' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '81997',
'abilityTreeNodes' => ['FEATUREsddpIUNEZP'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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 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 page number in a paged query. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'UsageScenario',
'in' => 'query',
'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' => 'FeatureType',
'in' => 'query',
'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'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' => [
[
'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' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '81998',
'abilityTreeNodes' => ['FEATUREsddpIUNEZP'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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' => 'PageSize',
'in' => 'query',
'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' => 'CurrentPage',
'in' => 'query',
'schema' => ['description' => 'The page number. The default value is **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'Status',
'in' => 'query',
'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' => 'RiskLevelId',
'in' => 'query',
'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.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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' => 'A list of template rules.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'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' => '[{"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"
.'## 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' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82001',
'abilityTreeNodes' => ['FEATUREsddp2VFD4T'],
'tenantRelevance' => 'publicInformation',
],
'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' => ''],
],
[
'name' => 'Name',
'in' => 'query',
'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' => 'TableId',
'in' => 'query',
'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' => 'RuleId',
'in' => 'query',
'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' => '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' => 'MaxCompute', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'query',
'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' => 'InstanceName',
'in' => 'query',
'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' => 'TableName',
'in' => 'query',
'schema' => ['description' => 'The name of the data asset table.', 'type' => 'string', 'required' => false, 'example' => 'it_table', 'title' => ''],
],
[
'name' => 'RuleName',
'in' => 'query',
'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' => 'SensLevelName',
'in' => 'query',
'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' => 'PageSize',
'in' => 'query',
'schema' => ['description' => 'The maximum number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'CurrentPage',
'in' => 'query',
'schema' => ['description' => 'The page number for a paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'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' => ''],
],
[
'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' => ''],
],
[
'name' => 'EngineType',
'in' => 'query',
'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' => 'ProductId',
'in' => 'query',
'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' => 'ModelTagId',
'in' => 'query',
'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 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' => 'ServiceRegionId',
'in' => 'query',
'schema' => ['title' => '', 'type' => 'string', 'example' => 'cn-zhangjiakou', 'description' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'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' => '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' => '',
],
],
],
'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"
.'## Notes'."\n"
.'The DescribeColumns operation has been revised to DescribeColumnsV2. Use the newer version DescribeColumnsV2 when developing applications.'."\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.',
'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'],
],
],
'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' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREsddp2VFD4T'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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' => 'Name',
'in' => 'query',
'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' => 'TableId',
'in' => 'query',
'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' => 'RuleId',
'in' => 'query',
'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' => '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' => 'MaxCompute', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'query',
'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' => 'InstanceName',
'in' => 'query',
'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' => 'TableName',
'in' => 'query',
'schema' => ['description' => 'The name of the data asset table.', 'type' => 'string', 'required' => false, 'example' => 'it_table', 'title' => ''],
],
[
'name' => 'RuleName',
'in' => 'query',
'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' => 'SensLevelName',
'in' => 'query',
'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' => 'PageSize',
'in' => 'query',
'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' => 'CurrentPage',
'in' => 'query',
'schema' => ['description' => 'The page number in a paged query. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'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' => ''],
],
[
'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' => [
200 => [
'schema' => [
'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 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' => '',
],
],
],
'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'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeColumnsV2'],
],
],
'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' => 'read',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREsddpCHNP1R'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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' => '',
],
],
],
'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"
.'Queries common configuration items for anomaly alerts, which you can use to create or restore alert configurations.'."\n"
."\n"
.'# QPS limit'."\n"
."\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' => ' ',
'changeSet' => [
['createdAt' => '2021-09-27T09:29:07.000Z', 'description' => 'Response parameters changed, Error codes changed'],
],
'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' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREsddp2VFD4T'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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' => 'Name',
'in' => 'query',
'schema' => ['description' => 'The keyword for a fuzzy search of data assets.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
],
[
'name' => 'RiskLevels',
'in' => 'query',
'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' => 'RuleId',
'in' => 'query',
'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' => [
'properties' => [
'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' => '',
],
],
],
'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' => ' ',
'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' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82011',
'abilityTreeNodes' => ['FEATUREsddp2CRSZ1'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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 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' => 'NetworkType',
'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"
."\n"
.'- **2**: classic network', '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', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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' => '[{"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' => ' ',
'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' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82014',
'abilityTreeNodes' => ['FEATUREsddp2CRSZ1'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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' => 'ResourceType',
'in' => 'query',
'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' => 'ParentId',
'in' => 'query',
'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' => 'FeatureType',
'in' => 'query',
'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' => [
'type' => 'object',
'properties' => [
'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' => '',
],
],
],
'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'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDataLimitSet'],
],
],
'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' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82013',
'abilityTreeNodes' => ['FEATUREsddpXMFUF8'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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' => 'PageSize',
'in' => 'query',
'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' => 'CurrentPage',
'in' => 'query',
'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' => 'ResourceType',
'in' => 'query',
'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' => 'ParentId',
'in' => 'query',
'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' => 'ServiceRegionId',
'in' => 'query',
'schema' => ['description' => 'The region where the asset resides.', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'CheckStatus',
'in' => 'query',
'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' => 'AuditStatus',
'in' => 'query',
'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' => 'EngineType',
'in' => 'query',
'schema' => ['description' => 'The database type. Valid values: **MySQL**, **SQLServer**, **Oracle**, **PostgreSQL**, **MongoDB**, and others.', 'type' => 'string', 'required' => false, 'example' => 'MySQL', 'title' => ''],
],
[
'name' => 'DatamaskStatus',
'in' => 'query',
'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' => 'Enable',
'in' => 'query',
'schema' => ['description' => 'The detection permission status. Valid values:'."\n"
.'- **1**: enabled.'."\n"
.'- **0**: disabled.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'StartTime',
'in' => 'query',
'schema' => ['description' => 'The start of the creation time range. Format: timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1616068534877', 'title' => ''],
],
[
'name' => 'EndTime',
'in' => 'query',
'schema' => ['description' => 'The end of the creation time range. Format: timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1616068534877', 'title' => ''],
],
[
'name' => 'MemberAccount',
'in' => 'query',
'schema' => ['description' => 'The ID of the member accounts.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '**********8103', 'title' => ''],
],
[
'name' => 'FeatureType',
'in' => 'query',
'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 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' => '',
],
],
],
'title' => 'Query data asset scan authorization list',
'summary' => 'Queries the list of data assets, including authorized instances, databases, and buckets.',
'requestParamsDescription' => ' ',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'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'],
],
'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' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREsddpNV5XKZ'],
],
'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' => ''],
],
[
'name' => 'TaskId',
'in' => 'query',
'schema' => ['description' => 'The ID of the data masking task.', 'type' => 'string', 'required' => false, 'example' => 'mt4HBgtw1B******', 'title' => ''],
],
[
'name' => 'StartTime',
'in' => 'query',
'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' => 'EndTime',
'in' => 'query',
'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' => 'Status',
'in' => 'query',
'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' => 'SrcType',
'in' => 'query',
'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' => 'DstType',
'in' => 'query',
'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' => 'PageSize',
'in' => 'query',
'schema' => ['description' => 'The maximum number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'CurrentPage',
'in' => 'query',
'schema' => ['description' => 'The page number for a paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'MainProcessId',
'in' => 'query',
'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' => 'SrcTableName',
'in' => 'query',
'schema' => ['description' => 'The name of the source table.', 'type' => 'string', 'required' => false, 'example' => 'add', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'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' => '',
],
],
],
'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' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82022',
'abilityTreeNodes' => ['FEATUREsddpNV5XKZ'],
],
'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' => ''],
],
[
'name' => 'SearchKey',
'in' => 'query',
'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' => 'StartTime',
'in' => 'query',
'schema' => ['description' => 'The start time of the task creation period. Format: timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1582992000000', 'title' => ''],
],
[
'name' => 'EndTime',
'in' => 'query',
'schema' => ['description' => 'The end time of the task creation period. Format: timestamp. Unit: milliseconds.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1583856000000', 'title' => ''],
],
[
'name' => 'DstType',
'in' => 'query',
'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' => 'PageSize',
'in' => 'query',
'schema' => ['description' => 'The maximum number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'CurrentPage',
'in' => 'query',
'schema' => ['description' => 'The page number for a paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'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 static data masking tasks.',
'type' => 'array',
'items' => [
'description' => 'The details of a static data masking task.',
'type' => 'object',
'properties' => [
'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' => '',
],
],
],
'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' => ' ',
'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' => '149483',
'abilityTreeNodes' => ['FEATUREsddp2VFD4T'],
],
'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' => ''],
],
[
'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 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' => ['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 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' => [
'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' => '',
],
'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' => '',
],
],
],
'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',
'abilityTreeCode' => '186089',
'abilityTreeNodes' => ['FEATUREsddp2VFD4T'],
'tenantRelevance' => 'publicInformation',
],
'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' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
'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' => 'CurrentPage',
'in' => 'query',
'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' => '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' => 'string', 'required' => true, 'example' => '13456723343', 'title' => ''],
],
[
'name' => 'TemplateId',
'in' => 'query',
'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' => 'FeatureType',
'in' => 'query',
'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 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' => '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' => [
'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' => '',
],
'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' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'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'],
],
'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' => '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**: Chinese.'."\n"
."\n"
.'- **en\\_us**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
'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' => 'CurrentPage',
'in' => 'query',
'schema' => ['description' => 'The page number of the returned page. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'ProductIds',
'in' => 'query',
'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' => 'ParentCategoryIds',
'in' => 'query',
'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. 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.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'required' => false, 'title' => ''],
],
[
'name' => 'APIVersion',
'in' => 'query',
'schema' => ['description' => 'The version of the API.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false],
],
[
'name' => 'RegionId',
'in' => 'query',
'schema' => ['description' => 'The region in which the data asset catalog resides.', 'type' => 'string', 'example' => 'cn-zhangjiakou', 'title' => '', 'required' => false],
],
[
'name' => 'ProductId',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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' => 'A list of data objects.',
'type' => 'array',
'items' => [
'description' => 'A data object.',
'type' => 'object',
'properties' => [
'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 data tags.',
'type' => 'array',
'items' => [
'description' => 'A data tag.',
'type' => 'object',
'properties' => [
'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' => '',
],
'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' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'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"
.'## QPS limit'."\n"
."\n"
.'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' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'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' => [
'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' => '',
],
],
],
'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' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82033',
'abilityTreeNodes' => ['FEATUREsddpR2D59W', 'FEATUREsddpGH0F1O', 'FEATUREsddpCHNP1R'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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' => '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' => [
'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' => [
[
'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' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82039',
'abilityTreeNodes' => ['FEATUREsddpR2D59W', 'FEATUREsddpGH0F1O', 'FEATUREsddpCHNP1R'],
],
'parameters' => [
[
'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' => ''],
],
[
'name' => 'ParentTypeId',
'in' => 'query',
'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' => 'ResourceId',
'in' => 'query',
'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' => 'Status',
'in' => 'query',
'schema' => ['description' => 'The status. Valid values:'."\n"
."\n"
.'- **1**: active.'."\n"
."\n"
.'- **2**: inactive.', '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' => '1', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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' => [
'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' => [
'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' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'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' => ' ',
'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' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82036',
'abilityTreeNodes' => ['FEATUREsddpR2D59W', 'FEATUREsddpGH0F1O', 'FEATUREsddpCHNP1R'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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.',
'enumValueTitles' => [],
'type' => 'string',
'required' => false,
'example' => 'zh_cn',
'title' => '',
],
],
[
'name' => 'Id',
'in' => 'query',
'schema' => ['description' => 'The unique ID of the anomalous activity.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '789026', 'title' => ''],
],
[
'name' => 'UserId',
'in' => 'query',
'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' => 'DealUserId',
'in' => 'query',
'schema' => ['description' => 'The ID of the account that handled the anomalous activity.', 'type' => 'string', 'required' => false, 'example' => 'yundun-***', 'title' => ''],
],
[
'name' => 'Status',
'in' => 'query',
'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' => 'TypeCode',
'in' => 'query',
'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' => 'SubTypeCode',
'in' => 'query',
'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' => 'StartTime',
'in' => 'query',
'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' => 'EndTime',
'in' => 'query',
'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.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12', 'title' => ''],
],
[
'name' => 'CurrentPage',
'in' => 'query',
'schema' => ['description' => 'The page number of the page to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'InstanceName',
'in' => 'query',
'schema' => ['description' => 'The name of the data asset instance.', 'type' => 'string', 'required' => false, 'example' => 'rm-uf6yzvbc2tg90iuxk.l****', 'title' => ''],
],
[
'name' => 'ProductCode',
'in' => 'query',
'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' => 'TargetProductCode',
'in' => 'query',
'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' => 'UserName',
'in' => 'query',
'schema' => ['description' => 'The username of the RAM user.', 'type' => 'string', 'required' => false, 'example' => 'name', 'title' => ''],
],
[
'name' => 'WarnLevel',
'in' => 'query',
'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.', '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' => 'A list of anomalous activities.',
'type' => 'array',
'items' => [
'description' => 'An anomalous activity object.',
'type' => 'object',
'properties' => [
'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' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
],
],
'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"
."\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' => ' ',
'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' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'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' => [
'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' => [
[
'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' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82049',
'abilityTreeNodes' => ['FEATUREsddp2CRSZ1'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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' => 'PageSize',
'in' => 'query',
'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' => 'CurrentPage',
'in' => 'query',
'schema' => ['description' => 'The page number. Default value: **1**.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'ServiceRegionId',
'in' => 'query',
'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' => 'EngineType',
'in' => 'query',
'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' => 'InstanceId',
'in' => 'query',
'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => false, 'example' => 'instance-demo-****', 'title' => ''],
],
[
'name' => 'ProductId',
'in' => 'query',
'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' => 'ProductCode',
'in' => 'query',
'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' => 'AuditStatus',
'in' => 'query',
'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' => 'SearchType',
'in' => 'query',
'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' => 'SearchKey',
'in' => 'query',
'schema' => ['description' => 'The keyword for the fuzzy search of data assets.', 'type' => 'string', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'AuthStatus',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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' => 'A list of assets.',
'type' => 'array',
'items' => [
'description' => 'A list of assets.',
'type' => 'object',
'properties' => [
'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' => '',
],
],
],
'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'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceSources'],
],
],
'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' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82047',
'abilityTreeNodes' => ['FEATUREsddp2VFD4T'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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. 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' => 'ProductId',
'in' => 'query',
'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' => 'RiskLevelId',
'in' => 'query',
'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' => 'RuleId',
'in' => 'query',
'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 of the data asset instance. For more information, see [Supported regions](~~214257~~).', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'FeatureType',
'in' => 'query',
'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'ProductCode',
'in' => 'query',
'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' => 'PageSize',
'in' => 'query',
'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' => 'CurrentPage',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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 details of the data asset instances returned.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'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 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 data', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'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' => '',
],
],
],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
'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' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREsddp2VFD4T'],
],
'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' => ''],
],
[
'name' => 'Id',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', 'title' => ''],
'OssObjectDetail' => [
'description' => 'The details of the OSS storage object.',
'type' => 'object',
'properties' => [
'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' => '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 that is hit.',
'type' => 'object',
'properties' => [
'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' => 'The list of data tags for the detection model that is hit.',
'type' => 'array',
'items' => [
'description' => 'The data tag object of the detection model that is hit.',
'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' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'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"
.'## Before you begin'."\n"
.'The DescribeOssObjectDetail operation has been revised to DescribeOssObjectDetailV2. Use the newer version DescribeOssObjectDetailV2 when developing applications.'."\n"
."\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' => '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'],
],
'parameters' => [
[
'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"
.'- **en_us**: English (US).', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''],
],
[
'name' => 'Id',
'in' => 'query',
'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' => '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' => 'The bucket name.', 'type' => 'string', 'required' => false, 'example' => 'sddp-api-scan-demo', 'title' => ''],
],
[
'name' => 'ObjectKey',
'in' => 'query',
'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' => '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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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' => 'The details of the OSS storage object.',
'type' => 'object',
'properties' => [
'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' => '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 that is hit.',
'type' => 'object',
'properties' => [
'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' => 'The list of data tags.',
'type' => 'array',
'items' => [
'description' => 'The data tag object.',
'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 information', 'title' => ''],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
],
'title' => '',
'example' => '',
],
'title' => '',
'example' => '',
],
'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'],
'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'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOssObjectDetailV2'],
],
],
'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' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82058',
'abilityTreeNodes' => ['FEATUREsddp2VFD4T'],
],
'parameters' => [
[
'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' => ''],
],
[
'name' => 'Name',
'in' => 'query',
'schema' => ['description' => 'The search keyword. Fuzzy match is supported.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
],
[
'name' => 'RiskLevelId',
'in' => 'query',
'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 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 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 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.', '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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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' => 'A list of OSS objects.',
'type' => 'array',
'items' => [
'description' => 'An OSS object.',
'type' => 'object',
'properties' => [
'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' => '[{"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' => ' ',
'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'],
],
'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' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREsddp2CRSZ1'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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' => 'Name',
'in' => 'query',
'schema' => ['description' => 'The keyword for the search. Fuzzy matching is supported.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
],
[
'name' => 'ProductId',
'in' => 'query',
'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' => 'RiskLevelId',
'in' => 'query',
'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' => 'RuleId',
'in' => 'query',
'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' => [
'type' => 'object',
'properties' => [
'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' => 'The information about the data asset packages.',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'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\\": \\"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' => '149789',
'abilityTreeNodes' => ['FEATUREsddp2CRSZ1'],
],
'parameters' => [
[
'name' => 'CurrentPage',
'in' => 'query',
'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 per page when paging is used. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'ServiceRegionId',
'in' => 'query',
'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' => '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' => ''],
],
[
'name' => 'InstanceId',
'in' => 'query',
'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' => 'DbName',
'in' => 'query',
'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' => [
'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 data assets returned.',
'type' => 'array',
'items' => [
'description' => 'The asset details.',
'type' => 'object',
'properties' => [
'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' => '',
],
],
],
'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'],
],
'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' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82064',
'abilityTreeNodes' => ['FEATUREsddpIUNEZP'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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' => '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', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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' => [
'type' => 'object',
'properties' => [
'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\\": \\"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'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRiskLevels'],
],
],
'ramActions' => [
[
'operationType' => 'get',
'ramAction' => [
'action' => 'yundun-sddp:DescribeRiskLevels',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
],
'DescribeRules' => [
'summary' => 'Queries a list of sensitive data detection rules.',
'methods' => ['post', 'get'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82070',
'abilityTreeNodes' => ['FEATUREsddpIUNEZP'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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' => '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 paged query.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'CustomType',
'in' => 'query',
'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' => 'Category',
'in' => 'query',
'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' => 'Name',
'in' => 'query',
'schema' => ['description' => 'The name of the sensitive data detection rule. Fuzzy match is supported.', 'type' => 'string', 'required' => false, 'example' => '***Rule', 'title' => ''],
],
[
'name' => 'RiskLevelId',
'in' => 'query',
'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' => 'RuleType',
'in' => 'query',
'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' => 'MatchType',
'in' => 'query',
'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' => 'ProductCode',
'in' => 'query',
'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' => 'ProductId',
'in' => 'query',
'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' => 'WarnLevel',
'in' => 'query',
'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' => 'ContentCategory',
'in' => 'query',
'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' => 'Status',
'in' => 'query',
'schema' => ['description' => 'The status. Valid values:'."\n"
."\n"
.'- **1**: Normal'."\n"
."\n"
.'- **0**: Disabled', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'KeywordCompatible',
'in' => 'query',
'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' => 'GroupId',
'in' => 'query',
'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', '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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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' => 'A list of sensitive data detection rules.',
'type' => 'array',
'items' => [
'description' => 'The details of the sensitive data detection rule.',
'type' => 'object',
'properties' => [
'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' => '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\\": \\"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',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREsddp2VFD4T'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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' => 'Name',
'in' => 'query',
'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 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' => 'ProductCode',
'in' => 'query',
'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' => 'RiskLevelId',
'in' => 'query',
'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' => 'RuleId',
'in' => 'query',
'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' => ''],
],
[
'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' => ''],
],
[
'name' => 'PackageId',
'in' => 'query',
'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' => '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' => 'The number of the page to return. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'ServiceRegionId',
'in' => 'query',
'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' => 'The ID of the industry-specific template.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'properties' => [
'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' => 'A list of data asset tables.',
'items' => [
'properties' => [
'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' => [
'properties' => [
'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' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
],
'type' => 'object',
'description' => 'A list of data tables.',
'title' => '',
'example' => '',
],
'type' => 'array',
'title' => '',
'example' => '',
],
],
'type' => 'object',
'description' => '',
'title' => '',
'example' => '',
],
],
],
'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"
.'## QPS limits'."\n"
."\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' => ' ',
'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' => [],
],
],
'operationType' => 'read',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82084',
'abilityTreeNodes' => ['FEATUREsddpIUNEZP'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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' => [
'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' => '',
],
],
],
'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' => 'read',
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82092',
'abilityTreeNodes' => ['FEATUREsddp4GFW27', 'FEATUREsddpKPIKAW', 'FEATUREsddp7JHQOS', 'FEATUREsddpXD0XSH'],
],
'parameters' => [
[
'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' => ''],
],
[
'name' => 'FeatureType',
'in' => 'query',
'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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' => '',
],
],
],
'gatewayOptions' => [
'gatewayProtocols' => [],
],
'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"
.'## 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' => ' ',
'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' => 'write',
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82095',
'abilityTreeNodes' => ['FEATUREsddpR2D59W', 'FEATUREsddpGH0F1O', 'FEATUREsddpCHNP1R'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'AC314611-D907-5EBF-B6D8-70425E5A8643', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'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"
.'## 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' => ' ',
'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' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82098',
'abilityTreeNodes' => ['FEATUREsddpUBRQH2'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'TemplateId',
'in' => 'query',
'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' => 'Data',
'in' => 'query',
'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.', '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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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' => '',
],
],
],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
'title' => 'ExecDatamask',
'summary' => 'You can call the ExecDatamask operation to dynamically mask data.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'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'],
],
'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' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82102',
'abilityTreeNodes' => ['FEATUREsddpNV5XKZ'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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' => 'Id',
'in' => 'query',
'schema' => ['description' => 'The ID of the data masking task, represented as a number.'."\n"
."\n"
.'The data masking task ID is represented by a string of characters. You can call the DescribeDataMaskingTasks operation to obtain the ID.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response object.',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7C3AC882-E5A8-4855-BE77-B6837B695EF1', 'title' => ''],
],
'title' => '',
'example' => '',
],
],
],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
'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' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREsddpIUXEIF'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'BucketName',
'in' => 'query',
'schema' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'required' => true, 'example' => 'sddp-api-demo-bucket', 'title' => ''],
],
[
'name' => 'ObjectKey',
'in' => 'query',
'schema' => ['description' => 'The full key of the object stored in OSS.', 'type' => 'string', 'required' => true, 'example' => 'dir1/test.png', 'title' => ''],
],
[
'name' => 'ServiceRegionId',
'in' => 'query',
'schema' => ['description' => 'The region where the bucket is located.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'name' => 'MaskRuleIdList',
'in' => 'query',
'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' => 'IsSupportRestore',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '136082B3-B21F-5E9D-B68E-991FFD205D24'],
],
'title' => '',
'description' => 'Response schema',
'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'],
'title' => 'MaskOssImage',
'description' => '**Prerequisites**'."\n"
."\n"
.'To use this operation, you must have an image masking quota. Each call deducts one unit from your quota.'."\n"
."\n"
.'**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' => 'write',
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82106',
'abilityTreeNodes' => ['FEATUREsddp2CRSZ1'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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 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' => 'ResourceType',
'in' => 'query',
'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' => 'ServiceRegionId',
'in' => 'query',
'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' => 'UserName',
'in' => 'query',
'schema' => ['description' => 'The username used for the DSC connection authorization to the RDS database.', 'type' => 'string', 'required' => false, 'example' => 'User01', 'title' => ''],
],
[
'name' => 'Password',
'in' => 'query',
'schema' => ['description' => 'The password used for the DSC connection authorization to the RDS database.', 'type' => 'string', 'required' => false, 'example' => '********', 'title' => ''],
],
[
'name' => 'ModifyPassword',
'in' => 'query',
'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' => 'AuditStatus',
'in' => 'query',
'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' => 'LogStoreDay',
'in' => 'query',
'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' => 'EngineType',
'in' => 'query',
'schema' => ['description' => 'The database type. Valid values:'."\n"
.'- **MySQL**'."\n"
.'- **SQLServer**', 'type' => 'string', 'required' => false, 'example' => 'MySQL', 'title' => ''],
],
[
'name' => 'Port',
'in' => 'query',
'schema' => ['description' => 'The port used to connect to the database.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3306', 'title' => ''],
],
[
'name' => 'AutoScan',
'in' => 'query',
'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' => 'SamplingSize',
'in' => 'query',
'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' => 'VpcId',
'in' => 'query',
'schema' => ['description' => 'The VPC ID to which the data asset belongs.', 'type' => 'string', 'required' => false, 'example' => 'vpc-2zevcqke6hh09c41****', 'title' => ''],
],
[
'name' => 'SecurityGroupIdList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'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,
'maxItems' => 5,
'title' => '',
'example' => '',
],
],
[
'name' => 'VSwitchIdList',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
'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,
'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' => [
'type' => 'object',
'properties' => [
'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' => '',
],
],
],
'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'],
],
'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' => 'write',
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82112',
'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' => ''],
],
[
'name' => 'DefaultId',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '208B016D-4CB9-4A85-96A5-0B8ED1EBF271', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'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' => ' ',
'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' => 'write',
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREsddpGH0F1O', 'FEATUREsddpR2D59W'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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' => 'Id',
'in' => 'query',
'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' => 'Backed',
'in' => 'query',
'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' => 'DealReason',
'in' => 'query',
'schema' => ['description' => 'The reason for handling the anomalous activity.', 'type' => 'string', 'required' => false, 'example' => 'Confirmed as violation', 'title' => ''],
],
[
'name' => 'Status',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '8491DBFD-48C0-4E11-B6FC-6F38921244A9', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'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' => ' ',
'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' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82115',
'abilityTreeNodes' => ['FEATUREsddpR2D59W', 'FEATUREsddpGH0F1O', 'FEATUREsddpCHNP1R'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'schema' => ['description' => 'The language of the request and response. Valid values:- **zh**: Chinese- **en**: English.', 'type' => 'string', 'required' => false, 'example' => 'zh', 'title' => ''],
],
[
'name' => 'SubTypeIds',
'in' => 'query',
'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' => 'FeatureType',
'in' => 'query',
'schema' => ['description' => 'This parameter is deprecated.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'description' => 'The response parameters.',
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '208B016D-4CB9-4A85-96A5-0B8ED1E*****', 'title' => ''],
],
'title' => '',
'example' => '',
],
],
],
'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' => [
[
'AK' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '118114',
'abilityTreeNodes' => ['FEATUREsddp6DN9CR'],
],
'parameters' => [
[
'name' => 'ReportTaskStatus',
'in' => 'query',
'schema' => ['description' => 'The status to set for the report task. Valid values:'."\n"
."\n"
.'- **0**: Disable'."\n"
."\n"
.'- **1**: Enable'."\n"
."\n"
.'>'."\n"
."\n"
.'This parameter is required.'."\n"
."\n"
.'>', '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' => '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**: Chinese'."\n"
."\n"
.'- **en\\_us**: English', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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' => '',
],
],
],
'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"
.'## 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, which may affect your business. We recommend that you call this operation at a reasonable rate.',
'responseParamsDescription' => ' ',
'extraInfo' => ' ',
'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'],
],
],
'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' => 'readAndWrite',
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82121',
'abilityTreeNodes' => ['FEATUREsddpEFXM0Z'],
],
'parameters' => [
[
'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"
.'- **en_us**: English (US).', 'type' => 'string', 'required' => false, 'example' => 'zh_cn', 'title' => ''],
],
[
'name' => 'Id',
'in' => 'query',
'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' => '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.', 'type' => 'string', 'required' => true, 'example' => 'esw', 'title' => ''],
],
[
'name' => 'Category',
'in' => 'query',
'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' => 'Content',
'in' => 'query',
'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' => 'RiskLevelId',
'in' => 'query',
'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' => 'RuleType',
'in' => 'query',
'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' => 'ProductCode',
'in' => 'query',
'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' => 'ProductId',
'in' => 'query',
'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' => 'WarnLevel',
'in' => 'query',
'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' => 'MatchType',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7C3AC882-E5A8-4855-BE77-B6837B695EF1', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'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"
.'## 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' => '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' => [],
],
],
'operationType' => 'write',
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82123',
'abilityTreeNodes' => ['FEATUREsddpEFXM0Z'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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' => 'Id',
'in' => 'query',
'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' => 'Ids',
'in' => 'query',
'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' => 'Status',
'in' => 'query',
'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' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
'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' => '',
],
],
],
'eventInfo' => [
'enable' => false,
'eventNames' => [],
],
'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' => ' ',
'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' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeNodes' => ['FEATUREsddpIUXEIF'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'Bucket',
'in' => 'query',
'schema' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'required' => true, 'example' => 'test-sddp', 'title' => ''],
],
[
'name' => 'ObjectKey',
'in' => 'query',
'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' => ['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' => '',
],
],
],
'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'],
'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' => '236601',
'abilityTreeNodes' => ['FEATUREsddpXMFUF8'],
],
'parameters' => [
[
'name' => 'ServiceRegionId',
'in' => 'query',
'schema' => ['description' => 'The ID of the region where the OSS bucket is located.', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou', 'title' => ''],
],
[
'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' => '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,
'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' => ['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' => ''],
],
'example' => '',
],
],
],
'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'],
],
],
'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' => 'write',
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '82133',
'abilityTreeNodes' => ['FEATUREsddpNV5XKZ'],
],
'parameters' => [
[
'name' => 'Lang',
'in' => 'query',
'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' => 'Id',
'in' => 'query',
'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' => [
'type' => 'object',
'properties' => [
'RequestId' => ['description' => 'The ID of the request.', 'type' => 'string', 'example' => '769FB3C1-F4C9-42DF-9B72-7077A8989C13', 'title' => ''],
],
'description' => '',
'title' => '',
'example' => '',
],
],
],
'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' => '*'],
],
],
],
],
'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'],
],
'createdAt' => '2025-01-13T06:27:57.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Request parameters changed', 'api' => 'DescribeRules'],
],
'createdAt' => '2024-12-17T07:08:35.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'DescribeUserStatus'],
],
'createdAt' => '2024-10-25T08:51:52.000Z',
'description' => '',
],
[
'apis' => [
['description' => 'Response parameters changed', 'api' => 'DescribeUserStatus'],
],
'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' => '*'],
],
],
],
[
'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',
'ramAction' => [
'action' => 'yundun-sddp:ScanOssObjectV1',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'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',
'ramAction' => [
'action' => 'yundun-sddp:MaskOssImage',
'authLevel' => 'operate',
'actionConditions' => [
['conditionKey' => 'acs:ResourceGroupId', 'validationType' => 'always'],
],
'resources' => [
['validationType' => 'always', 'product' => 'SDDP', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
[
'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' => '*'],
],
],
],
],
'resourceTypes' => [],
],
];