prowler-readme-table

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

When to Use

使用场景

Use this skill when updating the Prowler at a Glance table in the root
README.md
. This table tracks the number of checks, services, compliance frameworks, and categories for each supported provider.
当需要更新根目录
README.md
中的Prowler概览表格时,可使用本技能。该表格用于跟踪每个受支持服务商的检查项数量、服务数量、合规框架及分类信息。

Procedure

操作步骤

Step 1: Collect Stats via CLI

步骤1:通过CLI收集统计数据

Run the following command for each provider and each metric:
bash
python3 prowler-cli.py <provider> --list-<metric>
Providers:
aws
,
azure
,
gcp
,
kubernetes
,
github
,
m365
,
oraclecloud
,
alibabacloud
,
cloudflare
,
mongodbatlas
,
openstack
,
nhn
Metrics:
checks
,
services
,
compliance
,
categories
The CLI output ends with a summary line like:
There are 572 available checks.
There is 1 available Compliance Framework.
Extract the number from the summary line. Note that singular results use "There is" instead of "There are".
每个服务商每个指标运行以下命令:
bash
python3 prowler-cli.py <provider> --list-<metric>
支持的服务商:
aws
,
azure
,
gcp
,
kubernetes
,
github
,
m365
,
oraclecloud
,
alibabacloud
,
cloudflare
,
mongodbatlas
,
openstack
,
nhn
指标:
checks
,
services
,
compliance
,
categories
CLI输出的最后一行是汇总信息,例如:
There are 572 available checks.
There is 1 available Compliance Framework.
从汇总行中提取数字。注意单数结果使用“There is”而非“There are”。

Step 2: Batch Extraction

步骤2:批量提取

Use this one-liner to collect all stats at once (handles both singular and plural output):
bash
for provider in aws azure gcp kubernetes github m365 oraclecloud alibabacloud cloudflare mongodbatlas openstack nhn; do
  for metric in checks services compliance categories; do
    result=$(python3 prowler-cli.py $provider --list-$metric 2>&1 | sed -n 's/.*There \(are\|is\) .*\x1b\[33m\([0-9]*\)\x1b\[0m.*/\2/p')
    echo "$provider $metric: $result"
  done
done
使用以下单行命令可一次性收集所有统计数据(同时兼容单数和复数输出格式):
bash
for provider in aws azure gcp kubernetes github m365 oraclecloud alibabacloud cloudflare mongodbatlas openstack nhn; do
  for metric in checks services compliance categories; do
    result=$(python3 prowler-cli.py $provider --list-$metric 2>&1 | sed -n 's/.*There \(are\|is\) .*\x1b\[33m\([0-9]*\)\x1b\[0m.*/\2/p')
    echo "$provider $metric: $result"
  done
done

Step 3: Update the Table

步骤3:更新表格

Edit the table in
README.md
(located in the
# Prowler at a Glance
section) with the collected numbers.
Table format:
markdown
| Provider | Checks | Services | [Compliance Frameworks](...) | [Categories](...) | Support | Interface |
|---|---|---|---|---|---|---|
| AWS | 572 | 83 | 41 | 17 | Official | UI, API, CLI |
编辑
README.md
中位于
# Prowler at a Glance
章节的表格,填入收集到的数字。
表格格式:
markdown
| Provider | Checks | Services | [Compliance Frameworks](...) | [Categories](...) | Support | Interface |
|---|---|---|---|---|---|---|
| AWS | 572 | 83 | 41 | 17 | Official | UI, API, CLI |

Provider Name Mapping

服务商名称映射

CLI ProviderTable Display Name
aws
AWS
azure
Azure
gcp
GCP
kubernetes
Kubernetes
github
GitHub
m365
M365
oraclecloud
OCI
alibabacloud
Alibaba Cloud
cloudflare
Cloudflare
mongodbatlas
MongoDB Atlas
openstack
OpenStack
nhn
NHN
CLI服务商名称表格显示名称
aws
AWS
azure
Azure
gcp
GCP
kubernetes
Kubernetes
github
GitHub
m365
M365
oraclecloud
OCI
alibabacloud
Alibaba Cloud
cloudflare
Cloudflare
mongodbatlas
MongoDB Atlas
openstack
OpenStack
nhn
NHN

Special Rows (No CLI stats)

特殊行(无CLI统计数据)

These providers delegate to external tools and do NOT use CLI stats:
ProviderChecks ColumnServicesComplianceCategories
IaC
[See trivy docs.](https://trivy.dev/latest/docs/coverage/iac/)
N/AN/AN/A
LLM
[See promptfoo docs.](https://www.promptfoo.dev/docs/red-team/plugins/)
N/AN/AN/A
这些服务商依赖外部工具,不使用CLI统计数据:
服务商检查项列服务合规框架分类
IaC
[See trivy docs.](https://trivy.dev/latest/docs/coverage/iac/)
N/AN/AN/A
LLM
[See promptfoo docs.](https://www.promptfoo.dev/docs/red-team/plugins/)
N/AN/AN/A

Support and Interface Columns

支持状态与接口列

  • Support:
    Official
    for all providers except
    NHN
    which is
    Unofficial
  • Interface: Most providers use
    UI, API, CLI
    . Exceptions with
    CLI
    only:
    Cloudflare
    ,
    OpenStack
    ,
    NHN
    ,
    LLM
  • 支持状态:除
    NHN
    Unofficial
    外,所有服务商均为
    Official
  • 接口:大多数服务商使用
    UI, API, CLI
    。仅支持
    CLI
    的例外情况:
    Cloudflare
    ,
    OpenStack
    ,
    NHN
    ,
    LLM

Rules

规则

  • ALWAYS use the CLI (
    python3 prowler-cli.py
    ) to obtain numbers. Do NOT count files manually.
  • NEVER commit changes unless explicitly asked.
  • NEVER modify the IaC or LLM rows (they link to external docs).
  • Verify the CLI is working by running one provider first before batch-processing all.
  • 必须使用CLI(
    python3 prowler-cli.py
    )获取数字,禁止手动统计文件数量。
  • 禁止未经明确请求就提交更改。
  • 禁止修改IaC或LLM行(它们链接到外部文档)。
  • 在批量处理所有服务商之前,先运行一个服务商的命令验证CLI是否正常工作。

Resources

资源

  • CLI entry point:
    prowler-cli.py
    in the repository root
  • Table location:
    README.md
    , section
    # Prowler at a Glance
    (around line 100)
  • CLI入口文件:仓库根目录下的
    prowler-cli.py
  • 表格位置
    README.md
    中的
    # Prowler at a Glance
    章节(约第100行)