tencent cloud

APIs

DescribeDspmStatistics

Download
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-09-01 09:56:25

1. API Description

Domain name for API request: csip.intl.tencentcloudapi.com.

Query Dspm statistical information

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeDspmStatistics.
Version Yes String Common Params. The value used for this API: 2022-11-21.
Region No String Common Params. This parameter is not required.
MemberId.N No Array of String

Group account member id

AssetType.N No Array of String

Filter by asset type

Enumeration values:

  • cdb: cdb
  • mariadb: mariadb
  • cynosdb: cynosdb

Default value: empty by default, meaning no filtering by asset type and return all asset information

3. Output Parameters

Parameter Name Type Description
AssetCount DspmAssetCount

Asset statistics information

IpCount DspmIpCount

Ip access statistical information

UserCount DspmAccountCount

User account statistical information

RiskCount DspmRiskCount

Risk statistics

AnalyseAssetStatusCount DspmSecurityAnalyseStatusCount

Asset security analysis statistics information

RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 cdb test case

Input Example

POST / HTTP/1.1
Host: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeDspmStatistics
<Common request parameters>

{
    "AssetType": [
        "cdb"
    ]
}

Output Example

{
    "Response": {
        "AnalyseAssetStatusCount": {
            "AssetTypeCountSet": [
                {
                    "AssetType": "cdb",
                    "CloseCount": 0,
                    "ClosingCount": 0,
                    "OpenCount": 2,
                    "OpeningCount": 0
                }
            ],
            "CloseCount": 0,
            "ClosingCount": 0,
            "OpenCount": 2,
            "OpeningCount": 0
        },
        "AssetCount": {
            "AlarmAssetCount": 2,
            "AssetCount": 2,
            "DangerRiskCount": 0,
            "LowRiskCount": 2,
            "RiskAssetCount": 2
        },
        "IpCount": {
            "IpCount": 2,
            "PrivateIpCount": 2,
            "UnmarkedPublicIpCount": 0
        },
        "RiskCount": {
            "AccountSensitiveOperation": 0,
            "AttackSurfaceRisk": 0,
            "LoginBehaviorAnomaly": 35,
            "NumOfNewAlarmEvent": 5,
            "NumOfNewConfigRisk": 0,
            "PermissionAnomaly": 18,
            "SQLBehaviorAnomaly": 0,
            "UnprocessedAlarm": 35,
            "UnprocessedRisk": 18
        },
        "UserCount": {
            "PersonCount": 2,
            "TotalAccountCount": 4,
            "UinAccountCount": 2
        },
        "RequestId": "7f5e0bef-5349-4ec9-8476-7cf3a3bfff59"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
AuthFailure CAM signature/authentication error.
FailedOperation Operation failed.
OperationDenied Operation denied.
ResourceNotFound The resource does not exist.
ResourceUnavailable Resources are unavailable.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan