All Products
Search
Document Center

Security Center:DescribeInstanceStatistics

Last Updated:Jan 28, 2023

Queries the statistics of assets that are protected by Security Center.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
SourceIpstringNo

The source IP address of the request.

1.2.XX.XX
LangstringNo

The language of the content within the request and response. Default value: zh. Valid values:

  • zh: Chinese
  • en: English
zh
UuidstringYes

The UUID of the asset to query. Separate multiple UUIDs with commas (,). You can call the DescribeCloudCenterInstances operation to query the UUIDs of assets.

6690a46c-0edb-4663-a641-3629d1a9****
FromstringYes

The source of the request. Set the value to sas, which indicates that the request is sent from Security Center.

sas

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

8F035A9D-D19F-5430-8CA5-1497991B7C61
Dataarray

An array that consists of the risk information about the asset.

object
Accountinteger

The number of unusual logons to the asset.

0
AppNuminteger

The number of application vulnerabilities detected on the asset.

1
ScaNuminteger

The number of middleware vulnerabilities detected on the asset.

1
Trojaninteger

The number of trojans detected on the asset.

1
CveNuminteger

The number of common vulnerabilities detected on the asset.

1
EmgNuminteger

The number of urgent vulnerabilities detected on the asset.

6
Suspiciousinteger

The number of alerts generated for the asset.

2
CmsNuminteger

The number of Web-CMS vulnerabilities detected on the asset.

5
Uuidstring

The UUID of the asset.

6690a46c-0edb-4663-a641-3629d1a9****
Vulinteger

The total number of vulnerabilities detected on the asset.

17
Healthinteger

The number of baseline risks detected on the asset.

2
SysNuminteger

The number of Windows system vulnerabilities detected on the asset.

3
WeakPWNuminteger

The number of weak passwords.

22
AgentlessAllinteger

The number of alerts generated by the agentless detection feature.

13
AgentlessMaliciousinteger

The number of malicious samples detected by the agentless detection feature.

3
AgentlessVulCveinteger

The number of system vulnerabilities detected by the agentless detection feature.

1
AgentlessVulScainteger

The number of application vulnerabilities detected by the agentless detection feature.

1
AgentlessBaselineinteger

The number of baseline risks detected by the agentless detection feature.

2
CspmNuminteger

The number of configuration risks detected on the asset.

1

Example

Normal return example

JSONFormat

{
  "RequestId": "8F035A9D-D19F-5430-8CA5-1497991B7C61",
  "Data": [
    {
      "Account": 0,
      "AppNum": 1,
      "ScaNum": 1,
      "Trojan": 1,
      "CveNum": 1,
      "EmgNum": 6,
      "Suspicious": 2,
      "CmsNum": 5,
      "Uuid": "6690a46c-0edb-4663-a641-3629d1a9****",
      "Vul": 17,
      "Health": 2,
      "SysNum": 3,
      "WeakPWNum": 22,
      "AgentlessAll": 13,
      "AgentlessMalicious": 3,
      "AgentlessVulCve": 1,
      "AgentlessVulSca": 1,
      "AgentlessBaseline": 2,
      "CspmNum": 1
    }
  ]
}

Error codes

Http codeError codeError messageDescription
400NoPermissionno permission-
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the API error center.

Change history

Change timeSummary of changesOperate
2022-06-09The error codes of the API operation has changed, The response structure of the API operation has changed
Change itemChange content
Error CodesThe error codes of the API operation has changed
    delete Error Codes: 400
Output ParametersThe response structure of the API operation has changed