prowler-readme-table
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWhen to Use
使用场景
Use this skill when updating the Prowler at a Glance table in the root . This table tracks the number of checks, services, compliance frameworks, and categories for each supported provider.
README.md当需要更新根目录中的Prowler概览表格时,可使用本技能。该表格用于跟踪每个受支持服务商的检查项数量、服务数量、合规框架及分类信息。
README.mdProcedure
操作步骤
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: , , , , , , , , , , ,
awsazuregcpkubernetesgithubm365oraclecloudalibabacloudcloudflaremongodbatlasopenstacknhnMetrics: , , ,
checksservicescompliancecategoriesThe 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>支持的服务商: , , , , , , , , , , ,
awsazuregcpkubernetesgithubm365oraclecloudalibabacloudcloudflaremongodbatlasopenstacknhn指标: , , ,
checksservicescompliancecategoriesCLI输出的最后一行是汇总信息,例如:
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
doneStep 3: Update the Table
步骤3:更新表格
Edit the table in (located in the section) with the collected numbers.
README.md# Prowler at a GlanceTable 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 Provider | Table Display Name |
|---|---|
| AWS |
| Azure |
| GCP |
| Kubernetes |
| GitHub |
| M365 |
| OCI |
| Alibaba Cloud |
| Cloudflare |
| MongoDB Atlas |
| OpenStack |
| NHN |
| CLI服务商名称 | 表格显示名称 |
|---|---|
| AWS |
| Azure |
| GCP |
| Kubernetes |
| GitHub |
| M365 |
| OCI |
| Alibaba Cloud |
| Cloudflare |
| MongoDB Atlas |
| OpenStack |
| NHN |
Special Rows (No CLI stats)
特殊行(无CLI统计数据)
These providers delegate to external tools and do NOT use CLI stats:
| Provider | Checks Column | Services | Compliance | Categories |
|---|---|---|---|---|
| IaC | | N/A | N/A | N/A |
| LLM | | N/A | N/A | N/A |
这些服务商依赖外部工具,不使用CLI统计数据:
| 服务商 | 检查项列 | 服务 | 合规框架 | 分类 |
|---|---|---|---|---|
| IaC | | N/A | N/A | N/A |
| LLM | | N/A | N/A | N/A |
Support and Interface Columns
支持状态与接口列
- Support: for all providers except
Officialwhich isNHNUnofficial - Interface: Most providers use . Exceptions with
UI, API, CLIonly:CLI,Cloudflare,OpenStack,NHNLLM
- 支持状态:除为
NHN外,所有服务商均为UnofficialOfficial - 接口:大多数服务商使用。仅支持
UI, API, CLI的例外情况:CLI,Cloudflare,OpenStack,NHNLLM
Rules
规则
- ALWAYS use the CLI () to obtain numbers. Do NOT count files manually.
python3 prowler-cli.py - 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: in the repository root
prowler-cli.py - Table location: , section
README.md(around line 100)# Prowler at a Glance
- CLI入口文件:仓库根目录下的
prowler-cli.py - 表格位置:中的
README.md章节(约第100行)# Prowler at a Glance