All Products
Search
Document Center

Security Center:ListAttackPathEvent

Last Updated:Oct 24, 2025
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 Events.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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 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.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:ListAttackPathEventlist
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RiskLevelListarrayNo

List of risk level information.

stringNo

List of risk levels. Values:

  • remind: indicates a reminder level.
  • suspicious: indicates a suspicious level.
  • serious: indicates an urgent level.
remind
PathNameDescstringNo

Description of the path name.

Note You can call ListAvailableAttackPath to query the path name description.
ECS Instance Can Obtain Long-term Access Credential by Enabling Console Logon for RAM User
StartTimelongNo

Timestamp of the start time. Unit: milliseconds.

1666886400000
EndTimelongNo

Timestamp of the end time. Unit: milliseconds.

1668064495000
CurrentPageintegerNo

Specifies from which page of the returned results the query results should be displayed. The default value is 1, indicating that the display starts from the first page.

1
PageSizeintegerNo

The maximum number of data entries displayed per page in a paginated query. The default value is 20.

20
LangstringNo

Sets the language type for requests and received messages, with the default being zh. Values:

  • zh: Chinese
  • en: English
en
AttackPathAssetListarray<object>No

List of cloud product assets in the attack path.

objectNo

List of cloud product assets in the attack path.

VendorintegerNo

Vendor of the cloud product asset.

Note You can call ListSupportAttackPathAsset to query the vendor of the cloud product asset.
0
AssetTypeintegerNo

Type of the cloud product asset.

Note You can call ListSupportAttackPathAsset to query the type of the cloud product asset.
17
AssetSubTypeintegerNo

Subtype of the cloud product asset.

Note You can call ListSupportAttackPathAsset to query the subtype of the cloud product asset.
2
NodeTypestringNo

Node type, values:

  • start: start point.
  • end: end point.
start
PathTypestringNo

Path type.

Note You can call ListAvailableAttackPath to query the path type.
role_escalation

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of this request, which is a unique identifier generated by Alibaba Cloud for the request. It can be used for troubleshooting and problem localization.

3956048F-9D73-5EDB-834B-4827BB48****
AttackPathEventListarray<object>

List of attack path events.

AttackPathEventobject

Attack path event.

PathTypestring

Path type.

role_escalation
PathNamestring

Path name.

ecs_get_credential_by_create_login_profile
PathNameDescstring

Description of the path name.

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

Risk level.

suspicious
SrcAssetobject

Source asset.

InstanceIdstring

ID of the cloud product asset instance.

i-bp18ifsr1tu1dx39****
AssetTypeinteger

Type of the cloud product asset.

0
AssetSubTypeinteger

Subtype of the cloud product asset.

1
RegionIdstring

ID of the region where the cloud product asset instance is located.

cn-hangzhou
InstanceNamestring

Instance name.

test
Vendorinteger

Vendor of the cloud product asset.

0
SensitiveAssetFlaginteger

Sensitive asset flag. Values:

  • 0: Non-sensitive asset.
  • 1: Sensitive asset.
0
LastTimelong

Timestamp of the latest discovery. Unit: milliseconds.

1742869699000
DstAssetobject

Destination asset.

InstanceIdstring

ID of the cloud product asset instance.

i-uf6a1tt9umxwoxqn****
AssetTypeinteger

Type of the cloud product asset.

1
AssetSubTypeinteger

Subtype of the cloud product asset.

0
Vendorinteger

Vendor of the cloud product asset.

0
RegionIdstring

ID of the region where the cloud product asset instance is located.

cn-hangzhou
InstanceNamestring

Instance name.

test
SensitiveAssetFlaginteger

Sensitive asset flag. Values:

  • 0: Non-sensitive asset.
  • 1: Sensitive asset.
1
EventIdlong

The ID of the alert event.

123
PathTypeDescstring

Description of the path type.

Privilege Escalation by Role
PageInfoobject

Pagination information.

CurrentPageinteger

The page number displayed in the pagination query.

1
PageSizeinteger

The number of data items displayed per page.

20
TotalCountinteger

The total number of data items.

30
Countinteger

The number of data entries displayed on the current page when performing a paginated query.

20

Examples

Sample success responses

JSONformat

{
  "RequestId": "3956048F-9D73-5EDB-834B-4827BB48****",
  "AttackPathEventList": [
    {
      "PathType": "role_escalation",
      "PathName": "ecs_get_credential_by_create_login_profile",
      "PathNameDesc": "ECS Instance Can Obtain Long-term Access Credential by Enabling Console Logon for RAM User",
      "RiskLevel": "suspicious",
      "SrcAsset": {
        "InstanceId": "i-bp18ifsr1tu1dx39****",
        "AssetType": 0,
        "AssetSubType": 1,
        "RegionId": "cn-hangzhou",
        "InstanceName": "test",
        "Vendor": 0,
        "SensitiveAssetFlag": 0
      },
      "LastTime": 1742869699000,
      "DstAsset": {
        "InstanceId": "i-uf6a1tt9umxwoxqn****",
        "AssetType": 1,
        "AssetSubType": 0,
        "Vendor": 0,
        "RegionId": "cn-hangzhou",
        "InstanceName": "test",
        "SensitiveAssetFlag": 1
      },
      "EventId": 123,
      "PathTypeDesc": "Privilege Escalation by Role"
    }
  ],
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 20,
    "TotalCount": 30,
    "Count": 20
  }
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.