GetAttackPathEventDetail - 查询攻击路径事件详情

查询攻击路径事件详情。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用前面加 * 表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
yundun-sas:GetAttackPathEventDetailget
*全部资源
*

请求参数

名称类型必填描述示例值
EventIdlong

事件 ID。

说明 您可以调用 ListAttackPathEvent 查询事件 ID。
123
Langstring

请求和接收消息的语言类型,默认为 zh。取值:

  • zh:中文
  • en:英文
en

返回参数

名称类型描述示例值
object
RequestIdstring

本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。

7BC55C8F-226E-5AF5-9A2C-2EC43864****
AttackPathEventobject

攻击路径事件详情。

DstAssetobject

终点资产。

AssetSubTypeinteger

云产品资产的子类型。

2
AssetTypeinteger

云产品资产的类型。

3
InstanceIdstring

云产品资产实例的 ID。

i-bp18ifsr1tu1dx39****
InstanceNamestring

实例名称。

test
RegionIdstring

云产品资产实例所在的地域的 ID。

cn-shanghai
Vendorinteger

云产品资产厂商。

0
SensitiveAssetFlaginteger

敏感资产标识。取值:

  • 0:非敏感资产。
  • 1:敏感资产。
0
FirstTimelong

首次发生时间戳,单位:毫秒。

1735956726000
LastTimelong

最新发现时间戳。单位:毫秒。

1741832168000
PathEventEdgeListarray<object>

路径事件边列表。

PathEventEdgeobject

路径事件边。

EdgeIdlong

边 ID。

123
EdgeTypestring

边类型。

role_trust_user
ElementTypestring

边元素类型。

branch
EndNodeUuidstring

边终点节点 UUID。

52d59cca9d1768bab5fe081317637990
RepairSuggestionDisplaystring

修复建议描述。

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.
StartNodeUuidstring

边起点节点 UUID。

b7e1bd42c4ca47f69020f4a27b47d2b4
PathEventNodeListarray<object>

路径节点列表。

PathEventNodeobject

路径节点。

ElementTypestring

节点元素类型。

branch
NodeDetailstring

节点详情。

{"assetId":0}
NodeNamestring

节点名称。

hypermatch_uploader
NodeTypestring

节点类型。

user
NodeUuidstring

节点 UUID。

52d59cca9d1768bab5fe081317637990
SensitiveAssetFlaginteger

敏感资产标识。取值:

  • 0:非敏感资产。
  • 1:敏感资产。
0
PathNamestring

路径名称。

ecs_get_credential_by_create_login_profile
PathNameDescstring

路径名称描述。

ECS Instance Can Obtain Long-term Access Credential by Enabling Console Logon for RAM User
PathTypestring

路径类型。

role_escalation
RiskLevelstring

风险等级。

suspicious
SrcAssetobject

起点资产。

AssetSubTypeinteger

云产品资产的子类型。

4
AssetTypeinteger

云产品资产的类型。

14
InstanceIdstring

云产品资产实例的 ID。

i-25b24****
InstanceNamestring

实例名称。

test
RegionIdstring

云产品资产实例所在的地域的 ID。

cn-hangzhou
Vendorinteger

云产品资产厂商。

0
SensitiveAssetFlaginteger

敏感资产标识。取值:

  • 0:非敏感资产。
  • 1:敏感资产。
0
PathTypeDescstring

路径类型描述。

Privilege Escalation by Role
PathDetailDescstring

路径详情描述。

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.

示例

正常返回示例

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
      }
    ],
    "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"
  }
}

错误码

HTTP status code错误码错误信息描述
403NoPermissioncaller has no permission当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。
500ServerErrorServerError服务故障,请稍后重试!

访问错误中心查看更多错误码。