Domain name for API request: csip.intl.tencentcloudapi.com.
This API is used to query vulnerability scan settings.
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: DescribeVulScanPeriodic. |
| Version | Yes | String | Common Params. The value used for this API: 2022-11-21. |
| Region | No | String | Common Params. This parameter is not required. |
| MemberId.N | No | Array of String | Group account member id |
| Parameter Name | Type | Description |
|---|---|---|
| Status | Integer | Periodic scan switch (0-Disable, 1-Enable) |
| VulCategory | Array of String | Vulnerability type Enumeration values:
|
| Level | Array of String | Vulnerability level (INVALID: invalid, INFO: notification, LOW: low risk, MEDIUM: medium risk, HIGH: high risk, CRITICAL: critical) |
| Method | String | Scan mode (VersionCompare: version comparison, POC: POC detection, VersionComparePOC: version comparison + POC detection) |
| CycleType | Integer | Periodic scan type Enumeration values:
|
| StartTime | String | Start time (09:00:00) |
| EndTime | String | End time (18:00:00) |
| AssetRange | Integer | Asset scope (0 - all assets, 1 - custom asset, 2 - remove asset) |
| AssetList | Array of String | Asset list (instance_id list) |
| CycleValue | Array of Integer | Cycle value Unit: day of the week or day per month |
| Timeout | Integer | Timeout duration Unit: seconds |
| AllowSync | Integer | Whether to run the synchronized configuration. 0: not allowed, 1: allowed |
| EnableSync | Integer | Whether automatic synchronization is enabled for the admin account. 0: disabled, 1: enabled |
| AdminInfo | AccountBriefInfo | Which account the configuration message comes from. Being empty indicates it is set by oneself. |
| TagIds | Array of Integer | Tag id |
| PreferCloudSource | Boolean | Whether to prefer Tencent Cloud software sources |
| 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: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeVulScanPeriodic
<Common request parameters>
{}
{
"Response": {
"AssetList": [
"1****************************566****"
],
"AssetRange": 0,
"CycleType": 2,
"CycleValue": [
3
],
"EndTime": "03:00",
"Level": [
"MEDIUM"
],
"Method": "VersionCompare",
"StartTime": "01:00",
"Status": 0,
"Timeout": 3600,
"VulCategory": [
"LINUX"
],
"RequestId": "a9d0215e-0255-4b0a-8406-722d59c62f75"
}
}
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 | Internal error. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan