Queries the details of a specified server that is exposed on the Internet.
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:DescribeExposedInstanceDetail | get |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Uuid | string | Yes | The UUID of the server or the instance ID of the database that is exposed on the Internet. Note
You can call the DescribeExposedInstanceList operation to query the UUIDs of servers or instance IDs of databases.
| fc82b966-4d70-4e01-bf4f-aa4076a5**** |
ResourceDirectoryAccountId | long | No | The Alibaba Cloud account ID of the member in the resource directory. Note
You can call the DescribeMonitorAccounts operation to query the account ID.
| 1232428423234**** |
Lang | string | No | The language of the content within the request and response. Default value: zh. Valid values:
| zh |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "C590482B-54A7-4273-8115-9DBE2DE46B26",
"ExposedChains": [
{
"ExposureIp": "47.99.XX.XX",
"GroupNo": "sg-bp1iw5enua6gf5i2xr7z",
"InternetIp": "47.99.XX.XX",
"InstanceId": "i-bp116qem8npvchqc****",
"ExposureType": "INTERNET_IP",
"IntranetIp": "192.168.XX.XX",
"ExposureTypeId": "eip-bp1bkgowzam49rld3****",
"RegionId": "cn-hangzhou",
"Uuid": "4f9ce097-4a7d-48fe-baef-6960e5b6****",
"ExposurePort": "22",
"InstanceName": "worker-k8s-for-cs-c929ee2a145214f89a8b248005be5****",
"ExposureComponent": "openssl,openssh",
"RealVulList": [
{
"Type": "sca",
"Necessity": "asap",
"Uuid": "4f9ce097-4a7d-48fe-baef-6960e5b6****",
"AliasName": "RHSA-2022:0274-Important: polkit pkexec Local Privilege Escalation Vulnerability(CVE-2021-4034)",
"Name": "SCA:ACSV-2020-052801"
}
],
"AllVulList": [
{
"Type": "sca",
"Necessity": "asap",
"Uuid": "4f9ce097-4a7d-48fe-baef-6960e5b6****",
"AliasName": "RHSA-2022:0274-Important: polkit pkexec Local Privilege Escalation Vulnerability(CVE-2021-4034)",
"Name": "SCA:ACSV-2020-052801"
}
],
"CspmRiskList": [
{
"CheckName": "Create Alert Rule",
"RiskLevel": "HIGH",
"InstanceId": "i-bp14ggqzi9k6ocfb****",
"RegionId": "cn-hangzhou",
"AssetType": 0,
"AssetTypeName": "ECS",
"AssetSubType": 100,
"AssetSubTypeName": "INSTANCE",
"Vendor": 0
}
]
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | RdCheckNoPermission | Resource directory account verification has no permission. | - |
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | RdCheckInnerError | Resource directory account service internal error. | - |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-11-04 | The Error code has changed. The request parameters of the API has changed | View Change Details |
2024-09-26 | The Error code has changed. The response structure of the API has changed | View Change Details |
2024-02-28 | The Error code has changed. The request parameters of the API has changed | View Change Details |
2022-12-23 | API Description Update. The API operation is not deprecated. | View Change Details |