查詢攻擊路徑白名單列表。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
yundun-sas:ListAttackPathWhitelist |
list |
*AttackPathWhitelist
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| PathType |
string |
否 |
路徑類型。 說明
您可以呼叫 ListAvailableAttackPath 查詢路徑類型。 |
role_escalation |
| PathNameDesc |
string |
否 |
路徑名稱描述。 說明
您可以呼叫 ListAvailableAttackPath 查詢路徑名稱描述。 |
ECS Instance Can Obtain Long-term Access Credential by Enabling Console Logon for RAM User |
| WhitelistName |
string |
否 |
白名單名稱。 |
test |
| CurrentPage |
integer |
否 |
分頁查詢時,設定當前頁面的頁碼。預設值為 1。 |
1 |
| PageSize |
integer |
否 |
分頁查詢時,顯示的每頁資料的最大條數。預設值為 20。 |
20 |
| Lang |
string |
否 |
請求和接收訊息的語言類型,預設值 zh。取值:
|
en |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
本次呼叫請求的 ID,是由阿里雲為該請求生成的唯一識別碼,可用於排查和定位問題。 |
89AD16CC-97EE-50F3-9B12-9E28E5C8**** |
| AttackPathWhitelistList |
array<object> |
攻擊路徑白名單列表。 |
|
|
object |
攻擊路徑白名單。 |
||
| AttackPathWhitelistId |
string |
攻擊路徑白名單 ID。 |
apwl-b33dec0acf9b42aabde032d656c0**** |
| LastModifiedTimestamp |
integer |
最新修改時間戳,單位毫秒。 |
1731897750000 |
| PathName |
string |
路徑名稱。 |
ecs_get_credential_by_create_login_profile |
| PathType |
string |
路徑類型。 |
role_escalation |
| Remark |
string |
備註。 |
test |
| WhitelistType |
string |
白名單類型。 |
PART_ASSET |
| WhitelistName |
string |
白名單名稱。 |
test |
| PageInfo |
object |
分頁查詢時的頁面資訊。 |
|
| Count |
integer |
分頁查詢時,當前頁顯示的資料條數。 |
20 |
| CurrentPage |
integer |
分頁查詢時,當前頁的頁碼。 |
1 |
| PageSize |
integer |
返回資料每頁顯示的資料條數。 |
20 |
| TotalCount |
integer |
資料的總條數。 |
49 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "89AD16CC-97EE-50F3-9B12-9E28E5C8****",
"AttackPathWhitelistList": [
{
"AttackPathWhitelistId": "apwl-b33dec0acf9b42aabde032d656c0****",
"LastModifiedTimestamp": 1731897750000,
"PathName": "ecs_get_credential_by_create_login_profile",
"PathType": "role_escalation",
"Remark": "test",
"WhitelistType": "PART_ASSET",
"WhitelistName": "test"
}
],
"PageInfo": {
"Count": 20,
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 49
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。