All Products
Search
Document Center

Security Center:DescribePropertyCount

Last Updated:Feb 20, 2024

Queries the statistics of asset fingerprints. The assets include processes, ports, software, accounts, middleware, websites, web services, scheduled tasks, startup items, and databases.

Debugging

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

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:DescribePropertyCountRead
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
TypestringNo

The type of the asset fingerprints. Separate multiple types with commas (,). Valid values:

  • port: port
  • process: process
  • software: software
  • user: account
  • cron: scheduled task
  • sca: middleware
  • web: website
  • database: database
  • lkm: kernel module
  • autorun: startup item
  • web_server: web service
port,process
UuidListstringNo

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

9658314a-7609-4426-afc4-2c924072****, 9658314a-7609-4426-afc4-2c924072****

Response parameters

ParameterTypeDescriptionExample
object
Processinteger

The number of processes.

367
RequestIdstring

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

7E0618A9-D5EF-4220-9471-C42B5E92719F
Userinteger

The number of accounts.

214
Softwareinteger

The number of software assets.

111
Croninteger

The number of scheduled tasks.

123
Portinteger

The number of ports.

22
Scainteger

The number of middleware assets.

112
Webinteger

The number of websites.

65
Databaseinteger

The number of databases.

2
Lkminteger

The number of kernel modules.

4
Autoruninteger

The number of startup items.

3
Webserverinteger

The number of web services.

8

Examples

Sample success responses

JSONformat

{
  "Process": 367,
  "RequestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F",
  "User": 214,
  "Software": 111,
  "Cron": 123,
  "Port": 22,
  "Sca": 112,
  "Web": 65,
  "Database": 2,
  "Lkm": 4,
  "Autorun": 3,
  "Webserver": 8
}

Error codes

HTTP status codeError codeError messageDescription
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
No change history