Queries risk information about an asset.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
From String Yes sas

The source of data. Set the value to sas.

Uuid String Yes a51cec37-ed73-4c53-b467-***

The UUID of the asset. Separate multiple UUIDs with commas (,).

Note To query the risk information about an asset, you must provide the UUID of the asset. You can call the DescribeCloudCenterInstances operation to query the UUIDs.
SourceIp String No 1.2.3.4

The source IP address of the request.

Lang String No zh

The natural language of the request and response.

  • zh: Chinese
  • en: English

Response parameters

Parameter Type Example Description
RequestId String 7E0618A9-D5EF-4220-9471-C42B5E92719F

The ID of the request.

Data Array

The risk information about the asset.

Uuid String us1233******

The UUID of the asset.

Account Integer 1

The type of the asset group. Valid values:

  • 0: default group
  • 1: other groups
Health Integer 1

The number of issues detected by the baseline check.

Trojan Integer 1

The number of trojans.

Suspicious Integer 2

The number of alerts.

Vul Integer 4

The total number of vulnerabilities: CveNum + EmgNum + SysNum + CmsNum + AppNum.

CveNum Integer 1

The number of Linux software vulnerabilities.

EmgNum Integer 0

The number of urgent vulnerabilities.

SysNum Integer 1

The number of Windows system vulnerabilities.

CmsNum Integer 2

The number of Web-CMS vulnerabilities.

AppNum Integer 0

The number of application vulnerabilities.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeInstanceStatistics
&From=sas
&Uuid=a51cec37-ed73-4c53-b467-***
&<Common request parameters>

Sample success responses

XML format

<DescribeInstanceStatisticsResponse>
  <Data>
        <SysNum>1</SysNum>
        <Uuid>a51cec37-ed73-4c53-b467-***</Uuid>
        <CveNum>1</CveNum>
        <Suspicious>1</Suspicious>
        <Trojan>0</Trojan>
        <Account>0</Account>
        <CmsNum>1</CmsNum>
        <EmgNum>1</EmgNum>
        <Health>0</Health>
        <AppNum>1</AppNum>
        <Vul>5</Vul>
  </Data>
  <Data>
        <SysNum>2</SysNum>
        <Uuid>33f107a3-4653-4228-a428-***</Uuid>
        <CveNum>1</CveNum>
        <Suspicious>2</Suspicious>
        <Trojan>0</Trojan>
        <Account>0</Account>
        <CmsNum>1</CmsNum>
        <EmgNum>2</EmgNum>
        <Health>0</Health>
        <AppNum>1</AppNum>
        <Vul>7</Vul>
  </Data>
  <RequestId>44AE72D4-2DDF-4CEC-9957-64C470CC90FC</RequestId>
</DescribeInstanceStatisticsResponse>

JSON format

{
	"Data": [
		{
			"SysNum": 1,
			"Uuid": "a51cec37-ed73-4c53-b467-***",
			"CveNum": 1,
			"Suspicious": 1,
			"Trojan": 0,
			"Account": 0,
			"CmsNum": 1,
			"EmgNum": 1,
			"Health": 0,
			"AppNum": 1,
			"Vul": 5
		},
		{
			"SysNum": 2,
			"Uuid": "33f107a3-4653-4228-a428-***",
			"CveNum": 1,
			"Suspicious": 2,
			"Trojan": 0,
			"Account": 0,
			"CmsNum": 1,
			"EmgNum": 2,
			"Health": 0,
			"AppNum": 1,
			"Vul": 7
		}
	],
	"RequestId": "44AE72D4-2DDF-4CEC-9957-64C470CC90FC"
}

Error codes

For a list of error codes, visit the API Error Center.