Domain name for API request: cwp.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.tencentcloudapi.com/?Action=DescribeScanVulSetting
&<Common request parameters>
{
"Response": {
"VulCategories": "abc",
"VulLevels": "abc",
"TimerInterval": 1,
"TimerTime": "abc",
"VulEmergency": 1,
"StartTime": "abc",
"EnableScan": 1,
"EndTime": "abc",
"ClickTimeout": 1,
"Uuids": [
"abc"
],
"ScanMethod": 1,
"RequestId": "abc"
}
}
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. |
この記事はお役に立ちましたか?