iac-security
仓库创建 2026年7月1日最近提交 23 天前SkillHot 收录 22 天前
▸ 精选理由
帮助降低供应链与配置漂移风险,适合云基础设施管控。
▸ 风险提示
配置或脚本执行不慎可能泄露密钥或破坏资源,实施需谨慎权限控制。
这个 Skill 做什么
对 Terraform/CloudFormation/Pulumi 的状态、提供者、漂移与秘密管理提出加固规则。
为 Terraform、CloudFormation 和 Pulumi 提供一套加固规则:锁定 provider/module 版本、配置加密的远程后端并启用状态锁、严格管理 secrets、检测漂移等。用于写 IaC、审计或搭建 CI/CD 时提升安全性和可恢复性。特点是具体到版本、后端加密与锁定等可执行安全约定。
▸ 展开 SKILL.md 英文原文
Hardening rules for Terraform, CloudFormation, and Pulumi: state, providers, drift, secrets
2
Stars
0
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/ShieldNet-360/secure-vibe/main/skills/iac-security/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/ShieldNet-360/secure-vibe/main/skills/iac-security/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Infrastructure-as-Code Security ## Rules (for AI agents) ### ALWAYS - Pin every provider/module to an exact version or a pessimistic constraint (`~> 5.42`); never `>= 0` or unpinned `latest`. - Configure a **remote backend** with encryption at rest, server-side state locking, and versioning (Terraform: `s3` + DynamoDB lock table with `kms_key_id`; Pulumi: the managed backend or `s3://?kmskey=`; CloudFormation: managed by AWS). - Encrypt every persistent resource by default with a customer-managed KMS key: S3 buckets, EBS volumes, RDS, EFS, DynamoDB, SQS, SNS, CloudWatch log groups. - Tag every resource with `owner`, `environment`, `cost-center`, and `data-classification` via a
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有