共用方式為


az acat report

注意

此參考是 Azure CLI 的 acat 延伸模組的一部分(2.61.0 版或更高版本)。 擴充功能會在您第一次執行 az acat report 命令時自動安裝深入瞭解擴充功能

管理應用程式合規性自動化工具報告。

命令

名稱 Description 類型 狀態
az acat report create

建立新的 AppComplianceAutomation 報表,或更新結束的 AppComplianceAutomation 報表。

外延 加語
az acat report delete

刪除 AppComplianceAutomation 報表。

外延 加語
az acat report download

從快照集下載合規性需求,例如:合規性報告、資源清單。

外延 加語
az acat report get-control-assessments

列出AppComplianceAutomation 快照集清單。

外延 加語
az acat report list

列出租使用者的AppComplianceAutomation報告清單。

外延 加語
az acat report show

取得 AppComplianceAutomation 報表及其屬性。

外延 加語
az acat report snapshot

管理 ACAT 報表快照集。

外延 加語
az acat report snapshot download

從快照集下載合規性需求,例如:合規性報告、資源清單。

外延 加語
az acat report snapshot list

列出AppComplianceAutomation 快照集清單。

外延 加語
az acat report update

更新新的 AppComplianceAutomation 報表,或更新結束的 AppComplianceAutomation 報表。

外延 加語
az acat report wait

將 CLI 置於等候狀態,直到符合條件為止。

外延 加語
az acat report webhook

管理 ACAT 報表 Webhook。

外延 加語
az acat report webhook create

建立新的 AppComplianceAutomation Webhook,或更新結束的 AppComplianceAutomation Webhook。

外延 加語
az acat report webhook delete

刪除 AppComplianceAutomation Webhook。

外延 加語
az acat report webhook list

列出 AppComplianceAutomation Webhook 列表。

外延 加語
az acat report webhook show

取得 AppComplianceAutomation Webhook 及其屬性。

外延 加語
az acat report webhook update

更新結束的 AppComplianceAutomation Webhook。

外延 加語

az acat report create

建立新的 AppComplianceAutomation 報表,或更新結束的 AppComplianceAutomation 報表。

az acat report create --report-name
                      --resources
                      [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                      [--offer-guid]
                      [--storage-info]
                      [--time-zone]
                      [--trigger-time]

必要參數

--report-name

報表名稱。

--resources

資源數據的清單。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。

選擇性參數

--no-wait

請勿等候長時間執行的作業完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--offer-guid

逗號分隔的 offerGuids 清單表示一系列對應至報表的 offerGuids。 例如,“0000000-0000-0000-0000-0000000000001,00000000-00000-00000-0000-0000000000002” 和 “00000000-0000-0000-00000-000000000003”。

--storage-info

「攜帶您自己的記憶體」系結至報表支援速記語法、json-file 和 yaml-file 的資訊。 請嘗試 “??” 以顯示更多。

--time-zone

報表集合觸發時間的時區,可以在 PowerShell 中執行 「Get-TimeZone -ListAvailable」 來取得可用的清單。 有效的時區標識符範例是 「Pacific Standard Time」。。

預設值: UTC
--trigger-time

報表集合觸發時間。

預設值: 2025-03-14 12:00:00
全域參數
--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 acat report delete

刪除 AppComplianceAutomation 報表。

az acat report delete --report-name
                      [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                      [--yes]

必要參數

--report-name

報表名稱。

選擇性參數

--no-wait

請勿等候長時間執行的作業完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--yes -y

請勿提示確認。

預設值: False
全域參數
--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 acat report download

從快照集下載合規性需求,例如:合規性報告、資源清單。

az acat report download --download-type {ComplianceDetailedPdfReport, CompliancePdfReport, ComplianceReport, ResourceList}
                        --report-name
                        --snapshot-name
                        [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                        [--offer-guid]
                        [--tenant]

必要參數

--download-type

表示下載類型。

接受的值: ComplianceDetailedPdfReport, CompliancePdfReport, ComplianceReport, ResourceList
--report-name

報表名稱。

--snapshot-name

快照集名稱。

選擇性參數

--no-wait

請勿等候長時間執行的作業完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--offer-guid

會對應至報表的 offerGuid。

--tenant

租用戶標識碼。

全域參數
--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 acat report get-control-assessments

列出AppComplianceAutomation 快照集清單。

az acat report get-control-assessments --report-name
                                       [--filter]
                                       [--max-items]
                                       [--next-token]
                                       [--offer-guid]
                                       [--orderby]
                                       [--select]
                                       [--skip-token]
                                       [--tenant]
                                       [--top]

必要參數

--report-name

報表名稱。

選擇性參數

--filter

要套用至作業的篩選條件。

--max-items

命令輸出中要傳回的項目總數。 如果可用的專案總數超過指定的值,則會在命令的輸出中提供令牌。 若要繼續分頁,請在後續命令的 --next-token 自變數中提供令牌值。

--next-token

標記,指定要開始分頁的位置。 這是先前截斷回應中的令牌值。

--offer-guid

會對應至報表的 offerGuid。

--orderby

依查詢選項排序 OData 順序。

--select

OData Select 語句。 將每個專案上的屬性限制為只要求的屬性,例如 ?$select=reportName,id。

--skip-token

擷取結果時略過。

--tenant

報表建立者的租用戶標識碼。

--top

擷取結果時要傳回的項目數目。

全域參數
--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 acat report list

列出租使用者的AppComplianceAutomation報告清單。

az acat report list [--filter]
                    [--max-items]
                    [--next-token]
                    [--offer-guid]
                    [--orderby]
                    [--select]
                    [--skip-token]
                    [--tenant]
                    [--top]

選擇性參數

--filter

要套用至作業的篩選條件。

--max-items

命令輸出中要傳回的項目總數。 如果可用的專案總數超過指定的值,則會在命令的輸出中提供令牌。 若要繼續分頁,請在後續命令的 --next-token 自變數中提供令牌值。

--next-token

標記,指定要開始分頁的位置。 這是先前截斷回應中的令牌值。

--offer-guid

會對應至報表的 offerGuid。

--orderby

依查詢選項排序 OData 順序。

--select

OData Select 語句。 將每個專案上的屬性限制為只要求的屬性,例如 ?$select=reportName,id。

--skip-token

擷取結果時略過。

--tenant

報表建立者的租用戶標識碼。

--top

擷取結果時要傳回的項目數目。

全域參數
--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 acat report show

取得 AppComplianceAutomation 報表及其屬性。

az acat report show --report-name

必要參數

--report-name

報表名稱。

全域參數
--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 acat report update

更新新的 AppComplianceAutomation 報表,或更新結束的 AppComplianceAutomation 報表。

az acat report update --report-name
                      [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                      [--offer-guid]
                      [--resources]
                      [--storage-info]
                      [--time-zone]
                      [--trigger-time]

必要參數

--report-name

報表名稱。

選擇性參數

--no-wait

請勿等候長時間執行的作業完成。

接受的值: 0, 1, f, false, n, no, t, true, y, yes
--offer-guid

逗號分隔的 offerGuids 清單表示一系列對應至報表的 offerGuids。 例如,“0000000-0000-0000-0000-0000000000001,00000000-00000-00000-0000-0000000000002” 和 “00000000-0000-0000-00000-000000000003”。

--resources

資源數據的清單。 支援速記語法、json-file 和 yaml-file。 請嘗試 “??” 以顯示更多。

--storage-info

「攜帶您自己的記憶體」系結至報表支援速記語法、json-file 和 yaml-file 的資訊。 請嘗試 “??” 以顯示更多。

--time-zone

報表集合觸發時間的時區,可以在 PowerShell 中執行 「Get-TimeZone -ListAvailable」 來取得可用的清單。 有效的時區標識符範例是 「Pacific Standard Time」。。

--trigger-time

報表集合觸發時間。

全域參數
--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 acat report wait

將 CLI 置於等候狀態,直到符合條件為止。

az acat report wait --report-name
                    [--created]
                    [--custom]
                    [--deleted]
                    [--exists]
                    [--interval]
                    [--timeout]
                    [--updated]

必要參數

--report-name

報表名稱。

選擇性參數

--created

請等候在 'Succeeded' 使用 'provisioningState' 建立。

預設值: False
--custom

等到條件符合自定義 JMESPath 查詢為止。 例如 provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running']。

--deleted

等到刪除為止。

預設值: False
--exists

等候資源存在。

預設值: False
--interval

輪詢間隔以秒為單位。

預設值: 30
--timeout

以秒為單位的等候上限。

預設值: 3600
--updated

等到 provisioningState 更新為 'Succeeded'。

預設值: False
全域參數
--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。