全部產品
Search
文件中心

Security Center:ListCheckItemWarningSummary - 擷取基準檢查項風險統計資料

更新時間:Mar 21, 2026

分頁查詢檢查項產生風險的統計資料。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

下表是API對應的授權資訊,可以在RAM權限原則語句的Action元素中使用,用來給RAM使用者或RAM角色授予調用此API的許可權。具體說明如下:

  • 操作:是指具體的許可權點。

  • 存取層級:是指每個操作的存取層級,取值為寫入(Write)、讀取(Read)或列出(List)。

  • 資源類型:是指操作中支援授權的資源類型。具體說明如下:

    • 對於必選的資源類型,用前面加 * 表示。

    • 對於不支援資源級授權的操作,用全部資源表示。

  • 條件關鍵字:是指雲產品自身定義的條件關鍵字。

  • 關聯操作:是指成功執行操作所需要的其他許可權。操作者必須同時具備關聯操作的許可權,操作才能成功。

操作

存取層級

資源類型

條件關鍵字

關聯操作

yundun-sas:ListCheckItemWarningSummary

list

*全部資源

*

請求參數

名稱

類型

必填

描述

樣本值

RiskType

string

基準分類名稱。

weak_password

CheckType

string

檢查項分類名稱。

hc.check.type.attack_defense

CheckWarningStatus

integer

風險狀態。預設為 null,查詢全部狀態。取值:

  • 1:未通過

  • 3:已通過

  • 6:已加白

  • 8:已修複

3

CheckLevel

string

風險等級。預設為 null,查詢所有等級。取值:

  • high:高危

  • medium:中危

  • low:低危

medium

CheckItemFuzzy

string

檢查項名稱模糊比對。

password

ContainerFieldName

string

容器安全查詢參數名稱。

clusterId

ContainerFieldValue

string

容器安全查詢參數值。

c471f0f61b9c04f8380556e922cf1****

Lang

string

請求和接收訊息的語言類型。預設值為 zh。取值:

  • zh:中文

  • en:英文

zh

CurrentPage

integer

設定從返回結果的第幾頁開始顯示查詢結果。預設值為 1,表示從第 1 頁開始顯示。

1

PageSize

integer

分頁查詢時,每頁顯示的資料最大條數。每頁預設顯示的資料條數為 20 條,PageSize 參數值為空白時,將預設返回 20 條資料。

說明

建議 PageSize 取值不要為空白。

20

GroupId

integer

要查詢的資產分組 ID。

說明

您可以調用 DescribeAllGroups 介面擷取該參數。

1161****

Source

string

資料來源。預設值為 default。取值:

  • agentless:無代理檢測

  • default:主機基準

agentless

UuidList

array

指定要查詢的伺服器 UUID 清單。

說明

您可以調用 DescribeCloudCenterInstances 介面擷取伺服器的 UUID。

string

指定要查詢的伺服器 UUID。

說明

您可以調用 DescribeCloudCenterInstances 介面擷取伺服器的 UUID。

4fe8e1cd-3c37-4851-b9de-124da32c****

CheckWarningStatusList

array

風險等級列表,當和參數 CheckWarningStatus 同時填充時,僅 CheckWarningStatus 參數生效。

integer

風險狀態,取值:

  • 1:未通過

  • 3:已通過

  • 6:已加白

1

StartTime

integer

篩選警示的起始時間,僅在查詢歷史已處理警示情境時生效。

1732793158366

ResourceDirectoryAccountId

integer

資來源目錄成員帳號 ID(阿里雲帳號)。

說明

調用 DescribeMonitorAccounts 介面可以擷取該參數。

1232428423234****

返回參數

名稱

類型

描述

樣本值

object

檢查項風險統計分頁列表。

List

array<object>

檢查項風險統計資訊列表。

object

檢查項風險統計資訊。

RiskType deprecated

string

基準分類。

weak_password

Alias deprecated

string

基準分類名稱。

week_pa****

CheckId

integer

檢查項 id。

696

CheckItem

string

檢查項描述。

Config the Event Audit policys

CheckLevel

string

檢查項風險等級。取值:

  • high:高危

  • medium:中危

  • low:低危

high

CheckType

string

檢查項類別。

Security audit

Advice

string

檢查項建議。

In the Administrative Tools window, double-click Local Security Policy. In the Local Security Policy window that appears, choose Security Settings\\Local Policies\\Audit Policy, configure all audit policies as: `Success, Failure`.

Description

string

檢查項詳情描述。

Config the Event Audit policys

Status

integer

檢查項風險狀態。取值:

  • 1:未通過

  • 3:已通過

  • 6:已加白

  • 8:已修複

1

WarningMachineCount

integer

檢查項風險影響的機器數量。

20

ContainerCheckItem

boolean

檢查項是否屬於容器運行時類別。取值:

  • true:是

  • false:否

true

AffiliatedRiskTypes

array

歸屬的基準分類列表。

string

歸屬的基準分類。

CIS Compliance checks

AffiliatedRisks

array

歸屬的基準列表。

string

歸屬的基準。

CIS Ubuntu Linux 14 LTS Benchmark

EnableRisks

array

檢查項已開啟的基準列表。

string

檢查項已開啟的基準。

CIS Ubuntu Linux 14 LTS Benchmark

PageInfo

object

查詢結果的分頁資訊。

CurrentPage

integer

分頁查詢時,當前頁的頁碼。

1

PageSize

integer

分頁查詢時,顯示的每頁資料的最大條數。

20

TotalCount

integer

查詢到的檢查項的總數量。

149

Count

integer

查詢到的檢查項的當前頁顯示資料條數。

4

RequestId

string

本次調用請求的 ID,是由阿里雲為該請求產生的唯一識別碼,可用於排查和定位問題。

DC97C9EC-4B7D-5EFF-8A5E-A5CCC9ED****

樣本

正常返回樣本

JSON格式

{
  "List": [
    {
      "RiskType": "weak_password",
      "Alias": "week_pa****",
      "CheckId": 696,
      "CheckItem": "Config the Event Audit policys",
      "CheckLevel": "high",
      "CheckType": "Security audit",
      "Advice": "In the Administrative Tools window, double-click Local Security Policy. In the Local Security Policy window that appears, choose Security Settings\\\\Local Policies\\\\Audit Policy, configure all audit policies as: `Success, Failure`.",
      "Description": "Config the Event Audit policys",
      "Status": 1,
      "WarningMachineCount": 20,
      "ContainerCheckItem": true,
      "AffiliatedRiskTypes": [
        "CIS Compliance checks"
      ],
      "AffiliatedRisks": [
        "CIS Ubuntu Linux 14 LTS Benchmark"
      ],
      "EnableRisks": [
        "CIS Ubuntu Linux 14 LTS Benchmark\n"
      ]
    }
  ],
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 20,
    "TotalCount": 149,
    "Count": 4
  },
  "RequestId": "DC97C9EC-4B7D-5EFF-8A5E-A5CCC9ED****"
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 RdCheckNoPermission Resource directory account verification has no permission. 資來源目錄帳號校正無許可權。
500 ServerError ServerError 服務故障,請稍後重試!
500 RdCheckInnerError Resource directory account service internal error. 資來源目錄帳號服務內部錯誤。
403 NoPermission caller has no permission 當前操作未被授權,請聯絡主帳號在RAM控制台進行授權後再執行操作。

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情