Tenant Cloud
Security
Cloud Workload Protection Platform
Vulnerability Management APIs
DescribeVulCountByDates
1. Interface Description
Interface request domain name: cwp.api3.convergecloud.com.
This API is used to query the number of vulnerabilities and number of servers of the specified type within the most recent days in the vulnerability management module.
Default interface request rate limit: 20 times per second.
Interface update time: 2022-05-20 15:11:35.
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: DescribeVulCountByDates |
| 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. |
| IfEmergency | No | No | String | Specifies whether it is an emergency vulnerability. To filter the query results based on this condition, set this parameter to yes Example: 0 |
| LastDays | No | No | Array of Uint64 | Number of past days for data query. Subtract 1 from the actual number of days and fill in the value. Example: [1] |
| VulCategory | No | No | Uint64 | Vulnerability type. 1: Web-CMS vulnerability. 2: application vulnerability. 4: Linux software vulnerability. 5: Windows system vulnerability. Example: 1 |
3. Output Parameters
| Parameter name | Type | Description |
|---|---|---|
| HostCount | Array of Uint64 | Number of servers by days. Example: [39] |
| VulCount | Array of Uint64 | Number of vulnerabilities by days. Example: [167] |
| 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. |
| InvalidParameter.ParsingError | Parameter parsing error. |
| InvalidParameter.MissingParameter | Missing parameter. |
| MissingParameter | Missing parameter. |
| InvalidParameter | Invalid parameter. |
| InvalidParameterValue | The parameter value is invalid. |