本文档采用自动化机器翻译技术翻译。 尽管我们力求提供准确的译文,但不对翻译内容的完整性、准确性或可靠性作出任何保证。 若出现任何内容不一致情况,请以原始 英文 版本为准,且原始英文版本为权威文本。

查看报告

要查看生成的 Compliance 扫描报告:

  1. 在左上角,单击 ☰ > 集群管理

  2. 集群页面上,转到要运行 Compliance 扫描的集群,然后单击 Explore

  3. 点击 Compliance > Scan

  4. 扫描页面将显示生成的报告。要查看详细报告,请转到扫描报告并单击报告名称。

你可以从扫描列表或扫描详情页面下载报告。

To get the verbose version of the compliance scan results, run the following command on the cluster that was scanned. Note that the scan must be completed before this can be done.

export REPORT="scan-report-name"
kubectl get clusterscanreports.compliance.cattle.io $REPORT -o json |jq ".spec.reportJSON | fromjson" | jq -r ".actual_value_map_data" | base64 -d | gunzip | jq .