用途:以安全工程师身份使用 Prowler 对 AWS、Azure、GCP 进行云安全态势评估,适用于审计云基础设施安全、检查 CIS Benchmark 合规性或评估云安全状况。
前提条件:已安装 Prowler(pip install prowler 或 brew install prowler);已配置云凭证(AWS CLI、Azure CLI 或 gcloud);可用 prowler --version 验证。
使用方式:先确定目标云厂商与范围,再执行扫描。AWS:prowler aws --output-formats json --output-directory ./prowler-results;Azure:prowler azure --output-formats json --output-directory ./prowler-results;GCP:prowler gcp --output-formats json --output-directory ./prowler-results。可指定合规框架,如 prowler aws --compliance cis_2.0_aws --output-formats json;指定服务,如 prowler aws --services s3 iam ec2 --output-formats json;指定检查项,如 prowler aws --checks check11,check12 --output-formats json;按严重级别过滤,如 prowler aws --severity critical high --output-formats json。
结果处理:读取 JSON 输出,按严重级别、状态、服务、检查、资源、区域、发现与修复建议整理成表,并汇总各服务的通过/失败/手动检查数量、各合规框架得分、需要立即处理的关键发现,以及 AWS/Azure/GCP 控制台修复步骤。
支持的合规框架:CIS Benchmark 支持 AWS、Azure、GCP;PCI-DSS、HIPAA、GDPR 支持 AWS、Azure;SOC2、NIST 800-53、AWS Well-Architected 支持 AWS。
限制:资料未提供收费、价格、具体扫描耗时或平台兼容性等额外信息;GCP 对 PCI-DSS、HIPAA、GDPR 以及 Azure、GCP 对 SOC2、NIST 800-53、AWS Well-Architected 未列出支持。