Queries the list of attack path events.
Try it now
Test
RAM authorization
|
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 |
|
| 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:
|
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 |
| 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 |
| 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:
|
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.