Domain name for API request: csip.intl.tencentcloudapi.com.
This API is used to configure protection settings for the major event protection package.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ModifyProtectionSetting. |
| Version | Yes | String | Common Params. The value used for this API: 2022-11-21. |
| Region | No | String | Common Params. This parameter is not required. |
| AssetType | Yes | String | Asset type - CWP host security asset - TCSS_HOST container host node -TCSS_EKS container super node |
| Config.N | No | Array of ModifyProtectionSetting | Protection configuration |
| IsALL | No | Boolean | Whether to include all. This field must be used in conjunction with Filters. |
| Filters.N | No | Array of Filters | Filter parameter. This parameter takes effect when IsALL is set to true, indicating that the filtered results apply to Config. |
| Parameter Name | Type | Description |
|---|---|---|
| FailList | Array of String | QUUID that failed to be bound because no authorization package for major event protection is bound. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyProtectionSetting
<Common request parameters>
{
"AssetType": "CWP",
"Config": [
{
"QUUID": "",
"Enable": 0,
"VulDefEnable": 0,
"VulDefMode": 0,
"VulDefAction": 0,
"MemShellDefEnable": 0,
"PerformanceLimit": 0,
"PerformanceLimitCpu": 0,
"PerformanceLimitMem": 0,
"PerformanceLimitMemAmount": 0,
"SafeInject": 0
}
]
}
{
"Response": {
"RequestId": "00780acf-7f35-4717-b319-759b3ac5bed6"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback