查看鏡像安全掃描的檢測結果。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
yundun-sas:DescribeImageBaselineCheckResult |
get |
*All Resource
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ImageUuid |
string |
是 |
鏡像 UUID。 |
a910053dd4710173ecc9e9d8931f**** |
| RiskLevel |
string |
否 |
要查詢的基線的風險等級。多個等級用英文逗號(,)分隔,預設全填。取值:
|
high,medium,low |
| Criteria |
string |
否 |
基線的查詢條件。 |
ak_leak |
| CriteriaType |
string |
否 |
要查詢的基線的查詢類型。取值:
|
BaselineNameAlias |
| PageSize |
integer |
否 |
分頁查詢時,每頁顯示的登入設定資訊的數量。預設值為 20,表示每頁顯示 20 條登入設定資訊。 |
20 |
| CurrentPage |
integer |
否 |
分頁查詢時,當前頁的頁碼。預設值為 20,表示當前是第 1 頁。 |
1 |
| Lang |
string |
否 |
設定請求和接收訊息的語言類型,預設為 zh。取值:
|
zh |
| ScanRange |
array |
否 |
掃描範圍集合。 |
|
|
string |
否 |
掃描範圍集合。取值:
|
image |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
本次請求的 ID。 |
24A20733-10A0-4AF6-BE6B-E3322413**** |
| PageInfo |
object |
分頁查詢時的頁面資訊。 |
|
| CurrentPage |
integer |
分頁查詢時,當前頁的頁碼。 |
1 |
| PageSize |
integer |
分頁查詢時,每頁最多顯示的資料條數。 |
20 |
| TotalCount |
integer |
查詢結果的總數。 |
100 |
| Count |
integer |
分頁查詢時,當前頁顯示的資料條數。 |
10 |
| BaselineResult |
array<object> |
鏡像基線檢查列表詳情。 |
|
|
object |
鏡像基線檢查列表詳情。 |
||
| Status |
integer |
基線風險的修復狀態。取值:
|
1 |
| LowRiskItemCount |
integer |
關聯的低危鏡像數。 |
10 |
| BaselineNameLevel |
string |
基線的風險等級。取值:
|
high |
| LastScanTime |
integer |
最新掃描的時間戳記,單位為毫秒。 |
1610304058301 |
| MiddleRiskItemCount |
integer |
關聯的中危鏡像數。 |
1 |
| BaselineNameKey |
string |
基線項的名稱 key。 |
identification |
| BaselineItemCount |
integer |
基線檢查項個數。 |
5 |
| BaselineNameAlias |
string |
基線項的別名。 |
身份鉴别 |
| BaselineClassAlias |
string |
基線項的類型 key。 |
identification |
| FirstScanTime |
integer |
首次掃描的時間戳記,單位為毫秒。 |
1610304058366 |
| HighRiskItemCount |
integer |
關聯的高危鏡像數。 |
1 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "24A20733-10A0-4AF6-BE6B-E3322413****",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 100,
"Count": 10
},
"BaselineResult": [
{
"Status": 1,
"LowRiskItemCount": 10,
"BaselineNameLevel": "high",
"LastScanTime": 1610304058301,
"MiddleRiskItemCount": 1,
"BaselineNameKey": "identification",
"BaselineItemCount": 5,
"BaselineNameAlias": "身份鉴别",
"BaselineClassAlias": "identification",
"FirstScanTime": 1610304058366,
"HighRiskItemCount": 1
}
]
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | MissingImageUuid | The image ID is required. | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。