All Products
Search
Document Center

Certificate Management Service:GetRiskCount

Last Updated:Mar 13, 2026

Queries the number of assets with certificate-related risks, such as expired or soon-to-expire certificates.

Operation description

This operation queries the number of created Certificate Authority (CA) certificates, including root and subordinate CA certificates.

QPS limits

The queries per second (QPS) limit for a single user is 10 calls per second. If you exceed this limit, API calls are rate-limited, which may affect your business. We recommend that you call this operation at a reasonable frequency.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

No parameters required.

Response elements

Element

Type

Description

Example

object

BuyCertificateExpireCount

integer

Number of expired paid certificates.

10

BuyCertificateWillExpiredCount

integer

Number of paid certificates that will expire soon.

10

BuyCertificateNotDeploymentCount

integer

Number of paid certificates not deployed.

10

BuyCheckedFailCount

integer

Number of failed paid certificate orders.

10

BuyCertificateNotTrusteeCount

integer

Number of paid certificates not managed.

10

FreeCertificateExpireCount

integer

Number of expired free certificates.

10

FreeCertificateWillExpiredCount

integer

Number of free certificates that will expire soon.

10

FreeCertificateNotDeploymentCount

integer

Number of free certificates not deployed.

10

FreeCheckedFailCount

integer

Number of failed free certificate orders.

10

RequestId

string

The ID of this API call. Alibaba Cloud generates this unique identifier for each request. Use it to troubleshoot and locate issues.

5BCD2F6C-7A9D-47C1-8588-2CC6A4E0BE5E

UploadCertificateExpireCount

integer

Number of expired uploaded certificates.

10

UploadCertificateWillExpiredCount

integer

Number of uploaded certificates that will expire soon.

10

UploadCertificateNotDeploymentCount

integer

Number of uploaded certificates not deployed.

10

UploadCertificateNotNoticeCount

integer

Number of uploaded certificates without alerting configured.

10

AliyunAssetCertificateExpiredCount

integer

Number of expired Alibaba Cloud certificates.

10

AliyunAssetCertificateWillExpiredCount

integer

Number of Alibaba Cloud certificates that will expire soon.

10

MultiCloudAssetCertificateExpiredCount

integer

Number of expired multicloud certificates.

10

DomainAssetNotMonitorCount

integer

Number of domains without monitoring configured.

10

MultiCloudAssetCertificateWillExpiredCount

integer

Number of multicloud certificates that will expire soon.

10

Examples

Success response

JSON format

{
  "BuyCertificateExpireCount": 10,
  "BuyCertificateWillExpiredCount": 10,
  "BuyCertificateNotDeploymentCount": 10,
  "BuyCheckedFailCount": 10,
  "BuyCertificateNotTrusteeCount": 10,
  "FreeCertificateExpireCount": 10,
  "FreeCertificateWillExpiredCount": 10,
  "FreeCertificateNotDeploymentCount": 10,
  "FreeCheckedFailCount": 10,
  "RequestId": "5BCD2F6C-7A9D-47C1-8588-2CC6A4E0BE5E",
  "UploadCertificateExpireCount": 10,
  "UploadCertificateWillExpiredCount": 10,
  "UploadCertificateNotDeploymentCount": 10,
  "UploadCertificateNotNoticeCount": 10,
  "AliyunAssetCertificateExpiredCount": 10,
  "AliyunAssetCertificateWillExpiredCount": 10,
  "MultiCloudAssetCertificateExpiredCount": 10,
  "DomainAssetNotMonitorCount": 10,
  "MultiCloudAssetCertificateWillExpiredCount": 10
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.