All Products
Search
Document Center

Cloud Firewall:DescribeAssetRiskList

Last Updated:Sep 04, 2024

Queries the risk levels of assets.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-cloudfirewall:DescribeAssetRiskListget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
SourceIpstringNo

The source IP address of the request.

47.100.XX.XX
LangstringNo

The language of the content within the response. Valid values:

  • zh (default): Chinese
  • en: English
zh
IpVersionintegerYes

The IP version of the asset that is protected by Cloud Firewall.

Valid values:

  • 4 (default): IPv4
  • 6: IPv6
4
IpAddrListarrayYes

The IP addresses to query. Separate the IP addresses with commas (,). You can specify up to 20 IP addresses at a time.

Note
  • Example IPv4 address: 47.97.XX.XX.

  • Example IPv6 address: 2001:db8:ffff:ffff:ffff:XXXX:ffff.

stringYes

The IP address to query.

Note
  • Example IPv4 address: 47.97.XX.XX.

  • Example IPv6 address: 2001:db8:ffff:ffff:ffff:XXXX:ffff.

47.97.XX.XX

Response parameters

ParameterTypeDescriptionExample
object
TotalCountlong

The total number of entries returned.

12
RequestIdstring

The ID of the request.

443C5781-1C03-5FCD-8EC5-FB9C0B9AC396
AssetListarray<object>

The details of the assets.

object

The details of the asset.

RiskLevelstring

The risk level. Valid values:

  • low
  • middle
  • high
low
Ipstring

The IP address of the server.

39.108.XX.XX
IpVersionlong

The IP version of the asset that is protected by Cloud Firewall.

Valid values:

  • 4: IPv4
  • 6: IPv6
4
Reasonstring

The reason for the risk.

other

Examples

Sample success responses

JSONformat

{
  "TotalCount": 12,
  "RequestId": "443C5781-1C03-5FCD-8EC5-FB9C0B9AC396",
  "AssetList": [
    {
      "RiskLevel": "low",
      "Ip": "39.108.XX.XX",
      "IpVersion": 4,
      "Reason": "other"
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history