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
SOC 2 Trust Services Criteria controls implemented as Terraform — covering IAM, encryption, audit logging, network security, detection, incident response, vulnerability management, and backup.
| Example | TSC Criterion | Description |
|---|---|---|
| iam/main.tf | CC6.1, CC6.2 | IRSA application role, GitHub Actions OIDC trust, SCP enforcing MFA |
| logging/main.tf | CC6.6, CC7.2 | Multi-region CloudTrail, AWS Config recorder, VPC flow logs |
| network/main.tf | CC6.6 | WAF with rate limiting, least-privilege security group baseline |
| encryption-data-services/ | CC6.7 | KMS encryption for DynamoDB, ECR, ElastiCache, OpenSearch, Kinesis, EFS, Redshift |
| detection/main.tf | CC7.1 | GuardDuty, CIS CloudWatch alarms, Security Hub |
| incident-response/main.tf | CC7.3 | KMS-encrypted SNS for GuardDuty HIGH/CRITICAL events |
| vulnerability/main.tf | CC6.8 | Inspector v2 with ECR enhanced scanning |
| backup/main.tf | A1.2, A1.3 | AWS Backup plan, vault lock, and cross-region DR |
| checkov-config.yaml | All | Checkov config grouping SOC 2 check IDs by criterion |
# Install Checkov
pip install checkov
# Run all SOC 2 checks against your Terraform
checkov -d . --config-file examples/compliance/checkov-config.yaml
# Run checks for a specific criterion (e.g. CC6.7 encryption)
checkov -d . --check CKV_AWS_7,CKV_AWS_19,CKV_AWS_16,CKV_AWS_17
# Validate a single file
checkov -f logging/cloudtrail.tfcd examples/compliance/logging
terraform init
terraform plan -var="environment=production"| Criterion | Control | Example File |
|---|---|---|
| CC6.1 | IAM least privilege, IRSA | iam/irsa-role.tf |
| CC6.2 | MFA enforcement, OIDC | iam/scp-mfa.tf |
| CC6.6 | Network security, WAF, flow logs | network/, logging/vpc-flow-logs.tf |
| CC6.7 | Encryption at rest (11 services) | encryption-data-services/ |
| CC6.8 | Vulnerability scanning | vulnerability/inspector.tf |
| CC7.1 | Detection: GuardDuty, CIS alarms, Security Hub | detection/ |
| CC7.2 | Audit logging: CloudTrail, Config, VPC flow logs | logging/ |
| CC7.3 | Incident response: SNS, EventBridge | incident-response/ |
| CC8.1 | Change management: S3 backend, locking | referenced in references/compliance.md |
| A1.1 | Availability: multi-AZ | referenced in references/compliance.md |
| A1.2/A1.3 | Backup and recovery | backup/backup-plan.tf |
Use the documented suppression format in checkov-config.yaml to acknowledge accepted risks:
#checkov:skip=CKV_AWS_18:Access logging not required for this internal bucket
resource "aws_s3_bucket" "internal_logs" { ... }/platform-skills:compliance — gap analysis, control implementation, evidence collection, Checkov remediation, full readiness checklist.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