Domain name for API request: cwp.intl.tencentcloudapi.com.
This API is used to query the configuration for regular detection.
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: DescribeScanVulSetting. |
Version | Yes | String | Common Params. The value used for this API: 2018-02-28. |
Region | No | String | Common Params. This parameter is not required. |
Parameter Name | Type | Description |
---|---|---|
VulCategories | String | Vulnerability type: 1 - web-cms vulnerabilities; 2 - application vulnerabilities; 4 - Linux software vulnerabilities; 5 - Windows system vulnerabilities |
VulLevels | String | Severity level: 1 - low-risk; 2 - medium-risk; 3 - high-risk; 4 - critical (multiple selections are separated by English commas) |
TimerInterval | Integer | Regular detection interval (days) |
TimerTime | String | Regular detection time, such as 00:00 |
VulEmergency | Integer | Whether an emergency vulnerability: 0 - no; 1 - yes |
StartTime | String | Start time |
EnableScan | Integer | Whether enabled |
EndTime | String | End time |
ClickTimeout | Integer | One-click scan timeout duration, such as 1800 seconds |
Uuids | Array of String | If empty, scan hosts with all Professional, Premium, and General Discount editions by default; if not empty, only scan the selected hosts. |
ScanMethod | Integer | |
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. |
This example shows you how to use AppID to query the information about scheduled detection configuration.
https://cwp.intl.tencentcloudapi.com/?Action=DescribeScanVulSetting
&<Common request parameters>
{
"Response": {
"ClickTimeout": 0,
"EnableScan": 0,
"EndTime": "23:50",
"RequestId": "54111d3a-373d-4175-80dd-8d855b595647",
"ScanMethod": 0,
"StartTime": "00:40",
"TimerInterval": 1,
"TimerTime": "00:40",
"Uuids": [],
"VulCategories": "4;5;1;2",
"VulEmergency": 1,
"VulLevels": "1;2;3;4"
}
}
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 |
---|---|
InternalError.MainDBFail | Failed to manipulate the data. |
InvalidParameter | Incorrect parameter. |
InvalidParameter.MissingParameter | Missing parameter. |
InvalidParameter.ParsingError | Incorrect parameter parsing. |
InvalidParameterValue | Invalid parameter value. |
MissingParameter | Missing parameter error. |
Was this page helpful?