Retrieves the risk level list of assets.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeAssetRiskList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the request. |
47.100.XX.XX |
| Lang |
string |
No |
The language type of the response message. Valid values:
|
zh |
| IpVersion |
integer |
Yes |
The IP version of the assets protected by Cloud Firewall. Valid values:
|
4 |
| IpAddrList |
array |
No |
The list of IP addresses to query. Separate multiple IP addresses with commas (,). You can query up to 20 IP addresses at a time. This parameter is required in practice. If this parameter is not specified, the API returns a 400 error. Note
|
|
|
string |
No |
The list of IP addresses to query. Separate multiple IP addresses with commas (,). You can query up to 20 IP addresses at a time. Note
|
47.97.XX.XX |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total number of entries returned. |
12 |
| RequestId |
string |
The request ID. |
443C5781-1C03-5FCD-8EC5-FB9C0B9AC396 |
| AssetList |
array<object> |
The asset details returned. |
|
|
object |
The asset details returned. |
||
| RiskLevel |
string |
The risk level. Valid values:
|
low |
| Ip |
string |
The server IP address. |
39.108.XX.XX |
| IpVersion |
integer |
The IP address version of the assets protected by Cloud Firewall. Valid values:
|
4 |
| Reason |
string |
The risk reason. |
other |
Examples
Success response
JSON format
{
"TotalCount": 12,
"RequestId": "443C5781-1C03-5FCD-8EC5-FB9C0B9AC396",
"AssetList": [
{
"RiskLevel": "low",
"Ip": "39.108.XX.XX",
"IpVersion": 4,
"Reason": "other"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorParameters | A parameter error occurred. | A parameter error occurred. |
| 400 | MissingParameter.IpAddrList | The required parameter 'IpAddrList' is missing. Provide at least one IP address in IpAddrList. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.