All Products
Search
Document Center

Security Center:ListAttackPathEvent

Last Updated:Jun 17, 2026

Queries the list of attack path events.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-sas:ListAttackPathEvent

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

RiskLevelList

array

No

The list of risk levels.

string

No

The risk level. Valid values:

  • remind: reminder

  • suspicious: suspicious

  • serious: critical.

remind

PathNameDesc

string

No

The path name description.

Note

Call ListAvailableAttackPath to query path name descriptions.

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

StartTime

integer

No

The start time as a timestamp. Unit: milliseconds.

1666886400000

EndTime

integer

No

The end time as a timestamp. Unit: milliseconds.

1668064495000

CurrentPage

integer

No

The page number of the results to return. Default value: 1, which indicates the first page.

1

PageSize

integer

No

The maximum number of entries per page in a paged query. Default value: 20.

20

Lang

string

No

The language of the request and response. Default value: zh. Valid values:

  • zh: Chinese

  • en: English.

en

AttackPathAssetList

array<object>

No

The list of cloud service assets in the attack path.

object

No

The list of cloud service assets in the attack path.

Vendor

integer

No

The vendor of the cloud service asset.

Note

Call ListSupportAttackPathAsset to query the vendors of cloud service assets.

0

AssetType

integer

No

The type of the cloud service asset.

Note

Call ListSupportAttackPathAsset to query the types of cloud service assets.

17

AssetSubType

integer

No

The subtype of the cloud service asset.

Note

Call ListSupportAttackPathAsset to query the subtypes of cloud service assets.

2

NodeType

string

No

The node type. Valid values:

  • start: start node.

  • end: end node.

start

PathType

string

No

The path type.

Note

Call ListAvailableAttackPath to query path types.

role_escalation

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues.

3956048F-9D73-5EDB-834B-4827BB48****

AttackPathEventList

array<object>

The list of attack path events.

array<object>

The attack path event.

PathType

string

The path type.

role_escalation

PathName

string

The path name.

ecs_get_credential_by_create_login_profile

PathNameDesc

string

The path name description.

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

RiskLevel

string

The risk level.

suspicious

SrcAsset

object

The source asset.

InstanceId

string

ID of the cloud product asset instance.

i-bp18ifsr1tu1dx39****

AssetType

integer

Type of the cloud product asset.

0

AssetSubType

integer

Subtype of the cloud product asset.

1

RegionId

string

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

cn-hangzhou

InstanceName

string

Instance name.

test

Vendor

integer

Vendor of the cloud product asset.

0

SensitiveAssetFlag

integer

Sensitive asset flag. Values:

  • 0: Non-sensitive asset.

  • 1: Sensitive asset.

0

LastTime

integer

The timestamp of the most recent detection. Unit: milliseconds.

1742869699000

DstAsset

object

The destination asset.

InstanceId

string

ID of the cloud product asset instance.

i-uf6a1tt9umxwoxqn****

AssetType

integer

Type of the cloud product asset.

1

AssetSubType

integer

Subtype of the cloud product asset.

0

Vendor

integer

Vendor of the cloud product asset.

0

RegionId

string

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

cn-hangzhou

InstanceName

string

Instance name.

test

SensitiveAssetFlag

integer

Sensitive asset flag. Values:

  • 0: Non-sensitive asset.

  • 1: Sensitive asset.

1

EventId

integer

The ID of the alert event.

123

PathTypeDesc

string

The path type description.

Privilege Escalation by Role

PageInfo

object

The pagination information.

CurrentPage

integer

The page number of the current page in a paged query.

1

PageSize

integer

The number of entries per page.

20

TotalCount

integer

The total number of entries.

30

Count

integer

The number of entries on the current page in a paged query.

20

Examples

Success response

JSON format

{
  "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 code

Error code

Error message

Description

500 ServerError ServerError
403 NoPermission caller has no permission

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.