一键导入
security-scan
Run a comprehensive security scan on CloudFormation templates checking CIS AWS Foundations, NIST controls, and OWASP Cloud Top 10
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run a comprehensive security scan on CloudFormation templates checking CIS AWS Foundations, NIST controls, and OWASP Cloud Top 10
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate a monthly capacity and cost report for a service or AWS account, with rightsizing recommendations
Explain what a CloudFormation template does in plain English, including architecture, costs, and access patterns
Review a CloudFormation template for security issues, cost risks, and compliance violations
Assess the blast radius and deployment risk of changes to a CloudFormation template
Generate a rough monthly cost estimate for a CloudFormation template or proposed architecture
Detect and summarise CloudFormation stack drift — differences between deployed resources and their template definitions
| name | security-scan |
| description | Run a comprehensive security scan on CloudFormation templates checking CIS AWS Foundations, NIST controls, and OWASP Cloud Top 10 |
Perform a security scan of the CloudFormation template or IAM policy currently open.
Map findings to the following frameworks and output a prioritised remediation plan.
"Action": "*" with broad resource scope"Principal": "*" in resource-based policies (except public S3 static sites)ExternalId condition for third-party rolesStorageEncrypted: true + PubliclyAccessible: falseEncrypted: trueSSESpecification.SSEEnabled: trueSqsManagedSseEnabled: true or KMS keyKmsMasterKeyId specified0.0.0.0/0 ingress except port 443 on public ALBsHttpTokens: required)privileged: true unless absolutely required| Control | Status | Severity | Resource | Finding | Fix |
|---|---|---|---|---|---|
| IAM-001 | FAIL | HIGH | MyRole | No permission boundary | Add PermissionsBoundary property |
| NET-003 | FAIL | HIGH | AppSG | Port 22 open to 0.0.0.0/0 | Restrict to VPN CIDR or use SSM |
| ENC-002 | FAIL | MEDIUM | LogsBucket | Encryption not configured | Add BucketEncryption property |
| MON-001 | PASS | ALB access logs enabled |
Compliance posture:
For findings where the fix is a simple template change, generate the corrected YAML snippet.