Modifies configuration items for a data asset that you authorize Data Security Center (DSC) to access.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Lang | string | No | The language of the content within the request and response. Valid values:
| zh |
Id | long | Yes | The unique ID of the data asset for which you want to modify configuration items. Note
You can call the DescribeDataLimits operation to query the ID of the data asset.
| 11 |
ResourceType | integer | Yes | The name of the service to which the data asset belongs. Valid values:
| 5 |
ServiceRegionId | string | No | The region in which the data asset resides. Valid values:
| cn-hangzhou |
UserName | string | No | The username used to log on to the ApsaraDB RDS database that you authorize DSC to access. | User01 |
Password | string | No | The password used to log on to the ApsaraDB RDS database that you authorize DSC to access. | ******** |
ModifyPassword | boolean | No | Specifies whether to change the username and password that are used to log on to the ApsaraDB RDS database. Valid values:
| true |
AuditStatus | integer | No | Specifies whether to enable the security audit feature. Valid values:
| 1 |
LogStoreDay | integer | No | The retention period of raw logs after you enable the security audit feature. Unit: days. Valid values:
| 30 |
EngineType | string | No | The database engine that is run by the instance. Valid values:
| MySQL |
Port | integer | No | The port that is used to connect to the database. | 3306 |
AutoScan | integer | No | Specifies whether to automatically trigger a re-scan after a rule is modified. Valid values:
Note
When a re-scan is triggered, DSC scans all data in your data asset.
| 1 |
SamplingSize | integer | No | The number of sensitive data samples tht are collected after sensitive data detection is enabled. Valid values:
| 0 |
VpcId | string | No | The ID of the virtual private cloud (VPC) to which the data asset belongs. | vpc-2zevcqke6hh09c41**** |
SecurityGroupIdList | array | No | The security group that is used by PrivateLink when you install the DSC agent. | |
string | No | sg-bp113yf20quxkvy**** | ||
VSwitchIdList | array | No | The vSwitch that is used by PrivateLink when you install the DSC agent. | |
string | No | vsw-bp1kk2mtrtey7o4ju**** | ||
FeatureType | integer | No | This parameter is deprecated. | 2 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "7C3AC882-E5A8-4855-BE77-B6837B695EF1"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
2024-03-25 | The request parameters of the API has changed | see changesets | ||||||||
| ||||||||||
2022-07-18 | The request parameters of the API has changed | see changesets | ||||||||
|