共用方式為


az security secure-score-controls

安全分數控件。

命令

名稱 Description 類型 狀態
az security secure-score-controls list

支援安全分數控制範圍的詳細數據和狀態的清單。

核心 GA
az security secure-score-controls list_by_score

清單支援的安全分數控制所選分數的詳細數據和狀態。

核心 GA

az security secure-score-controls list

支援安全分數控制範圍的詳細數據和狀態的清單。

az security secure-score-controls list

範例

取得安全分數控件清單。

az security secure-score-controls list
全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
預設值: json
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。

az security secure-score-controls list_by_score

清單支援的安全分數控制所選分數的詳細數據和狀態。

az security secure-score-controls list_by_score --name

範例

取得安全分數控件清單。

az security secure-score-controls list_by_score -n 'ascScore'

必要參數

--name -n

要擷取的資源名稱。

全域參數
--debug

提高日誌詳細程度以顯示所有調試日誌。

--help -h

顯示此說明訊息並結束。

--only-show-errors

只顯示錯誤,隱藏警告。

--output -o

輸出格式。

接受的值: json, jsonc, none, table, tsv, yaml, yamlc
預設值: json
--query

JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/

--subscription

訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID來設定預設訂用帳戶。

--verbose

增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。