DescribeAssetRiskList
Retrieves the list of asset risk levels.
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 requester. |
47.100.XX.XX |
| Lang |
string |
No |
The language of the notification. Valid values:
|
zh |
| IpVersion |
integer |
Yes |
The IP version of the asset 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 actually required. If you do not specify this parameter, 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 |
|||
| AssetList |
array<object> |
The details of the returned assets. |
|
|
object |
The details of the returned assets. |
||
| Ip |
string |
The IP address of the server. |
39.108.XX.XX |
| IpVersion |
integer |
The IP version of the asset protected by Cloud Firewall. Valid values:
|
4 |
| Reason |
string |
The cause of the risk. |
other |
| RiskLevel |
string |
The risk level. Valid values:
|
low |
| RequestId |
string |
The ID of the request. |
443C5781-1C03-5FCD-8EC5-FB9C0B9AC396 |
| TotalCount |
integer |
The total number of returned entries. |
12 |
Examples
Success response
JSON format
{
"AssetList": [
{
"Ip": "39.108.XX.XX",
"IpVersion": 4,
"Reason": "other",
"RiskLevel": "low"
}
],
"RequestId": "443C5781-1C03-5FCD-8EC5-FB9C0B9AC396",
"TotalCount": 12
}
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.