All Products
Search
Document Center

Security Center:GetCloudAssetSummary

Last Updated:Jul 26, 2024

The total number of instances that are at risk.

Debugging

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

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
VendorsarrayNo

The asset type by service provider.

integerNo

The source of the server. Valid values:

  • 0: an asset provided by Alibaba Cloud.
  • 1: a third-party cloud server
  • 2: a server in a data center
  • 3, 4, 5, and 7: other cloud asset
  • 8: a lightweight asset
0

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

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

F5CF78A7-30AA-59DB-847F-13EE3AE7****
GroupedFieldsobject

The summary of cloud services.

CloudAssetSummaryMetasarray<object>

The statistics of cloud services.

object
AssetTypeinteger

The type of the cloud service. Valid values:

  • 0: Elastic Compute Service (ECS)
  • 1: Server Load Balancer (SLB)
  • 3: ApsaraDB RDS
  • 4: ApsaraDB for MongoDB (MongoDB)
  • 5: ApsaraDB for Redis (Redis)
  • 6: Container Registry
  • 8: Container Service for Kubernetes (ACK)
  • 9: Virtual Private Cloud (VPC)
  • 11: ActionTrail
  • 12: Alibaba Cloud CDN (CDN)
  • 13: Certificate Management Service (formerly SSL Certificates Service)
  • 14: Apsara Devops
  • 15: Resource Access Management (RAM)
  • 16: Anti-DDoS
  • 17: Web Application Firewall (WAF)
  • 18: Object Storage Service (OSS)
  • 19: PolarDB
  • 20: ApsaraDB RDS for PostgreSQL
  • 21: Microservices Engine (MSE)
  • 22: Apsara File Storage NAS (NAS)
  • 23: Data Security Center (DSC)
  • 24: Elastic IP Address (EIP)
  • 25: Identity as a Service (IDaaS) - Enterprise Identity Access Management (EIAM)
  • 26: PolarDB for Xscale (PolarDB-X)
  • 27: Elasticsearch
16
AssetSubTypeinteger

The subtype of the cloud service.

0
InstanceCountinteger

The total number of cloud service instances of this type.

16
InstanceRiskCountinteger

The total number of cloud service instances that are at risk of this type.

5
Vendorinteger

The server type. Valid values:

  • 0: an asset provided by Alibaba Cloud
  • 1: an asset outside Alibaba Cloud
  • 2: an asset in a data center
  • 3, 4, 5, and 7: an asset provided by a third-party service provider
  • 8: a lightweight asset
3
InstanceCountTotalinteger

The total number of cloud service instances.

919
InstanceRiskCountTotalinteger

The total number of cloud service instances that are at risk.

544

Examples

Sample success responses

JSONformat

{
  "RequestId": "F5CF78A7-30AA-59DB-847F-13EE3AE7****",
  "GroupedFields": {
    "CloudAssetSummaryMetas": [
      {
        "AssetType": 16,
        "AssetSubType": 0,
        "InstanceCount": 16,
        "InstanceRiskCount": 5,
        "Vendor": 3
      }
    ],
    "InstanceCountTotal": 919,
    "InstanceRiskCountTotal": 544
  }
}

Error codes

HTTP status 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 Service error codes.

Change history

Change timeSummary of changesOperation
2023-12-21API Description Update. The Error code has changed. The request parameters of the API has changedView Change Details
2023-09-20The Error code has changed. The response structure of the API has changedView Change Details