Tenant Cloud
Security
Cloud Workload Protection Platform
Baseline Management APIs (New)
ModifyBaselineRule
1. Interface Description
Interface request domain name: cwp.api3.convergecloud.com.
API for modifying baseline check rules
Default interface request rate limit: 20 times per second.
Interface update time: 2022-08-23 12:06:12.
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: ModifyBaselineRule |
| 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. |
| CategoryIds | No | No | Array of Uint64 | Selected detection item category. Example: [100,101] |
| Data | Yes | No | BaselineRule | Data content Example:View |
| ExcludeIds | No | No | Array of Uint64 | ID of the detection item to be excluded. Example: [142] |
| Filters | No | No | Array of Filter | Example:View |
| IdType | No | No | Uint64 | 0: detection item, 1: detection item category. Example: 0 |
| SelectAll | No | No | Int64 | Specifies whether to select all. 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. |
| InvalidParameter | Invalid parameter. |
| FailedOperation | Operation failed. |