查詢攻擊路徑白名單詳情。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
yundun-sas:GetAttackPathWhitelist |
get |
*AttackPathWhitelist
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| AttackPathWhitelistId |
string |
是 |
攻擊路徑白名單 ID。 說明
您可以呼叫 ListAttackPathWhitelist 查詢攻擊路徑白名單 ID。 |
apwl-b33dec0acf9b42aabde032d656c0**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
本次呼叫請求的 ID,是由阿里雲為該請求生成的唯一標識符,可用於排查和定位問題。 |
D03DD0FD-6041-5107-AC00-383E28F1**** |
| AttackPathWhitelist |
object |
攻擊路徑白名單。 |
|
| AttackPathAssetList |
array<object> |
攻擊路徑雲端產品資產列表。 |
|
|
object |
攻擊路徑雲端產品資產列表。 |
||
| AssetSubType |
integer |
雲產品資產的子類型。 |
0 |
| AssetType |
integer |
雲產品資產的類型。 |
1 |
| InstanceId |
string |
雲產品資產執行個體 ID。 |
i-8vb0e8qdaj0yyxjo**** |
| RegionId |
string |
雲產品資產執行個體所屬地區 ID。 |
cn-shanghai |
| Vendor |
integer |
雲產品資產廠商。 |
0 |
| InstanceName |
string |
執行個體名稱。 |
xwl |
| NodeType |
string |
節點類型,取值:
|
start |
| AttackPathWhitelistId |
string |
攻擊路徑白名單 ID。 |
apwl-b33dec0acf9b42aabde032d656c0**** |
| LastModifiedTimestamp |
integer |
最新修改時間戳,單位毫秒。 |
1743004587000 |
| PathName |
string |
路徑名稱。 |
ecs_get_credential_by_create_login_profile |
| PathType |
string |
路徑類型。 |
role_escalation |
| Remark |
string |
備註資訊。 |
test |
| WhitelistType |
string |
白名單類型。取值:
|
ALL_ASSET |
| WhitelistName |
string |
白名單名稱。 |
test |
樣本
正常返回樣本
JSON格式
{
"RequestId": "D03DD0FD-6041-5107-AC00-383E28F1****",
"AttackPathWhitelist": {
"AttackPathAssetList": [
{
"AssetSubType": 0,
"AssetType": 1,
"InstanceId": "i-8vb0e8qdaj0yyxjo****\n",
"RegionId": "cn-shanghai",
"Vendor": 0,
"InstanceName": "xwl",
"NodeType": "start"
}
],
"AttackPathWhitelistId": "apwl-b33dec0acf9b42aabde032d656c0****\n",
"LastModifiedTimestamp": 1743004587000,
"PathName": "ecs_get_credential_by_create_login_profile",
"PathType": "role_escalation",
"Remark": "test",
"WhitelistType": "ALL_ASSET",
"WhitelistName": "test"
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | DataNotExists | data not exist | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。