查询攻击路径事件详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| EventId |
integer |
否 |
事件 ID。 说明
您可以调用 ListAttackPathEvent 查询事件 ID。 |
123 |
| Lang |
string |
否 |
请求和接收消息的语言类型,默认为 zh。取值:
|
en |
| EventSource |
string |
否 |
数据来源。默认值为 default。取值:
|
default |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。 |
7BC55C8F-226E-5AF5-9A2C-2EC43864**** |
| AttackPathEvent |
object |
攻击路径事件详情。 |
|
| DstAsset |
object |
终点资产。 |
|
| AssetSubType |
integer |
云产品资产的子类型。 |
2 |
| AssetType |
integer |
云产品资产的类型。 |
3 |
| InstanceId |
string |
云产品资产实例的 ID。 |
i-bp18ifsr1tu1dx39**** |
| InstanceName |
string |
实例名称。 |
test |
| RegionId |
string |
云产品资产实例所在的地域的 ID。 |
cn-shanghai |
| Vendor |
integer |
云产品资产厂商。 |
0 |
| SensitiveAssetFlag |
integer |
敏感资产标识。取值:
|
0 |
| FirstTime |
integer |
首次发生时间戳,单位:毫秒。 |
1735956726000 |
| LastTime |
integer |
最新发现时间戳。单位:毫秒。 |
1741832168000 |
| PathEventEdgeList |
array<object> |
路径事件边列表。 |
|
|
object |
路径事件边。 |
||
| EdgeId |
integer |
边 ID。 |
123 |
| EdgeType |
string |
边类型。 |
role_trust_user |
| ElementType |
string |
边元素类型。 |
branch |
| EndNodeUuid |
string |
边终点节点 UUID。 |
52d59cca9d1768bab5fe081317637990 |
| RepairSuggestionDisplay |
string |
修复建议描述。 |
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 |
string |
边起点节点 UUID。 |
b7e1bd42c4ca47f69020f4a27b47d2b4 |
| PathEventNodeList |
array<object> |
路径节点列表。 |
|
|
object |
路径节点。 |
||
| ElementType |
string |
节点元素类型。 |
branch |
| NodeDetail |
string |
节点详情。 |
{"assetId":0} |
| NodeName |
string |
节点名称。 |
hypermatch_uploader |
| NodeType |
string |
节点类型。 |
user |
| NodeUuid |
string |
节点 UUID。 |
52d59cca9d1768bab5fe081317637990 |
| SensitiveAssetFlag |
integer |
敏感资产标识。取值:
|
0 |
| AiAssetFlag |
integer |
AI 资产标识。取值:
|
1 |
| PathName |
string |
路径名称。 |
ecs_get_credential_by_create_login_profile |
| PathNameDesc |
string |
路径名称描述。 |
ECS Instance Can Obtain Long-term Access Credential by Enabling Console Logon for RAM User |
| PathType |
string |
路径类型。 |
role_escalation |
| RiskLevel |
string |
风险等级。 |
suspicious |
| SrcAsset |
object |
起点资产。 |
|
| AssetSubType |
integer |
云产品资产的子类型。 |
4 |
| AssetType |
integer |
云产品资产的类型。 |
14 |
| InstanceId |
string |
云产品资产实例的 ID。 |
i-25b24**** |
| InstanceName |
string |
实例名称。 |
test |
| RegionId |
string |
云产品资产实例所在的地域的 ID。 |
cn-hangzhou |
| Vendor |
integer |
云产品资产厂商。 |
0 |
| SensitiveAssetFlag |
integer |
敏感资产标识。取值:
|
0 |
| PathTypeDesc |
string |
路径类型描述。 |
Privilege Escalation by Role |
| PathDetailDesc |
string |
路径详情描述。 |
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. |
| PathInterpretationStatus |
string |
||
| PathInterpretationUrl |
string |
示例
正常返回示例
JSON格式
{
"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",
"PathInterpretationStatus": "",
"PathInterpretationUrl": ""
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。