This topic is generated by a machine translation engine without any human intervention. ALIBABA CLOUD DOES NOT GUARANTEE THE ACCURACY OF MACHINE TRANSLATED CONTENT. To request a human-translated version of this topic or provide feedback on this translation, please include it in the feedback form.
Query Attack Path Event Details.
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:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis 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:GetAttackPathEventDetail | get | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| EventId | long | No | Event ID. Note
You can call ListAttackPathEvent to query the event ID.
| 123 |
| Lang | string | No | The language type for request and response, default is zh. Values:
| en |
| EventSource | string | No | 数据来源。默认值为 default。取值:
| default |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "7BC55C8F-226E-5AF5-9A2C-2EC43864****",
"AttackPathEvent": {
"DstAsset": {
"AssetSubType": 2,
"AssetType": 3,
"InstanceId": "i-bp18ifsr1tu1dx39****\n",
"InstanceName": "test",
"RegionId": "cn-shanghai",
"Vendor": 0,
"SensitiveAssetFlag": 0
},
"FirstTime": 1735956726000,
"LastTime": 1741832168000,
"PathEventEdgeList": [
{
"EdgeId": 123,
"EdgeType": "role_trust_user",
"ElementType": "branch",
"EndNodeUuid": "52d59cca9d1768bab5fe081317637990",
"RepairSuggestionDisplay": "The RAM role is granted the administrator permissions and trusts the user of another Alibaba Cloud account. In this case, the current Alibaba Cloud account may be fully controlled by the trusted Alibaba Cloud account. We recommend that you delete the trust relationship. If you need to trust another Alibaba Cloud account, we recommend that you split your business requirements and follow the principle of least privilege to grant permissions across accounts in a fine-grained manner. You can also use RAM.\\n\\nIf you confirm that the role does not need to trust an Alibaba Cloud account, perform the following operations: In the RAM console, click the required RAM role. On the page that appears, view the trust policy of the role. Then, edit the Service field to delete the trust relationship. If you confirm that permissions can be reduced, perform the following operations: In the RAM console, click the required RAM role. On the page that appears, view the permissions of the role. Then, find the policy that defines the administrator permissions and revoke the policy. Attach another policy to the role based on your business requirements.",
"StartNodeUuid": "b7e1bd42c4ca47f69020f4a27b47d2b4"
}
],
"PathEventNodeList": [
{
"ElementType": "branch",
"NodeDetail": {
"assetId": 0
},
"NodeName": "hypermatch_uploader",
"NodeType": "user",
"NodeUuid": "52d59cca9d1768bab5fe081317637990",
"SensitiveAssetFlag": 0,
"AiAssetFlag": 1
}
],
"PathName": "ecs_get_credential_by_create_login_profile",
"PathNameDesc": "ECS Instance Can Obtain Long-term Access Credential by Enabling Console Logon for RAM User",
"PathType": "role_escalation",
"RiskLevel": "suspicious",
"SrcAsset": {
"AssetSubType": 4,
"AssetType": 14,
"InstanceId": "i-25b24****",
"InstanceName": "test",
"RegionId": "cn-hangzhou",
"Vendor": 0,
"SensitiveAssetFlag": 0
},
"PathTypeDesc": "Privilege Escalation by Role",
"PathDetailDesc": "The system detects that the role that trusts another Alibaba Cloud account has administrator permissions. This can cause the system to be fully controlled. We recommend that you delete the trust relationship and review the permissions of the role.\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 |
|---|---|---|
| 2025-11-06 | The Error code has changed. The request parameters of the API has changed. The response structure of the API has changed | View Change Details |
