Tenant Cloud
Security
Cloud Workload Protection Platform
Advanced Defense APIs
ModifyNetAttackSetting
1. Interface Description
Interface request domain name: cwp.api3.convergecloud.com.
Yunapi Response
Default interface request rate limit: 20 times per second.
Interface update time: 0001-01-01 00:00:00.
The interface is both signature verification and authentication.
2. Input Parameters
The following list of request parameters only lists interface request parameters and some public parameters, For a complete list of public parameters see public request parameters.
| Parameter name | Required | Allow NULL | Type | Description |
|---|---|---|---|---|
| Action | Yes | No | String | Public parameter, The value of this interface: ModifyNetAttackSetting |
| Version | Yes | No | String | Public parameter, The value of this interface: 2018-02-28 |
| Region | No | No | String | Public parameter,Regional information This interface does not need to pass this parameter. |
| AutoInclude | No | No | Uint64 | New assets automatically include: 0 - Do not include, 1 - include. Example: 1 |
| ExcludeInstanceIds | No | No | Array of String | Manually Excluded Hosts Example: ["inst-d92d"] |
| InstanceIds | No | No | Array of String | Specified servers Example: ["inst-d92d"] |
| MemberId | No | No | Array of String | Group Account Member ID Example: [{"mem-6wfo0fzks3","mem-85fo0fzks4"}] |
| NetAttackAlarmStatus | Yes | No | Uint64 | 0: New warning events pending processing by default, 1: New warning events processed by default, 3: New warning events ignored by default Example: 1 |
| NetAttackEnable | Yes | No | Uint64 | 0 - Disable Network Attack Detection, 1 - Enable Network Attack Detection. Example: 1 |
| Scope | No | No | Uint64 | 1: all servers with CWP Ultimate. 0: selected servers. Example: 1 |
3. Output Parameters
| Parameter name | Type | Description |
|---|---|---|
| RequestId | String | Unique request id, Each request will return. The RequestId of the request needs to be provided when locating the problem. |
4. Error Code
The following lists only the error codes related to the interface business logic, For other error codes, see public ErrorCode.
| Error Code | Description |
|---|---|
| InternalError | Internal error. |
| MissingParameter | Missing parameter. |
| ResourceNotFound | The resource does not exist. |
| InvalidParameter | Invalid parameter. |
| OperationDenied | Operation denied. |
| InvalidParameterValue | The parameter value is invalid. |