Tenant Cloud
Security
Cloud Workload Protection Platform
Intrusion Detection - High-Risk Command APIs
DescribeBashRules
1. Interface Description
Interface request domain name: cwp.api3.convergecloud.com.
API for querying anti-high-risk command rules
Default interface request rate limit: 20 times per second.
Interface update time: 2022-05-20 15:12:33.
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: DescribeBashRules |
| 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. |
| Filters | No | No | Array of Filter | Filtering conditions. Example:View |
| Limit | No | No | Uint64 | Maximum number of entries to return. Maximum value: 100. Example: 10 |
| Offset | No | No | Uint64 | Offset. Default value: 0. Example: 0 |
| Type | Yes | No | Uint64 | 0: system rule. 1: custom rule. Example: 1 |
3. Output Parameters
| Parameter name | Type | Description |
|---|---|---|
| List | Array of BashRule | The entries returned. Example:View |
| TotalCount | Uint64 | Total number. Example: 12 |
| 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.ParsingError | Parameter parsing error. |
| InvalidParameter.MissingParameter | Missing parameter. |
| InvalidParameter.InvalidFormat | Incorrect parameter format. |
| MissingParameter | Missing parameter. |
| ResourceNotFound | The resource does not exist. |
| InvalidParameter.IllegalRequest | Invalid request. |
| InvalidParameter | Invalid parameter. |
| InvalidParameterValue | The parameter value is invalid. |