Queries the list of available attack paths.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListAvailableAttackPath |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
en |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
1383B0DB-D5D6-4B0C-9E6B-75939C8E**** |
| AttackPathList |
array<object> |
The list of attack paths. |
|
|
object |
The attack path details. |
||
| PathType |
string |
The type of the attack path. |
role_escalation |
| PathName |
string |
The name of the attack path. |
ecs_get_credential_by_create_login_profile |
| PathNameDesc |
string |
The description of the attack path. |
ECS Instance Can Obtain Long-term Access Credential by Enabling Console Logon for RAM User |
| PathTypeDesc |
string |
The description of the attack path type. |
Privilege Escalation by Role |
Examples
Success response
JSON format
{
"RequestId": "1383B0DB-D5D6-4B0C-9E6B-75939C8E****",
"AttackPathList": [
{
"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",
"PathTypeDesc": "Privilege Escalation by Role"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.