Domain name for API request: cwp.intl.tencentcloudapi.com.
This API is used to set scheduled scan.
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: ModifyMalwareTimingScanSettings. |
| Version | Yes | String | Common Params. The value used for this API: 2018-02-28. |
| Region | No | String | Common Params. This parameter is not required. |
| CheckPattern | Yes | Integer | Detection mode. 0: full disk detection; 1: rapid detection |
| StartTime | Yes | String | Start time of the detection window, for example, 02:00:00 |
| EndTime | Yes | String | Timeout end time of the detection window, for example, 04:00:00 |
| IsGlobal | Yes | Integer | Whether all servers are selected. 1: All; 2: Custom |
| EnableScan | Yes | Integer | Scheduled detection switch. 0: off; 1: on |
| MonitoringPattern | Yes | Integer | Monitoring mode. 0: standard; 1: deep |
| Cycle | Yes | Integer | Scan cycle. Default: daily (1) |
| RealTimeMonitoring | Yes | Integer | Real-time monitoring. 0: off; 1: on |
| QuuidList.N | No | Array of String | A string array of host QUUIDs, required when custom servers are selected |
| AutoIsolation | No | Integer | Whether to isolate automatically: 1 - yes; 0 - no |
| KillProcess | No | Integer | Whether to terminate the process: 1: terminate; 0: not terminate |
| DoClean | No | Integer | 1: Clean; 0: Do not clean |
| EngineType | No | Integer | 1: Standard mode (reports only critical and high-risk items); 2: Enhanced mode (reports critical, high-risk, and medium-risk items); 3: Strict mode (reports critical, high-, medium-, and low-risk items, plus informational items) |
| EnableInspiredEngine | No | Integer | Heuristic engine switch. 0: off; 1: on |
| EnableMemShellScan | No | Integer | Whether malicious process termination is enabled [0: disabled, 1: enabled] |
| ProtectMode | No | Integer | Protection mode. 0: Standard; 1: Critical-period protection |
| ProtectFileScope | No | Integer | Scan scope. 0: Malicious files other than script files; 1: All malicious files |
| QuaraUuids.N | No | Array of String | Selected hosts for isolation |
| QuaraScope | No | Integer | Isolation scope selected by the user. 0: Full isolation by default; 1: Custom |
| ProductType | No | Integer | Product type. 0:CWP (default); 1:CSC |
| Parameter Name | Type | Description |
|---|---|---|
| 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: cwp.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyMalwareTimingScanSettings
<Common request parameters>
{
"EnableScan": "1",
"CheckPattern": "0",
"IsGlobal": "1",
"MonitoringPattern": "0",
"StartTime": "02:00:00",
"RealTimeMonitoring": "1",
"EndTime": "04:00:00",
"Cycle": "1"
}
{
"Response": {
"RequestId": "007863e7-fce9-49c2-9561-16bc2a522620"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation | Operation failed. |
| FailedOperation.APIServerFail | Failed to invoke the API service. |
| InternalError | Internal error |
| InvalidParameter | Incorrect parameter. |
| InvalidParameter.DateRange | Incorrect time range format. |
| InvalidParameter.IllegalRequest | Invalid request. |
| InvalidParameter.InvalidFormat | Incorrect parameter format. |
| InvalidParameter.MissingParameter | Missing parameter. |
| InvalidParameter.ParsingError | Incorrect parameter parsing. |
| InvalidParameterValue | Invalid parameter value. |
| MissingParameter | Missing parameter error. |
| ResourceNotFound | The resource does not exist. |
フィードバック