Queries middleware fingerprints.
Debugging
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.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
yundun-sas:DescribePropertyScaDetail | get |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Lang | string | No | The language of the content within the request and response. Default value: zh. Valid values:
| zh |
Biz | string | No | The type of the asset fingerprint that you want to query. Default value: sca. Valid values:
Note
If you do not specify this parameter, the default value sca is used, which indicates that middleware fingerprints are queried.
| sca |
SearchItem | string | No | The type of the search condition. Valid values:
Note
You must specify both the SearchItem and SearchInfo parameters before you can query the asset fingerprints based on the specified name or type.
| name |
SearchInfo | string | No | The search keyword. You must specify this parameter based on the value of the SearchItem parameter.
Note
You must specify both the SearchItem and SearchInfo parameters before you can query the asset fingerprints based on the specified name or type.
| openssl |
ScaName | string | No | The name of the asset fingerprint that you want to query. | openssl |
BizType | string | No | The type of the middleware, database, or web service that you want to query. Valid values:
| system_service |
SearchItemSub | string | No | The type of the subquery. Valid values:
| version |
SearchInfoSub | string | No | The keyword of the subquery. You must specify this parameter based on the value of the SearchItemSub parameter.
Note
The subquery is used to search for data of a specified database, middleware, or web service.
| 1.0.2k |
Remark | string | No | The search condition, such as a server name or a server IP address. Note
Fuzzy match is supported.
| 192.168 |
Name | long | No | The name of the middleware, database, or web service. Note
This parameter is deprecated. You can ignore it.
| 1 |
Uuid | string | No | The UUID of the server on which the middleware, database, or web service is run. | uuid-02ebabe7-1c19-ab**** |
CurrentPage | integer | No | The number of the page to return. Default value: 1. | 1 |
PageSize | integer | No | The number of entries to return on each page. Default value: 10. Note
We recommend that you do not leave this parameter empty.
| 10 |
ScaVersion | string | No | The version of the middleware, database, or web service. | 1.0.2k |
Port | string | No | The port that the process monitors. | 68 |
User | string | No | The user who runs the process. | root |
Pid | string | No | The PID. | 756 |
ProcessStartedStart | long | No | The timestamp when the process starts. Unit: milliseconds. | 1641024565 |
ProcessStartedEnd | long | No | The timestamp when the process ends. Unit: milliseconds. | 1641110965 |
ScaNamePattern | string | No | The name of the process. | open |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "F9146867-16C8-4AAB-BB4FB8C2A4",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 2,
"Count": 2
},
"Propertys": [
{
"Type": "library",
"BizTypeDispaly": "System Service",
"ProcessStarted": 1596539788,
"InternetIp": "47.42.XX.XX",
"ConfigPath": "/etc/my.cnf",
"Pid": "756",
"Port": "68",
"Cmdline": "/sbin/dhclient -H iz2zeflhhbtk8gtxzt087az -1 -q -lf /var/lib/dhclient/dhclient--eth0.lease -pf /var/run/dhclient-eth0.pid eth0",
"BizType": "software_library",
"ListenIp": "0.0.XX.XX",
"Version": "1.0.2k",
"InstanceName": "Test01",
"ListenStatus": "NONE",
"Name": "openssl",
"Ip": "47.42.XX.XX",
"ProcessUser": "root",
"InstanceId": "i-2zeclqj7ti****",
"WebPath": "/usr/share/nginx/html",
"Ppid": "1",
"IntranetIp": "192.210.XX.XX",
"Uuid": "uuid-02ebabe7-1c19-a****",
"ListenProtocol": "UDP",
"ImageName": "registry-vpc.cn-beijing.aliyuncs.com/acs/aliyun-ingress-controller****",
"Path": "/usr/lib64/libssl.so.1.0.2k",
"ContainerName": "5-rce_web_1",
"Proof": "/usr/lib64/libssl.so.1.0.2k",
"CreateTimestamp": 1597987834000,
"RuntimeEnvVersion": "1.8.0_144",
"PodName": "myapp-pod\n"
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-10-20 | The response structure of the API has changed | View Change Details |