查詢攻擊路徑敏感資產。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
yundun-sas:GetAttackPathSensitiveAssetConfig |
list |
*AttackPathSensitiveAssetConfig
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ConfigType |
string |
是 |
配置類型。取值範圍:
|
asset_instance |
| AttackPathSensitiveAssetConfigId |
string |
否 |
建立攻擊路徑敏感資產設定 ID。 |
apsac-123 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
本次呼叫請求的 ID,是由阿里雲為該請求生成的唯一識別碼,可用於排查和定位問題。 |
3956048F-9D73-5EDB-834B-4827BB48**** |
| AttackPathSensitiveAssetConfig |
object |
攻擊路徑敏感資產配置資料。 |
|
| AttackPathAssetList |
array<object> |
攻擊路徑雲端產品資產列表。 |
|
|
object |
攻擊路徑雲端產品資產。 |
||
| AssetSubType |
integer |
雲產品資產的子類型。 |
0 |
| AssetType |
integer |
雲產品資產的類型。 |
17 |
| InstanceId |
string |
雲產品資產執行個體 ID。 |
i-bp174zui735kvf3v**** |
| InstanceName |
string |
雲產品資產的執行個體名稱。 |
test |
| RegionId |
string |
雲產品資產執行個體所屬地區 ID。 |
cn-hangzhou |
| Vendor |
integer |
雲產品資產廠商。 |
4 |
| AttackPathSensitiveAssetConfigId |
string |
攻擊路徑敏感資產設定 ID。 |
apsac-123 |
| ConfigType |
string |
配置類型。取值範圍:
|
asset_instance |
樣本
正常返回樣本
JSON格式
{
"RequestId": "3956048F-9D73-5EDB-834B-4827BB48****",
"AttackPathSensitiveAssetConfig": {
"AttackPathAssetList": [
{
"AssetSubType": 0,
"AssetType": 17,
"InstanceId": "i-bp174zui735kvf3v****",
"InstanceName": "test",
"RegionId": "cn-hangzhou",
"Vendor": 4
}
],
"AttackPathSensitiveAssetConfigId": "apsac-123\n",
"ConfigType": "asset_instance"
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | DataNotExists | data not exist | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。