Production-grade platform engineering handbook — Kubernetes, Terraform, Flux CD, GitHub Actions, AWS, and more.
67
84%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
Status: Stable
A Terraform IAM policy that gives an application AdministratorAccess in disguise. Platform-skills catches it before the plan is applied.
| Finding | Severity | Risk |
|---|---|---|
Action: "*" — full AWS access | Critical | Any compromised instance = full account takeover |
Resource: "*" — all resources | Critical | No scope boundary on any service |
No Condition on assume-role | High | Role can be assumed from any region |
| Single catch-all policy | Medium | Impossible to audit what the app actually needs |
s3:GetObject, s3:ListBucket, s3:PutObject, s3:DeleteObject, secretsmanager:GetSecretValueCondition on assume-role — blocks cross-region assumeSid labels — auditable in CloudTrailiam:CreateUser, iam:AttachUserPolicy, ec2:RunInstances → lateral movement across the accountbad.tf and fixed.tf intentionally define the same resources so they cannot be validated together as one module. Copy fixed.tf to a clean directory to validate it:
mkdir /tmp/tf-demo && cp examples/demo/terraform-iam-risk/fixed.tf examples/demo/terraform-iam-risk/versions.tf /tmp/tf-demo/
cd /tmp/tf-demo
terraform init && terraform validate
terraform plan -var="app_name=myapp" -var="bucket_name=my-bucket" -var="aws_region=us-east-1"Use $platform-skills to review this Terraform IAM policy for least privilege.
Flag wildcard actions, wildcard resources, missing conditions, and safer alternatives..claude-plugin
.github
commands
docs
examples
agent-self-improve
argocd
awesome-docs
aws
cloudfront
functions
lambda-edge
functions
azure
compliance
conventional-commits
datadog
llm-observability
demo
documentation
dora
dynatrace
fluxcd
github-actions
composite-actions
configure-cloud
db-migrate
docker-build-push
k8s-deploy
notify-slack
pr-comment
release-tag
security-scan
setup-env
setup-terraform
terraform-plan
helm
web-service
templates
kubernetes
kyverno
mcp
observability
openshift
pr-review
ownership
runtime-security
supply-chain
terraform
references
scripts
skills
platform-skills
tests