Queries the vulnerabilities that are supported by Cloud Firewall.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
yundun-cloudfirewall:DescribeVulnerabilityProtectedList | get |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
SourceIpdeprecated | string | No | The IP address of the access source. | 112.239.XX.XX |
Lang | string | No | The language of the content within the response. Valid values:
| zh |
StartTime | string | Yes | The beginning of the time range to query. The value is a UNIX timestamp. Unit: seconds. | 1655778046 |
EndTime | string | Yes | The end of the time range to query. The value is a UNIX timestamp. Unit: seconds. | 1646063922 |
VulnStatus | string | No | The status of vulnerability protection. Valid values:
| protected |
VulnCveName | string | No | The Common Vulnerabilities and Exposures (CVE) ID of the vulnerability. | CVE-2022-2992 |
AttackType | string | No | The attack type of the vulnerability prevention event. Valid values:
Note
If you do not specify this parameter, the intrusion events of all attack types are queried.
| 13 |
VulnType | string | No | The type of the vulnerability. Valid values:
| emg |
VulnLevel | string | No | The risk level of the vulnerability. Valid values:
| medium |
CurrentPage | string | No | The number of the page to return. Default value: 1. | 1 |
PageSize | string | No | The number of entries to return on each page. Maximum value: 50. | 10 |
SortKey | string | No | The sorting basis. Set the value to attackCnt, which indicates the number of attacks. | attackCnt |
Order | string | No | The order in which you want to sort the queried information. Valid values:
| desc |
VulnResource | string | No | The number of assets that are affected by the vulnerability. | 1 |
UserType | string | No | The type of the user. Set the value to buy, which indicates user of a paid edition of Cloud Firewall. | buy |
BuyVersion | long | No | The edition of Cloud Firewall. If you use Cloud Firewall that uses the pay-as-you-go billing method, set the value to 10. You do not need to specify this parameter for other editions. | 10 |
MemberUid | string | No | The UID of the member that is managed by your Alibaba Cloud account. | 258039427902**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "D355C631-1537-59C5-A56E-F6C5037B99E5",
"TotalCount": 5,
"ZeroResourceCount": 1,
"VulnList": [
{
"VulnName": "Deserialization vulnerability of arbitrary code execution in Fastjson 1.2.80 and earlier versions\n",
"AttackType": 13,
"NeedRuleClass": 1,
"VulnType": "emg",
"VulnKey": "dedecms-archive.helper.php-vul",
"VulnLevel": "high",
"NeedOpenBasicRule": false,
"CveId": "12112131123, 1231123112",
"FirstTime": 1608687364,
"BasicRuleIds": "12,12",
"LastTime": 1608687364,
"NeedOpenVirtualPatcheUuids": "UUID-1231231234",
"NeedOpenBasicRuleUuids": "UUID-1231231",
"NeedOpenVirtualPatche": true,
"VirtualPatcheIds": "13,13",
"HighlightTag": 0,
"NeedOpenRunMode": true,
"VulnStatus": "protected",
"AttackCnt": 0,
"ResourceCnt": 0,
"MemberUid": "119384235299****",
"ResourceList": [
{
"ResourceType": "EIP",
"Eip": "203.107.XX.XX",
"InternetIp": "47.96.XX.XX",
"VulnStatus": "protected",
"ResourceId": "vfw-m5e7dbc4y****",
"ResourceName": "ECS",
"IntranetIp": "192.168.XX.XX",
"RegionId": "cn-beijing"
}
]
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
400 | ErrorAttackTypeError | attack type invalid. | The specified type is invalid. Select again. |
400 | ErrorPageNo | Either page number or page size is invalid. | Either page number or page size is invalid. |
400 | ErrorParameters | A parameter error occurred. | A parameter error occurred. |
400 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
400 | ErrorMarshalJSON | internal error. | Internal error. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-08-29 | The Error code has changed | View Change Details |