EnableSdlProtectedAsset
Enables Sensitive Data Leak (SDL) protection for assets. Before calling this operation, ensure that the SDL feature is activated. You can query DescribeUserBuyVersion.Sdl to check the status. A value of 1 indicates that the feature is activated.
Operation description
Enables data leak detection (SDL) protection for the specified assets.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:EnableSdlProtectedAsset |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| IpList |
array |
Yes |
The list of IP addresses of the assets. At least one IP address is required to enable protection. |
|
|
string |
No |
The IP address of the asset. |
47.99.108.XX |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
15FCCC52-1E23-57AE-B5EF-3E00A3****** |
Examples
Success response
JSON format
{
"RequestId": "15FCCC52-1E23-57AE-B5EF-3E00A3******\n"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorParamsInvalid | Invalid Params | The parameter is invalid. |
| 400 | ErrorInstanceStatusNotNormal | This operation is not supported when the instance is in the current state. | This operation is not supported when the instance is in the current state. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.