Tenant Cloud
Security
Cloud Workload Protection Platform
Intrusion Detection - Reverse Shell APIs
ModifyReverseShellRulesAggregation
1. Interface Description
Interface request domain name: cwp.api3.convergecloud.com.
This API is used to edit reverse shell rules for the aggregated version. (It supports multiple server selection and regular expressions.)
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: ModifyReverseShellRulesAggregation |
| 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. |
| DestIp | No | No | String | Target IP address. Example: 172.17.0.2 |
| DestPort | No | No | String | Target port. Example: 80 |
| EventId | No | No | Uint64 | ID of the event, which must be passed in when you add the event to the allowlist. If you create a rule, leave this parameter empty. Example: 12 |
| GroupID | No | No | String | Batch ID. Example: 85c909fe-c87c-11e9-a100-5cb90191ae78 |
| HandleHistory | No | No | Uint64 | Whether to process historical events. 0: no, 1: yes. Example: 1 |
| HostIp | No | No | String | Server IP address. Example: 172.17.0.2 |
| Id | No | No | Uint64 | Rule ID. If you want to create a rule, leave this parameter empty. Example: 1 |
| IsGlobal | No | No | Uint64 | Specifies whether it is a global rule. It is not a global rule by default. Example: 1 |
| ProcessName | No | No | String | Process name. Example: nginx |
| RuleRegexp | No | No | String | Base64-encoded rule (regular expression). Example: c2ggcmVkaXMuc2g= |
| Uuids | No | No | Array of String | Agent IDs. Example: ["a9fe0359-04d9-417f-ab6d-4941891d6c4b"] |
| WhiteType | No | No | Uint64 | Allowlisting method. 0: regular allowlisting, 1: regular expression allowlisting. 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. |