All Products
Search
Document Center

Security Center:GetAssetsPropertyDetail

Last Updated:Oct 08, 2024

Queries the details about the asset fingerprints of the startup item, kernel module, or website type.

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:GetAssetsPropertyDetailget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

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

  • zh: Chinese
  • en: English
en
BizstringYes

The type of the asset fingerprint that you want to query. Default value: sca. Valid values:

  • lkm: kernel module
  • autorun: startup item
  • web_server: website
lkm
ItemNamestringNo

The name of the aggregation item for the asset fingerprint that you want to query.

Note You can call the GetAssetsPropertyItem operation to query the names of aggregation items.
virtio
SearchCriteriaListarray<object>No

The conditions that are used to query the details about the asset fingerprint.

objectNo

The condition that is used to query the details about the asset fingerprint.

NamestringNo

The name of the condition. Valid values:

  • remarkItemName: the aggregation item of the asset fingerprints. Fuzzy match is supported.
Note
  • If Biz is set to web_server, remarkItemName specifies a domain name.
  • If Biz is set to lkm, remarkItemName specifies a module name.
  • If Biz is set to autorun, remarkItemName specifies the path to a startup item.
  • remarkItemName
    ValuestringNo

    The value of the condition.

    virtio
    RemarkstringNo

    The name or IP address of the server.

    1.2.XX.XX
    UuidstringNo

    The UUID of the server.

    Note You can call the DescribeCloudCenterInstances operation to query the UUIDs of servers.
    38f72ea4-4c9f-4df1-bc6c-0f267614****
    CurrentPageintegerNo

    The number of the page to return. Default value: 1.

    1
    PageSizeintegerNo

    The number of entries to return on each page. Default value: 20. If you leave this parameter empty, 20 entries are returned on each page.

    Note We recommend that you do not leave this parameter empty.
    20

    Response parameters

    ParameterTypeDescriptionExample
    object

    The data returned.

    RequestIdstring

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

    4C1AE3F3-18FA-4108-BBB9-AFA1A032****
    PageInfoobject

    The pagination information.

    CurrentPageinteger

    The page number of the returned page.

    1
    PageSizeinteger

    The number of entries returned per page.

    20
    TotalCountinteger

    The total number of entries returned.

    23
    Countinteger

    The number of entries returned on the current page.

    20
    Propertysarray<object>

    An array that consists of the details about the asset fingerprints.

    Propertyobject

    The details about the asset fingerprints.

    ModuleNamestring

    The name of the module.

    Note This parameter is returned only when Biz is set to lkm.
    alihids
    Sizeinteger

    The size of the kernel module.

    Note This parameter is returned only when Biz is set to lkm.
    10
    Filepathstring

    The path to the kernel module file.

    Note This parameter is returned only when Biz is set to lkm.
    /lib/modules/4****
    UsedByCountinteger

    The number of times that the kernel module is referenced.

    Note This parameter is returned only when Biz is set to lkm.
    0
    Pathstring

    The path. The value of this parameter varies based on the value of Biz.

    • If Biz is set to web_server, the value of this parameter indicates the path to the website root directory.
    • If Biz is set to autorun, the value of this parameter indicates the path to the startup item.
    /lib/systemd/system****
    ServerTypestring

    The type of the website.

    Note This parameter is returned only when Biz is set to web_server.
    nginx
    Portstring

    The port of the website.

    Note This parameter is returned only when Biz is set to web_server.
    80
    Pidstring

    The process ID (PID) of the process that runs the website service.

    Note This parameter is returned only when Biz is set to web_server.
    813
    ListenProtocolstring

    The listening protocol that the website uses.

    Note This parameter is returned only when Biz is set to web_server.
    tcp
    ProcessStartedlong

    The timestamp generated when the process was started. Unit: milliseconds.

    Note This parameter is returned only when Biz is set to web_server.
    1671186801000
    WebPathstring

    The path to the root directory of the website.

    Note This parameter is returned only when Biz is set to web_server.
    /usr/share/nginx/html
    Domainstring

    The domain name of the website.

    Note This parameter is returned only when Biz is set to web_server.
    localhost
    Userstring

    The user who started the process of the website.

    Note This parameter is returned only when Biz is set to web_server.
    root
    PathModestring

    The permissions on the root directory of the website.

    Note This parameter is returned only when Biz is set to web_server.
    755
    InstanceIdstring

    The ID of the server.

    i-hp35tftuh52wbp1g****
    IntranetIpstring

    The private IP address of the server.

    100.104.XX.XX
    InternetIpstring

    The public IP address of the server.

    47.42.XX.XX
    Ipstring

    The IP address of the server.

    47.42.XX.XX
    Uuidstring

    The UUID of the server.

    162eb349-c2d9-4f8b-805c-75b43d4c****
    InstanceNamestring

    The name of the server.

    hc-host-****
    RegionIdstring

    The ID of the region in which the server resides.

    cn-hangzhou
    CreateTimestamplong

    The timestamp of the last fingerprint collection. Unit: milliseconds.

    1649149566000
    ImageNamestring

    The name of the image.

    registry-vpc.cn-beijing.aliyuncs.com/acs/aliyun-ingress-controller****
    ContainerNamestring

    The name of the container.

    5-rce_web_1

    Examples

    Sample success responses

    JSONformat

    {
      "RequestId": "4C1AE3F3-18FA-4108-BBB9-AFA1A032****",
      "PageInfo": {
        "CurrentPage": 1,
        "PageSize": 20,
        "TotalCount": 23,
        "Count": 20
      },
      "Propertys": [
        {
          "ModuleName": "alihids",
          "Size": 10,
          "Filepath": "/lib/modules/4****",
          "UsedByCount": 0,
          "Path": "/lib/systemd/system****",
          "ServerType": "nginx",
          "Port": "80",
          "Pid": "813",
          "ListenProtocol": "tcp",
          "ProcessStarted": 1671186801000,
          "WebPath": "/usr/share/nginx/html",
          "Domain": "localhost",
          "User": "root",
          "PathMode": "755",
          "InstanceId": "i-hp35tftuh52wbp1g****",
          "IntranetIp": "100.104.XX.XX",
          "InternetIp": "47.42.XX.XX",
          "Ip": "47.42.XX.XX",
          "Uuid": "162eb349-c2d9-4f8b-805c-75b43d4c****",
          "InstanceName": "hc-host-****",
          "RegionId": "cn-hangzhou",
          "CreateTimestamp": 1649149566000,
          "ImageName": "registry-vpc.cn-beijing.aliyuncs.com/acs/aliyun-ingress-controller****",
          "ContainerName": "5-rce_web_1"
        }
      ]
    }

    Error codes

    HTTP status codeError codeError messageDescription
    400IllegalParamIllegal param-
    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